Viewport render update when changing Exposure

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
chafouin
Posts: 120
Joined: Wed Jan 24, 2018 9:35 pm
Location: Los Angeles

Viewport render update when changing Exposure

Post by chafouin »

Hi there,

I am trying to understand why in Blender, the viewport render gets refreshed when changing the Color Management Exposure or curves.

I thought it was "just the way it works" as it always happened in my previous scenes, until I noticed that it wasn't doing it in a new scene. Is there a special thing in the scene that could do that? This would be really helpful for my add-on if it wasn't refreshing the viewport.

Thanks,
fabien
chafouin
Posts: 120
Joined: Wed Jan 24, 2018 9:35 pm
Location: Los Angeles

Re: Viewport render update when changing Exposure

Post by chafouin »

It looks like it works fine when using the GPU.

EDIT: But it's not the only reason, I have old scenes that would refresh the render for all changes even GPU. Copying content to a new scene seems to work. I wonder what saved setting might cause that.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Viewport render update when changing Exposure

Post by B.Y.O.B. »

You could check if it also happens with Cycles.
The correct behaviour should be to not refresh the viewport render (i.e. do a LuxCore update).

You can also look into the console, BlendLuxCore will print the cause of the refresh there.
chafouin
Posts: 120
Joined: Wed Jan 24, 2018 9:35 pm
Location: Los Angeles

Re: Viewport render update when changing Exposure

Post by chafouin »

It only happens with LuxCore, changing the exposure thinks the World Light has changed:

Code: Select all

[Exporter] Update because of: OBJECT | REQUIRES_SCENE_EDIT | WORLD
[SDL][444.500] Light definition: 2663798522552
[SDL][444.500] Light re-definition: __WORLD_BACKGROUND_LIGHT__
But it doesn't do it in new scenes. Still investigating...
Last edited by chafouin on Sun Jul 05, 2020 10:51 pm, edited 1 time in total.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Viewport render update when changing Exposure

Post by B.Y.O.B. »

The world datablock is flagged as updated all the time by the Blender depsgraph. No idea what's up with that.
Post Reply