POV-Ray : Newsgroups : povray.binaries.images : The Last Man On Earth : Re: The Last Man On Earth Server Time
1 Jun 2024 17:54:05 EDT (-0400)
  Re: The Last Man On Earth  
From: Alain
Date: 24 Jul 2008 11:56:00
Message: <4888a610$1@news.povray.org>
Bryan Valencia nous illumina en ce 2008-07-23 23:09 -->
> Alain wrote:
>> Bryan Valencia nous illumina en ce 2008-07-23 17:30 -->
>>> First W.I.P.
>>>
>>> I wish there was a way to make the atmosphere thin enough to still 
>>> see the colors of the sky sphere.
>> With various patterns, you can make thick enough near the ground but 
>> thin enough so that you can still see the sky.
>> Try the planar pattern. It evaluate as 1 on the x-z plane and drop 
>> linearly to zero one unit up and down. You just need to scale it 
>> apropiately. You can also use some of the wave forms variations to 
>> change the rate ov change.
>> scalop_wave will stay high near the ground and drop sharply near the 
>> top for example.
>>
> 
> 
> ok, maybe I'm just dense (pun intended)
> But I added the 2 densities and my media effect disappeared while the 
> sky was still white.
> 
> This is my media
> 
>     media {
>       intervals 20
>       scattering { 4, rgb 0.01 }
>       samples 2, 10
>       confidence 0.9999
>       variance 1/1000
>       ratio 0.9
> //      density {planar scale y*5 }
> //      density {granite scale 0.1}
>     }
> 
> The two // lines are the ones I added.
If your sky is still white, maybe your sky have a problem. Completely remove the 
media and see if the sky is OK.
Concerning your media:
The default method is method 3. With this method, you should keep intervals 1 
and increase samples. Also, this method only use the first samples value and 
ignore the second value. The documentation have not been updated for version 3.6 
and is only correct if you use method 1 or 2.
The defaults are:
method 3
intervels 1
samples 3

Made a test scene, background used for a blue sky.
Try with the planar pattern enabled, OK. Media present, sky visible.
Uncomment the granite density. Much slower, (may be beter to use some 
turbulence) "sky" still visible, media present.

-- 
Alain
-------------------------------------------------
SHOPPING MATH
A man will pay $20 for a $10 item he needs.
A woman will pay $10 for a $20 item that she doesn't need.


Post a reply to this message

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