Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 452 Lines • ▼ Show 20 Lines | |||||
| enum PanoramaType { | enum PanoramaType { | ||||
| PANORAMA_EQUIRECTANGULAR, | PANORAMA_EQUIRECTANGULAR, | ||||
| PANORAMA_MIRRORBALL, | PANORAMA_MIRRORBALL, | ||||
| PANORAMA_FISHEYE_EQUIDISTANT, | PANORAMA_FISHEYE_EQUIDISTANT, | ||||
| PANORAMA_FISHEYE_EQUISOLID | PANORAMA_FISHEYE_EQUISOLID | ||||
| }; | }; | ||||
| /* Stereo Type */ | |||||
| enum StereoEye { | |||||
| STEREO_NONE = 0, | |||||
| STEREO_LEFT = -1, | |||||
| STEREO_RIGHT = 1, | |||||
| }; | |||||
| /* Differential */ | /* Differential */ | ||||
| typedef struct differential3 { | typedef struct differential3 { | ||||
| float3 dx; | float3 dx; | ||||
| float3 dy; | float3 dy; | ||||
| } differential3; | } differential3; | ||||
| typedef struct differential { | typedef struct differential { | ||||
| ▲ Show 20 Lines • Show All 288 Lines • ▼ Show 20 Lines | typedef struct KernelCamera { | ||||
| int type; | int type; | ||||
| /* panorama */ | /* panorama */ | ||||
| int panorama_type; | int panorama_type; | ||||
| float fisheye_fov; | float fisheye_fov; | ||||
| float fisheye_lens; | float fisheye_lens; | ||||
| float4 equirectangular_range; | float4 equirectangular_range; | ||||
| /* stereo */ | |||||
| int stereo_eye; | |||||
| int pad2; | |||||
| float interocular_distance; | |||||
| float convergence_distance; | |||||
| /* matrices */ | /* matrices */ | ||||
| Transform cameratoworld; | Transform cameratoworld; | ||||
| Transform rastertocamera; | Transform rastertocamera; | ||||
| /* differentials */ | /* differentials */ | ||||
| float4 dx; | float4 dx; | ||||
| float4 dy; | float4 dy; | ||||
| ▲ Show 20 Lines • Show All 299 Lines • Show Last 20 Lines | |||||