Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show All 38 Lines | |||||
| #define BSSRDF_MAX_HITS 4 | #define BSSRDF_MAX_HITS 4 | ||||
| #define BB_DRAPPER 800.0f | #define BB_DRAPPER 800.0f | ||||
| #define BB_MAX_TABLE_RANGE 12000.0f | #define BB_MAX_TABLE_RANGE 12000.0f | ||||
| #define BB_TABLE_XPOWER 1.5f | #define BB_TABLE_XPOWER 1.5f | ||||
| #define BB_TABLE_YPOWER 5.0f | #define BB_TABLE_YPOWER 5.0f | ||||
| #define BB_TABLE_SPACING 2.0f | #define BB_TABLE_SPACING 2.0f | ||||
| #define BECKMANN_TABLE_SIZE 256 | |||||
| #define TEX_NUM_FLOAT_IMAGES 5 | #define TEX_NUM_FLOAT_IMAGES 5 | ||||
| #define SHADER_NONE (~0) | #define SHADER_NONE (~0) | ||||
| #define OBJECT_NONE (~0) | #define OBJECT_NONE (~0) | ||||
| #define PRIM_NONE (~0) | #define PRIM_NONE (~0) | ||||
| #define LAMP_NONE (~0) | #define LAMP_NONE (~0) | ||||
| #define VOLUME_STACK_SIZE 16 | #define VOLUME_STACK_SIZE 16 | ||||
| ▲ Show 20 Lines • Show All 873 Lines • ▼ Show 20 Lines | typedef struct KernelCurves { | ||||
| /* strand intersect and normal parameters - many can be changed to flags */ | /* strand intersect and normal parameters - many can be changed to flags */ | ||||
| int curveflags; | int curveflags; | ||||
| int subdivisions; | int subdivisions; | ||||
| float minimum_width; | float minimum_width; | ||||
| float maximum_width; | float maximum_width; | ||||
| } KernelCurves; | } KernelCurves; | ||||
| typedef struct KernelBlackbody { | typedef struct KernelTables { | ||||
| int table_offset; | int blackbody_offset; | ||||
| int pad1, pad2, pad3; | int beckmann_offset; | ||||
| } KernelBlackbody; | int pad1, pad2; | ||||
| } KernelTables; | |||||
| typedef struct KernelData { | typedef struct KernelData { | ||||
| KernelCamera cam; | KernelCamera cam; | ||||
| KernelFilm film; | KernelFilm film; | ||||
| KernelBackground background; | KernelBackground background; | ||||
| KernelIntegrator integrator; | KernelIntegrator integrator; | ||||
| KernelBVH bvh; | KernelBVH bvh; | ||||
| KernelCurves curve; | KernelCurves curve; | ||||
| KernelBlackbody blackbody; | KernelTables tables; | ||||
| } KernelData; | } KernelData; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __KERNEL_TYPES_H__ */ | #endif /* __KERNEL_TYPES_H__ */ | ||||