-
Using, for example, the example sim_rigid_fem, is there a way to record only the sphere and not the beam? Likewise, could there be a reduced version of the beam recorded? At high meshes and timesteps, the USD file for that scene quickly hits over 60gb, I assume from all the particles being recorded. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can get the coordinates and velocities out of the state objects (e.g. state_0, state_1) as arrays. Take a look at the State and Model classes in warp\sim\model.py. For example: |
Beta Was this translation helpful? Give feedback.
-
The best way I could find is to render based on object types (although I think this can easily extend to body ids). The
|
Beta Was this translation helpful? Give feedback.
The best way I could find is to render based on object types (although I think this can easily extend to body ids).
The
render.py
in sim is subclassing the main renderer, so I added a few extra parameters. The heart of the modifications is: