POV-Ray : Newsgroups : povray.general : fog without background : Re: fog without background Server Time
18 Nov 2024 23:41:14 EST (-0500)
  Re: fog without background  
From: marabou
Date: 30 Jun 2002 11:54:55
Message: <3d1f29cf@news.povray.org>
Ben Chambers wrote:

> 
> Add this to your scene:
> 
> sphere {
>     0,10000 // Adjust radius for scale of scene
>     pigment {color rgb 0}
>     hollow
> }
> 

this is my code framgment and every combination brings no soulution. what 
went wrong?


//----------------------------------------->>>code fragment
#declare Spere = 1;
#declare Spere = ?;
#declare Background = ?;

camera{ location <0.25,0.6,-1> look_at <0.25,0.2,0>}

light_source{
        <-1,5,-1> color <1,0.92,0.43>
}

light_source{
        <2,2,0.5> color White*0.5
}

plane{
        y,0
        pigment{
                color <1,1,1>
        }
        normal{
                wrinkles 0.8
        }
}


plane{
        z,-3
        pigment{
                color <0.16,0.63,1>
        }
}

#if (Plane)
plane{
        z,1
        pigment{
                color <1,0.80,0.42>
        }
}
#end

#if (Sphere)
sphere{
        0,10000
        pigment{color rgb 0}
        hollow
}
#end

#if (Background)
        background {color Blue}
#end

fog{
        distance 0.7
        fog_type 2
        fog_offset 0.15
        fog_alt 0.05
        color <1,1,1>
}
//-----------------------------------------<<<code fragment


Post a reply to this message

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