|
|
On 9/8/2016 3:57 AM, clipka wrote:
> Am 08.09.2016 um 06:54 schrieb Mike Horvath:
>> Is this the correct way to set up a light_source and attached object?
>
> Nope.
> A looks_like object needs to be constructed at <0,0,0>, as POV-Ray
> automatically adds a translation to the light source's location.
>
> I do agree that this is poorly documented in the official documentation.
>
So this is better?
// Sun
light_source
{
Source_Location
rgb light_color
looks_like
{
sphere
{
<0,0,0>, Source_Radius
texture
{
pigment {color rgb light_color}
finish
{
emission 1
ambient 0
diffuse 0
}
}
}
}
parallel
}
Post a reply to this message
|
|