Jump to content
  • Advertisement


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


How do I get at mesh attribute tables?

This topic is 6298 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

I'm doing a dx8 engine in VB. and I have this x file, a tree, I load it into a d3dxmesh, extract the indices and vertices, stuff them many times into an index and vertex buffer (the forest), which I then set as the data stream and render using d3dDrawIndexedPrimitive. My problem is I need to organize the (indices?) so I can change the material and textures between draw calls. I optimize the meshes before saving the x files (in 3d canvas) and I have tried optimizing them in code but I still can't get at the attribute table in any usable manner. I'm still fairly new at this so it could be something simple I'm missing. Can someone please explain how to get at which materials are for which indices when using d3dxMeshes. Thank you thank you Edited by - rove on April 21, 2001 1:42:40 AM

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!