POV-Ray : Newsgroups : povray.general : Positioning orthographic camera - error ? : Re: Positioning orthographic camera - error ? Server Time
6 Aug 2024 19:31:38 EDT (-0400)
  Re: Positioning orthographic camera - error ?  
From: Ralph Muench
Date: 31 Jan 2002 05:54:29
Message: <3C592237.BA5608C0@psi.ch>
Thanks Jamie!

That was as accurate as fast :) It works now that I set the
direction vector. It is so much nicer to have the scene set and
just move the camera about.

All the time I was assuming silently that the orthographic
camera did not use the direction vector... now I know it does.
Furthermore, I would like to add that it will not even work for

camera { orthographic location <4.33013,5,-7.5>
                direction <-6.01900,-6.95016, 10.4252>
                right <3.72831,0,2.15254>
                up <-0.807203,2.79623,1.39812> }

but will for this:

camera { orthographic location <4.33013,5,-7.5>
               direction <-0.433012701892,-0.5,0.75>
               right <3.72831275528,0,2.15254237288>
               up <-0.807203389831,2.79623456646,1.39811728323> }

so 6 significant digits are not good enough some times.

Regards,
Ralph

Jaime Vives Piqueres wrote:

> You don't mention "direction" at all, and this is very important. The
> viewing direction has a default value of <0,0,1>, then the message must
> mean that "right"  is not perpendicular to default "direction". Both "up"
> and "right" need to be perpendicular to the viewing direction, I think.
> So, perhaps you need also to specify "direction <-1,0,0>"  to override the
> default viewing direction.


Post a reply to this message

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