Jump to content
art3mis

Caching VDB's - reducing size

Recommended Posts

A question regarding the caching of VDB's from a smoke simulation.

Currently see well over 160 million vel voxels when I load some cached vdbs from a sim.

That combined with 5 substeps necessary in my simulation is choking my Threadripper, simulation times are simply too long.

Since all I really need are density voxels (and optionally temperature or heat) for rendering, does it make sense to delete these vel voxels just before caching?

caching_vdbs.png

Share this post


Link to post
Share on other sites

absolutely. only cache the fields you need. If you need vel for motion blur, you could resample the vel VDB to 1/3 of the resolution, that's usually enough for motionblur. Also make sure to save out 16bit fields instead of 32bit

and one more big saving comes from compressing the volume as well as masking the vel field by the density field

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

×