POV-Ray : Newsgroups : povray.documentation.inbuilt : looks_like suggestion : Re: looks_like suggestion Server Time
10 Jun 2023 06:37:29 EDT (-0400)
  Re: looks_like suggestion  
From: Alain
Date: 8 Sep 2016 17:14:53
Message: <57d1d4cd@news.povray.org>
Le 16-09-08 à 00:58, Mike Horvath a écrit :
> On 9/8/2016 12:46 AM, Mike Horvath wrote:
>> http://www.povray.org/documentation/view/3.6.2/137/
>> On this page it says:
>> "It is a good idea to define both things, the light source and the
>> looks_like object, at the origin, and then translate them to their right
>> place."
>> However, this is *not* a good idea for parallel light sources. Doing so
>> causes the light to emit from the light source's original position (the
>> origin) instead of the later position.
> http://www.povray.org/documentation/3.7.0/r3_4.html#r3_4_4_1_7
> This section only shows an example of how *not* to properly set up the
> looks_like section. It should explain how to do it *correctly* too. But
> I don't know what is correct.
> Mike

The looks_like object is always centered at the light's location.
So, you should create your light_source at any location while 
constructing the looks_like object around the origin.

Post a reply to this message

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