POV-Ray : Newsgroups : povray.animations : camera problems : camera problems Server Time
27 Sep 2024 18:18:27 EDT (-0400)
  camera problems  
From: sHURAKAI
Date: 23 Aug 2004 08:50:00
Message: <web.4129e79b9db258e96b3522e90@news.povray.org>
after solving the last problem with your nice #switch i now have another
problem. I created a cameraspline using the spline.mcr but as already
mentioned in in another post, the look_at point moves with the movement of
the camera or even more worse, the camera looks in the moving direction.
But i need to have it focused to a single point. Or even better i would
like to create another spline for the look_at. Is it possible ? Sorry but
i'm still a noob in creating animations.

The path and the camera.

#declare Path = create_spline (
   array[10] {<   0,  0, 10>,
             < -10,  0,  0>,
             <   0, 10,  0>,
             <  10,  0,  0>,
             <   0,  0,-10>,
             < -10,  0,  0>,
             <   0,  0, 10>,
             <  10,  0,  0>,
             <   0,  0,-10>,
             < -10,  0,  0> },
   spline_loop (yes) + spline_tension (-1))
   preview_spline (Path, default_options)


#declare CAM_motion =   camera {right -4/3*x up y
                        angle 45.000000
                        location < 0.01, 0, 0 >
                        look_at <0,0,0>
                        animate_by_spline (Path, auto_banking (off))}


Thanks in advance, Shu.


Post a reply to this message

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