Added option to only render a single side of an Environment map cube,
authorTon Roosendaal <ton@blender.org>
Sun, 19 Mar 2006 14:26:56 +0000 (14:26 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 19 Mar 2006 14:26:56 +0000 (14:26 +0000)
commit4bbc9df60d3d06dc71591e8320f39ad3b65127e4
treed7d166ea0677f8aa34175f49d2f9738df3dca766
parent528ea065312e93e58d36a02ac14a3d63ddcb0db4
Added option to only render a single side of an Environment map cube,
allowing to use it for planar mirrors. Enable it with the new "Plane"
option in the Environment Map Panel.

Current default is to render the cube side that points to the positive
Z axis direction. To make it work, it uses the same image for all
other cube sides, so it will 'wrap around'.

Also made maximum resolution for environment map to be 4096x4096 now.
source/blender/render/intern/include/texture.h
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/envmap.c
source/blender/render/intern/source/texture.c
source/blender/src/buttons_shading.c