|
Morph TargetsMorph targets appear in a mesh section of a XMF file in between the regular vertex section and the faces. The following extract is taken from the MORPH section of a sample XMF file that I was given: Start of a morph section.
NUMBLENDVERTS: Equivalent to NUMVERTS, however in the sample some vertices are skipped, so it appears that the morph need not include every vertex. Morph names are important and follow a specific naming convention. It is not clear whether MORPHID serves a purpose or not. Start of a morph vertex.
VERTEXID is the ID of the corresponding vertex in the original mesh. POSDIFF might be the distance between the morphed vertex and the original, however this is pure speculation. Position, Normal and Texture coordinates
There is speculation that TEXCOORD may be ignored as an attempt to animate a texture using a morph is reported to have failed. End of morph vertex
Another sample vertex and end
|