Sign in to follow this  

Findings on Ray - Picking and a mesh Loaded with D3DXLoadMeshHierarchyFromX

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this