LuxCore icon indicating copy to clipboard operation
LuxCore copied to clipboard

Persistent Cache: Inconsistent Renderings

Open CodeFHD opened this issue 6 months ago • 1 comments

Report carried over from the Forums: https://forums.luxcorerender.org/viewtopic.php?t=6681

When rendering a series of images using peristent cache, it has been observed that the result can vary from rendering to rendering. As opposed to the forums thread title, this is not limited to animations, but is observed when rendering the same image multiple times. Scene files for use with e.g. LuxcoreUI attached,

animPhotonGICacheFlickering.zip

The author reported three different results, which I could reproduce.

Two suspicions have so far come up:

  • Loading the stored .pgi file is inconsistent.
  • The culprit leading to the different results is actually the tonemapper.

In my tests, I extracted the attached zip-file twice and rendered from fresh. The first attempt, there the .pgi-file is generated, produced different results both times. This might rule out the loading-step as the problem.

The issue is not new, apparently. Previous reports are linked within the forums thread cited above.

CodeFHD avatar Jun 06 '25 12:06 CodeFHD

Update, the reason for the major variations seems to have been found, see here: https://forums.luxcorerender.org/viewtopic.php?p=36808#p36808

Waiting for a PR to merge into for_v2.11 and bugfix_2.10 branches.

General issue of flickering with caches still remains. Will leave this issue to document further findings, ToDos etc.

CodeFHD avatar Jun 11 '25 09:06 CodeFHD

I have recently merged this into the branches mentioned above: https://github.com/LuxCoreRender/LuxCore/commit/49f9b7806af504e4292189a3e1a94b7040a6bd8f https://github.com/LuxCoreRender/LuxCore/commit/e7d3f53d9b2041c2e87c57cb7087f86f52ee6a8e

CodeFHD avatar Oct 05 '25 18:10 CodeFHD