Board index FlightGear The FlightGear project

Just a suggestion

Questions about the FlightGear organisation, website, wiki etc.

Do you think the other vehicles should be animated?

Yes
6
50%
Not sure
2
17%
No
4
33%
 
Total votes : 12

Just a suggestion

Postby aTazul » Tue Oct 17, 2017 6:41 pm

Why not have animated vehicles (cars, boats, trains) as default with powerful graphics? Wouldn't it be a lot nicer like that? More realistic?
Last edited by aTazul on Thu Oct 19, 2017 4:02 am, edited 1 time in total.
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Just a suggestion

Postby Clive2670 » Tue Oct 17, 2017 7:05 pm

Only issue I can see is that it needs to be made clear at the start (Qtlauncher) that there is this feature on the program, BUT it cannot be set to start as default, because otherwise it will bring the program to a crawl for those people that don't have a "shed load" of spare cash to throw at a top end gaming rig, thus limiting the sim' to only those that know how to remove the "Start as default" setting. You have to think of the majority of people that use the sim like myself that only have a 2Gb grahics card, 6Gb of RAM, and a i5 processor, which is the "average" set up for most. Flightgear wants to attract ALL people not just the chosen few who can afford to spend 1000+ (£/$) on a computer!!! Sorry to be a bit of a party pooper! Maybe as it's a open source simulator you can put your programming skills to use and set it up on your rig and post the results?
Thanks Clive aka: G-BLS01
Can be seen flying the Boeing 777-200LR
Toshiba laptop,
Intel i5 4210U,
16Gb RAM,
AMD R7-M260 graphics 2Gb RAM
Clive2670
 
Posts: 589
Joined: Mon Feb 08, 2016 8:11 pm
Location: Anywhere in the World at some point on Flightgear!
Callsign: G-BLS01
Version: 2018.3.1
OS: Windows 10 64bit

Re: Just a suggestion

Postby aTazul » Wed Oct 18, 2017 8:36 pm

Clive2670 wrote in Tue Oct 17, 2017 7:05 pm:Only issue I can see is that it needs to be made clear at the start (Qtlauncher) that there is this feature on the program, BUT it cannot be set to start as default, because otherwise it will bring the program to a crawl for those people that don't have a "shed load" of spare cash to throw at a top end gaming rig, thus limiting the sim' to only those that know how to remove the "Start as default" setting. You have to think of the majority of people that use the sim like myself that only have a 2Gb grahics card, 6Gb of RAM, and a i5 processor, which is the "average" set up for most. Flightgear wants to attract ALL people not just the chosen few who can afford to spend 1000+ (£/$) on a computer!!! Sorry to be a bit of a party pooper! Maybe as it's a open source simulator you can put your programming skills to use and set it up on your rig and post the results?


I don't have the knowledge to edit the coding of the game. However, the animated vehicles could still be done, if that memory was distributed between the CPU, GPU and RAM. My GPU processor also has 2gb, though I thought that it could handle it...

(Edit was for a typo)
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Just a suggestion

Postby legoboyvdlp » Wed Oct 18, 2017 8:46 pm

There's also the small minority like myself that have a B950 processor, a 512K GPU VRAM, and 5GB of RAM xD
If it is done, great, but it must be toggleable, and I don't think it should be enabled by default.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Just a suggestion

Postby Isaak » Wed Oct 18, 2017 11:02 pm

Everything is possible, but it 's up to a developer to do the efforts. This poll won' t change a thing unless you or an other volunteer starts actually working on it. Please be advised that FlightGear is a project of volunteers. Want to change something? Be the change and start (learning how to) code(ing).
Want to support medical research with your pc? Start Folding at Home and join team FlightGear!
Isaak
 
Posts: 768
Joined: Sat Jun 04, 2011 3:52 pm
Location: Hamme, Belgium
Pronouns: he, him
Callsign: OO-ISA
Version: next
OS: Windows 10

Re: Just a suggestion

Postby aTazul » Thu Oct 19, 2017 12:02 am

BEL ISAAK wrote in Wed Oct 18, 2017 11:02 pm:Everything is possible, but it 's up to a developer to do the efforts. This poll won' t change a thing unless you or an other volunteer starts actually working on it. Please be advised that FlightGear is a project of volunteers. Want to change something? Be the change and start (learning how to) code(ing).


I realised that...

I'm learning c, c++, java, html5, java, python and nas. It is a whole lot of work for me, especially with my studies and all, but I will try to get it done (somebody else might do it before me but what the hell).
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Just a suggestion

Postby Thorsten » Thu Oct 19, 2017 7:16 am

Why not have animated vehicles (cars, boats, trains) as default with powerful graphics? Wouldn't it be a lot nicer like that? More realistic?


We actually do have boats, and you can have ten thousands of (rather flat...) cars with the OSM roads and traffic shaders. Not sure about trains.

Otherwise - visuals are one part of a realistic flightsim - however a photo-realistic near still image at one frame per minute also has problems of its own. There's potentially lots of vehicles, and if you go about this the wrong way, you'll notice quickly.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Just a suggestion

Postby Hooray » Fri Oct 20, 2017 6:27 pm

