POV-Ray : Newsgroups : povray.advanced-users : LEDs : Re: LEDs Server Time
2 Nov 2024 13:21:18 EDT (-0400)
  Re: LEDs  
From: Mark Wagner
Date: 19 Aug 1999 02:31:01
Message: <37bba4a5@news.povray.org>
Roger Orchard wrote in message <37ba88f2@news.povray.org>...
>Can some one help me?
>
>I have a case, with holes for some LEDs in it.
>
>I can put a light under the hole, so it looks like the LED.
>
>What I want to do is group the light with the case.
>
>IE so it is a part of the
>#declare case_a =
>union {
>.
>.
>.
>}


No problem.  The following is perfectly valid:

#declare case_a =
union{
    /* Your case definition */

    light_source{ /* Your light source */ }
}

Mark


Post a reply to this message

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