POV-Ray : Newsgroups : povray.binaries.images : assumed_gamma discussion : Re: assumed_gamma discussion Server Time
25 Apr 2024 00:12:49 EDT (-0400)
  Re: assumed_gamma discussion  
From: Alain Martel
Date: 12 Nov 2019 11:04:53
Message: <5dcad825@news.povray.org>


> 

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.

The second does the same, but with some turbulence. Also, it's fully 
transmiting. Try is with filter rather than transmit :
color_map {
         [0      rgbf 1]
         [0.5    rgbf <0.385,0.77,1.1,1>]
}




Things that make that render look washed out with assumed_gamma 1 :
The light is very bright at 2.42.
The sky_sphere is extremely bright.

You may want to make the sky_sphere darker, as well as the light.

Change the base colour_map :
color_map{
    [0    rgb<0.06,0.1,0.5>]
    [0.98 rgb<0.1, 0.3,1>]
    [1    rgb 5]
}

Change the light_source to :
light_source {
         <0,0,-1000>
         color rgb 1.2
    parallel
}

When using assumed_gamma >1, values larger than 1 get shifted toward 1, 
making the scene darker. This also affect reflections and highlights, 
reducing their contribution.



Alain


Post a reply to this message

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