|
![](/i/fill.gif) |
I'm new to POV, and I'm trying to make a camera follow a certain path. For a
total time of 5, I want the camera to spend 0<t<1 at a certain point, then
move along a specific circular path over time 1<t<2, and then remain at the
end
point of this path for t>2. This is the code i wrote for it, but it doesn't
seem to work. I'm sure I'm missing someting stupidly obvious, but could
someone give me a hand. Either de-bug or a pointer in the right direction
would be helpful.
Thx,
OpalPlanet
//declare variables for camera motion
#declare loopcount = 0;
#declare X = 0;
#declare Y = 0;
#declare Z = -3.5;
#declare Ystep = -.01375;
#declare Zstep = -.0125;
#if (clock <= 1)
camera {
location <0,0,-3.5 >
look_at <0,0,0>}
#else #if (clock <= 2)
//move camera coords
#while loopcount <= 200
Y = Y + Ystep;
Z = Z + Zstep;
#end // end while
camera {
location <0, Y, Z >
look_at <0,0,0>
}
#else
camera{
location<0,-2.75,-1>
look_at<0,0,0>
}
//end cameras
Post a reply to this message
|
![](/i/fill.gif) |