POV-Ray : Newsgroups : povray.general : Light source inside object/CSG warnings? : Re: Light source inside object/CSG warnings? Server Time
10 Aug 2024 03:25:30 EDT (-0400)
  Re: Light source inside object/CSG warnings?  
From: Steve
Date: 20 Mar 2000 19:51:01
Message: <slrn8ddh46.2s5.sjlen@zero-pps.localdomain>
On Mon, 20 Mar 2000 16:25:45 -0800, Ken wrote:
>
>
>Steve wrote:
>> 
>> I've got an object and I want a lightsource inside it,
>> so I used:
>
>> With either of these I get a warning that a CSG should have more than
>> one object. So in order to make the warning go away I've tried:
>
>> This won't render I get an error message telling me that I must use
>> the new syntax.
>
>The new syntax warning means do not declare your light_source as an
>object use instead -
>
>light_source{<0,0,0>
>             color rgb 0.5
>            } // End of light_source.
>
>Since a light source is not considered an object in POV-Ray it does
>not count as one in a csg operation. Ignore the warnings and it will
>work anyway.
>

Man that was fast.  Guess I'll just have to live with the warnings
then.  

Pod suggests using a looks_like, but for some reason I hate the 
looks_like statement with a passion. 

Thanks.  

-- 
Cheers
Steve              email mailto:sjl### [at] ndirectcouk

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

 12:27am  up 1 day, 21:02,  6 users,  load average: 1.14, 1.14, 1.10


Post a reply to this message

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