Jump to content
  • Advertisement

Archived

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

ofer

using x files with my own vertex formats.

This topic is 5817 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
Advertisement
You can use ID3DXBaseMesh::CloneMeshFVF with a second texcoord set.

- Mete

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

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!