POV-Ray : Newsgroups : povray.general : Media interaction with Spotlights : Re: Media interaction with Spotlights Server Time
6 Aug 2024 04:22:05 EDT (-0400)
  Re: Media interaction with Spotlights  
From: Dave Bates [{Norman}]
Date: 17 May 2002 22:06:01
Message: <3ce5b709@news.povray.org>
Sure here you:

media {
//    method 3
    scattering { 1, color rgb .02 }
//    intervals 1
    samples 5
    method 1
}

camera {
    location <-4, 3, -5>
    look_at .5
}

And here are the lights:
#declare spot_space=3.1;
#declare max_run=125;

#declare l_rad = 8;
#declare l_x = .25;
#declare l_z = -6;

#while (l_z < max_run)
    light_source {
        <l_x, 5, l_z>
        rgb <1,1,1>
        spotlight
        point_at <l_x, 0, l_z>
        radius l_rad
        falloff l_rad*2
        tightness 25
        media_attenuation on
    }
    #declare l_z = l_z + spot_space;
#end


This is projected to a BOX..
The spots all work fine, just the MEdia I'm having problems with.
"Slime" <slm### [at] slimelandcom> wrote in message
news:3ce5b3bb$1@news.povray.org...
> I suggest you post the relevant parts of your source code: camera,
light(s),
> and all the media (and their container objects) that are having problems.
>
>  - Slime
> [ http://www.slimeland.com/ ]
>
>


Post a reply to this message

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