It was marked as "untested" :-)
pov-ray is a bit funny, it uses degrees in rotate commands, but radians in
functions: "sin(A) Sine of A. Returns the sine of the angle A, where A is
measured in radians."
so try:
Camera_X = sin(radians((FrameCounter-1)*90/149))*1195-100
or just:
Camera_X = sin((FrameCounter-1)*(2*pi)/149)*1195-100
or:
Camera_X_start = -100;
Camera_X_end = 1095;
Camera_X_length = Camera_X_end-Camera_X_start;
Camera_X = sin((FrameCounter-1)*(2*pi)/149)*Camera_X_length-Camera_X_start;
(all ## Untested ##)
does that help ?
Post a reply to this message
|