POV-Ray : Newsgroups : povray.animations : another dumb newbie question Server Time
24 Nov 2024 15:41:57 EST (-0500)
  another dumb newbie question (Message 1 to 2 of 2)  
From: Steven Durham
Subject: another dumb newbie question
Date: 17 Aug 1999 18:25:44
Message: <37b9e168@news.povray.org>
Is it possible to lock the "look at" point of a camera to a moving object in
POV so the camera will always pan to follow the object.
Say, hmmm....a passing spaceship?


Post a reply to this message

From: Peter Popov
Subject: Re: another dumb newbie question
Date: 17 Aug 1999 18:56:35
Message: <37b9e79f.837101@204.213.191.228>
On Tue, 17 Aug 1999 18:24:28 -0500, "Steven Durham"
<ste### [at] earthlinknet> wrote:

>Is it possible to lock the "look at" point of a camera to a moving object in
>POV so the camera will always pan to follow the object.
>Say, hmmm....a passing spaceship?

No question is dumb :)

Declare the position and use it to translate the ship and control the
camera. Here's how:

#declare ShipPosition = 10*x*clock;

object { Ship translate ShipPosition }

camera { location -10*z look_at ShipPosition }

That's the idea. HTH.


Peter Popov
ICQ: 15002700


Post a reply to this message

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