|
|
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
|
|