Page 1 of 2

Persistent Cache not loaded

Posted: Wed May 05, 2021 9:46 pm
by Sharlybg
Hi !

DOn't know if someone else get into the same issue but I'm running an animation with persistent PGI/ENV cache and i get huge flickering due to
the fact that cached files are sometime not loaded by Luxcore. here is the result :


Animation_Test
Poo_1l.mp4
(413.9 KiB) Downloaded 207 times
Here when cache isn't auto loaded

Cache_unloaded.jpg

Here when i manually load cache file
Cache_Manually_loaded.jpg
and it is what happen during the animation rendering cache file are randomlly loaded and unloaded.
Making the final result to switch between bright and dark look constantlly.

Re: Persistent Cache not loaded

Posted: Wed May 05, 2021 10:06 pm
by Sharlybg
Here you can see how it look like on frame folder. Darker frame randomlly sisde by side with brighter frame :
frame_incoherences.jpg

Re: Persistent Cache not loaded

Posted: Wed May 05, 2021 10:53 pm
by Dade
Sharlybg wrote: Wed May 05, 2021 9:46 pm flickering due to the fact that cached files are sometime not loaded by Luxcore.
What does it mean ? Do you get an error ?

Re: Persistent Cache not loaded

Posted: Wed May 05, 2021 11:17 pm
by Sharlybg
Dade wrote: Wed May 05, 2021 10:53 pm
Sharlybg wrote: Wed May 05, 2021 9:46 pm flickering due to the fact that cached files are sometime not loaded by Luxcore.
What does it mean ? Do you get an error ?
No error in the error log panel. But you can see that it lead to a strong unstable light intensity between frames in both video and images i have posted.

I have been enable to reproduce the issue i think: just precompute your cache and save somewhere and disable overwrite after. then press CTR+F12 to launch animation (make sure to choose a folder for frames ).
issue.7z
(1.03 MiB) Downloaded 194 times

Re: Persistent Cache not loaded

Posted: Thu May 06, 2021 10:24 am
by Dade
Sharlybg wrote: Wed May 05, 2021 11:17 pm I have been enable to reproduce the issue i think: just precompute your cache and save somewhere and disable overwrite after. then press CTR+F12 to launch animation (make sure to choose a folder for frames ).
By looking at the settings, you have enabled periodic updates: you must disable it or the caustic cache will be loaded and than discarded and replaced after 8 samples. Indeed, it is not what you want.

Re: Persistent Cache not loaded

Posted: Thu May 06, 2021 10:32 am
by Dez!
Water is so cool that I want to dive into it and swim under water the entire pool

Re: Persistent Cache not loaded

Posted: Thu May 06, 2021 10:39 am
by Sharlybg
Dade wrote: Thu May 06, 2021 10:24 am
Sharlybg wrote: Wed May 05, 2021 11:17 pm I have been enable to reproduce the issue i think: just precompute your cache and save somewhere and disable overwrite after. then press CTR+F12 to launch animation (make sure to choose a folder for frames ).
By looking at the settings, you have enabled periodic updates: you must disable it or the caustic cache will be loaded and than discarded and replaced after 8 samples. Indeed, it is not what you want.
I Forget to disable that sorry in this file (wasn't enable in original file). But even if i disable it in the simplified scene i continue to have same error.

Re: Persistent Cache not loaded

Posted: Thu May 06, 2021 10:40 am
by Sharlybg
Dez! wrote: Thu May 06, 2021 10:32 am Water is so cool that I want to dive into it and swim under water the entire pool
Thanks Dez ;) ! i found a way to animate water with kind of SDS caustics within Luxcore current limitation. And i hope the bug get fixed to launch animation final frames.

Re: Persistent Cache not loaded

Posted: Fri May 07, 2021 8:49 am
by Sharlybg
I have simplified the cache by using only caustic cache no more envi or indirect cache.
And it is still unstable with a persistent cache.
Is it a bug i really want to complete this project.

Re: Persistent Cache not loaded

Posted: Fri May 07, 2021 9:45 am
by Sharlybg
This Blinking is gonna run me Crazy :| . No matter what i do it is breaking the cache is persistent so why it is changing without periodic update ?

POOL0001-0500.mp4
(710.28 KiB) Downloaded 233 times