POV-Ray : Newsgroups : povray.documentation.inbuilt : looks_like suggestion : Re: looks_like suggestion Server Time
17 May 2022 19:48:29 EDT (-0400)
  Re: looks_like suggestion  
From: clipka
Date: 12 Sep 2016 07:56:10
Message: <57d697da$1@news.povray.org>
Am 12.09.2016 um 12:45 schrieb Jim Holsenback:
> On 9/11/2016 1:55 PM, clipka wrote:
>> Am 11.09.2016 um 16:23 schrieb Mike Horvath:
>>
>>> Looks_like works fine with parallel lights as long as you position the
>>> light correctly to start off with instead of placing it at the origin
>>> and then translating it at some later time.
>>>
>>> Unless I made a mistake.
>>
>> Judging from the code, I see no reason why that should make any
>> difference.
>>
> 
> Pulled directly from the previous version of this section:
> 
> "For point lights and spotlights you could also place the light source
> and the looks_like object at the origin and translate them together
> later. But for parallel lights this will not work."
> 
> Did I get it wrong? Just trying to honor what was previously mentioned!

I can't say for sure at the moment. All I can say is that I didn't find
anything in the code that would explain that wording, but I might have
overlooked something. I guess experiments may be needed.

Maybe the sentence was placed there not so much due to unexpected
effects on the looks_like object, but unexpected effects on the light
source itself. (For instance, whether or wheter not POV-Ray translates
the `point_at` location along with the parallel light source, either way
the effect may be surprising to some users.)


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.