POV-Ray : Newsgroups : povray.newusers : Camera pitfalls? : Re: Camera pitfalls? Server Time
2 Nov 2024 15:26:46 EDT (-0400)
  Re: Camera pitfalls?  
From: Erhard Ducke
Date: 28 Nov 2003 06:26:44
Message: <fvbesv07damen6e37basf0cgu6i0gtobkm@4ax.com>
On 26 Nov 2003 16:25:03 -0500, Warp <war### [at] tagpovrayorg> wrote:
>  In the camera definition transformations are applied after all the
>camera parameters regardless of which order you write them.

But the manual implicates that when look_at parameter is given as the last
one it works...
They should correct/supplement this in the manual...

>  If you want to calculate the location of the camera with transformations
>and then make it to look at a certain point, you should transform the
>camera location vector itself instead of the camera. (That is, use
>vrotate(), multiplication as scale and addition as translate, or if
>more complex transformations are needed, vtransform().)

I solved the problem with vrotate.
Thanks! :-)
-- 
Erhard Ducke


Post a reply to this message

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