POV-Ray : Newsgroups : povray.animations : Anime camera points or all the camera Server Time
26 Nov 2024 21:54:51 EST (-0500)
  Anime camera points or all the camera (Message 1 to 2 of 2)  
From: Albun
Subject: Anime camera points or all the camera
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

From: Albun
Subject: Re: Anime camera points or all the camera
Date: 4 Dec 2012 07:55:00
Message: <web.50bdf28a39e950a22a21909e0@news.povray.org>
So, later i find, an another solution but, for the clock's spline, the number of
point make many trouble in the scene.
The clock without number'spoint, like that, i can't use spline for camera
movement.



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

#declare pCam = <0, 0,0>;
#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    pCam_Transformed
        look_at  pCam_L_Transformed
 right   x*image_width/image_height
 up y
 direction z*1


}

Who know how, or why clock make trouble with clock*nbr_of_spline_point.

Thanks


Post a reply to this message

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