Jump to content
  • Advertisement
Sign in to follow this  
lucky6969

Loading Mesh

This topic is 4619 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
×

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!