POV-Ray : Newsgroups : povray.general : Linearity of light Server Time
11 Nov 2024 04:44:39 EST (-0500)
  Linearity of light (Message 1 to 5 of 5)  
From: Nicolas George
Subject: Linearity of light
Date: 2 May 2008 08:39:38
Message: <481b0b8a$1@news.povray.org>
Hi.

If, for the rendering of a scene, I use:

global_settings { assumed_gamma 1 }
Display_Gamma=1

and assuming that the scene is dim enough so there will be no clipping.

If I make the scene twice as bright, by doubling the value of all lights and
ambient values, can I expect that the resulting rendered scene will have all
the pixel values doubled?


Post a reply to this message

From: Warp
Subject: Re: Linearity of light
Date: 4 May 2008 11:50:38
Message: <481ddb4e@news.povray.org>
Nicolas George <nicolas$george@salle-s.org> wrote:
> If I make the scene twice as bright, by doubling the value of all lights and
> ambient values, can I expect that the resulting rendered scene will have all
> the pixel values doubled?

  There may be other things besides light sources and ambient light which
affects the color of the pixels. Media is one example.

-- 
                                                          - Warp


Post a reply to this message

From: Nicolas George
Subject: Re: Linearity of light
Date: 4 May 2008 17:13:45
Message: <481e2709$1@news.povray.org>
Warp  wrote in message <481ddb4e@news.povray.org>:
>   There may be other things besides light sources and ambient light which
> affects the color of the pixels. Media is one example.

Right, there are emitting media, I forgot them.

But if I handle all kinds of light sources, it should be linear, right?


Post a reply to this message

From: Tim Attwood
Subject: Re: Linearity of light
Date: 4 May 2008 19:37:20
Message: <481e48b0$1@news.povray.org>
> But if I handle all kinds of light sources, it should be linear, right?

There are saturation issues if you use bright lights, you can end
up with pixels that are brighter than displayable, which washes out
the highlights. High Dynamic Range Images (HDRI) are not supported
in 3.61, though they are supported in MegaPOV. Also there are
gamma correction issues... a pixel that is half the value of another
pixel is not necessarily half the brightness, it's modified a bit by
hardware. You might try making a test pattern with some
gradient pigments to check the how linear the image gamma
appears with different assumed_gamma values.


Post a reply to this message

From: Nicolas George
Subject: Re: Linearity of light
Date: 5 May 2008 12:53:28
Message: <481f3b88$1@news.povray.org>
"Tim Attwood"  wrote in message <481e48b0$1@news.povray.org>:
> There are saturation issues if you use bright lights

Of course. I explicitly excluded these case in my original question.

My goal is to make the scene dimmer than it should be, and then post-process
it to simulate glare effects.

>						 Also there are
> gamma correction issues...

As I wrote, I intend to put both scene gamma and output gamma to 1.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.