Jump to content
  • Advertisement
Sign in to follow this  
ankhd

Findings on Ray - Picking and a mesh Loaded with D3DXLoadMeshHierarchyFromX

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

Hi all, Still on this damn Ray - Picking with a mesh made up of three box's and Exported with PanderExpoter 3dmax9 and loaded with D3DXLoadMeshHierarchyFromX. Ok Findings,I traced the mesh data to the RootFrame some thing like this // Leg mesh Leg01 Box07 m_frameRoot->pFrameFirstChild->pFrameSibling->pFrameSibling->pMeshContainer->MeshData.pMesh; //this is the mesh for the middle box so my question is What would be a good way to loop through this data to test each subset of this mesh any help would be good thank you. and one more thing how do you know if the mesh is allways going to be in this tree form it could be going down any node.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!