POV-Ray : Newsgroups : povray.unofficial.patches : Film exposure simulation patch Server Time
3 Jul 2024 04:35:16 EDT (-0400)
  Film exposure simulation patch (Message 1 to 9 of 9)  
From: Kari Kivisalo
Subject: Film exposure simulation patch
Date: 9 Nov 2002 15:24:08
Message: <3DCD6EE6.DAC44FB5@luxlab.com>
No binaries, just a diff for official 3.5.

http://news.povray.org/povray.binaries.images/28651/
http://luxlab.com/files/exposure.diff.gz


_____________
Kari Kivisalo


Post a reply to this message

From: Kari Kivisalo
Subject: Re: Film exposure simulation patch
Date: 11 Nov 2002 07:36:33
Message: <3DCFA451.E5FC2AED@luxlab.com>
Added a new keyword and documentation. The previous link is redirected.
http://luxlab.com/files/exposure.htm


_____________
Kari Kivisalo


Post a reply to this message

From: Michael Andrews
Subject: Re: Film exposure simulation patch
Date: 12 Nov 2002 08:11:34
Message: <3dd0fe06@news.povray.org>
Kari Kivisalo wrote:
> Added a new keyword and documentation. The previous link is redirected.
> http://luxlab.com/files/exposure.htm
> 
> 
> _____________
> Kari Kivisalo
Hi Kari,

When you say

'color = exposure_gain*(1 - exp(-exposure*color))'

I guess you are applying it to each of the colour channels separately? 
Could you add an option to apply it to the 'luminosity' of the pixel 
instead? This would keep the 'hue' and 'saturation' of the colour 
unchanged, just compress the brightness ...

Just a thought,
	Mike Andrews.


Post a reply to this message

From: Christopher James Huff
Subject: Re: Film exposure simulation patch
Date: 12 Nov 2002 11:16:56
Message: <chrishuff-124577.11162412112002@netplex.aussie.org>
In article <3dd0fe06@news.povray.org>,
 Michael Andrews <m.c### [at] readingacuk> wrote:

> I guess you are applying it to each of the colour channels separately? 
> Could you add an option to apply it to the 'luminosity' of the pixel 
> instead? This would keep the 'hue' and 'saturation' of the colour 
> unchanged, just compress the brightness ...

Nice idea, but I don't think that's how either film or the eye works. 
They both have red-green-blue sensitive portions that are probably 
affected equally (or nearly so) by the processes that cause this.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Kari Kivisalo
Subject: Re: Film exposure simulation patch
Date: 12 Nov 2002 13:26:06
Message: <3DD147BC.46DA9B4D@luxlab.com>
Michael Andrews wrote:
>
> I guess you are applying it to each of the colour channels separately?

This is how color films work. The emulsions for primary colors
react independently.

> Could you add an option to apply it to the 'luminosity' of the pixel
> instead?

It could be applied to the CIE luminance component but would it
be usefull? I'll add it anyway because I'm curious :)


_____________
Kari Kivisalo


Post a reply to this message

From: Michael Andrews
Subject: Re: Film exposure simulation patch
Date: 13 Nov 2002 08:09:03
Message: <3dd24eef$1@news.povray.org>
Christopher James Huff wrote:
> Nice idea, but I don't think that's how either film or the eye works. 
> They both have red-green-blue sensitive portions that are probably 
> affected equally (or nearly so) by the processes that cause this.
> 
I'm sure it's not how film works. :-)

On the other hand I seem to remember reading that because of the 
interconnections locally in the retina the brain tends to process 
something like hue-saturation-intensity rather than RGB ... whether this 
has any bearing on the matter I'm not sure.

Bye for now,
	Mike Andrews.


Post a reply to this message

From: Michael Andrews
Subject: Re: Film exposure simulation patch
Date: 13 Nov 2002 08:14:36
Message: <3dd2503c$1@news.povray.org>
Kari Kivisalo wrote:
> It could be applied to the CIE luminance component but would it
> be usefull? I'll add it anyway because I'm curious :)

Is there ever a better reason ? :-)

I look forward to seeing if it makes any visual difference.

Bye for now,
	Mike Andrews.


Post a reply to this message

From: Kari Kivisalo
Subject: Re: Film exposure simulation patch
Date: 13 Nov 2002 08:49:54
Message: <3DD25880.DE36D1D3@luxlab.com>
Michael Andrews wrote:
>
> On the other hand I seem to remember reading that because of the
> interconnections locally in the retina the brain tends to process
> something like hue-saturation-intensity rather than RGB

I'm not trying to model human visual system here. That would require
way more processing and would have to operate on the whole image.

I tested the luminance processing in Photoshop and the results didn't
look that good so at the moment I'll just stick to what I know works.
I may include it later.

 
_____________
Kari Kivisalo


Post a reply to this message

From: Christopher James Huff
Subject: Re: Film exposure simulation patch
Date: 13 Nov 2002 09:51:02
Message: <chrishuff-FBAE45.09503513112002@netplex.aussie.org>
In article <3dd24eef$1@news.povray.org>,
 Michael Andrews <m.c### [at] readingacuk> wrote:

> On the other hand I seem to remember reading that because of the 
> interconnections locally in the retina the brain tends to process 
> something like hue-saturation-intensity rather than RGB ... whether this 
> has any bearing on the matter I'm not sure.

That may be so, but the pupil and individual rods and cones are the main 
causes of brightness adaptation and other nonlinear response. If you can 
produce a response using a smaller brightness range that the brain would 
get from a brighter light source, the image will look brighter. Part of 
why the sun in sunset images seems brighter than a white sheet of paper.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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