If you have a little programming experience, Nasal as a scripting language is close enough to JavaScript that many of its learning resources online will come in handy (Nasal being based on ECMAScript concepts) - also, we do have quite a bit of existing functionality in that department. For instance, one straightforward way would be looking at ThomasS recent Ground Services effort:

http://wiki.flightgear.org/Ground_Services
Image

In its current form this is obviously airport specific and not at all integrated with the shader based system that Thorsten mentioned, but it's definitely a good start, and once you understand how that works, you will also understand how to extend it to support other features, but also where/when not to use it because a shader based approach may be superior (i.e. at high altitudes, viewing tons of scenery - as per Thorsten's comments) - speaking in general, learning shaders/effects (GLSL) is a completely different matter, and would be a little far-fetched if you don't have a strong background in C and preferably graphics - but actually, what we have right now should suffice for a rather compelling proof-of-concept, the main thing missing is some mutual integration, i.e. collaboration between the people involved in these approaches - ideally in conjunction with the osm2city folks (Python).

Apart from that, while having at least some programming experience is obviously an asset, being young, or possibly even being retired, i.e. with a lot of time on your hands can make up for any lack of experience and skill, as long as you are willing to read, tinker and learn - so, I would not understimate what you can bring to the table if you are serious about an idea. For instance, we also have enormously experienced contributors who can hardly complete their projects due to a lack of time, whereas we've literally seen teenagers provide scripting space solution (fgdata) that ended up being superior to what some of the most seasoned core developers have come up in C++ space.

Besides, the whole "distributed between X, Y and Z" is simply a red herring - even just working through a few 5-minute coding tutorials to make FlightGear do something like printing your name, or showing a tooltip with your name will go a long way to teaching you stuff - much more so than throwing out buzzwords that you don't really understand, because "distributing memory between ..." is not helpful at all.

Thus, my suggestion would open the DEBUG menu and navigate to the entry called "Nasal Console", which is a fancy word for a simple editor where you can put commands to tell flightgear what to do:

http://wiki.flightgear.org/Nasal_Console
Image

Once you have opened the console, it will basically look like this:
Image


and then experiment with some of the really simple stuff - for example, starting here:

http://wiki.flightgear.org/Nasal_Hello_World
http://wiki.flightgear.org/Using_Nasal_ ... e_examples
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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Just a suggestion

Postby aTazul » Sat Oct 21, 2017 10:57 am

I'll try it...
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Just a suggestion

Postby Hooray » Sat Oct 21, 2017 1:14 pm

Someone with access to a computer that is capable of running FlightGear and the built-in Nasal console, should be able to find tons of useful learning resources in the FlightGear wiki.

For example, here is a rather simple example to get you going playing with the console (lines starting with a # sign are comments, so are ignored by flightgear):

Code: Select all
# this creates a variable named name, assigning a text string as its value (the part in quotes)
var name = "aTazul";
# this creates another text variable (the part in quotes), to which we are appending the value stored in the name variable
var message = "Your name is: "~ name;
# this invokes a command to show the message on screen as a tooltip
gui.popupTip( message );


You could play with this changing/replacing the text strings or showing other messages.

There's also some documentation showing what you can change when showing such a tooltip, see: http://wiki.flightgear.org/Tooltips

Admittedly, it's rather basic and very simple, but it goes to show that it's not that difficult to add new features to FlightGear, i.e. stuff that does not need to be added by core developers.

If you are interested, we can provide other pointers/tutorials - and there is also a dedicated Nasal scripting sub-forum, too.

Personally, my suggestion would be to tinker with the snippet shown above and then leave Nasal scripting alone for a while to read up on how the property tree in flightgear works:

http://wiki.flightgear.org/Property_tree

There is a bit of reading to do here, especially if you want to understand how this relates to XML files.

The most important asset here is the so called property browser: http://wiki.flightgear.org/Property_browser
Image

And with that background in mind, I would suggest that you try to modify the code snippet I posted to show a name that is stored in a property.
The next thing would be changing the code snippet to always show the tooltip with your name when the property is updated.
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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Just a suggestion

Postby aTazul » Sat Oct 21, 2017 4:44 pm

I pressed '/' on my keyboard and it brought up that prompt. I didn't know what it was for, now I do.
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Just a suggestion

Postby Hooray » Sat Oct 21, 2017 4:53 pm

Good job there, that's what's commonly called "learning" ;-)

In general, it helps to imagine the "property tree" like a file system on your computer - it has folders and files, i.e. a hierarchy.
"Files" would be "properties" - and they have types - text, numbers, boolean values (1/0)

You can make up almost arbitrary names (using a few naming conventions) to create new properties, and assign values to them at runtime.
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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Just a suggestion

Postby aTazul » Sat Oct 21, 2017 4:58 pm

Cool. I can't use my laptop right now, though I will do so tomorrow, before I act as atc.
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Just a suggestion

Postby Hooray » Sat Oct 21, 2017 6:08 pm

Once you do a little research, you will find that we really have more than just a handful of existing attempts at implementing this kind of functionality, for example see:

http://wiki.flightgear.org/Scripted_AI_Objects
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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Just a suggestion

Postby aTazul » Sun Oct 22, 2017 1:02 am

exactly what I need
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Next

Return to The FlightGear project

Who is online

Users browsing this forum: No registered users and 8 guests