View Full Version : md2 and fast normals?
01-04-2004, 05:11 PM
I have been using loops apon loops to get per-vertex lighting to work right. Now that i have it running on my md2 the only problem is that when i start wanting to animate it slows down really bad when having to recalculate the normals per frame. What is the fastest way to calc the per-vertex normals?
Vertex skinning is your keyword.
01-04-2004, 06:24 PM
Can you explain?
To have fast normal calculation from an animated md2, I would precalculate the normals for each pose, store them, and then interpolate each normal between 2 poses (lerp). It is not matematically correct, but should do the work if the poses are not too different.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.