Skip to content

Question about SDF lib plugin and making SDF in general #2182

Closed Answered by quagla
benthebear93 asked this question in Asking for Help
Discussion options

You must be logged in to vote

Hi, the collision algorithm for methods 1 and 3 will be the same. The difference is that 1 requires writing a new plugin, while 3 means using the already existing sdflib plugin (like in this example https://github.com/google-deepmind/mujoco/blob/main/model/plugin/sdf/cow.xml) - the underlying representation of the SDF is a voxel grid computed from the mesh using this library https://github.com/UPC-ViRVIG/SdfLib

Using 3 is likely not as fast as using 1 but it's obviously more general because it's really hard to come up with an analytic SDF for complicated objects, so computing it automatically using a voxel grid is a big advantage.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yuvaltassa
Comment options

@benthebear93
Comment options

Answer selected by benthebear93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants