using x files with my own vertex formats.

Started by
0 comments, last by ofer 21 years, 9 months ago
if i want to load meshes from an x files but have the meshe''s vertices contain more than one texCoords, and tangent/Binormal/TNormal per vertex, which i will compute on my own, is it possibile? or would i have to load the mesh, and than use the method LockAttribute of the mesh to retrive the data to the system memory to my own vertex format and than relock it again and draw it the usual way? thnx in advance.
Advertisement
You can use ID3DXBaseMesh::CloneMeshFVF with a second texcoord set.

- Mete

mciragan@smile.ch
http://www.swissquake.ch/chumbalum-soft/

This topic is closed to new replies.

Advertisement