Draw masks: Difference between revisions

Jump to navigation Jump to search
271 bytes added ,  13 November 2015
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
{{DeQuote}}
[[File:Property-browser-with-draw-masks-shown.png|thumb|Property browser with draw masks shown]]


{{FGCquote|1= There's so called "draw-masks" which are property-controlled switches for enabling/disabling rendering of certain scene details, including 1) scenery/terrain, 2) aircraft, 3) models, 4) clouds.This can be used for troubleshooting performance issues - you can basically toggle individual scene graphs on/off, to see if/how performance is affected.For example, if performance improves dramatically by disabling the terrain, you are mainly affected scenery complexity.Equally, disabling the (main) aircraft, will tell you if it's the complexity of the 777 3D model (cockpit). |2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=225846#p225846  | title  = <nowiki>Re: FlightGear 3.2 with B777 running extremely slow</nowiki>  | author = <nowiki>Hooray</nowiki>  | date  = Nov 29th, 2014  }}}}
{{FGCquote|1= There's so called "draw-masks" which are property-controlled switches for enabling/disabling rendering of certain scene details, including 1) scenery/terrain, 2) aircraft, 3) models, 4) clouds.This can be used for troubleshooting performance issues - you can basically toggle individual scene graphs on/off, to see if/how performance is affected.For example, if performance improves dramatically by disabling the terrain, you are mainly affected scenery complexity.Equally, disabling the (main) aircraft, will tell you if it's the complexity of the 777 3D model (cockpit). |2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=225846#p225846  | title  = <nowiki>Re: FlightGear 3.2 with B777 running extremely slow</nowiki>  | author = <nowiki>Hooray</nowiki>  | date  = Nov 29th, 2014  }}}}
Line 6: Line 9:


{{FGCquote|1= Those draw masks will not prevent  stuff from being loaded (=consuming RAM/memory), it will merely disable updates to the already loaded data. Which also applies to other stuff like aircraft.Which is why heavy aircraft like the 777-200 or the extra500 will still perform much worse than comparatively lightweight aircraft like the ufo, ogeL, santa or the default c172p (especially the 2D version is fairly lightweight).|2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=214147#p214147  | title  = <nowiki>Re: Flatland</nowiki>  | author = <nowiki>Hooray</nowiki>  | date  = Jul 5th, 2014  }}}}
{{FGCquote|1= Those draw masks will not prevent  stuff from being loaded (=consuming RAM/memory), it will merely disable updates to the already loaded data. Which also applies to other stuff like aircraft.Which is why heavy aircraft like the 777-200 or the extra500 will still perform much worse than comparatively lightweight aircraft like the ufo, ogeL, santa or the default c172p (especially the 2D version is fairly lightweight).|2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=214147#p214147  | title  = <nowiki>Re: Flatland</nowiki>  | author = <nowiki>Hooray</nowiki>  | date  = Jul 5th, 2014  }}}}
To open a property browser with the corresponding properties, use <code>--prop:browser=/sim/rendering/draw-mask</code> (can be also added to your fgfsrc file)

Navigation menu