You can't interpolate the normals that way; at a minimum, you'd
need to normalize the normals, but I'm not sure that they would be
right even then. Try that first, and if it's still not working,
then you may need to recalculate the normals from first principles
(e.g., by averaging the normals of all triangles it's involved in,
and then normalizing) on each frame.
If there's some more efficient trick I've forgotten, I bet that
Frank or somebody else will chime in.
I was under the impression you could get away with using a weighted
average of the normals and not even bother normalizing the result -
there may be minor errors but they should be "normalized enough" (I
admit I haven't done this in a while though).
That's what I do and it works fine.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|