45
edits
(dosn't work on Rembrandt) |
(Clarified text) |
||
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. | 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. | ||
== Example == | == Example == | ||
{{Gallery | {{Gallery | ||
Line 10: | Line 10: | ||
== How to set anti-aliasing == | == How to set anti-aliasing == | ||
=== Command line === | === Command line === | ||
When starting FlightGear via the [[command line]], add the following two | 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=1 | ||
--prop:/sim/rendering/multi-samples=4 | --prop:/sim/rendering/multi-samples=4 | ||
Line 19: | Line 19: | ||
=== Rembrandt === | === Rembrandt === | ||
Antialiasing does not work with [[rembrandt]] enabled due to GLSL limitations; some graphics cards have hardware antialising 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 | 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]. | Credits: Thanks to ''fredb'' for publishing this information in the [http://forum.flightgear.org/viewtopic.php?f=5&t=10007 FlightGear forum]. |
edits