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 1:04 pm

V12 wrote in Fri Apr 26, 2019 12:36 pm:[...] 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)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: AI contrails

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

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

Re: AI contrails

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

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

Re: AI contrails

Postby Thorsten » Sat May 25, 2019 9: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: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: AI contrails

Postby enrogue » Sat May 25, 2019 9: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: 292
Joined: Mon May 19, 2014 7:40 pm
Location: London (UK)
Callsign: enrogue
OS: Ubuntu, macOS

Re: AI contrails

Postby wlbragg » Sun May 26, 2019 12:27 am

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 and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: AI contrails

Postby enrogue » Sun May 26, 2019 1: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: 292
Joined: Mon May 19, 2014 7:40 pm
Location: London (UK)
Callsign: enrogue
OS: Ubuntu, macOS

Re: AI contrails

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

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

Re: AI contrails

Postby Thorsten » Sun May 26, 2019 8: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: 12490
Joined: Mon Nov 02, 2009 9:33 am

Previous

Return to New features

Who is online

Users browsing this forum: No registered users and 6 guests