|
|
"Abe" <bul### [at] taconicnet> 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
|
|