Jump to content

VDB multiplication by (-1) problem


Recommended Posts

Hi,

I have FLIP simulation that I convert to VDB (i.e. in the Particle Fluid Surface node, I set output to  "Surface VDB"). I am rendering the VDB in an external renderer that requires negative VDB densities (or to be more clear, it requires positive densities inside the volume), so in a Volume VOP  I multiply incoming "density" by (-1) and wire the result to output "density" (plz, see attached image). However, when I do the multiplication, I get "new" voxels inside the VDB??? Meaning, I get positive densities in voxels that were zero before the multiplication??? The problem is gone when I converted the VDB into a native Houdini Volume then converted the result into VDB again (but this is inefficient). My question: why VDB multiplication creates new voxels?Is there a way to avoid this problem without converting back and forth between native and VDB volumes?

 

Thanks,

 

 

vdb_multiplication.png

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...