Anti-aliasing: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Clarified text)
mNo edit summary
Line 1: Line 1:
By default, [[FlightGear]] will not use [http://en.wikipedia.org/wiki/Anti-aliasing '''anti-aliasing'''] during the simulation. This results in incorrect rendering of sharp straight lines and very small objects. In order to correct this, you can apply the anti-aliasing function; however, this will slow down rendering and is not guaranteed to work on all graphics cards.
By default, [[FlightGear]] will not use '''{{Wikipedia|anti-aliasing|noicon=1}}''' during the simulation. This results in incorrect rendering of sharp straight lines and very small objects. In order to correct this, you can apply the anti-aliasing function; however, this will slow down rendering and is not guaranteed to work on all graphics cards.
== Example ==
== Example ==
{{Gallery
{{Gallery
Line 11: Line 11:
=== Command line ===
=== Command line ===
When starting FlightGear via the [[command line]], add the following two arguments:
When starting FlightGear via the [[command line]], add the following two arguments:
  --prop:/sim/rendering/multi-sample-buffers=1
  --prop:/sim/rendering/multi-sample-buffers=true
  --prop:/sim/rendering/multi-samples=4
  --prop:/sim/rendering/multi-samples=4


=== FGRun ===
=== FGRun ===
[[File:Fgrun-anti-aliasing.png|200px|thumb|right|Setting anti-aliasing in FGrun]]
[[File:Fgrun-anti-aliasing.png|thumb|Setting anti-aliasing in FGrun]]
When you use [[FGRun]], add these commands under ''Advanced... > Properties''.
When you use [[FGRun]], add these commands under <tt>Advanced > Properties</tt>.


=== Rembrandt ===
=== Rembrandt ===
Antialiasing does not work with [[rembrandt]] enabled due to GLSL limitations; some graphics cards have hardware antialising which may work.
Anti-aliasing does not work with [[Rembrandt]] enabled due to GLSL limitations, but some graphics cards have hardware anti-aliasing which may work.


== Options ==
== Options ==
If preferred, you can choose another value for the number of samples. The number has to be greater than 1. The greater the number of samples, the slower rendering will be.
If preferred, you can choose another value for the number of samples. The number has to be greater than 1. The greater the number of samples, the slower rendering will be.


Credits: Thanks to ''fredb'' for publishing this information in the [http://forum.flightgear.org/viewtopic.php?f=5&t=10007 FlightGear forum].
''Thanks to '''fredb''' for publishing this information on the [http://forum.flightgear.org/viewtopic.php?f=5&t=10007#p101676 FlightGear forum].
 
 


[[Category:FlightGear feature]]
[[Category:FlightGear feature]]


[[fr:Anti-aliasing]]
[[fr:Anti-aliasing]]

Navigation menu