Speed up procedural volumes
4063 7 2- JordanWalsh
- Member
- 143 posts
- Joined: Feb. 2012
- Offline
I'm doing quite a bit of rendering with cvex volume procedural shaders (loading VDBs from bgeo using the volumesamplevfile node and doing some vops processing to the incoming position) and was wondering if there are any tricks to get the fastest render out of them? It's quite slow at the moment with volume quality at 0.5 and large VDBs to get nice non noisy images with lots of details.
- Infernalspawn
- Member
- 229 posts
- Joined: May 2006
- Offline
- JordanWalsh
- Member
- 143 posts
- Joined: Feb. 2012
- Offline
- tjeeds
- Member
- 339 posts
- Joined: Aug. 2007
- Offline
You can skip the Volume Procedural entirely and just do these operations in the shader. This requires the extra step of expanding your density field to all areas that you want to be shaded but it's more efficient than the Volume Procedural.
So basically your density field acts only as a shading boundary and then you pull in the VDB data and replace the values from the density field with whatever you calculate.
So basically your density field acts only as a shading boundary and then you pull in the VDB data and replace the values from the density field with whatever you calculate.
Jesse Erickson
Fx Animator
WDAS
Fx Animator
WDAS
- JordanWalsh
- Member
- 143 posts
- Joined: Feb. 2012
- Offline
- JordanWalsh
- Member
- 143 posts
- Joined: Feb. 2012
- Offline
- xiaolin liu
- Member
- 19 posts
- Joined: June 2013
- Offline
JordanWalshRender that vdb directly,and volume sample from file in shaders (surface shader and light shader and/or disp shader), i think.
So I'm back on this issue after a while!!
So how can I bring in the sdf and densities of the volume to sample in the shader in the same way as a volume sample from file node?
- JordanWalsh
- Member
- 143 posts
- Joined: Feb. 2012
- Offline
-
- Quick Links