POV-Ray : Newsgroups : povray.animations : Anime camera points or all the camera : Anime camera points or all the camera Server Time
26 Apr 2024 08:21:44 EDT (-0400)
  Anime camera points or all the camera  
From: Albun
Date: 3 Dec 2012 08:30:00
Message: <web.50bca87cdaadd4712d9ed22e0@news.povray.org>
For anime, it's about camera points or translate all camera. I try different
way, and with this code there is the unique right vue on image, but.... there is
no move throught the spline. The clock turn round, but the camera stay right on
origin. What do you think about ?

The lines who have two slashs, give me bad result.



#declare CamSpline = spline{Spl_X_wing}

#declare SplineTransform = Spline_Trans(CamSpline,clock,y,.1,.5);

#declare pCam = <0, 0,1>;
#declare pCam_Transformed = vtransform(pCam, SplineTransform);
#declare pCam_L = <0, 0,-1>;
#declare pCam_L_Transformed = vtransform(pCam_L, SplineTransform);
///////////////////////////////////////////////////////


camera {angle 50*image_width/image_height


       // location CamSpline(clock)
      //look_at CamSpline(clock+.2)
        location pCam_Transformed
        look_at pCam_L_Transformed
 right   x*image_width/image_height
 up    y
 direction z*1
       // translate CamSpline(clock)
      //  Spline_Trans(CamSpline,clock,y,.1,.5)

}

Interesting, no?


Post a reply to this message

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