• Advertisement
Sign in to follow this  

Loading Mesh

This topic is 4470 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, How do I load mesh with only animation controller but without the hierarchy like this D3DXLoadHierarchyFromX (...., &alloc, &m_pframeRoot, &m_pAnimController); to D3DXLoadHierarchyFromX (..., NULL, &m_pframeRoot, &m_pAnimController); I have put a flag to distinquish between those. But the latter case failed to load the animationcontroller because there was no allocatehierarchy. Any hints Thanks Jack

Share this post


Link to post
Share on other sites
Advertisement
Hi,
Thanks for your kind reply.
It seemed that D3DXLoadHierarchyFromX without alloc would fail
I animated the flying wheels in MAX and the mesh + animation can be displayed properly in MAX and deep exploration,even mesh viewer. But failed at
D3DXLoadHierarchyFromX, the returned animation controller and frame root were both NULL.
Thanks once again
Jack

Share this post


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

  • Advertisement