[Bf-committers] Displacement mapping....
Robert Wenzlaff
bf-committers@blender.org
Sat, 6 Dec 2003 01:49:43 -0500
http://www.soylent-green.com/DisplaceTest2.jpg
http://www.soylent-green.com/DispTest2.jpg
Done when a mesh is converted to a renderface. It works on the renderface so
it's easy to make work for other types.
I'm going to be working on an auto subdivide algorithm next, so displacement
will work even for low poly models.
Autosmooth needs to be on or all shading variation is lost. I probably need
to recalculate the normals a little more carefully. This introduces some
artifacts (checkered pattern in spec highlight).
And I'm sure I have a ton of other things to take into account (UV mapping,
etc...) but it's a start.
--
************************************************************
Robert Wenzlaff rwenzlaff@soylent-green.com