Board index FlightGear Development Aircraft

FSX Aircraft Convented to FlightGear?

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

FSX Aircraft Convented to FlightGear?

Postby FighterAce » Mon Oct 09, 2017 1:09 pm

I was browsing the web, and I stumbled upon this page:https://flyawaysimulation.com/news/4571/, which happened to be a review of FlightGear. I scrolled dow a few times, and came to this line: "Aircraft can be imported from Microsoft Flight Simulator by utilizing the 3-D Convert program which converts the MSFS 3-D model to the FlightGear system. Although the models can be imported, the flight dynamics cannot-- they must be created from scratch for FlightGear." Is this really possible? Thanks!,

-FighterAce
FighterAce
 
Posts: 187
Joined: Wed Mar 22, 2017 8:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: FSX Aircraft Convented to FlightGear?

Postby StuartC » Mon Oct 09, 2017 1:27 pm

yes and its a pain in the arse to do. We have done it a few times and its never easy.
StuartC
 
Posts: 2707
Joined: Fri Jun 18, 2010 8:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2018.3.2
OS: W10 64 bit

Re: FSX Aircraft Convented to FlightGear?

Postby Hooray » Mon Oct 09, 2017 8:07 pm

Besides, it's usually not just not feasible due to technical/conversion issues, but also for legal ones.
Speaking in general, even under "perfect circumstances", you will usually only be able to end up with a severely crippled version of the original 3D model, often lacking features/details found in the original model - and none of the effects/shader or animation stuff maps nicely to the way FlightGear needs things done (FDM specifics, Nasal scripting, the property tree, fgcommands etc).
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11317
Joined: Tue Mar 25, 2008 8:40 am

Re: FSX Aircraft Convented to FlightGear?

Postby Richard » Mon Oct 09, 2017 8:15 pm

FighterAce wrote in Mon Oct 09, 2017 1:09 pm:... 3-D Convert program which converts the MSFS 3-D model to the FlightGear system.


I don't know of the 3-D convert that they speak of.

However if there was actually a decent supply of genuinely free[1] FSX models I'm fairly sure that I could write a complete converter[2] based on what I've seen in terms of documentation of the formats involved, including the FDM[3], animations etc.

However there isn't a enough models that allow this to make the investment in time worthwhile.

[1] most of the freeware ones have terms that explicitly deny reuse, especially under any sort of sensible GPL/CC licence.
[2] ideally the source files, but nobody ever publishes these so almost certainly it would have to use the run time models.
[3] Probably would still have poor flying qualities.
Richard
 
Posts: 693
Joined: Sun Nov 02, 2014 10:17 pm
Version: Git
OS: Win10

Re: FSX Aircraft Convented to FlightGear?

Postby Hooray » Mon Oct 09, 2017 8:21 pm

I think Melchior Franz (former FG core dev and major fgdata/Nasal contributor) actually once came up with some kind of modified Blender export plugin (using Python IIRC) applying his intimate knowledge of Nasal/FlightGear internals to make things work - still, it's a huge undertaking and not to be underestimated - i.e. there is usually no 1:1 mapping, just like code generation by a compiler is not a 1:1 process either.

Besides, more and more of our workflows and processes are becoming pretty FlightGear specific - especially in the MFD/Canvas department (think cockpit/avionics) - the kind of APIs we have evolved over the last couple of years have no clear mapping outside fgfs, e.g. imagine finding a cockpit with a G1000-equivalent device, we cannot simply "map" such stuff to an existing API or subsystem - just like it's not feasible to "run" fgfs aircraft outside the fgfs environment - or even just "fgtape" files.

YMMV obviously, but usually this sort of thing makes little sense (if any at all)
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11317
Joined: Tue Mar 25, 2008 8:40 am

Re: FSX Aircraft Convented to FlightGear?

Postby FighterAce » Mon Oct 09, 2017 8:44 pm

OK, thanks for all the info!
FighterAce
 
Posts: 187
Joined: Wed Mar 22, 2017 8:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: FSX Aircraft Convented to FlightGear?

Postby StuartC » Mon Oct 09, 2017 9:32 pm

you can use modelconverter-x to convert the 3d model to something you can work with but expect things to be displaced or lost and it can be a lot of work just to get a useable model. Everything else though, you need to start from scratch using FG native stuff.
StuartC
 
Posts: 2707
Joined: Fri Jun 18, 2010 8:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2018.3.2
OS: W10 64 bit

Re: FSX Aircraft Convented to FlightGear?

Postby Octal450 » Mon Oct 09, 2017 10:20 pm

You would have to rewrite the FDM, Sounds, Instruments, and all Systems.

Kind Regards,
Josh
Octal450

FGFS Aircraft Developer
Lead Developer at Immersive Design Group (Join our Discord!)
Download High Quality Aircraft from Octal450 Hangar
Dream no small dream; it lacks magic. Dream large. Then make the dream real. - Donald Douglas
User avatar
Octal450
 
Posts: 4143
Joined: Tue Oct 06, 2015 12:51 pm
Location: A far corner of my room
Callsign: WTF450/Octal
Version: 2018.3.2
OS: Windows 10 x64

Re: FSX Aircraft Convented to FlightGear?

Postby japanair772 » Tue Oct 10, 2017 2:07 am

StuartC wrote in Mon Oct 09, 2017 1:27 pm:yes and its a pain in the arse to do. We have done it a few times and it's never easy.

What aircraft he you did it with?
Thanks!
japanair772
 
Posts: 197
Joined: Sun Jun 04, 2017 6:43 am

Re: FSX Aircraft Convented to FlightGear?

Postby StuartC » Tue Oct 10, 2017 7:48 am

The Merlin is conversion. Got a couple of others in the works as well.
StuartC
 
Posts: 2707
Joined: Fri Jun 18, 2010 8:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2018.3.2
OS: W10 64 bit

Re: FSX Aircraft Convented to FlightGear?

Postby CaptB » Tue Oct 10, 2017 8:37 am

Instead of converting aircraft, it's better to try and convince the author to release an .ac of the original model under GPL, essentially having a dual license scenario and rework it from there.
CaptB
 
Posts: 516
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64

Re: FSX Aircraft Convented to FlightGear?

Postby StuartC » Tue Oct 10, 2017 10:09 am

I have no issues releasing it under CC if that's whats required.
StuartC
 
Posts: 2707
Joined: Fri Jun 18, 2010 8:18 pm
Location: Arse end of the Universe
Callsign: WF01
Version: 2018.3.2
OS: W10 64 bit


Return to Aircraft

Who is online

Users browsing this forum: Google [Bot] and 1 guest