POV-Ray : Newsgroups : povray.newusers : animation camera problem : Re: animation camera problem Server Time
30 Jul 2024 22:16:22 EDT (-0400)
  Re: animation camera problem  
From: mcavoys
Date: 24 Jul 2003 12:21:47
Message: <3f200738.176744745@news.povray.org>
On Thu, 24 Jul 2003 09:18:23 -0700, Dawn McKnight <d-m### [at] coxnet> wrote:

>Hey, gang.
>
>I'm trying to do a fly-by animation, with the camera moving to point at 
>the object, and I'm getting an odd result.  My code looks like this:
>
>camera {
>   location <-6, 3, -100>
>   translate 200*clock*z
>   look_at 0
>   }
>
>But, instead of the camera twisting to look at the origin as it goes, it 
>keeps pointing along the same vector.  Why is it doing that?
>
>(I'm using POV 3.5 for MacIntosh, no extras or fancy stuff)

Try  look_at  <0,0,0>

It needs a 3D point to look at.
Regards
        Stephen


Post a reply to this message

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