|
|
I am making a lamp but whan I goto reanslate it, its not translateing the
glow and I cant figure out why. So heres the code. So if you can help me it
would be a great help.
#declare Lamp =
union {
// The glass part of the light
sphere {
<0,0,0>.5
pigment { rgbt <.25,.25,.25,.5> }
translate <0,5.15,0>
}
// The Metal cap on the light
sphere {
<0,.5,0>.125
texture { GreenMetal }
scale <2,1,2>
translate <0,5.15,0>
}
// The light pole
lathe {
cubic_spline
9
<0,0> <.25,0> <.25,.5> <.125,1> <.125,2>
<.25,3> <.125,4> <.25,4.75> <.5,4.75>
texture { GreenMetal }
}
// The Light Glow
light_source {
<0,5.25,0>
color White
glow {
size .65
type 2
}
}
}
object { Lamp }
object { Lamp translate <5,0,0> }
--
Jason S
Post a reply to this message
|
|