POV-Ray : Newsgroups : povray.newusers : Light. Point_at ??? : Re: Light. Point_at ??? Server Time
9 Jun 2024 02:10:55 EDT (-0400)
  Re: Light. Point_at ???  
From: LanuHum
Date: 31 May 2013 09:10:01
Message: <web.51a89fe1127956147a3e03fe0@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> Your matrix transform is applied to both the origin of your light and to
> the point_at coordinate.
>
> You need to transform the location of your light BEFORE you set the
> point_at location.
>
>
> Alain

Alain, Thanks, but I don't understand your idea
Each object has own matrix. If I transform one, it will be necessary to
transform all remaining
The response is found in Povray documentation: matrix
Users of Blender prompted that my problem was that axes of coordinates are
various in Blender and in Povray

// location 3.0604 0.0000 0.9887
// x=1.000000*3.060443+0.000000*0.988657+0.000000*0.000000+3.060443=6.12
// y=0.000000*3.060443+0.000000*0.988657+0.000000*0.000000+0.988657=1.96
// z=0.000000*3.060443+1.000000*0.988657+0.000000*0.000000+0.000000=0.99

point_at  <-0.99,-1.96,-6.12>   (-z, -y, -x)    :)


Post a reply to this message

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