Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


using x files with my own vertex formats.

This topic is 5998 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post

Link to post
Share on other sites
You can use ID3DXBaseMesh::CloneMeshFVF with a second texcoord set.

- Mete


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!