Animated GIF
Unfortunately the projection flickers as it did with LuxCoreRender 2.1 and 2.0.
There are many lights spread in different rooms. One is the sinus lamp with lots of circles emitting light what leads to an over all count of 10'000 lights. One of these lights is the projecting spot which throws the picture at the wall in the animated gif above.
The number of lights might be the source of the flickering.
Interesting to know, there are always affected the same frames with every new start of animation render.
It is an old issue. Since LuxCoreRender 2.2 beta 1 is again stable enough to render my apartment scene, I have animated the living room with its projection of a beach picture. Projection flickers when animated
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Projection flickers when animated
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Projection flickers when animated
I agree. The scene is rather huge. So I will crop it to a scene which I can post here and which also shows the effect. I will post it some when on Tuesdays, 15. May.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Projection flickers when animated
Animated GIF, it shows the flickering during the animation. Projection Flickers, the easy scene which shows flickers in animation. I hope this helps finding a root cause.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Projection flickers when animated
That is really strange. I rendered a whole bunch with different settings and it appeared to affect only opencl scenes. But then I started getting the same error in cpu scenes too. I added an area light and it appears to work fine while the spot light is having trouble staying lit. Sometimes it's ok, sometimes it's dimmed and sometimes it's black.
On my end it's random. A frame that was dark can look ok on a later rendering with the same settings.
On my end it's random. A frame that was dark can look ok on a later rendering with the same settings.
Re: Projection flickers when animated
Others had this problem before, but I could never reproduce it on my end.
See e.g. this thread: viewtopic.php?f=4&t=592&start=10#p5892
See e.g. this thread: viewtopic.php?f=4&t=592&start=10#p5892
Re: Projection flickers when animated
As usually happen, I can not reproduce this kind of "memory uninitialized" problems on Linux however I should have fixed the bug in the latest sources.
Re: Projection flickers when animated
I downloaded the sources today (v2.2 beta2) and used luxcoreui to render some frames that showed the problem with the version I had before (2.2 alpha1). It looks like it's fixed. Awesome work, Dade!
Edit:
It was very random on my machine. I exported the scenes from two frames and alternated rendering between the two back and forth several times. Some times a frame could be missing the spot light even though it was fine the last time. The next time I rendered the same scene it could be fine again. Weird.
If a scene was suddenly missing the spot light and I used restart (space bar) to render it again many times, it always rendered the same bug. If I then opened and rendered another scene and then again rendered the previous one which was buggy, it could render it just fine that time
Really weird.
OK, nobody needed to know those details, but there you go anyway
I did the same back and forth switching and rendering the same two scenes a lot of times with beta2 and the bug never occured.
Thanks, Dade!
Edit:
It was very random on my machine. I exported the scenes from two frames and alternated rendering between the two back and forth several times. Some times a frame could be missing the spot light even though it was fine the last time. The next time I rendered the same scene it could be fine again. Weird.
If a scene was suddenly missing the spot light and I used restart (space bar) to render it again many times, it always rendered the same bug. If I then opened and rendered another scene and then again rendered the previous one which was buggy, it could render it just fine that time
Really weird.
OK, nobody needed to know those details, but there you go anyway
I did the same back and forth switching and rendering the same two scenes a lot of times with beta2 and the bug never occured.
Thanks, Dade!
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Projection flickers when animated
Thank you all for looking into this issue.
And, Dade, thank you for fixing it although it did not show up on your Linux system.
And, Dade, thank you for fixing it although it did not show up on your Linux system.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Projection flickers when animated
It was related to the use of some uninitialized memory so the end result was related to the value stored there by same previous, totally unrelated, operation (i.e. very random).
Linux seems more prone to use cleared memory (i.e. initialized to 0) so this kind of problems are unlikely to show there.