![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Here is a scene testing (limited) atmospheric perspective effects with
fog. I liked the results, so I thought I'd share the idea.
The goal was to use fog to get the effect of dark elements becoming blue
and ultimately gray with distance. (The complementary reddening of light
elements is unfortunately not handled here). Two fogs are necessary (one
blue and one to achieve the gray color). Since multiple fogs have their
color mixed additively, the more distant color (gray in this case) has
to be set in terms of the sum of the near color and the color of the
second fog.
For this image, two ground fogs were used in order to get a color
gradient for the sky. Although it is not apparent in this image, the
mountains would effectively transition in color through blue and finally
into gray. The sun glow is a scattering media effect. Total render time
approx 0:01:35.
Abe
Post a reply to this message
Attachments:
Download 'fogmixing2.jpg' (83 KB)
Preview of image 'fogmixing2.jpg'
![fogmixing2.jpg](/povray.binaries.images/attachment/%3C424b4ada%40news.povray.org%3E/fogmixing2.jpg?ttop=441697&toff=5450&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Abe" <bul### [at] taconic net> wrote in message
news:424b4ada@news.povray.org...
> Here is a scene testing (limited) atmospheric perspective effects with
> fog. I liked the results, so I thought I'd share the idea.
If that's limited, I want to see an unlimited scene <G>.
It looks very good - as you mention, having mountains further away might
look interesting too.
== John ==
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
nice scene!
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Thomas de Groot
Subject: Re: approximating arial perspective with fog
Date: 1 Apr 2005 01:49:25
Message: <424ceef5@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Abe" <bul### [at] taconic net> schreef in bericht
news:424b4ada@news.povray.org...
> Here is a scene testing (limited) atmospheric perspective effects with
> fog. I liked the results, so I thought I'd share the idea.
>
This works very well, I would say. It is much faster than atmospheric media.
Could we see a little piece of code, pleeeaaase??? ;-)
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thomas de Groot wrote:
> Could we see a little piece of code, pleeeaaase??? ;-)
Well, there's not much to see. The operative part goes something like this:
#declare NearFogColor = <0,.1,1>; //Blueish color
#declare FarFogColor = <.9,.9,.9>; //Light gray horizon color
//Near fog
fog{distance 50 color rgb NearFogColor}
//Distant fog
fog{distance 80 color rgb FarFogColor-NearFogColor}
This would of course be tweaked to suit the scene.
Abe
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
John D. Gwinner wrote:
> It looks very good - as you mention, having mountains further away might
> look interesting too.
Here is some terrain which recedes well into the distance. I don't know
that the atmosphere has the right feel for the subject, however, it is
more to illustrate a point.
Abe
Post a reply to this message
Attachments:
Download 'fogmixing2b.jpg' (158 KB)
Preview of image 'fogmixing2b.jpg'
![fogmixing2b.jpg](/povray.binaries.images/attachment/%3C424df316%40news.povray.org%3E/fogmixing2b.jpg?ttop=441697&toff=5450&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Thomas de Groot
Subject: Re: approximating arial perspective with fog
Date: 2 Apr 2005 01:57:31
Message: <424e425b@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Abe" <bul### [at] taconic net> schreef in bericht
news:424df1e1$1@news.povray.org...
> Thomas de Groot wrote:
> > Could we see a little piece of code, pleeeaaase??? ;-)
>
> Well, there's not much to see. The operative part goes something like
this:
>
> #declare NearFogColor = <0,.1,1>; //Blueish color
> #declare FarFogColor = <.9,.9,.9>; //Light gray horizon color
>
> //Near fog
> fog{distance 50 color rgb NearFogColor}
>
> //Distant fog
> fog{distance 80 color rgb FarFogColor-NearFogColor}
>
> This would of course be tweaked to suit the scene.
>
Ah! Like that! I was not entirely sure I had understood the process. Very
simple and very effective... and very useful. Thanks a lot!
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |