Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-03-19 20:50:53 +0300
committerTon Roosendaal <ton@blender.org>2006-03-19 20:50:53 +0300
commitcf0408a4f6cbbe326616c93969f8588cf45e76ab (patch)
treea1f6966fe86d1c74456a1bc45e88f4220e78bfed /source/blender/makesdna/DNA_texture_types.h
parent652bf89985cb16a24b9da04b9dd6ce1c407b8a5c (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/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h1
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;