Re: [Algorithms] Game loop timings
Brought to you by:
vexxed72
From: Martin P. <mar...@re...> - 2005-04-09 09:44:35
|
> Yes, of course. 20Hz was a Bad Idea. Just making a point of why input > latency is bad. ("Moral of the story: don't introduce latency where you > don't have to.") Triple buffering adds one frame of latency, so that's why > triple buffering is not a good solution to smooth out CPU spikes caused by > different number of physics steps between two frames. Better solution is > not > to have CPU spikes, if possible. :) Don't forget triple/quadruple buffering can be useful for smoothing out spikes in non-interactive sections, like cut scenes. |