[QUESTION] self.model.enable_tri_collisions = True
makes particle_q = state.particle_q.numpy()
super slow
#405
Labels
question
The issue author requires information
Issue Overview:
I am working on a cloth simulation using the example provided here. In addition to handling collisions between the cloth and the Bunny model, I aim to incorporate cloth self-collision into the simulation.
Steps Taken:
Persistent Penetration: Despite enabling self-collision, the simulation still exhibits significant penetration within the cloth itself.
Performance Degradation: Enabling
self.model.enable_tri_collision
drastically increased the rendering time from approximately 2ms to 800ms. Usingwp.ScopedTimer
, I traced the slowdown to the following line inwarp/sim/render.py
:Link to the specific line
Questions:
Is adding
self.model.enable_tri_collision = True
sufficient to enable effective cloth self-collision?If not, what additional steps or configurations are necessary to achieve reliable self-collision handling?
self.model.enable_tri_collision
cause such a significant increase in rendering time, especially when the shape ofparticle_q
remains unchanged?Additional Information:
Warp Version: Both V1.3.0 and V1.5.0
Hardware: GPU 3090 CUDA 12.2 Driver Version: 535.183.01
Operating System: Ubuntu 22.04
Python Version: Python 3.10.13
Thank you in advance!!
I am keen to resolve these issues to advance my simulation work. Any guidance or suggestions you can provide would be greatly appreciated.
Thank you once again for developing and maintaining such an amazing project!
The text was updated successfully, but these errors were encountered: