POV-Ray : Newsgroups : povray.binaries.images : INQUIRY: Haze at the Horizon Server Time: 19 Jun 2019 07:23:41 GMT
  INQUIRY: Haze at the Horizon (Message 1 to 3 of 3)  
From: Sven Littkowski
Subject: INQUIRY: Haze at the Horizon
Date: 31 Mar 2018 15:26:47
Message: <5abfa8b7@news.povray.org>
I thought I posted it before but don't see it. Strange. Well, here again.


Look at the horizon: a distant haze makes the horizon line less visible.
I wonder how to accomplish this. I had no success with Fog 1 and Fog 2.
For now, I have to use a graphic program but would prefer that POV-Ray
can do this job. I wonder, if a media-filled very vast torus can do the
thing. I however have still problems to handle media.

How would you accomplish such a distant horizon haze?


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message


Attachments:
Download 'button_titan_110km.jpg' (11 KB)
Download 'sl - mississippi paddle-wheel steamer - prow - side.jpg' (530 KB)

Preview of image 'button_titan_110km.jpg'
button_titan_110km.jpg

Preview of image 'sl - mississippi paddle-wheel steamer - prow - side.jpg'
sl - mississippi paddle-wheel steamer - prow - side.jpg


 

From: clipka
Subject: Re: INQUIRY: Haze at the Horizon
Date: 31 Mar 2018 18:22:44
Message: <5abfd1f4@news.povray.org>
Am 31.03.2018 um 17:26 schrieb Sven Littkowski:
> I thought I posted it before but don't see it. Strange. Well, here again.
> 
> 
> Look at the horizon: a distant haze makes the horizon line less visible.
> I wonder how to accomplish this. I had no success with Fog 1 and Fog 2.
> For now, I have to use a graphic program but would prefer that POV-Ray
> can do this job. I wonder, if a media-filled very vast torus can do the
> thing. I however have still problems to handle media.
> 
> How would you accomplish such a distant horizon haze?

For the sake of realism, the media container shoulnd't be a torus, but
rather a vast cylinder (large enough that the image doesn't change when
you enlarge it even further, but not infinitely large because that leads
to artefacts).


Post a reply to this message

From: Simon J  Cambridge
Subject: Re: INQUIRY: Haze at the Horizon
Date: 2 Apr 2018 13:25:00
Message: <web.5ac22cbd37f78cd5dbafc29d0@news.povray.org>
Sven Littkowski <I### [at] SvenLittkowskiname> wrote:
> I thought I posted it before but don't see it. Strange. Well, here again.
>
>
> Look at the horizon: a distant haze makes the horizon line less visible.
> I wonder how to accomplish this. I had no success with Fog 1 and Fog 2.
> For now, I have to use a graphic program but would prefer that POV-Ray
> can do this job. I wonder, if a media-filled very vast torus can do the
> thing. I however have still problems to handle media.
>
> How would you accomplish such a distant horizon haze?
>
>
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com

Hi Sven, here is how I have done this:

/.../

sky_sphere { pigment { rgb (<91,113,171>*0.1)/255 } }

light_source {
    <1000000, 1000000, 1000>
    rgb 1
    parallel
    point_at <0.1, 0.1, 0.1>
}

fog { rgb (<91,113,171>*1.3)/255 fog_type 2 distance 30000 fog_alt 1000 }

fog { rgb <91,113,171>/255 fog_type 1 distance 30000 }

#macro SkyShell(minAlt, maxAlt, Int)
    difference
    {
        sphere {<0, 0, 0> 1000000+maxAlt}
        sphere {<0, 0, 0> 1000000+minAlt}
     hollow
        texture {pigment {color rgbf 1}}
     interior {Int}
     translate <0, -1000000, 0>
    }
#end

SkyShell(12000, 14000,
    interior {
        media {
            method 3
            samples 2
            intervals 1
            scattering {4, color rgb < 0.25, 0.6, 0.9>*0.0001 extinction 1}
        }
    }
)

/.../

You end up with a media dome. I think I nicked the idea from either Gilles Trans
or Jaime Vives Picquere, though the original used the difference between two
planes. I found nested spheres more suited to my needs.

You can see the finished effect here:

http://www.landofthefirst.com/uriel/othil-zilodar.html

and here:

http://www.landofthefirst.com/tale/servant-of-lies.html

Is this what you were after?

Cheers,

Simon.


Post a reply to this message

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