POV-Ray : Newsgroups : povray.binaries.images : assumed_gamma discussion : Re: assumed_gamma discussion Server Time
27 Apr 2024 20:16:39 EDT (-0400)
  Re: assumed_gamma discussion  
From: Thomas de Groot
Date: 14 Nov 2019 02:37:41
Message: <5dcd0445$1@news.povray.org>
Op 14/11/2019 om 03:11 schreef Alain Martel:

>> Op 12/11/2019 om 17:04 schreef Alain Martel:


>>>>
>>>
>>> It's similar to a gradient y, but with only a single ramp.
>>> function {max (min (y, 1), 0)}
>>>
>>> The max(y,0) clamp out everything under 0.
>>> The min(y,1) clamp out everything over 1.
>>> Leaving you with :
>>> -infinity..0 =0, [0..1] ramping from zero to one, than stay at one.
>>> It is extremely bright, ranging from White*2.35 up to White*13.5.
>>> It may be intended to simulate the glare from the Sun at the zenith.
>>>
>>
>> I assumed as much but personally I am very wary of rgb values higher 
>> than 1, and these are really extreme. In such cases I much prefer to 
>> use a finish {emission} setting instead.
>>
> 
> You may try using srgb instead of rgb when declaring the colours.

I did initially but I was not satisfied with the results at all. Then I 
started messing around. I may go back to srgb again...

-- 
Thomas


Post a reply to this message

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