Board index FlightGear Development Scenery

X-plane get some color (taxi/apron lines)

Questions and discussion about enhancing and populating the FlightGear world.

X-plane get some color (taxi/apron lines)

Postby www2 » Fri Nov 09, 2018 9:53 pm

X-plane have add support for color lines[1] and like to see to add to flightgear.
Image

[1] https://developer.x-plane.com/2018/06/x ... available/
www2
 
Posts: 319
Joined: Thu Apr 16, 2009 2:58 pm
OS: Ubuntu

Re: X-plane get some color (taxi/apron lines)

Postby www2 » Fri Dec 21, 2018 10:48 am

Update i have create a wiki page for apt.dat variable:
http://wiki.flightgear.org/Www2/apt.dat
www2
 
Posts: 319
Joined: Thu Apr 16, 2009 2:58 pm
OS: Ubuntu

Re: X-plane get some color (taxi/apron lines)

Postby Hooray » Fri Dec 21, 2018 3:19 pm

I would suppose as long as this is made available as vector data, it can be treated just like any other vector data - presumably via dedicated effects/shaders ?

From an interfacing standpoint, it would be nice to also make that data available to Nasal/Canvas space - even though that would be hardly relevant from a scenery handling standpoint probably, it could still be a great asset when developing/troubleshooting related features.

Image
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: X-plane get some color (taxi/apron lines)

Postby legoboyvdlp » Fri Dec 21, 2018 3:20 pm

The unfortunate thing is that as I understand line data / polygon data is no longer contained in the apt.dat files but in .dsf files (or somewhere else altogether?) which makes it even more difficult for us to access it.
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: X-plane get some color (taxi/apron lines)

Postby Hooray » Fri Dec 21, 2018 3:38 pm

as long as that data is legally compatible with fgfs use, we can obviously use it - we will just need to know more about the file format, or ideally have access to a parser to add it to our own data (or at least the terragear pipeline/scenery compiler suite).

I guess, the feasibility of accessing/using such data is best answered by psadro_gm and others familiar with the whole terragear process ? If they are not currently around/available, it would still be possible to come up with a fgdata-level parser that processes such data, populates a vector and renders that into a texture (possibly a canvas) so that this can be used by an effect/shader.

As long as the core development bottleneck persists, XML, Nasal + Canvas + effects/shaders are likely to be used more and more often by non-core developers to work around such limitations and still implement certain features.

In other words, I am willing to help in the form of code snippets and pointers to access such data and access it at runtime if none of the scenery folks are currently around to provide access in a more proper form.
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: X-plane get some color (taxi/apron lines)

Postby www2 » Fri Dec 21, 2018 7:40 pm

legoboyvdlp wrote in Fri Dec 21, 2018 3:20 pm:The unfortunate thing is that as I understand line data / polygon data is no longer contained in the apt.dat files but in .dsf files (or somewhere else altogether?) which makes it even more difficult for us to access it.

That is not true the list that i post are all the markings that are supported in apt.dat.
I have plan to crate a list of x-plane objects.

Hooray: the Gateway use GPLv2 for the data set.
www2
 
Posts: 319
Joined: Thu Apr 16, 2009 2:58 pm
OS: Ubuntu

Re: X-plane get some color (taxi/apron lines)

Postby legoboyvdlp » Fri Dec 21, 2018 8:48 pm

that's good then - glad I was mistaken.

thanks,
Jonathan
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: X-plane get some color (taxi/apron lines)

Postby Hooray » Fri Dec 21, 2018 9:16 pm

Since there is obvious benefit in making such markings optional at runtime, I guess that a purely effect/shader based approach would not gain us anything, unless we're totally lacking native/core support.

So it would probably make more sense to extend the parser and treat them like any other airport markings, just with a different style.

I haven't been following TG development at all, so not sure if psadro_gm and papillon81 are currently around or not ?
But even if they aren't, it should be fairly straightforward to locate the corresponding C++ routines and see if/how they can be generalized to parse the new markup and create the corresponding markings - I suppose that we might even be in luck, since most of that code was originally written by Curt anyway, and he still seem to be around ;-)
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


Return to Scenery

Who is online

Users browsing this forum: No registered users and 4 guests