Advertisement Jump to content
Sign in to follow this  

[Assimp] Loading mesh hierarchy as one chunk of static mesh?

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

Can I assume when the mesh is collapsed into one chunk,

like the root has no children, then the only mesh is the static mesh I am after?


But there is a problem,

when in D3DX (sorry again), I load a hierarchy using D3DXLoadMeshHierarchyFromX

I will get a hierarchy, okay with that.

But I reload the same thing with D3DXLoadMeshFromX, I will get a static mesh out of a hierarchy....

The D3DX has done some magic to collapse the hierarchy into a chunk.

So how is it possible to do the same thing with assimp?



Share this post

Link to post
Share on other sites

I wonder if I could just append the vertex buffer of each LPD3DXMESH to a large mesh?

And the resultant mesh is the static mesh equivalence?



No, I don't think it would work.

Imagine you got 2 meshes.

Say indices of 1,3,2 for the first one


Then on the next one, perhaps

It's named 1,3,2 again, which will duplicate the indices




Edited by lucky6969b

Share this post

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

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!