POV-Ray : Newsgroups : povray.advanced-users : LEDs : Re: LEDs Server Time
30 Jul 2024 10:11:41 EDT (-0400)
  Re: LEDs  
From: Roger Orchard
Date: 20 Aug 1999 10:02:40
Message: <37bd6000@news.povray.org>
I am shore i tried that so here is my basic led

#declare LED_yellow  =
union
{
        object
        {
          sphere { <0, 0, 5>, 1.5}
          texture { T_Yellow_L_Glass }
          interior { I_Glass }
        }

        cylinder
        {
          0*z,  5*z,  1.5
          open
          texture { LED_CASE_T }
        }

        disc
        {
          <0, 0, 0>
          z,
          1.5
          texture { LED_CASE_T }
        }


        light_source
        {
          <0, 0, 0.5>
          color White
        }
}


Mark Wagner wrote in 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.