POV-Ray : Newsgroups : povray.binaries.animations : camera position : Re: camera position Server Time
20 Jul 2024 17:28:01 EDT (-0400)
  Re: camera position  
From: Dave Blandston
Date: 18 Jul 2000 10:36:38
Message: <39746b76@news.povray.org>
You can print the current value of a variable to the "Messages" screen
thusly:

#debug concat("\nThe current value of CameraX = ", str (CameraX, 0, 0),
".\r\n")

You can adjust the precision and number of decimal places shown by changing
the zeros. I hope this is what you mean...

-Dave


"rsibbald" <rsi### [at] julianuwoca> wrote in message
news:39746579.F0D584BE@julian.uwo.ca...
> Is there any way to have pov return the camera's location values
> throughout an
> animation?  (yes it's me again and I thank all who've already tried to
> help... I'll
> try to explain better!)
> What I want to do...
>      I have a color coded scene which I would like to have the camera
> travel around
> (maybe on a spline but not for sure).  I also have a cylinder (legend)
> which has the
> range of colors from my scene on it.  I would like the legend to appear
> in the animation
> at all times.  Thus I figured I needed to know (at all times) the
> position of the camera
> as well as the camera's look_at value so I could have the legend
> cylinder in between.
>
> I hope I've done a better job of explaining, but if not let me know.
>
> Thanks,
> Rob
>


Post a reply to this message

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