POV-Ray : Newsgroups : povray.general : Animation of changing focal length and camera distance to simulate orthogra= : Re: Animation of changing focal length and camera distance to simulate orth= Server Time
31 Jul 2024 02:31:05 EDT (-0400)
  Re: Animation of changing focal length and camera distance to simulate orth=  
From: SharkD
Date: 20 Dec 2007 20:15:01
Message: <web.476b124568c45c83d685a5c80@news.povray.org>
Woops. There was a bug in the camera code. That should be:

camera
{
 location -z*(2+CameraDistance)
 look_at 0
 direction z*(2+CameraDistance)
 up y*5
 right x*5
 rotate <asind(tand(30)),45,0>
}

Mike

"SharkD" <nomail@nomail> wrote:
> I decided to use the direction, up and right vectors instead of angle.
>
> camera
> {
>  location -z*(2+CameraDistance)
>  look_at 0
>  direction z*(2+CameraDistance)
>  up y*5
>  right x*5
>  rotate <45,45,0>
> }
>
> It works better for me; using your method it seemed as if the image were
> shrinking as the camera moved away.
>
> Thanks for the help!
>
> Mike
>
> "Chris B" <nom### [at] nomailcom> wrote:
> > Hope this helps,
> >
> > Regards,
> > Chris B.


Post a reply to this message

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