Blender Git Commit Log
Git Commits -> Revision c8e0ca4
Revision c8e0ca4 by Brecht Van Lommel (master) January 7, 2011, 14:42 (GMT) |
Improved bump mapping patch by M.G. Kishalmi (lmg) and M.S. Mikkelsen (sparky). Many thanks to them! For comparison, see here: http://kishalmi.servus.at/3D/bumpcode/ Based on algorithm in: Mikkelsen M. S.: Simulation of Wrinkled Surfaces Revisited. http://jbit.net/~sparky/sfgrad_bump/mm_sfgrad_bump.pdf This fixes bugs: #24591: Artefacts/strange normal mapping when anti-aliasing is on #24735: Error at the Normal function. #24962: Normals are not calculated correctly if anti-aliasing is off #25103: Weird artefacts in Normal This will break render compatibility a bit, but fixing this bugs would have also done that, so in this case it should be acceptable. Patch committed with these modifications: * Bump method Old/3-Tap/5-Tap option in UI, 3-Tap is default * Only compute normal perturbation vectors when needed * Fix some middle of block variable definitions for MSVC |
Commit Details:
Full Hash: c8e0ca44a3c5d49be01f90a49b98a9ee8f875d36
SVN Revision: 34155
Parent Commit: 03e0f28
Lines Changed: +145, -180
5 Modified Paths:
/release/scripts/ui/properties_texture.py (+3, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+10, -3) (Diff)
/source/blender/render/intern/source/texture.c (+127, -171) (Diff)
/source/blender/blenkernel/intern/material.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+10, -3) (Diff)
/source/blender/render/intern/source/texture.c (+127, -171) (Diff)