POV-Ray : Newsgroups : povray.newusers : Non-uniform fog... Server Time
1 Nov 2024 03:15:53 EDT (-0400)
  Non-uniform fog... (Message 1 to 4 of 4)  
From: danyolgiax
Subject: Non-uniform fog...
Date: 19 May 2006 05:45:01
Message: <web.446d92aa77416bd5a8eb78fb0@news.povray.org>
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?


Post a reply to this message

From: Warp
Subject: Re: Non-uniform fog...
Date: 19 May 2006 05:53:41
Message: <446d95a5@news.povray.org>
danyolgiax <d.o### [at] gmailcom> wrote:
>          intervals 1
>          samples 1,1

> the result is a strange and innatural fog!

  What do you expect with those settings?

-- 
                                                          - Warp


Post a reply to this message

From: Sherry Shaw
Subject: Re: Non-uniform fog...
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

From: Alain
Subject: Re: Non-uniform fog...
Date: 19 May 2006 11:39:03
Message: <446de697$1@news.povray.org>
danyolgiax nous apporta ses lumieres en ce 19/05/2006 05:40:
> 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?
> 
> 
> 
To few samples. You probamly need something like 20 to 100 or more. Only use one
value, the second 
is not used with the default sampling method. The default method needs AT LEAST 3
samples.
Try using the bumps pattern instead of bozo. bozo use it's own color_map, bumps don't.

-- 
Alain
-------------------------------------------------
Black holes suck!


Post a reply to this message

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