From cf0408a4f6cbbe326616c93969f8588cf45e76ab Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 19 Mar 2006 17:50:53 +0000 Subject: 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 --- source/blender/makesdna/DNA_texture_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_texture_types.h') 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; -- cgit v1.2.3