Jump to content

How to modify multiple VDB volumes using the Volume Wrangle SOP?


Recommended Posts

Hi,

 

I have a Cd standard Houdini volumes for x, y and z which are easily modified using the Volume Wrangle SOP, where I am basically setting the color of each voxel to relbbox(@P).

 

But the same thing doesn't work with VDB volumes. I tried the Convert VDB SOP which converted the volumes into VDBs that are separate just like the original volumes but after modifying them in the Wrangle SOP, there is no change in the output. The help card doesn't mention anything about not supporting VDBs. Is this the case?

 

Also using the VDB SOP, I can create a vector volume but unlike the standard Houdini volumes it creates a single volume storing the vectors, which doesn't do anything when I am using the same Wrangle code.

 

The Volume Wrangle help card also doesn't mention how to handle these volumes which are quite different than standard Houdini vector volumes.

 

Any ideas? I assume it's a simple thing I am missing or it's not supported fully.

 

 

Thanks :)

Link to comment
Share on other sites

Thanks pezetko, it works great :) Also do you know how to initialize an empty VDB volume as created by VDB SOP? That's what I tried originally and when I use that in Volume Wrangle, it still shows up as "empty". I don't know how to ensure that it's initialized with voxels.

Link to comment
Share on other sites

You use the VDB Activate node to turn on volxel in your empty VDB. You can specify a bounding box or use another VDB as a secondary input (this works nicely to use a low-res VDB to turn on the voxels of a high-res VDB)

Link to comment
Share on other sites

Thanks tjeeds, that works great. I never used the VDB Activate node before. By bbox, do you mean using an expression because I couldn't find an automatic way to use the bbox of the input geometry. I also tried the second input.

 

It's not a big deal though, just curious :)

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