You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a simulation which involves many thousands of bodies interacting. Each body has ~20 collision spheres. It's very slow to add these bodies using "naive" add_body and add_shape_sphere methods on ModelBuilder. The thing is that the bodies are not unique- their properties are already quantized to a lookup table, where each body has one of about 100 possible sizes and shapes. Is there a way to capitalize on this? In other simulation tools like Blender I've found it very advantageous to copy existing bodies and simply change their location.
Any advice on optimizing this would be appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm running a simulation which involves many thousands of bodies interacting. Each body has ~20 collision spheres. It's very slow to add these bodies using "naive" add_body and add_shape_sphere methods on ModelBuilder. The thing is that the bodies are not unique- their properties are already quantized to a lookup table, where each body has one of about 100 possible sizes and shapes. Is there a way to capitalize on this? In other simulation tools like Blender I've found it very advantageous to copy existing bodies and simply change their location.
Any advice on optimizing this would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions