Page MenuHome

Fluid Simulation: Restore the ability to control VDB cache settings
Needs ReviewPublic

Authored by Aaron Carlisle (Blendify) on Wed, Feb 5, 9:07 PM.

Details

Summary

These appear to be missed in rB4235fe37d6aaf9963ddda23ccaec26a483b6a580

This is only the UI changes internal changes are required to make the OpenVDB writer actually use these settings.

This is intended as a backport for 2.82

Diff Detail

Event Timeline

Have you checked that these options actually work? From looking at the code, I don't think they do.

Aaron Carlisle (Blendify) edited the summary of this revision. (Show Details)

UI code works however it seems only the compression setting is only used?: https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/pointcache.c$1029

That's code from the old smoke simulator, not used by the new one I think.

@Ray molenkamp (LazyDodo) said he would look into it over night and see how hard it would be to fix. However its is unlikely this will get into 2.82.

I took a quick peek, I'm not sure what kind of freaky hybrid C++/Python monster this is, but tip of the hat to @Sebastián Barschkis (sebbas) that he got this working, i politely bow out of this one.

yikes.