POV-Ray : Newsgroups : povray.general : Light source inside object/CSG warnings? : Re: Light source inside object/CSG warnings? Server Time
10 Aug 2024 03:24:46 EDT (-0400)
  Re: Light source inside object/CSG warnings?  
From: Ken
Date: 20 Mar 2000 19:24:12
Message: <38D6C189.4494AED4@pacbell.net>
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.

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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