cached VDB Fog not updating in viewport, accumulating in batch rendering.

Hi,
a cached VDB Fog does not update in the vray viewport. With the karma viewport it works.
During batch rendering the behaviour is cumulativ. In the vray renderer the volume get`s added to each frame. So it gets more and more dense.
My workaround would be to write a batch command per frame, forcing vray to read the volume fresh.

I attached a test scene.



RnD_fog_accumulating_v01.zip (71.5 KB)

​Good old times, makes me feel young again :slight_smile:
my notepad is my new rendermanager


> a cached VDB Fog does not update in the vray viewport.

What exactly doesn’t update in the viewport?

As for husk - should work better in the next nightly.

And about .bat files, it could be like 5 lines in Python.

“As for husk - should work better in the next nightly.”
THX bdancer :slight_smile:

“And about .bat files, it could be like 5 lines in Python.”
I definitly should learn Python :slight_smile:

“What exactly doesn’t update in the viewport?”
The VDB is animated, but the movement does not update in the viewport. It is subtle in the testscene, but in my renderscene it was rather broad.​ I made the movement stronger. The fog should move from left to right in the viewport, when the timeline is moved forward.
Karma does it, Vray viewport does not. You have to restart the render and it updates.

THX for holding my hand,
Cheers Christian


RnD_fog_accumulating_v02.zip (71.4 KB)

> The VDB is animated, but the movement does not update in the viewport.

Tnx, will try to fix this asap.

Hi,
the vdb`s DO NOT accumulate in the rendering anymore.
THX for the fix :slight_smile:
Cheers Christian

Should also update in the viewport, could you please check?

Tested it against todays build, works :slight_smile:
THX