|
![](/i/fill.gif) |
Felix Wiemann wrote:
> marabou wrote:
>
>> i have tried it now with six planes and one plane made hollow. but then
>> fog is gone. why that?
>
> Could you post an example scene? Where are those six planes?
here they are.
//------------------------------code starts
#include "colors.inc"
// POV3.1
global_settings{
ambient_light 2
radiosity{
gray_threshold 0.3
}
}
//--wish arealights? jitter? diffuse? turn it on!
#declare AreaOn = 1;
#declare Foggy = 1;
#declare goSpot = 0; //spotlight?
//------------------------------------------------------------------------->>>macros
//-------------------------------------------------------------------------<<<macros
camera{ location <0,1.7,-2.8> look_at <0,1.5,0>}
#if (!goSpot)
light_source{
<-1,2,-1> color <1,0.92,0.43>
#if (AreaOn)
area_light <-2,0,-2>,<2,0,2>,4,4
adaptive 1
jitter
#end
}
#end
plane{
y,0
pigment{
color <50,80,108>/255
}
}
plane{
y,3
pigment{
color White
}
}
plane{
z,2
pigment{
color White*2
}
}
plane{
z,-4
pigment{
color White
}
}
plane{
x,-2
pigment{
color <255,204,109>/255
}
}
plane{
x,2
pigment{
color <109,179,255>/255
}
}
#if (Foggy)
fog{
distance 3
color <255,246,186>/255
fog_type 2
fog_offset 1
fog_alt 0.2
turbulence 0.6
turb_depth 0.2
}
#end
//------------------------------code ends
Post a reply to this message
|
![](/i/fill.gif) |