|
|
I'm using the following declaration to create a red spot light with a visible
beam and then using the declaration in multiple place. The object appears
multiple times in the rendered scene but only one instance appears to have a
light source. Can you duplicate light source in this way?
#declare MySpotLight =
union {
light_source {
<0,-0.35, 0>
color Red*2
spotlight
radius 25
falloff 30
point_at <0, 0.3095, 0>
}
cone {
<0,-0.5, 0>, 0.0
<0, +0.3,0>, 0.4
pigment { rgbt<1,1,1,1> }
finish { ambient 0.0 diffuse 0 }
hollow
no_shadow
photons { pass_through }
interior {
media {
scattering {3, Red*0.7 extinction 1.0 }
samples 1,1
}
}
}
}
Post a reply to this message
|
|