Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Anti-aliasing

From FlightGear wiki
Revision as of 18:10, 19 December 2010 by D-79 (Talk | contribs) (Created page with '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 li…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

By default, FlightGear will not use anti-aliasing during the simulation. This results in incorrect rendering of sharp straight lines and very small pbjects. In order to correct this, you can apply the anti-aliasing function.

Example

Left: Anti-aliasing disabled

Right: Anti-aliasing enabled

Anti-aliasing disabled Anti-aliasing enabled

How to set anti-aliasing

Command line

When starting FlightGear using the command line, add the following two commands:

--prop:/sim/rendering/multi-sample-buffers=true

--prop:/sim/rendering/multi-samples=4

FGrun

Setting anti-aliasing in FGrun
When you use FGrun, add these commands under Advanced... > Properties.

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 greater will be a possible drop in framerate (frames per second).

Credits: Thanks to fredb for publishing this information in the FlightGear forum.