   IGame(3ds max SDK) and texture coordinates
  Hi, how can I export texture coordinates from 3ds max model using IGame? I have tried GetTexVertex() and GetMapVertex() but they return invalid coords (like -0.0). How can I export it correctly?   
  max sdk support INode interface.intnumTVerts = mesh.getNumTVerts();for( int i = 0; i < numTVerts; i++ ){UVVert curVertUV = mesh.getTVert( i );_pPiece->Primitive.texcoordArray.push_back(Point2(curVertUV.x, 1.0f - curVertUV.y));}   ;  ok I get coords for-each vertex with this:pMesh->GetMaxMesh()->tVerts[pMesh->GetMaxMesh()->tvFace[actual_face].t[actual_face_vertex]]; and it writes coords like in ascii mesh file but in directx this coords are bad(texture crash!)! why? how to get coords for-each vertex correctly?[Edited by - arwi234 on April 8, 2010 11:53:38 AM];  refreshEdit: ok i have done it and my plugin returns coords like in ASE file, but texture still crashes in directX. why? Model and texture:http://www.przeklej.pl/plik/plutonium_box_max-0011f51sv5a5http://www.przeklej.pl/plik/tex_bmp-0011f521m40iis this model ok?[Edited by - arwi234 on April 8, 2010 1:14:10 PM]