diff options
author | Matt Ebb <matt@mke3.net> | 2007-09-07 07:48:50 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2007-09-07 07:48:50 +0400 |
commit | 0ba5295404dd1c2ee04a9e7823eafc664562f4eb (patch) | |
tree | 816891a80322ecc06a5016cfb1e8ef4abba9f0ba /source/blender/makesdna/DNA_lamp_types.h | |
parent | f85cd06873a991fec91766ea8cd5efe3eda17594 (diff) |
* QMC Raytracing
This introduces QMC sampling for use in glossy reflections/refractions, soft raytraced shadows, and ambient occlusion.
This work includes many new features and speed-ups, so check out the nice docs here:
Glossy Reflection/Refraction
http://www.blender.org/development/current-projects/changes-since-244/glossy-reflectionrefraction/
Raytraced Soft Shadows
http://www.blender.org/development/current-projects/changes-since-244/raytraced-soft-shadows/
QMC Sampling
http://www.blender.org/development/current-projects/changes-since-244/qmc-sampling/
Many thanks to Brecht van Lommel for some initial code snippets and for reviewing the patch, and especially to Alfredo de Greef who gave me a lot of guidance and help along the way!
Diffstat (limited to 'source/blender/makesdna/DNA_lamp_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_lamp_types.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h index 5d998ccca6e..e1d4e4c1cc1 100644 --- a/source/blender/makesdna/DNA_lamp_types.h +++ b/source/blender/makesdna/DNA_lamp_types.h @@ -61,9 +61,13 @@ typedef struct Lamp { short bufsize, samp, buffers, filtertype; char bufflag, buftype; - short ray_samp, ray_sampy, ray_sampz, ray_samp_type; + short ray_samp, ray_sampy, ray_sampz; + short ray_samp_type; short area_shape; float area_size, area_sizey, area_sizez; + float adapt_thresh; + short ray_samp_method; + short pad1; /* texact is for buttons */ short texact, shadhalostep; @@ -135,6 +139,12 @@ typedef struct Lamp { #define LA_AREA_CUBE 2 #define LA_AREA_BOX 3 +/* ray_samp_method */ +#define LA_SAMP_CONSTANT 0 +#define LA_SAMP_HALTON 1 +#define LA_SAMP_HAMMERSLEY 2 + + /* ray_samp_type */ #define LA_SAMP_ROUND 1 #define LA_SAMP_UMBRA 2 |