Jump to content
Sign in to follow this  
alican

Vex volume procedural density doesn't scale

Recommended Posts

I am doing pcopen in cvex to to render points as volume but for some reason I am not able to scale the density as much as I want. It looks like it is clamping the density values and doesn't allow me to go higher. When I use smaller IFD bounds this problem fixes itself but also it cuts my overall object. Also vex volume procedural doesn't seem to work with new mat context. 

Thanks for the solutions,

Alican

Share this post


Link to post
Share on other sites
Posted (edited)

it's because the render quality is related to bounding box size. larger box = larger ray step size

compensate by adjusting volume step rate on mantra ROP or add that parameter on your volume procedural (so not every volume in your scene gets sampled higher)

hope that helps :)

 

edit: and it does work just fine with the mat context. what exactly is your issue there?

Edited by 3dome

Share this post


Link to post
Share on other sites

Thanks Dominik for the answer! I never thought about the step rate and I was hitting my head against the wall all day. However same setup in SHOP context doesn't seem to work in MAT. I uploaded the hip file if you are interested to check.

Thanks again,

Alican

volumeProcedural.hipnc

Share this post


Link to post
Share on other sites

yes you're right. i cant get it to work in mat either. But for cvex stuff I'm using the shop context anyway, kinda to have it separate from the standard material stuff.

Anyway interesting find. Would love to know how to make it work though

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
Sign in to follow this  

×