Is this the correct way to set up a light_source and attached object?
// Sun
light_source
{
Source_Location
rgb light_color
looks_like
{
sphere
{
Source_Location, Source_Radius
texture
{
pigment {color rgb light_color}
finish
{
emission 1
ambient 0
diffuse 0
}
}
}
}
parallel
}
Note that the light source and object are both located at
Source_Location. I'm not sure how to test whether I'm doing it right or
wrong.
Mike
Post a reply to this message
|