POV-Ray : Newsgroups : povray.beta-test : [doc] light groups. : Re: [doc] light groups. Server Time
31 Jul 2024 04:16:51 EDT (-0400)
  Re: [doc] light groups.  
From: ingo
Date: 10 Sep 2001 06:08:59
Message: <Xns91187B980DE65seed7@povray.org>
in news:3b9bf2c0$1@news.povray.org Thomas Lake wrote:

> I'm not sure what this is, a mistake in the program, in that it
> accepts this or simply a redundancy in the docs?

Generaly I think putting a declared object/lightsource/... inside a 
object/lightsource/... statement is always safe to do, not putting it 
inside something can get you in trouble. Try the example below, one 
difference wil render the other gives an error. If you use object{P} 
both work.

#declare P=plane {...}

difference {
   P
   sphere {0,1 rgb 1}
}

difference {
   sphere {0,1 rgb 1}
   P
}


So, I will make a change to the second example in light_groups and put 
L1 inside light-group{}.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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