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