* Displacement baking wasnt working with negative distances.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 22 Feb 2008 14:27:46 +0000 (14:27 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 22 Feb 2008 14:27:46 +0000 (14:27 +0000)
commit0e935e397b945d2a8d76eb1c748e8bc11bca0095
tree5ba9862638cf1bb02600d223e5fee7bde798e8f1
parentd7088ce8259f26eb96d939fe963d4f2a28eb0df3
* Displacement baking wasnt working with negative distances.
* Added Normalize option for diplacement so everything in the 'Dist' range is mapped 0-1
* Increased the maximum Dist and Bias to1000.0 (was 10.0)
* Added python utility function in BPyRender.py - bakeToPlane(...), to automate heightmap, normalmap generation for Crystalspace.
release/scripts/bpymodules/BPyRender.py
source/blender/makesdna/DNA_scene_types.h
source/blender/python/api2_2x/sceneRender.c
source/blender/render/intern/source/rendercore.c
source/blender/src/buttons_scene.c