-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assimp Loader with Recursion #355
Conversation
Adds support for mesh materials.
First draft of the mesh loading function.
Hi @onurtore ! This is super helpful, indeed the meshes should be built in a recursive way and not iterative as I was doing in a first quick draft, the limitations became evident when parsing scenes with complex hierarchies where each transform is derived from the parent transform (i.e. bones for animations). |
Hi @luca-della-vedova, [-] Converting your code base to allow recursive loading. |
Thanks for the PR! There was a lot of duplicated logic here but I followed your advice and made mesh / skeleton creation recursive to make sure the transforms are correctly calculated (it was horribly wrong before, thanks for catching it!) I'll close this first in favor of smaller and more targeted PRs. |
@luca-della-vedova, |
Hi,
I believe you can use some part of this code to further improve this branch. The existing structure lacks recursive loading, but the codes I shared can be utilized to implement that future. (Just look AssimpLoader::MeshFromAssimpScene and AssimpLoader::buildMesh). This structure is similar to how Rviz handles the Assimp (Which is taken from Gazebo :) .)
I was planning to work on this and further compare assimp on different metrics (size, speed)