POV-Ray : Newsgroups : povray.general : light_group question Server Time
23 Dec 2024 22:39:13 EST (-0500)
  light_group question (Message 1 to 3 of 3)  
From: J T
Subject: light_group question
Date: 9 Jul 2003 10:33:34
Message: <3f0c27be@news.povray.org>
Hi,

I have two boxes in two different light_groups with two different
light_sources. Like this:

light_group {
 light_source { ... }//light 1
 box { ... }//box 1
}

light_group {
 light_source { ... }//light 2 (different to light 1)
 box { ... }//box 2 (different to box 1 }
}

When I render this, the boxes get shadows from both light_sources. But I
want that box 1 has only the shadow of light 1, and
box 2 only of light 2. How can I do that?


Your help would be greatly appreciated,

J T


Post a reply to this message

From: Hughes, B 
Subject: Re: light_group question
Date: 10 Jul 2003 04:01:36
Message: <3f0d1d60@news.povray.org>
"J T" <jte### [at] chellonl> wrote in message
news:3f0c27be@news.povray.org...
>
> want that box 1 has only the shadow of light 1, and
> box 2 only of light 2. How can I do that?

Looking at the documentation... apparently light_group only affects the
actual illumination instead of both the light and shadow. However, I haven't
worked with this in such a long time so I could be wrong.

You can apply a shadowless keyword to the lights or no_shadow to the objects
to work around this. Problem then might be how your scene is affected versus
what's intended by you. Might be possible to set up a second pair of lights
to cast shadows onto a floor plane, for example.

Bob H.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: light_group question
Date: 10 Jul 2003 04:40:34
Message: <3f0d2682@news.povray.org>
In article <3f0c27be@news.povray.org> , "J T" <jte### [at] chellonl> wrote:

> How can I do that?

Not with light groups. You have to try playing with visibility options of
individual objects and see if you can emulate the desired effect.

    Thorsten


Post a reply to this message

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