POV-Ray : Newsgroups : povray.binaries.animations : cam_loc Server Time
20 Jul 2024 19:35:06 EDT (-0400)
  cam_loc (Message 1 to 2 of 2)  
From: rsibbald
Subject: cam_loc
Date: 14 Jul 2000 10:40:32
Message: <396F27E7.5BCA863E@julian.uwo.ca>
May be an ignorant question... but ...

can anyone tell me how to use the camera position as a variable in an
animation?

ie.  if I want to have something hanging in front of the camera during
the entire animation and I can't utilize the union function with the
camera (or can I?).  I'm hoping to have something like:

    object {whatever} cam_pos + <5,0,5>

Rob


Post a reply to this message

From: Bob Hughes
Subject: Re: cam_loc
Date: 14 Jul 2000 20:34:09
Message: <396fb181@news.povray.org>
"rsibbald" <rsi### [at] julianuwoca> wrote in message
news:396F27E7.5BCA863E@julian.uwo.ca...
| May be an ignorant question... but ...

Nope, not nearly ignorant.  Just common  :-)

| ie.  if I want to have something hanging in front of the camera during
| the entire animation and I can't utilize the union function with the
| camera (or can I?).  I'm hoping to have something like:

No, camera doesn't go into CSG.

|     object {whatever} cam_pos + <5,0,5>

Close.  Just move the closing brace to the end and put 'translate' before "cam_pos"
and also use
that in the camera (less the added part) as the 'location' and use the whole thing as
the
'look_at'.
That should do okay.

Bob


Post a reply to this message

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