|
|
Am 12.09.2016 um 16:42 schrieb Mike Horvath:
> In this test scene the light source is stuck at the horizon when it
> should be up in the sky.
But the looks_like object is translated perfectly fine.
What you see is the highlight remaining unchanged; but the highlight
doesn't show where the light source's nominal position is -- it shows
the direction the light is coming from.
And that direction is unchanged: With a parallel light source, the
direction of all light rays depends only on the /relative/ location of
two points: The light source's nominal center and the point_at
parameter. But transformations act on both these points (I've just
checked the code), so a translation operation changes only the absolute
location of the points, not their relative location to one another. And
thus the light direction remains unimpressed.
(BTW, point_at defaults to <0,0,1>.)
Post a reply to this message
|
|