iDevGames Forums
Meshing MDD and Obj - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: Meshing MDD and Obj (/thread-8914.html)



Meshing MDD and Obj - OptimisticMonkey - May 3, 2011 06:25 PM

(I am hoping someone out there has experience with mdd files)


I am trying to use an animation in an exported mdd file.
I can parse and read the file ok.

But I am still confused how to match the points in the mdd to the vertices in an exported obj of the same model...they do not necessarily appear to be in the same order. Do I have to scan and match the verts by xyz value?

The mdd is basically written like so:

totalframes
totalPoints
Times
while(!totalframes)
{
while(!totalPoints)
{
write point[frame][point][axis];
point++;
}
frame++;
}

The best mdd format doc is here:
http://www.ef9.com/ef9/PO1.5/Messiah/PointOven_messiah.html

Thanks for any help