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

Remove syntax in the output file #39

Open
zichunxx opened this issue Jan 23, 2024 · 2 comments
Open

Remove syntax in the output file #39

zichunxx opened this issue Jan 23, 2024 · 2 comments

Comments

@zichunxx
Copy link

Hi!

I'm using CoACD to preprocess my obj model to get higher resolution and compact collision meshes.

I found the output obj file containing the syntax, like o geometry_1 and o geometry_2, which split the whole mesh into small pieces. When the output obj model is imported into MuJoCo, the above syntax seems to prevent the model from being fully loaded, and all geometric elements after the place where the first syntax appears are not displayed.

Is there any way to remove these syntaxes without changing them manually? Thanks in advance!

@SarahWeiii
Copy link
Owner

you can try removing the elements and reordering the face indices by writing a Python script

@zichunxx
Copy link
Author

zichunxx commented Jan 31, 2024

@SarahWeiii Thanks for your kind reply. I'm new to this area and want to achieve this at a minimum cost. Is there any material that I can refer to?

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

2 participants