Board index FlightGear Development New features

AI contrails

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Re: AI contrails

Postby Johan G » Fri Apr 26, 2019 12:04 pm

V12 wrote in Fri Apr 26, 2019 11:36 am:[...] I'm using property /environment/contrail, [...] all calculations [...] are done internaly by FG. [...]

Oh. :D

Does that need an FDM running or (hopefully) just the weather?
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5545
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: AI contrails

Postby V12 » Fri Apr 26, 2019 3:02 pm

FDM probably not, about weather I don't know.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1606
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: AI contrails

Postby V12 » Sat May 25, 2019 8:08 pm

AI contrails in 13 years old sim :
Image
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1606
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: AI contrails

Postby Thorsten » Sat May 25, 2019 8:41 pm

AI contrails in 13 years old sim :


Given that FG is 20 years old by now and FSX had I don't know how much more resources to start with... I don't really care.

The only thing you accomplish by such actions is to annoy everyone to the point that nobody wants to help you any more or answer your questions.

It's clear that FSX and addons have had plenty of full-time paid devel time, has had access to graphics artists, had the ability to simply buy artwork, sounds, textures, geodata, you name it - the fact that it's 13 years old is pretty irrelevant for things like artwork, the Mona Lisa is still good despite being quite a bit more than 13 years old.

To cast FSX into the role of the underdog which despite its disadvantages still manages to beat FG is plain ridiculous, sorry.

Are you deliberately ignoring this, or are you just unable to grasp it?

There's no AI contrails because nobody cared about implementing this for 20 years - if you care, get coding - it's what the rest of us does.
Thorsten
 
Posts: 11190
Joined: Mon Nov 02, 2009 8:33 am

Re: AI contrails

Postby enrogue » Sat May 25, 2019 8:53 pm

A quick investigation:

/environment/contrails appears to be created/updated by FGDATA/Nasal/contrail.nas for the current running aircraft, so it's use is for that aircraft & not AI aircraft which may be running at different altitudes

Is there much use of nasal in current AI models? A similar but simpler approach could be used (fixed/lookup altitude?) which then triggers a particle contrail - I'm not sure a big load of nasal for every AI aircraft in flight is a good idea though - it might slow down the system somewhat :)
User avatar
enrogue
 
Posts: 173
Joined: Mon May 19, 2014 6:40 pm
Location: London (UK)
Callsign: enrogue
OS: OS X, Ubuntu

Re: AI contrails

Postby wlbragg » Sat May 25, 2019 11:27 pm

I personally like the idea of contrails on AI. But you definitely would have to make it smart enough to have a really good LOD. I absolutely think it could be implemented using nasal and possibly a shader VS particles.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 4988
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: AI contrails

Postby enrogue » Sun May 26, 2019 12:40 am

perhaps the AI submodels persistent contrails would be better for this? I've not used them though so... but it *says* they are better for framerate than the particle system

http://wiki.flightgear.org/Howto:Add_co ... _Contrails

The wayback machine doesn't have the script & the link is dead
User avatar
enrogue
 
Posts: 173
Joined: Mon May 19, 2014 6:40 pm
Location: London (UK)
Callsign: enrogue
OS: OS X, Ubuntu

Re: AI contrails

Postby V12 » Sun May 26, 2019 7:18 am

Thorsten :
I don't know how to do it. In other case, I do it myself.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1606
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: AI contrails

Postby Thorsten » Sun May 26, 2019 7:56 am

I don't know how to do it. In other case, I do it myself.


Yeah, and I have some ideas how to do it, but I'm annoyed and therefore have no inclination to do anything with them, so there we are.

Perhaps you can deduce a lesson from it how to go about making something happen in a software project.
Thorsten
 
Posts: 11190
Joined: Mon Nov 02, 2009 8:33 am

Previous

Return to New features

Who is online

Users browsing this forum: No registered users and 2 guests