A new Flight Simulator

Talking about the core development, vent steam ... censoring free but no guarantee, "they" will listen.
D-73
Posts: 31
Joined: Thu Sep 17, 2015 9:33 pm

Re: A new Flight Simulator

Postby D-73 » Sun Mar 03, 2019 11:07 am

Compared to X-Plane, FSX and P3D, at least FG has had a first class script language built in for 16 years; Nasal isn't that hard to learn or understand to do the basics; and you can get a flying model with no Nasal code at all as most of the model is in declarative XML.

If we rebuilt FG then LUA is maybe a better choice; but remember that every cycle spent processing a scripting language is going to impact the frame rate, even if you had full multi-threading.


Thanx for the info. Yes, i can see that there are many things to consider. Will check out the links. But im just not gonna learn NASAL for single application use, or try any more blender exports.

For any projects i will work on, i want open source all the way.

Richard
Posts: 114
Joined: Sun Sep 11, 2016 5:57 pm

Re: A new Flight Simulator

Postby Richard » Sun Mar 03, 2019 2:39 pm

As I said there is help available if you ask; if you send me a .blend I'll make an .ac3d for you; and a video of how I did this so you can see what has to be done.

It is entirely possible to do this with only opensource; the .ac3d format is documented and supported in OSG; you don't need to use AC3d to produce these models. Getting the blender export right is really a case of knowing what to do and what not to do.

I'm (obviously) a big fan of using the best opensource tools available, but I do also have a few paid for tools that are worth every penny, some I use for FG but others are just for paid work.

However I wish you well in whatever you decide to do; and if it isn't making FG models please post any blends somewhere and at least give someone else the chance to pick up any model improvements.

D-73
Posts: 31
Joined: Thu Sep 17, 2015 9:33 pm

Re: A new Flight Simulator

Postby D-73 » Mon Mar 04, 2019 9:55 am

Thanx for that. I will keep that in mind.

User avatar
LesterBoffo
Posts: 790
Joined: Tue Sep 15, 2015 3:58 am
Location: Beautiful sunny, KOTH

Re: A new Flight Simulator

Postby LesterBoffo » Tue Mar 05, 2019 1:40 am

I recall that what killed Targetware 2 was the LUA script learning process, as was the change from multiple 3D formats to Collada.

All because the program didn't have a sun light point and the water wasn't shiny enough. it was excellent in other ways including a simple and easily text editable ASCII FM, weapons and damage modeling.

Amazing what over 10 years time has brought on in it's stead.

bell_pilot
Posts: 55
Joined: Sun Feb 07, 2021 2:53 pm

Re: A new Flight Simulator

Postby bell_pilot » Mon Feb 08, 2021 8:25 am

A very old topic but i would like to share my python experience about simulations.
I agree with python's simplicity. But it may be too slow to be the core of a simulation. C and C++ are most suitable languages for high performance complex solutions. As i know, nasal is based on C. So if I were on you, I wouldnt prefer python.

But instead of creating a new simulation, implementing python to the FG as an alternative for Nasal would be easier.

I can help for migrating from nasal to python.
We will just translate nasal libs to python and someone else gonna teach python language to the FG.

Ps: It is not an easy process. I just wrote the overall concept.
Real Helicopter Pilot 1500+ flight hours
AB206,UH-1H,AH-1W
MSc. Aerospace Engineering

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: A new Flight Simulator

Postby IAHM-COL » Mon Feb 08, 2021 10:17 pm

some efforts have already been done to make pythonic script exposed to FG.
I am not fully sure of the status of this, but some has happend.

FWIW, in my opinion any effort in the direction of making Nasal a silly experiment that goes legacy, is an step on the right direction.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?


Return to “Core Development”

Who is online

Users browsing this forum: No registered users and 32 guests