Closed liminchen closed 3 years ago
Hi there, I just checked your clothStack_Ag.obj file and found it incompatible with the current implementation. In order to simulate a bunch of disconnected cloth in a single file, you need to avoid overlapping between their UV texture coordinates. The following picture shows the UV coordinates of your obj file.
Following is the example where the texture coordinate works with the current code.
Let me know if you have other issues.
Thanks for your reply! It is actually my bad, there's isolated points in my mesh...
After removing the isolated points I can simulate it in Argus now with relax_initial_state
set to false
.
With default relax_initial_state
, I get
terminate called after throwing an instance of 'alglib::ap_error'
But I guess it's fine for now if it does not affect the simulation.
I tried to design a scene with a stack of cloth dropped onto a ground, but I cannot load the scene successfully. I already compact all disconnected components into a single obj file (it seems multiple files does not work), and I had texture coordinates. But while loading I simply get
Segmentation fault (core dumped)
Here are my scene files and meshes: https://www.dropbox.com/s/jyb4p8evne8vtwk/clothStack.json?dl=0 https://www.dropbox.com/s/2w75n2griimtscx/clothStack_Ag.obj?dl=0 https://www.dropbox.com/s/a3h9m47jehyke9g/square21.obj?dl=0 whenrelax_initial_state
is settrue
I can getalglib::ap_error
, so I set itfalse
.