Different light behavior comparing Preview to Final Render

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
Leandro Oliveira
Posts: 74
Joined: Thu Aug 27, 2020 6:05 pm
Location: Brazil
Contact:

Different light behavior comparing Preview to Final Render

Post by Leandro Oliveira »

Hi everybody.

Why this is happen? Lights in preview render are so different from final render.

Preview
Preview.JPG
Final
Render.JPG
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Different light behavior comparing Preview to Final Render

Post by Sharlybg »

Maybe a light is off rendered for final. But can be solething else. We do need the actual scene ( simple version of the scene).
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Leandro Oliveira
Posts: 74
Joined: Thu Aug 27, 2020 6:05 pm
Location: Brazil
Contact:

Re: Different light behavior comparing Preview to Final Render

Post by Leandro Oliveira »

Sharly, are caches view dependent? Because I tried to generate caches from this view (original caches were computed from the living room) and it returned a different look.

I´ll send you the scene.

Add cache location
new cache.JPG
User avatar
Leandro Oliveira
Posts: 74
Joined: Thu Aug 27, 2020 6:05 pm
Location: Brazil
Contact:

Re: Different light behavior comparing Preview to Final Render

Post by Leandro Oliveira »

Shaly, I´ve sent you the scene. See your private messages.

Thanks.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Different light behavior comparing Preview to Final Render

Post by Dade »

Leandro Oliveira wrote: Fri Sep 25, 2020 9:58 pm Why this is happen? Lights in preview render are so different from final render.
During viewport rendering, caches are disabled (in order to avoid pre-processing time) and the default number of light bounces is reduced (to increase rendering speed). This may produce a darker rendering if you have a lot of indirect light.

This may explain your problem.
Leandro Oliveira wrote: Fri Sep 25, 2020 9:58 pm are caches view dependent?
Cache entries are view independent but the number and the position of cache entries is based on the camera used to create the cache.

The very first step of cache creation is to fire "visibility particles" and mark places where they bounce (4 max. bounces is the default setting). The cache entries are create there and only there.

If you have a building with 100 rooms, the cache will be created for the room where the camera is and for near rooms reachable in 4 bounces. Far you are from the original room and less likely the surfaces have cache entries.

So if you are doing an animation inside the same room, you can reuse the cache, if you move across many rooms, you need to update the cache.
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Different light behavior comparing Preview to Final Render

Post by B.Y.O.B. »

Dade wrote: Sat Sep 26, 2020 10:41 am and the default number of light bounces is reduced (to increase rendering speed)
Not in the Blender addon, as far as I know.
User avatar
Leandro Oliveira
Posts: 74
Joined: Thu Aug 27, 2020 6:05 pm
Location: Brazil
Contact:

Re: Different light behavior comparing Preview to Final Render

Post by Leandro Oliveira »

Dade, that´s it! I have to update cache, because I have other rooms. Thanks a lot!

I forgot to mention that I´m using Blender 2.83.6 and Lux 2.4.

And about BYOB observation?
User avatar
Leandro Oliveira
Posts: 74
Joined: Thu Aug 27, 2020 6:05 pm
Location: Brazil
Contact:

Re: Different light behavior comparing Preview to Final Render

Post by Leandro Oliveira »

Another question: light rays emitted from mesh lights are considered indirect light?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Different light behavior comparing Preview to Final Render

Post by Dade »

Leandro Oliveira wrote: Sun Sep 27, 2020 2:48 am Another question: light rays emitted from mesh lights are considered indirect light?
Only after > 1 bounces.
Support LuxCoreRender project with salts and bounties
Post Reply