Howto:Improve framerates: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 1: Line 1:
{{stub}}
Anything below about 15 frames per second (fps) is close to unplayable, or at least, will not be enjoyable.  Additionally, the more the framerate decreases, the more other features of the simulation will suffer.  The current FG software architecture is such that long rendering times (slow framerates) may prevent other parts of the flight simulator, such as the autopilot, from having sufficient CPU time to respond correctly in the context of the simulation.
Anything below about 15 frames per second (fps) is close to unplayable, or at least, will not be enjoyable.  Additionally, the more the framerate decreases, the more other features of the simulation will suffer.  The current FG software architecture is such that long rendering times (slow framerates) may prevent other parts of the flight simulator, such as the autopilot, from having sufficient CPU time to respond correctly in the context of the simulation.


FlightGear's framerate is influenced by various factors, including:
FlightGear's framerate is influenced by various factors, including:


* scenery complexity
* [[scenery]] complexity
* cockpit complexity (2D vs. 3D)
* [[cockpit]] complexity (2D vs. 3D)
* environmental options (eg. visibility)
* environmental options (eg. visibility)
* FDM update interval
* [[FDM]] update interval
* AI scenarios
* AI scenarios
* Aircraft speed (scenery paging)
* [[aircraft]] speed (scenery paging)
 
 
You can disable most features that often adversely affect framerate. Here is a collection of settings that you may change to improve your framerate. Please note that some of these will only take effect if they're specified at startup and cannot be changed after the simulation has started:
 
TODO:
 
* LOD
* AI traffic
* 3D Clouds
* Scenery textures resolution ($FGROOT/Textures vs $FGROOT/Textures.high)
* ...
 


You can disable most features that often adversely affect framerate. Here is a collection of settings that you may change to improve your framerate. Please note that some of these will only take effect if they're specified at startup and cannot be changed after the simulation has started.


Contrary to what many people believe, the impact of high vertex-count models on framerate is fairly minimal. For graphic artists, the key things that should be avoided are:
===3D Models===
Contrary to what many people believe, the impact of high vertex-count models on framerate is fairly minimal. For graphic artists, the key things that should be avoided are:


* high resolution textures
* high resolution textures
Line 30: Line 22:
* unwant polygons casting shadows
* unwant polygons casting shadows


===AI traffic===
[[Interactive Traffic|AI-traffic]] is computer controlled traffic, which includes traffic over the [[Howto: Multiplayer|MP network]]. By turning of this function you're not able to see other aircraft.
Most lag in FlightGear is caused by AI traffic. Especially heavy models need some time to load, eg the [[Grumman F-14 Tomcat|F-14]] or the [[Rockwell B-1B Lancer|B-1B]]. Everytime a new aircraft enters the network your computer need to load that particular aircraft. That creates a lag. The bussier the place you fly the more lag you'll get; eg flying around KSFO will generate more lag than a flight near EGLL, since there is more traffic near KSFO.


 
== External links ==
= External links =
 
[http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15286 Optimizing file size, performance and streaming of 3D content]
[http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15286 Optimizing file size, performance and streaming of 3D content]

Navigation menu