Hi,
I've been trying to 'understand' how dot3 works, and tweaked Fredborgs DotMyBot example, and ended up with this
http://www.tomspeed.com/dot3-tests.zip
I had a hell of a time getting it working with parent/child meshes, turns out you have to convert some normals to parent space (I think :), anyways, the effect is nice & subtle. The subdivison test shows you really need a moderately subdivided mesh to get decent results though.
Mikkels code is messy...well it is now I got my hands on it :) It's kinda hacked up a bit, still by no means a correct example!, and I've only modified the point light part.
Tom
I've been trying to 'understand' how dot3 works, and tweaked Fredborgs DotMyBot example, and ended up with this
http://www.tomspeed.com/dot3-tests.zip
I had a hell of a time getting it working with parent/child meshes, turns out you have to convert some normals to parent space (I think :), anyways, the effect is nice & subtle. The subdivison test shows you really need a moderately subdivided mesh to get decent results though.
Mikkels code is messy...well it is now I got my hands on it :) It's kinda hacked up a bit, still by no means a correct example!, and I've only modified the point light part.
Tom