Jump to content

Is there a way to use volume based collision using SOPs without resamp


magneto

Recommended Posts

Hi,

 

I am using Volume based RBD collisions by specifying a proxy volume using SOPs, but the only option I see to use that proxy is Volume Sample which resamples the incoming volume, right?

 

Is there a way to avoid resampling and use the SOP volume as is?

 

 

Thanks :)

Link to comment
Share on other sites

Thanks. The deforming object only reads the geometry of the object, but for the collisions are still governed by the Volume Sample option, no? That was my understanding. So if you have a very fine collision mesh, for example, then having the same resolution will require a fine resample value in DOPs, and thus cause slower cooking.

Link to comment
Share on other sites

No, with 'Volume Sample' divisions are completely ignored. The 'collision mesh' is, from the manual:

 

Volume Sample

The divisions are ignored in this mode, instead they are computed from the first volume or VDB primitive in the geometry.

Link to comment
Share on other sites

just be aware that prior to H14 Volume Sample was still resampling VDB volumes, so you had to convert them to regular sdf volumes to avoid that

but if you are using H14, then you should be fine

just note that Deforming Object shelf tool, links Division Size of Static Object with Voxel Size of Collision Source, so it may seem that Static Object is resampling the volume by tweaking Division Size, however it's actually changing actual volume that is referenced in Proxy Volume 

  • Like 1
Link to comment
Share on other sites

To clarify you should be able to have the collision volume read almost as fast in DOPs as in Sops, once you have cached the volume.  Try with the 'Deform Object' shelf tool.

 

Make sure not to turn on 'Collision Guide' on the Static Object/Collisions/RBD/Volume tab, as turning this on seemingly makes 'SDF Representation' rebuild the volume and slow right down.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...