localstarlight Posted February 23, 2018 Share Posted February 23, 2018 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): 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? Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted February 23, 2018 Share Posted February 23, 2018 You can use volumesample() vex function or vop to record the density on your slice geometry. Quote Link to comment Share on other sites More sharing options...
jamesr Posted February 23, 2018 Share Posted February 23, 2018 Here's an example scene for you: mountain_volume_slice.hip Quote Link to comment Share on other sites More sharing options...
localstarlight Posted February 26, 2018 Author Share Posted February 26, 2018 This is awesome, thanks so much for the hip file! Quote Link to comment Share on other sites More sharing options...
jamesr Posted February 26, 2018 Share Posted February 26, 2018 No problem, any time! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.