|
|
Mike Horvath <mik### [at] gmailcom> wrote:
> 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
> }
A more subtle details is that the light_color usually not the same.
the color of POV-Ray light_source describes the color of the illuminated object.
the color of looks_like object describes the color of (sun) itself. The sun
color often much brighter than the object it illuminates.
Post a reply to this message
|
|