]> git.mxchange.org Git - flightgear.git/commit
Implimented a simple frame rate throttle.
authorcurt <curt>
Mon, 2 Jun 2003 16:35:36 +0000 (16:35 +0000)
committercurt <curt>
Mon, 2 Jun 2003 16:35:36 +0000 (16:35 +0000)
commit9c0c54ef6cfab99d8a6065124e4c0721a84cd0fd
treed053fc2020fe2acb66c6739f790da338b34de48f
parentf30f40a2fb11141a370b35d12a63f9430bde68ae
Implimented a simple frame rate throttle.

Normally for smoothest frame rates you would configure to sync
to your monitor's vertical refresh signal.  This is card/platform
dependent ... for instance with Linux/Nvidia there is
an environment variable you can set to enable this feature.

However, if your monitor is refreshing at 60hz and you can't quite sustain
that with flightgear, you can get smoother frame rates by artificially
throttling yourself to 30hz.  Note that once you are about about 24fps, it
is *change* or inconsistancy in frame rate that leads to percieved jerkiness.

You want to do whole divisors of your monitor refresh rate, so if your
display is syncing at 75 hz, you might want to try throttling to 25 hz.
src/Main/main.cxx
src/Network/native_fdm.cxx
src/Network/native_fdm.hxx