diff options
author | Ton Roosendaal <ton@blender.org> | 2006-03-19 20:50:53 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-03-19 20:50:53 +0300 |
commit | cf0408a4f6cbbe326616c93969f8588cf45e76ab (patch) | |
tree | a1f6966fe86d1c74456a1bc45e88f4220e78bfed /source/blender/makesdna | |
parent | 652bf89985cb16a24b9da04b9dd6ce1c407b8a5c (diff) |
More environment map stuff:
- added a zoom factor for Planar Environment Map, allowing to zoom in or
out on the reflected object. The zoom is corrected when rendering, so it
just gives control over the resolution.
- Planar maps don't cycle anymore, but only render the front plane, using
standard image texture extend mode.
- threaded rendering is back in envmap render
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_texture_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index ea49e7d0e6b..47e89dbd1c0 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -115,6 +115,7 @@ typedef struct EnvMap { float obimat[3][3]; short type, stype; float clipsta, clipend; + float viewscale, pad; /* viewscale is for planar envmaps to zoom in or out */ unsigned int notlay; short cuberes, depth; short ok, lastframe; |