POV-Ray : Newsgroups : povray.general : Help with light! : Re: Help with light! Server Time
1 Aug 2024 04:17:00 EDT (-0400)
  Re: Help with light!  
From: Trevor G Quayle
Date: 17 Apr 2006 16:40:01
Message: <web.4443fbdbb5d5925e6c4803960@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> "danyolgiax" <d.o### [at] gmailcom> wrote:
> > HI!
> >
> > I'm trying to create a little omnidirectional light only for closer objects
> > and I try with:
> >
> > light_source {< 0, 0,  0> color White
> >    fade_distance 0 fade_power 0
> >    area_light <0.1, 0, 0>, <0, 0, 0.1>, 3, 3
> > }
> >
> > but this light up all the objects in the scene!!
>
> You want either spotlights or cylindrical lights (most likely sptolights,
> see: 3.4.7.2  Spotlights in the docs). Area lights are essentially just an
> array of point lights so are not omni directional (unless you build a shade
> around them, which is another option, depending on your needs)
>
> -tgq

oops, I think I misread everything here (and mixed up my omni/uni
directionals) ignore my comments!

As the others said play with fade_distance/fade_power and/or light groups.

See "3.4.7.9  Light Fading" and have a look at the function and how the the
variables affect the fading response.
-tgq


Post a reply to this message

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