-
Notifications
You must be signed in to change notification settings - Fork 255
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
[QUESTION] self.model.enable_tri_collisions
Flag
#405
Comments
I can't speak about the In your specific case, the hit in performance isn't coming from warp/warp/sim/integrator_euler.py Lines 259 to 316 in 5b7a934
To make these conclusions, I needed to modify the example to:
In this image, you can see that the GPU activity is dominated by these |
self.model.enable_tri_collisions = True
makes particle_q = state.particle_q.numpy()
super slowself.model.enable_tri_collisions
Flag
Hi 冰糖葫芦, That is the why the simulation becomes slower after turning on To be honest, achieving stable collision responses in an explicit integrator is very challenging the least to say. |
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: