POV-Ray : Newsgroups : povray.newusers : Camera position for spline object : Re: Camera position for spline object Server Time
15 Jun 2024 10:24:55 EDT (-0400)
  Re: Camera position for spline object  
From: jr
Date: 23 May 2022 03:55:00
Message: <web.628b3d22c5341975879e196a6cde94f1@news.povray.org>

"Aj" <nomail@nomail> wrote:
> Hello everyone,
> I created a spline object using the following code, but I could not get the
> proper camera position. I was wondering if there is some systematic way to
> figure out the camera position, and angle and look at vectors for a given shape.
> Or is it just trial and error?

the latter, I guess, based on knowledge of object's approximate location +
dimensions.  hope to find time to try your code, but for a simple, recent
animation I needed to move the camera back to accommodate the object growing
larger.  have a look at the camera in 'ulam2.pov' (at end of file), its location
is updated in every frame.  while different in detail, perhaps it can serve as
"food for thought".  hth.

regards, jr.

Post a reply to this message

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