FlightGear 2018.2: a professional 3D Flight Simulator for Haiku

FlightGear is a professional open source 3D flight simulator. You can review 3D visual world flight simulations of various countries and cities through the scenery data.

For more info on FlightGear visit:
URL: http://home.flightgear.org/

Flightgear 2018.2 build was tested on Haiku R1B1 and nightly hrev52525. I worked on porting FlightGear 2018.2 for Haiku for both 32-bit and 64-bit (GCC7+) variants. No build issues.

I reviewed the current 3D graphics capabilities and multiplayer support networking on Haiku which seem fine in comparison to BSD/Linux. What I like about Haiku is that it seems stable with most games Iā€™ve ported to it. Haiku has a cleaner approach to certain things.

Of course, modern 3D hardware accelerated video drivers for Haiku are needed Yet, knowing developers can develop, render, and port modern 3D simulations on Haiku is a great thing indeed. .

10 Likes

It would be nice - and good PR - if there was a hpkg downloadable at that site. Have you contacted the FlightGear people? Plus recipes to have it and all needed data packages in HaikuDepot for convenience.

Nice idea. though i would make it with a downloader in haiku to get the resource files. Seems like this is going to be a small-medium core with huge resources quantity to download / manage.

Good point! Maybe ask in a post-install script to download/unpack the data files in the appropriate location.

Iā€™m working on FlightGearā€™s download section for Haiku.

Haiku

  • FlightGear is available from the Haiku Ports collection as games-simulation/flightgear.
  • To install it from source, execute the following command:

# haikuporter -S flightgear --get-dependencies --no-source-package

  • Alternatively, you can install FlightGear through Haikuā€™s Haiku Depot GUI app or with the following command:

# pkgman install flightgear

FlightGear 2018.2.2 recipe and patchset:
https://github.com/kenmays/haikuports/tree/flightgear/games-simulation/flightgear

NOTE: Needs a little polish for Haiku Depot GUI/Haiku Depot Server for the displayed icon.The default web browser is WebPositive.

3 Likes

Iā€™d be tempted to keep it simple and just have the pkgman instructionsā€¦

Is there a url format for haiku that would open a packaged information in haiku depot??? That would be even better.

Nah, i would swap the order as in ā€œInstall from package distributionā€ / ā€œBuild from sourceā€.

Most things are put that way (as in binary release + build from source later). We dont know if some user may want to build from source too (for any reason).

I, too, would remove the ā€˜built from sourceā€™. Itā€™d require to have haikuporter set up and the haikuports tree cloned. Being in the standard repo and knowing that HaikuDepot is always part of Haiku, we can skip the hoops descriptions for Linux distros have to consider.

Concentrating on the ā€˜normalā€™ end user, just point out that FlightGear is available in HaikuDepot. You could point to the 32bit and 64bit pages at the Haiku Depot Server, but I donā€™t see what good thatā€™d doā€¦

All that, of course, only after you PRā€™ed your recipe and itā€™s merged. :slight_smile:

2 Likes

I see, you wrote:

It means it isnā€™t in the Depot yet. Please try to be more accurate, as one could be really dissapointed, if the provided command

not working.

You mentioned earlier, without further patching compilation will fail because OSG 3.6.3. Is it solved already?

OSG 3.6.x is not approved by FG-devs yet. Use OSG 3.4.1. I made revisions here: Branches Ā· kenmays/haikuports Ā· GitHub

Simgear/Flightgear branches are good for now.

1 Like

I love flight gear, but I gotta askā€¦ what sort of FPS are you seeing on the software render?

1 Like

We demand more info and screenshots and hype and cookies!

3 Likes

This one is great addition to Haiku software! I love playing FlightGear in Linux.

How I wishā€¦ the FlightGear port is a work in progress and sorry if this post was misleading in someone thinking ā€œeverythingā€ was working fine. I only proved we could compile FlightGear 2018.2.2 on Haiku and get it working ā€˜somewhatā€™. We have issues with WebPositive and the Haiku windowing integration with OpenSceneGraph that I hope to resolve in due time.

As for FPS and such, I know the software-rendered FPS on most 3D apps I run on Haiku is much faster than on Linux/BSD. FlightGear uses polygons/tessellation-related/shader rendering so things get slow (or buggy) without HW acceleration and usage (unless you like low resolutions/graphics detail).

Cheers thanks for clearing that up, and i do hope to see it fully live here one day soon. Thanks for doing a great job and best of luck with your porting adventure. Great stuff so far :smiley: