Skip to content

Move decomposition after splitting submeshes? #33

@SkytAsul

Description

@SkytAsul

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions