POV-Ray : Newsgroups : povray.newusers : Non-uniform fog... : Re: Non-uniform fog... Server Time
29 Jul 2024 06:26:26 EDT (-0400)
  Re: Non-uniform fog...  
From: Sherry Shaw
Date: 19 May 2006 08:58:30
Message: <446dc0f6@news.povray.org>
danyolgiax wrote:

>I need a non-uniform fog and I've tryied with this:
>
>    box{
>        <-100,-10,1>, <100,20,2000>
>          hollow
>      pigment {rgbt <0,0,0,1>}
>      interior {
>      media {
>         intervals 1
>         samples 1,1
>         emission <0.8,0.8,0.8>
>         density{bozo}
>      }
>   }
> }
>
>the result is a strange and innatural fog!
>
>How can I do?
>
>
>
>  
>
One problem is the color.  From the documentation (section 3.5.11.4):
"The bozo pattern has a default color_map built in that results in a 
green, blue, red and white pattern with sharp transitions."

If you don't want such colorful fog, see section 3.6.2.3.2,  "Density 
with color_map."

Hope this helps.

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

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