Jump to content
Marcocheng

Flatten VDB sdf from multiple VDBs?

Recommended Posts

Hi guys

I'm currently working on a Particle collision situation with pre-sim RBD (converted to VDB SDF already). The SDF is a combination of multiple SDF moving within a timeframe, is there any way (or workaround) to flatten multiple vdb sdf into single VDB so POP static object can read properly (default volume collision did not support multiple SDF I think)? Anyway to flatten it? Thanks!image.png.56f7e1162c7f9cda63d944cdf2e135f3.png

image.png.5f44d310233b2e419e1111541807261f.png

Here's the VDB file.

filecache2.v1.0040.bgeo.sc

filecache2.v1.0040.bgeo.sc

Share this post


Link to post
Share on other sites
Posted (edited)

a VDB combine with "Flatten all A" in the collation drop down menu and "Minimum" in the operation should do.

Edited by iamyog
typo
  • Like 1

Share this post


Link to post
Share on other sites

there is also SDF Union operation

  • Thanks 1

Share this post


Link to post
Share on other sites
14 minutes ago, iamyog said:

a VDB combine with "Flatten all A" in the collation drop down menu and "Minimum" in the operation should do.

I've just found this new option in 17.5 thanks. (i was using 16.5 previously). Thanks

Share this post


Link to post
Share on other sites

you can still use use Flatten All B into A, are you having any issues with that?

  • Thanks 1

Share this post


Link to post
Share on other sites
11 hours ago, anim said:

you can still use use Flatten All B into A, are you having any issues with that?

You save my life. Give this man a free beer!:lol:

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×