Posted 26 July 2003 - 05:02 AM
Posted 26 July 2003 - 10:11 AM
Posted 26 July 2003 - 11:42 PM
Thanks for the help. :) I will pre-calculate them for the terrain...and probably for the models. I am still not sure what the best way to do it for the animated models. :huh:
Posted 27 July 2003 - 02:25 AM
there are very fast algos for generating normals for terrain, and so for deformable terrain recalculation is easy (and you can do "local recalc" instead of recalc everything..)
there is a very fast general algorithm to calc normals wich is O( A+B ) where A is the amount of faces, and B is the amount of vertices..
most the time you don't animate your meshes randomly. if you have keyframes, you can interpolate normals as well (but don't use linear interpolation directly! ..)
if you do skinning, you can transform the normals by the skinning-matrices as well.. you just have to know how to:D
hope that gives some ideas.. i can write down the structure of the algo as well.. isn't it somewhere yet in those forums? ..
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
Posted 31 July 2003 - 08:15 AM
here are the results:
Posted 31 July 2003 - 08:33 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users