CoACD icon indicating copy to clipboard operation
CoACD copied to clipboard

Remove syntax in the output file

Open zichunxx opened this issue 1 year ago • 2 comments

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!

zichunxx avatar Jan 23 '24 03:01 zichunxx

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

SarahWeiii avatar Jan 29 '24 19:01 SarahWeiii

@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?

zichunxx avatar Jan 31 '24 01:01 zichunxx