HellBorn opened this issue on May 23, 2007 · 14 posts
HellBorn posted Thu, 24 May 2007 at 6:41 AM
Quote - > Quote - Say a model has 10 verices witch is refered to from 0 to 9 in the face data.
Say that the vertices from 3 to 6 belongs to group A and the rest to group B.
Now if I want to export the verticese for group B they should be
0-2 followed by 7-9(jumping over the vertices belonging to groupA).As far as I remeber thats also the only data that is needed for a morph.
Is this correct?
Yes. Actually vertices are numbered starting from 1, but you have the general idea right. You can use an OBJ file containing only vertices as a morph target, but most modellers will want facet definitions before you'll be able to see the mesh and edit it.
The morph files my program will create is just for import as morphs into poser.
The actuall geometry (the faces) will be keept in a file with the fully morphed model (welded and with no groups).
Any suggestions on how to order the verices that belongs to a bodypart.
Should it be in the order they appear in the face description (in witch case also the order of the faces would be important ) or should they be ordered by sorting the vertice references in the faces.
Or are they supposed to be sorted some other way?
Unless someone can help I will have to do it the hard way by building a 10-20 vertice model with a freaky vertice order and then analyse the generated poser files,exported Morphtargets etc. in order to find out how poser orders the bodypart vertice data.