POV-Ray : Newsgroups : povray.programming : exposure control woes : Re: exposure control woes Server Time
28 Jul 2024 08:29:20 EDT (-0400)
  Re: exposure control woes  
From: Kari Kivisalo
Date: 24 Sep 2002 14:07:29
Message: <3D90A9E7.8E9E3FCE@luxlab.com>
The clipping and black bands are caused by the grayscale conversion.
Some components will get values higher than one. 


color = rgb<0.1,0,1>

gray = 0.3 * red + 0.59 * green + 0.11 * blue  (NTSC formula)
 
gray = 0.14

expgray = 1 - exp(-10*gray) = 0.75

expgray/gray * color.blue = 5.4



_____________
Kari Kivisalo


Post a reply to this message

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