Skip to content
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

Move decomposition after splitting submeshes? #33

Open
SkytAsul opened this issue Jul 10, 2024 · 0 comments
Open

Move decomposition after splitting submeshes? #33

SkytAsul opened this issue Jul 10, 2024 · 0 comments

Comments

@SkytAsul
Copy link

Hello!
I am having a little trouble converting a composite OBJ file representing a hand to an MJCF file.
Here is the result after running it with obj2mjcf --obj-dir . --verbose --save-mjcf --decompose:
image (group 2 visual)
image
(group 3 collisions)

You can see that at many places, the convex hulls stretch across multiple submeshes (for instance, the two last phalanges of the pinky, annular and middle fingers).
This makes the addition of joints between the submeshes impossible.
I wonder if it wouldn't be nice to move the "decomposition" step after the splitting in submeshes?
Maybe I am completely missing something about this util...
Thanks for any help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant