• Advertisement
Sign in to follow this  

Findings on Ray - Picking and a mesh Loaded with D3DXLoadMeshHierarchyFromX

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