Camera jerk moves?

Jan 10, 2008 at 3:02 PM
Is it just with me or does anyone notice this problem also? The camera movement is not smooth.
Jan 10, 2008 at 3:06 PM
I have the same issue,it's more visible on my x700 than my FireGL V5200.
Jan 10, 2008 at 3:18 PM
The time-based movement code (which is based on temporary input code) needs some work.
Coordinator
Jan 11, 2008 at 6:26 AM
Edited Jan 11, 2008 at 6:26 AM
Fixed. I'll put it in a patch with the gamepad stuff. For now you can paste over these lines in FreeCamera.cs, starting on line 216:
float timeDelta = gameTime.ElapsedGameTime.Milliseconds;
 
if (timeDelta < float.Epsilon)
{
     timeDelta = 5;
}

And replace with this:
int timeDelta = gameTime.ElapsedGameTime.Milliseconds;
 
if (timeDelta > 100)
{
    timeDelta = 100;
}
Jan 12, 2008 at 4:18 AM
Well, I replace the code and it doens't change anything. The problem is still there. :(
Jan 12, 2008 at 4:39 AM
It did help on my system, but you have to have a framerate better than 60 in order not to jerk.
Jan 12, 2008 at 4:59 AM
Mine is 120.
Jan 14, 2008 at 8:53 AM
I just tried on my FireGL system and it's still very jerky. I'll see if I can get a vid of this and upload it somewhere
Jan 14, 2008 at 11:16 AM
I was trying the QuickStartEnginev0.182b version and it has some jerk problems also, but it is more visible when rotating the camera. And the same goes with the actual version.
Coordinator
Jan 14, 2008 at 3:28 PM


xnasorcerer wrote:
I was trying the QuickStartEnginev0.182b version and it has some jerk problems also, but it is more visible when rotating the camera. And the same goes with the actual version.


I believe that 0.182b might have time based rotations (it has been awhile since I looked at it). Time based rotations help ensure all computers will see the same movement speeds (over time), however when the framerate fluctuates greatly there can be noticable jerkiness. I believe if you take average framerates, over the last 5-10 frames, and use those times you will get less jerkiness. I may work on that sometime soon, but it isn't top priority just yet.
Jan 14, 2008 at 8:26 PM
The QuickStartEnginev0.182b version has the same problem, but it is less visible than the actual version.
Jan 23, 2008 at 10:10 AM
With the latest changeset, the jerky is still there! :(
Coordinator
Jan 23, 2008 at 2:11 PM
I've been busy with gamepadhandling, among other things. I will try and work on that next.