diff options
author | Ton Roosendaal <ton@blender.org> | 2003-09-24 01:05:51 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-09-24 01:05:51 +0400 |
commit | d8955d1b33e8a5bfc17fc4a61721ca144702be81 (patch) | |
tree | 1c8ae3856c9eea6f5e1be563632a4788a17d68d1 /source/blender/render/extern | |
parent | 63e7c3e07719a25307f738861fc9bc66268d3bd4 (diff) |
- Recursive environment map render
Multiple environments now can be rendered in one pass. Previously the other objects with environment maps didn't show up in a reflection. Like this:
http://www.blender.org/bf/dep.jpg
By default, Blender renders now this result:
http://www.blender.org/bf/dep0.jpg
For a further 'recursive ray-tracing effect' you can give each EnvMap texture a higher "Depth" value. Here is a result with depth set at '2':
http://www.blender.org/bf/dep2.jpg
Related new options:
- in (F10) DisplayButtons, environment map rendering can be turned on and off.
- in EnvMap texture buttons you can free all environment maps
- Environment map sizes are also reduced with the (F10) 'percentage' option.
Tech note: with this commit the VlakRen struct has on *ob pointer!
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/render_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/extern/include/render_types.h b/source/blender/render/extern/include/render_types.h index 6b790c66936..9777393685c 100644 --- a/source/blender/render/extern/include/render_types.h +++ b/source/blender/render/extern/include/render_types.h @@ -35,6 +35,7 @@ #include "DNA_scene_types.h" #include "DNA_world_types.h" +#include "DNA_object_types.h" /* Definitely weird: this equals 1<<21... so wtf?*/ #define MAXVERT (2<<20) @@ -190,6 +191,7 @@ typedef struct VlakRen char flag, ec; unsigned int lay; RadFace *radface; + Object *ob; } VlakRen; |