]> git.mxchange.org Git - flightgear.git/blob - docs-mini/FlightGear-FAQ.html
For stable versions, download data tarball directly
[flightgear.git] / docs-mini / FlightGear-FAQ.html
1 <html lang="en">
2   <!-- $Id$ -->
3   <head>
4     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5     <title>FlightGear FAQ</title>
6     <style type="text/css">
7         .indent { margin-left: 2em; margin-right: 1em; }
8       </style>
9   </head>
10   <body>
11   
12     <h1 align="center">FlightGear FAQ</h1>
13     <hr noshade>
14     
15     
16     <h2>Introduction</h2>
17       <p>Welcome to the FlightGear FAQ.  Here you will find the answers to
18       some questions that are frequently asked on our mailing lists.  If
19       you have a question that is not answered here, feel free to ask
20       us on our mailing lists.  Enjoy</p>
21     
22   <hr noshade>
23     <h2>
24       <a name="toc">Table of Contents</a>
25     </h2>
26     <h4>1 -
27     <a href="#1">The FAQ</a>
28     </h4>
29     <div class="indent">1.1 -
30       <a href="#1.1">Where can I get the latest version of this FAQ?</a>
31     </div>
32     <div class="indent">1.2 -
33       <a href="#1.2">Who do I contact if I have comments about this FAQ?</a>
34     </div>
35     <div class="indent">1.3 -
36       <a href="#1.3">How old is this document?</a>
37     </div>
38     <div class="indent">1.4 -
39       <a href="#1.4">What other important documentation should I read?</a>
40     </div>
41     <br>
42     <h4>2 -
43     <a href="#2">Distribution</a>
44     </h4>
45     <div class="indent">2.1 -
46       <a href="#2.1">Where can I get FlightGear?</a>
47     </div>
48     <div class="indent">2.2 -
49       <a href="#2.2">What is the password for the FTP server?</a>
50     </div>
51     <div class="indent">2.3 -
52       <a href="#2.3">Why won't the FTP server let me in with the right login info?</a>
53     </div>
54     <div class="indent">2.4 -
55       <a href="#2.4">Where can I find the latest development source code?</a>
56     </div>
57     <div class="indent">2.5 -
58       <a href="#2.5">What is SimGear, and why do I need it?</a>
59     </div>
60     <div class="indent">2.6 -
61       <a href="#2.6">Where can I fly and where do I get the scenery?</a>
62     </div>
63     <div class="indent">2.7 -
64       <a href="#2.7">Where can I get different 3D models for my plane?</a>
65     </div>
66     <div class="indent">2.8 -
67       <a href="#2.8">How current is the data in FlightGear compared to the real world?</a>
68     </div>
69     <div class="indent">2.9 -
70       <a href="#2.9">Where is the moving map?</a>
71     </div>
72     <div class="indent">2.10 -
73       <a href="#2.10">Why don't you charge money for this?</a>
74     </div>
75     <br>
76     <h4>3 -
77     <a href="#3">Compiling</a>
78     </h4>
79     <div class="indent">3.1 -
80       <a href="#3.1">Why won't FlightGear compile?</a>
81     </div>
82     <div class="indent">3.2 -
83       <a href="#3.2">I'm using RedHat 7, and ...?</a>
84     </div>
85     <br>
86     <h4>4 -
87     <a href="#4">Configuring</a>
88     </h4>
89     <div class="indent">4.1 -
90       <a href="#4.1">How do I install new scenery?</a>
91     </div>
92     <div class="indent">4.2 -
93       <a href="#4.2">How do I setup my joystick(s)?</a>
94     </div>
95     <div class="indent">4.3 -
96       <a href="#4.3">What format should my personal .fgfsrc file be in?</a>
97     </div>
98     <br>
99     <h4>5 -
100     <a href="#5">Running</a>
101     </h4>
102     <div class="indent">5.1 -
103       <a href="#5.1">Why do I get an error loading libopenal.so.0?</a>
104     </div>
105     <div class="indent">5.2 -
106       <a href="#5.2">Why do I get "ssgInit called without a valid OpenGL context"?</a>
107     </div>
108     <div class="indent">5.3 -
109       <a href="#5.3">What happened to the panel, keyboard, etc?</a>
110     </div>
111     <div class="indent">5.4 -
112       <a href="#5.4">Why doesn't audio work properly under Irix?</a>
113     </div>
114     <div class="indent">5.5 -
115       <a href="#5.5">Why is FlightGear so slow?</a>
116     </div>
117     <div class="indent">5.7 -
118       <a href="#5.7">How do I see the frame rate?</a>
119     </div>
120     <div class="indent">5.8 -
121       <a href="#5.8">Stuck upside down after "crash"?</a>
122     </div>
123     <div class="indent">5.9 -
124       <a href="#5.9">Why does FlightGear die on startup saying "time zone reading failed"?</a>
125     </div>
126     <br>
127     <h4>6 -
128     <a href="#6">Hacking</a>
129     </h4>
130     <div class="indent">6.1 -
131       <a href="#6.1">What language is FlightGear written in?</a>
132     </div>
133     <div class="indent">6.2 -
134       <a href="#6.2">How do I design a flight dynamics model for a new aircraft?</a>
135     </div>
136     <div class="indent">6.3 -
137       <a href="#6.3">How do I import planes from Microsoft Flight Simulator?</a>
138     </div>
139     <div class="indent">6.4 -
140       <a href="#6.4">How do I import BGL scenery from Microsoft Flight Simulator?</a>
141     </div>
142     <div class="indent">6.5 -
143       <a href="#6.5">How do I design or modify a panel?</a>
144     </div>
145     <div class="indent">6.6 -
146       <a href="#6.6">How do I place objects, like buildings, into FlightGear?</a>
147     </div>
148     <div class="indent">6.7 -
149       <a href="#6.7">Where can I learn 3D programming and how do I get involved?</a>
150     </div>
151     <div class="indent">6.8 -
152       <a href="#6.8">How do I add an airport?</a>
153     </div>
154     <div class="indent">6.9 -
155       <a href="#6.9">How do I generate my own scenery?</a>
156     </div>
157     <br>
158     <h4>7 -
159     <a href="#7">Flying</a>
160     </h4>
161     <div class="indent">7.1 -
162       <a href="#7.1">Where can I learn about instrument flying and navigation?</a>
163     </div>
164     <div class="indent">7.2 -
165       <a href="#7.2">What is the difference between Aileron and Rudder?</a>
166     </div>
167     <div class="indent">7.3 -
168       <a href="#7.3">Is there support for multi-player flying?</a>
169     </div>
170     <div class="indent">7.4 -
171       <a href="#7.4">Is there support for any military scenarios like dog fighting or bomb dropping?</a>
172     </div>
173     <br>
174     <h4>8 -
175     <a href="#8">FlightGear v0.7.6</a>
176     </h4>
177     <div class="indent">8.1 -
178       <a href="#8.1">Why do I get an error in viewer.cxx about `exit' being undeclared?</a>
179     </div>
180     <br>
181
182   
183     <hr>
184     <h2>
185       <a name="1">1 -
186     The FAQ</a>
187     </h2>
188         <b>
189       <a name="1.1">1.1 -
190     <u>Where can I get the latest version of this FAQ?</u>
191       </a>
192     </b>
193         <div class="indent">
194           <p>
195           <a href="http://flightgear.org/Docs/FlightGear-FAQ.html">http://flightgear.org/Docs/FlightGear-FAQ.html</a>
196           </p>
197         </div>
198       
199         <b>
200       <a name="1.2">1.2 -
201     <u>Who do I contact if I have comments about this FAQ?</u>
202       </a>
203     </b>
204         <div class="indent">
205           <p>First contact the author.  If you get no response, send your
206           comments to the FlightGear-Users mailing list.</p>
207         </div>
208       
209         <b>
210       <a name="1.3">1.3 -
211     <u>How old is this document?</u>
212       </a>
213     </b>
214         <div class="indent">
215           <p>See the <i>About This Document</i> section at the end of the FAQ.</p>
216         </div>
217       
218         <b>
219       <a name="1.4">1.4 -
220     <u>What other important documentation should I read?</u>
221       </a>
222     </b>
223         <div class="indent">
224           <p>Most FlightGear documentation is linked to from
225           <a href="http://flightgear.org/Docs/">http://flightgear.org/Docs/</a>.
226           Definitely check out the <i>FlightGear Installation and Getting
227           Started</i> document available from the aforementioned location.</p>
228           <p>Also see the <code>FlightGear/docs-mini/</code> directory in the
229           source distribution for various other helpful documents.</p>
230         </div>
231       
232
233     <hr>
234     <h2>
235       <a name="2">2 -
236     Distribution</a>
237     </h2>
238         <b>
239       <a name="2.1">2.1 -
240     <u>Where can I get FlightGear?</u>
241       </a>
242     </b>
243         <div class="indent">
244           <p>The official download page is 
245           <a href="http://flightgear.org/Downloads/">http://flightgear.org/Downloads/</a>.
246           Source code is our primary form of distribution, but precompiled
247           binaries are available for Windows and SGI IRIX.</p>
248           <p>Alternatively, FlightGear is packaged for Linux by SuSE, Debian
249           (sid), and Mandrake (Cooker) and can be directly installed through
250           those distributions.</p>
251         </div>
252       
253         <b>
254       <a name="2.2">2.2 -
255     <u>What is the password for the FTP server?</u>
256       </a>
257     </b>
258         <div class="indent">
259           <p>The FTP server uses standard anonymous login procedures.  Login
260           with the username "anonymous" and use your email address as the
261           password.  Most FTP clients and web browsers will do this
262           automatically for you.</p>
263         </div>
264       
265         <b>
266       <a name="2.3">2.3 -
267     <u>Why won't the FTP server let me in with the right login info?</u>
268       </a>
269     </b>
270         <div class="indent">
271           <p>This generally means that the server is at it's capacity.  You
272           should receive a message saying such, but your FTP client may be
273           hiding it from you.  Your options are to keep trying until a slot
274           opens up or try connecting to one of our <i>FTP</i> mirrors listed at
275           <a href="http://flightgear.org/mirrors.html">http://flightgear.org/mirrors.html</a>.</p>
276         </div>
277       
278         <b>
279       <a name="2.4">2.4 -
280     <u>Where can I find the latest development source code?</u>
281       </a>
282     </b>
283         <div class="indent">
284           <p>The latest development code is available for everyone through our
285           git repository.  See
286           <a href="http://wiki.flightgear.org/FlightGear_and_Git">http://wiki.flightgear.org/FlightGear_and_Git</a> for details.
287           </p>
288           <p>Otherwise, you can get relatively up-to-date snapshots of the
289           development tree at
290           <a href="http://flightgear.simpits.org:8080/">http://flightgear.simpits.org:8080/</a>, which are recompiled at every git commit.
291           </p>
292         </div>
293       
294         <b>
295       <a name="2.5">2.5 -
296     <u>What is SimGear, and why do I need it?</u>
297       </a>
298     </b>
299         <div class="indent">
300           <p>SimGear is a library of supporting code.  SimGear is only needed
301           if you plan on compiling FlightGear -- it is not needed to run
302           precompiled binaries.  For more information see
303           <a href="http://www.simgear.org/">http://www.simgear.org/</a>.</p>
304         </div>
305       
306         <b>
307       <a name="2.6">2.6 -
308     <u>Where can I fly and where do I get the scenery?</u>
309       </a>
310     </b>
311         <div class="indent">
312           <p>While the base package only comes with scenery for the San Francisco
313           Bay area, you can currently fly just about anywhere in the world.
314           See the <i>"Additional Scenery"</i> section of
315           <a href="http://flightgear.org/Downloads/">http://flightgear.org/Downloads/</a>
316           for more information or go directly to our graphical downloader at
317           <a href="http://flightgear.org/Downloads/world-scenery.html">http://flightgear.org/Downloads/world-scenery.html</a>.
318           </p>
319           <p>Also visit our <i>"Places to Fly"</i> section of the website
320           (<a href="http://flightgear.org/Places/">http://flightgear.org/Places/</a>)
321           for some help navigating to some awesome locations.</p>
322         </div>
323       
324         <b>
325       <a name="2.7">2.7 -
326     <u>Where can I get different 3D models for my plane?</u>
327       </a>
328     </b>
329         <div class="indent">
330           <p>While we are working toward building our own 3D models, we have
331           been given permission by several people to convert their models (which
332           where originally intended for use with <i>Microsoft Flight
333           Simulator</i>) to use with FlightGear.</p>
334         </div>
335       
336         <b>
337       <a name="2.8">2.8 -
338     <u>How current is the data in FlightGear compared to the real world?</u>
339       </a>
340     </b>
341         <div class="indent">
342           <p>We use the same navaid and airport dataset that <i>X-Plane</i> uses.  The
343           current dataset can be found in the <code>$FGROOT/Navaids/</code> and
344           <code>$FGROOT/Airports/</code> directories.  If you have updates or
345           corrections to the dataset, see
346           <a href="http://flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html">http://flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html</a>
347           for instructions on contacting the database maintainer.</p>
348         </div>
349       
350         <b>
351       <a name="2.9">2.9 -
352     <u>Where is the moving map?</u>
353       </a>
354     </b>
355         <div class="indent">
356           <p>A popular moving map display is avaliable under a separate
357           project called <i>Atlas</i>.  See
358           <a href="http://atlas.sf.net/">http://atlas.sf.net/</a>.</p>
359         </div>
360       
361         <b>
362       <a name="2.10">2.10 -
363     <u>Why don't you charge money for this?</u>
364       </a>
365     </b>
366         <div class="indent">
367           <p>We could do that, since the initial download is about 25
368           megabytes.  Especially for people who have to pay per-minute charges
369           for internet access, buying a CD is a convenient and possibly
370           cheaper option.  Although we offer that service (see the website), we
371           encourage other groups to redistribute it for their users, especially
372           within an operating system distribution which makes installation even
373           faster and easier for new users.</p>
374         </div>
375       
376
377     <hr>
378     <h2>
379       <a name="3">3 -
380     Compiling</a>
381     </h2>
382         <b>
383       <a name="3.1">3.1 -
384     <u>Why won't FlightGear compile?</u>
385       </a>
386     </b>
387         <div class="indent">
388           <p>Well, that depends.  First make sure you are using the appropriate
389           versions of FlightGear, SimGear, plib, zlib.  If any of
390           the packages are out of sync with the others, compilation may fail.</p>
391           <p>The FlightGear <i>Downloads</i> page
392           (<a href="http://flightgear.org/Downloads/">http://flightgear.org/Downloads/</a>)
393           should tell you what versions you need if you are trying to compile
394           the latest stable release.  If you are using a development snapshot,
395           make sure all three packages are up-to-date.</p>
396           <p>Also ensure that you have some implementation of OpenGL with glut
397           support with the appropriate header files.  Linux users with nVidia
398           cards should make sure you have the latest drivers from nVidia.  Other
399           Linux users make sure you have Mesa3D
400           (<a href="http://mesa3d.org/">http://mesa3d.org/</a>)
401           and your X server installed correctly.  Windows users see
402           <a href="http://www.x-plane.com/SYSREQ/v5ibm.html">http://www.x-plane.com/SYSREQ/v5ibm.html</a>,
403           and Mac users see
404           <a href="http://www.x-plane.com/SYSREQ/v5mac.html">http://www.x-plane.com/SYSREQ/v5mac.html</a>.
405           </p>
406           <p>If your problems persist, subscribe to our FlightGear-Users mailing
407           list and let us know what problem you're having.  See
408           <a href="http://flightgear.org/mail.html">http://flightgear.org/mail.html</a> for help with this.
409           </p>
410         </div>
411       
412         <b>
413       <a name="3.2">3.2 -
414     <u>I'm using RedHat 7, and ...?</u>
415       </a>
416     </b>
417         <div class="indent">
418           <p>Update your gcc packages.  See
419           <a href="http://redhat.com/errata/">http://redhat.com/errata/</a>
420           to fix it and
421           <a href="http://www.gnu.org/software/gcc/gcc-2.96.html">http://www.gnu.org/software/gcc/gcc-2.96.html</a>
422           for an explanation why.</p>
423         </div>
424       
425
426     <hr>
427     <h2>
428       <a name="4">4 -
429     Configuring</a>
430     </h2>
431         <b>
432       <a name="4.1">4.1 -
433     <u>How do I install new scenery?</u>
434       </a>
435     </b>
436         <div class="indent">
437           <p>The scenery archive files (ie. w100n30.tar.gz) should be untarred
438           into the <code>Scenery/Terrain</code> directory in your
439           <code>$FG_ROOT</code>.</p>
440         </div>
441       
442         <b>
443       <a name="4.2">4.2 -
444     <u>How do I setup my joystick(s)?</u>
445       </a>
446     </b>
447         <div class="indent">
448           <p>FlightGear should come with a helpful program called <i>`fgjs`</i>
449           that can help configure your joystick.  Run <i>`fgjs`</i> and then
450           copy the dot file it created into your home directory or add its
451           contents to your existing rc file.</p>
452           <p>Also, see the README.Joystick file located in the
453           <code>FlightGear/docs-mini/</code> directory of the source
454           distribution.  This document is mirrored at
455           <a href="http://rockfish.net/fg/README.Joystick">http://rockfish.net/fg/README.Joystick</a>.
456           </p>
457         </div>
458       
459         <b>
460       <a name="4.3">4.3 -
461     <u>What format should my personal .fgfsrc file be in?</u>
462       </a>
463     </b>
464         <div class="indent">
465           <p>Your <code>.fgfsrc</code> file should simply be a list of
466           command-line options with one option per line.  The file is <b>not</b>
467           an XML file.</p>
468           <p>If you would rather use an XML configuration file, you can add
469           something like the following in your <code>.fgfsrc</code>
470       </p>
471           <p>
472         <code>--config=/path/to/my/config.xml</code>
473       </p>
474           <p>Almost every option corresponds to a property, so you can choose
475           to use whichever method best suits your needs.</p>
476         </div>
477       
478
479     <hr>
480     <h2>
481       <a name="5">5 -
482     Running</a>
483     </h2>
484         <b>
485       <a name="5.1">5.1 -
486     <u>Why do I get an error loading libopenal.so.0?</u>
487       </a>
488     </b>
489         <div class="indent">
490           <p>With the default installation, libopenal.so.0 is installed into
491           <code>/usr/local/lib</code>.  You need to ensure that that path is
492           listed in <code>/etc/ld.so.conf</code>, then run <i>`ldconfig`</i>as
493           root.</p>
494         </div>
495       
496         <b>
497       <a name="5.2">5.2 -
498     <u>Why do I get "ssgInit called without a valid OpenGL context"?</u>
499       </a>
500     </b>
501         <div class="indent">
502           <p>In short, your GL libraries are broken.  So far only Red Hat 7.x
503           users have experienced this (see
504           <a href="http://www.redhat.com/bugzilla/show_bug.cgi?id=18867">http://www.redhat.com/bugzilla/show_bug.cgi?id=18867</a>).
505           The only solutions are possibly complicated ones: you can either
506           change distributions (most of us prefer Debian) or upgrade/downgrade
507           your Mesa libs.</p>
508           <p>
509         <i>
510           <u>Why do some other GL applications work though?</u>
511         </i>  Well,
512           Steve Baker (Mr. PLIB) has explained this on the plib-users list
513           (<a href="http://www.geocrawler.com/lists/3/SourceForge/1867/0/6470648/">http://www.geocrawler.com/lists/3/SourceForge/1867/0/6470648/</a>).
514           </p>
515         </div>
516       
517         <b>
518       <a name="5.3">5.3 -
519     <u>What happened to the panel, keyboard, etc?</u>
520       </a>
521     </b>
522         <div class="indent">
523           <p>The problem is almost certainly that your base package is out of
524           sync with FlightGear.  Many configurable parts of FlightGear are
525           defined in XML files contained in the base package.</p>
526         </div>
527       
528         <b>
529       <a name="5.4">5.4 -
530     <u>Why doesn't audio work properly under Irix?</u>
531       </a>
532     </b>
533         <div class="indent">
534           <p>FlightGear (as of June 2001) uses the Portable Libraries (PLIB)
535           for playing audio. The audio queue implementation of PLIB is far from
536           optimal (in fact it's just wrong).  This seems to work on other
537           platforms quite well, but Irix expects things to be programmed
538           properly.</p>
539           <p>There has been discussion about using OpenAL
540           (<a href="http://www.openal.org/">http://www.openal.org/</a>)
541           for the next release of both PLIB and FlightGear.  Tests show that
542           the OpenAL audio implementation does the job right, meaning that
543           these audio problems should be gone by then. In the mean time it is
544           best to disable audio on Irix completely (by adding --disable-sound
545           either on the command line or to your <code>$HOME/.fgfsrc</code>
546           file).</p>
547         </div>
548       
549         <b>
550       <a name="5.5">5.5 -
551     <u>Why is FlightGear so slow?</u>
552       </a>
553     </b>
554         <div class="indent">
555           <p>FlightGear supports hardware acceleration, but it seems not to be
556           activated.  Make sure you have OpenGL libraries installed and
557           configured properly and make sure you have the latest drivers for your
558           video card.</p>
559           <p>
560         <b>Linux users</b>:  If you are an nVidia user, follow their
561           directions on getting your card working.  For most other users, make
562           sure Mesa is installed property and ensure that you have the
563           appropriate kernel device drivers for your card.  Most people (and
564           distributions) use modules for their video card device drivers; run
565           <i>`lsmod`</i> as root to see what modules are loaded.  You should also
566           make sure that you are loading the appropriate modules in your
567           XF86Config and that your video device section is correct.  Now try
568           running an OpenGL application (other than FlightGear) to see how it
569           performs.  You can try the <i>gears</i> demo from Mesa or something
570           like <i>Quake3</i>.</p>
571         </div>
572       
573         <b>
574       <a name="5.7">5.7 -
575     <u>How do I see the frame rate?</u>
576       </a>
577     </b>
578         <div class="indent">
579           <p>There are two ways.  One way is to hide the panel without the HUD
580           showing.  To hide the panel, use <i>Shift+P</i>; To make the HUD
581           disappear, use <i>H</i>.  The second way is to use the alternative
582           HUD by <i>Shift+I</i> (Use <i>I</i> to switch back).</p>
583         </div>
584       
585         <b>
586       <a name="5.8">5.8 -
587     <u>Stuck upside down after "crash"?</u>
588       </a>
589     </b>
590         <div class="indent">
591           <p>In his infinite wisdom the FlightGear Grand Master decided that
592           planes were to valuable to allow them to be destroyed by novice pilots
593           who seemed to crash a lot.  The fact that nobody has bothered to model
594           crashes may have something to do with it too.  :-)</p>
595           <p>The result of this as you have noticed is that with a little
596           practice an ingenuity you can trim the ship to fly inverted along the
597           ground.</p>
598           <p>The quick answer is to hit Ctrl+U (with the default key bindings)
599           to warp the plane up 1000ft.</p>
600           <p>For the stubborn people out there:  The trick to learn is to roll
601           back to normal (non inverted) do this by nursing the elevator to get
602           to about 500 feet or so and use the ailerons to snap roll 180*.
603           This is all good avionics except for the plane not destroying
604           itself.  Remember the controls work in reverse when you are inverted
605           and keep that airspeed up!!!</p>
606         </div>
607       
608         <b>
609       <a name="5.9">5.9 -
610     <u>Why does FlightGear die on startup saying "time zone reading failed"?</u>
611       </a>
612     </b>
613         <div class="indent">
614           <p>This is probably caused by a line-ending problem in the timezone
615           files.  Win32 users can resolve the problem by downloading a DOS to
616           UNIX conversion utility available at
617           <a href="http://www.nottingham.ac.uk/~eazdluf/d2u.zip">http://www.nottingham.ac.uk/~eazdluf/d2u.zip</a>.
618           Run as `<i>d2u *.tab</i>` from within the timezone directory to fix
619           your timezone files.</p>
620         </div>
621       
622
623     <hr>
624     <h2>
625       <a name="6">6 -
626     Hacking</a>
627     </h2>
628         <b>
629       <a name="6.1">6.1 -
630     <u>What language is FlightGear written in?</u>
631       </a>
632     </b>
633         <div class="indent">
634           <p>Mostly C++ with some supporting C code that's primary contained
635           within SimGear.</p>
636         </div>
637       
638         <b>
639       <a name="6.2">6.2 -
640     <u>How do I design a flight dynamics model for a new aircraft?</u>
641       </a>
642     </b>
643         <div class="indent">
644           <p>To define an aircraft for FlightGear's primary FDM (JSBSIM),
645           see <a href="http://jsbsim.sf.net/">http://jsbsim.sf.net/</a>.</p>
646           <p>If you want a simpler FDM to work with, try your hand at YASim,
647           an alternative FDM.  For an guide on creating a YASim aircraft,
648           look in the FlightGear base package for
649           <code>Aircraft-yasim/README.yasim</code>.</p>
650         </div>
651       
652         <b>
653       <a name="6.3">6.3 -
654     <u>How do I import planes from Microsoft Flight Simulator?</u>
655       </a>
656     </b>
657         <div class="indent">
658           <p>You can import the 3D model and textures, but the flight dynamics
659           (the .AIR file) must be completely redone for FlightGear.  </p>
660           <p>If you wish to import a model made with gmax, you will need to
661           convert it to .MDL format using <i>Microsoft's MakeMDL SDK</i> which
662           is available at
663           <a href="http://zone.msn.com/flightsim/FS02DevDeskSDK08.asp">http://zone.msn.com/flightsim/FS02DevDeskSDK08.asp</a>.
664           </p>
665         </div>
666       
667         <b>
668       <a name="6.4">6.4 -
669     <u>How do I import BGL scenery from Microsoft Flight Simulator?</u>
670       </a>
671     </b>
672         <div class="indent">
673           <p>See
674           <a href="http://chiangt.virtualave.net/BGL/bgl_index.html">http://chiangt.virtualave.net/BGL/bgl_index.html</a>.
675           </p>
676         </div>
677       
678         <b>
679       <a name="6.5">6.5 -
680     <u>How do I design or modify a panel?</u>
681       </a>
682     </b>
683         <div class="indent">
684           <p>See the README.xmlpanel file located in the
685           <code>FlightGear/docs-mini/</code> directory of the source
686           distribution.  This document is mirrored at
687           <a href="http://rockfish.net/fg/README.xmlpanel">http://rockfish.net/fg/README.xmlpanel</a>.
688           </p>
689         </div>
690       
691         <b>
692       <a name="6.6">6.6 -
693     <u>How do I place objects, like buildings, into FlightGear?</u>
694       </a>
695     </b>
696         <div class="indent">
697           <p>First, ensure that you have v0.7.7 or later, the scenery files
698           where you plan to place the object, the actual model, and the
699           longitude and latitude where you plan to place the object.</p>
700           <p>Now get the altitude for your point.  If you don't want to
701           calculate this yourself, start FlightGear at your location and take
702           note of the altitude.  Here's an example command:</p>
703           <p>
704         <code>fgfs --lat=45.50 --lon=-75.73 2&gt;&amp;1 | tee fgfs.log</code>
705       </p>
706           <p>The altitude is probably in feet, so divide the starting altitude
707           by 3.28.</p>
708           <p>Search the output log file for the first occurrence of the string
709           "Loading tile" and take note of the filename.  In the above example,
710           the output line looks like:</p>
711           <p>
712         <code>Loading tile /usr/local/Scenery/w080n40/w076n45/1712601</code>
713       </p>
714           <p>Copy a 3D model in a format that Plib understands to the same
715           directory as the tile file.  Edit the text file in that directory
716           consisting of the tile name with the extension ".stg".  The file will
717           already exist if there is an airport on the tile; otherwise, you can
718           create it from scratch.  In our example, the filename is:</p>
719           <p>
720         <code>/usr/local/Scenery/w080n40/w076n45/1712601.stg</code>
721       </p>
722           <p>At the end of the file, add a new entry for your object,
723           consisting of the word "OBJECT_STATIC" followed by the model name,
724           the longitude in degrees, the latitude in degrees, the altitude in
725           meters, and the heading in degrees.  In our example the line looks
726           like:</p>
727           <p>
728         <code>OBJECT_STATIC Towerax.ac -75.73 45.40 60 0</code>
729       </p>
730           <p>Save the changes to the .stg file, restart FlightGear, and
731           enjoy.</p>
732           <p>NOTE: The above information was taken from the following mailing
733           list post:
734           <a href="http://www.geocrawler.com/archives/3/11854/2001/6/0/5991409/">http://www.geocrawler.com/archives/3/11854/2001/6/0/5991409/</a>.
735           See that page if this one doesn't make sense.</p>
736           <p>An alternative approach using PPE is described at
737           <a href="http://mail.flightgear.org/pipermail/flightgear-devel/2001-December/002239.html">http://mail.flightgear.org/pipermail/flightgear-devel/2001-December/002239.html</a>
738           by Norman Vine.</p>
739         </div>
740       
741         <b>
742       <a name="6.7">6.7 -
743     <u>Where can I learn 3D programming and how do I get involved?</u>
744       </a>
745     </b>
746         <div class="indent">
747           <p>Contributing to the 2D panel doesn't require any coding at all,
748           just a minimal knowledge of XML syntax (i.e. five minutes' worth)
749           and good skills with drawing and/or paint programs.  Every instrument
750           on the current panel, with the partial exception of the magnetic
751           compass, is defined entirely in XML with no custom C++  code.  If
752           you want to get started, take a look at John Check's excellent intro
753           (<a href="http://rockfish.net/fg/README.xmlpanel">http://rockfish.net/fg/README.xmlpanel</a>).
754           </p>
755           <p>Likewise, if you want to create a 3D cockpit for FlightGear, or to
756           create buildings, external aircraft models, etc., your help is
757           *desperately* needed.  The only rule is to go easy on the triangles
758           -- a model with 50,000 triangles probably won't be usable in
759           FlightGear, and one with 5,000 triangles, only marginally.  If you
760           can design a nice 3D cockpit interior for a Cessna 172 (for example)
761           in a 3D design program such as ac3D or ppe, we have coders who will
762           be happy to add the support code in the C++.</p>
763           <p>If, on the other hand, you really want to get your hands dirty
764           with C++ coding, you'll have to buy a good OpenGL book eventually.
765           However, FlightGear uses a high-level library, plib, that hides most 
766           of the details of OpenGL.  To get started with 3D C++ coding, you
767           can take a look at the plib documentation and learn only as much
768           OpenGL as you need, when you need it.</p>
769         </div>
770       
771         <b>
772       <a name="6.8">6.8 -
773     <u>How do I add an airport?</u>
774       </a>
775     </b>
776         <div class="indent">
777           <p>You can add your airport to the
778           <code>$FGROOT/Airports/default.apt.gz</code> file, but to get the
779           airport to show up visually, you will have to rebuild the scenery
780           around the airport.  The format of the default.apt file is
781           documented at
782           <a href="http://flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html">http://flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html</a>.</p>
783         </div>
784       
785         <b>
786       <a name="6.9">6.9 -
787     <u>How do I generate my own scenery?</u>
788       </a>
789     </b>
790         <div class="indent">
791           <p>Yes, though it can be a difficult task.  FlightGear's scenery
792           generation is handled by a sister project, TerraGear.  For more
793           details, see
794           <a href="http://terragear.org/">http://terragear.org/</a>.</p>
795         </div>
796       
797
798     <hr>
799     <h2>
800       <a name="7">7 -
801     Flying</a>
802     </h2>
803         <b>
804       <a name="7.1">7.1 -
805     <u>Where can I learn about instrument flying and navigation?</u>
806       </a>
807     </b>
808         <div class="indent">
809           <p>
810           <a href="http://www.navfltsm.addr.com/">http://www.navfltsm.addr.com/</a>
811           is a very good site for learning techniques for navigation.  Also see
812           <a href="http://www.monmouth.com/~jsd/how/">http://www.monmouth.com/~jsd/how/</a>.
813           </p>
814         </div>
815       
816         <b>
817       <a name="7.2">7.2 -
818     <u>What is the difference between Aileron and Rudder?</u>
819       </a>
820     </b>
821         <div class="indent">
822           <p>There is a bit of info on aileron vs. rudder here:
823           <a href="http://www.monmouth.com/~jsd/how/">http://www.monmouth.com/~jsd/how/</a>.
824           </p>
825         </div>
826       
827         <b>
828       <a name="7.3">7.3 -
829     <u>Is there support for multi-player flying?</u>
830       </a>
831     </b>
832         <div class="indent">
833           <p>We have an initial stab at this that is incomplete and only seems
834           to work under Linux.  We'd love to find someone to pick up the
835           slack here and develop this further.  Specifically, plib now has
836           some low level networking support for mult-player games.  It would
837           also be nice to develop support for the DIS protocol.</p>
838         </div>
839       
840         <b>
841       <a name="7.4">7.4 -
842     <u>Is there support for any military scenarios like dog fighting or bomb dropping?</u>
843       </a>
844     </b>
845         <div class="indent">
846           <p>No, not at this time.  Most of our developers are primarily
847           interested and focused on civilian aviation.  We aren't explicitly
848           excluding these features -- we just haven't had anyone who seriously
849           wanted to develop these areas.</p>
850         </div>
851       
852
853     <hr>
854     <h2>
855       <a name="8">8 -
856     FlightGear v0.7.6</a>
857     </h2>
858         <b>
859       <a name="8.1">8.1 -
860     <u>Why do I get an error in viewer.cxx about `exit' being undeclared?</u>
861       </a>
862     </b>
863         <div class="indent">
864           <p>This error cropped up after the release of v0.7.6.  To fix the
865           problem, add "<code>#include &lt;stdlib.h&gt;</code>" to the top of viewer.cxx.</p>
866         </div>
867       
868
869   
870 <hr noshade>
871     <a name="about">
872       <h2>About This Document</h2>
873     </a>
874     <b>FlightGear FAQ</b>
875     <br>$Revision$<br>$Date$<br>
876     <p>
877       <small>
878         This document generated from XML using
879         <a href="http://gingerall.com/charlie/ga/xml/p_sab.xml">Sablotron</a>.
880       </small>
881     </p>
882   </body>
883   <!-- vim: set ts=2 et nowrap: -->
884 </html>