![]() With some SMDs you have to add an x-rotation of pi/2 to the skeleton root to change from +z = up to +y = up.Īlso, be careful about throwing away the node id for the vertex (as I do above). To read each triangle to add to the mesh:į > junk > px > py > pz > nx > ny > nz > tu > tv // CORRECTION to vertex posfloat temp = py py = pz pz = -temp // CORRECTION to vertex normaltemp = ny ny = nz nz = -temp // CORRECTION to tex coordstv = 1.0f-tv //. I put up with a mirror image mesh (mirrored through the YZ plane) and mirrored animations to use the skeleton and animation frames as-is.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |