POV-Ray : Newsgroups : povray.newusers : Smooth circular rotation using spline : Re: Smooth circular rotation using spline Server Time
25 Apr 2024 13:08:23 EDT (-0400)
  Re: Smooth circular rotation using spline  
From: Bald Eagle
Date: 25 Oct 2016 12:25:01
Message: <web.580f868134f9ab4bb488d9aa0@news.povray.org>
"SecondCup" <nomail@nomail> wrote:

"I want the camera to be slow in some parts sections of the
rotation while fast in other parts."

I suppose the thing to do is to define / explain / show the parts of the
rotation where you want that to occur, and how fast or slow you want it to go,
and if you want smooth or abrupt transitions.

Maybe a comment or two about WHY you want to slow down / speed up the camera to
highlight or skip over some feature(s) would be helpful in assisting define a
better camera path for you.

I commented out your cube and added the following to show the properties of your
current path in a more linear manner.

// graph out in a straight line
#declare ctr = 0;
#while (ctr < 1)
  sphere {
   <(ctr*10000)-5000, CameraSpline(ctr).y*1000, 0> // only for visualization of
2 revolutions
   , 150
    pigment { rgb <1-ctr,ctr,0> }
    //rotate <0,-360*CameraSpline(ctr).y,0> // use y from spline vector
  }
  #declare ctr = ctr + 0.005;
#end


Post a reply to this message

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