Sign in to follow this  
lucky6969

Loading Mesh

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

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