POV-Ray : Newsgroups : povray.binaries.scene-files : Colefax lens flare macro and output gamma : Re: Colefax lens flare macro and output gamma Server Time
30 Apr 2024 11:04:22 EDT (-0400)
  Re: Colefax lens flare macro and output gamma  
From: SharkD
Date: 17 Aug 2010 19:24:07
Message: <4c6b1a17@news.povray.org>
On 8/13/2010 1:26 AM, SharkD wrote:
> Chris Colefax's lens flare macro seems to be broken when used with
> assumed_gamma. I've tried adjusting the colors using a macro I created,
> but the effects are still too intense. Does assumed_gamma affect things
> like filter and transmit as well as color values? What other
> modifications do I need to make to the script (see attached example)?
>
>

On a hunch I tried changing the transmit using the following macro, but 
the results weren't correct.


#macro gamma_transmit_adjust(in_transmit)
   #local out_gamma = 1/2.2;
   pow(in_transmit, out_gamma)
#end


-- 
http://isometricland.com


Post a reply to this message

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