Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Lines | #ifdef __VOLUME__ | ||||
| PRNG_SCATTER_DISTANCE = 11, | PRNG_SCATTER_DISTANCE = 11, | ||||
| #endif | #endif | ||||
| PRNG_BOUNCE_NUM = 12, | PRNG_BOUNCE_NUM = 12, | ||||
| }; | }; | ||||
| enum SamplingPattern { | enum SamplingPattern { | ||||
| SAMPLING_PATTERN_SOBOL = 0, | SAMPLING_PATTERN_SOBOL = 0, | ||||
| SAMPLING_PATTERN_CMJ = 1 | SAMPLING_PATTERN_CMJ = 1, | ||||
| SAMPLING_NUM_PATTERNS, | |||||
| }; | }; | ||||
| /* these flags values correspond to raytypes in osl.cpp, so keep them in sync! | /* these flags values correspond to raytypes in osl.cpp, so keep them in sync! | ||||
| * | * | ||||
| * for ray visibility tests in BVH traversal, the upper 20 bits are used for | * for ray visibility tests in BVH traversal, the upper 20 bits are used for | ||||
| * layer visibility tests. */ | * layer visibility tests. */ | ||||
| enum PathRayFlag { | enum PathRayFlag { | ||||
| ▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | enum CameraType { | ||||
| CAMERA_PERSPECTIVE, | CAMERA_PERSPECTIVE, | ||||
| CAMERA_ORTHOGRAPHIC, | CAMERA_ORTHOGRAPHIC, | ||||
| CAMERA_PANORAMA | CAMERA_PANORAMA | ||||
| }; | }; | ||||
| /* Panorama Type */ | /* Panorama Type */ | ||||
| enum PanoramaType { | enum PanoramaType { | ||||
| PANORAMA_EQUIRECTANGULAR, | PANORAMA_EQUIRECTANGULAR = 0, | ||||
| PANORAMA_MIRRORBALL, | PANORAMA_FISHEYE_EQUIDISTANT = 1, | ||||
| PANORAMA_FISHEYE_EQUIDISTANT, | PANORAMA_FISHEYE_EQUISOLID = 2, | ||||
| PANORAMA_FISHEYE_EQUISOLID | PANORAMA_MIRRORBALL = 3, | ||||
| PANORAMA_NUM_TYPES, | |||||
| }; | }; | ||||
| /* Differential */ | /* Differential */ | ||||
| typedef struct differential3 { | typedef struct differential3 { | ||||
| float3 dx; | float3 dx; | ||||
| float3 dy; | float3 dy; | ||||
| } differential3; | } differential3; | ||||
| ▲ Show 20 Lines • Show All 715 Lines • Show Last 20 Lines | |||||