Jump to content
localstarlight

Any way to take non-planar volume slice?

Recommended Posts

I've been using the Volume Slice SOP to take planar slices of volumes to extract textures. I'm wondering whether there is any way to extract a volume slice using a distorted plane?

For example, with a toroid volume (shown here as a mesh not a volume):

Non-PlanarVolumeSlice.jpg.f0e3db31d6e7c979fc5830fd9bc09875.jpg

 

So using a distorted plane, I want at each point in the plane to be recorded the volume's density at that point.

Is there any way to achieve this?

 

Share this post


Link to post
Share on other sites

You can use volumesample() vex function or vop to record the density on your slice geometry.

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

×