POV-Ray : Newsgroups : povray.binaries.images : media - next problem : Re: media - next problem Server Time
2 Oct 2024 18:18:07 EDT (-0400)
  Re: media - next problem  
From: Chris Huff
Date: 3 Apr 2000 20:04:29
Message: <chrishuff_99-016C9E.19065303042000@news.povray.org>
In article <38E924B7.D1B40321@netvision.net.il>, Lewis 
<nle### [at] netvisionnetil> wrote:

> Hi,
> thanks for everybody's help, but now I face a different problem.
> I'm trying to make an effect of the light coming in through the clouds,
> but something in the media is wrong. Here is the source for the light,
> media and clouds:

Try something like this:
//media and clouds
sphere {<0,0,0>, 1 scale <10100, 10100, 10100> translate -10000*y
    texture {
        pigment {agate
            color_map {
                [0.0 rgbf <1, 1, 1, 1>]
                [0.3 rgbf <1, 1, 1, 0>]
                [1.0 rgbf <1, 1, 1, 0>]
            }
            turbulence 0.3
            ramp_wave
            phase clock
            scale 270
            rotate y*80
        }
    }
    interior {
        media {
            intervals 1
            samples 12, 12
            confidence 0.9
            variance 1/128
            scattering {3, color rgb 0.01 extinction 0.25}
            method 3
            aa_level 4 aa_threshold 0.1
        }
    }
    hollow on
    double_illuminate
}

light_source {<-20000, 30000, 20000> color rgb < 1, 1, 1>}

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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