Board index FlightGear Support

can aerial image maps be used to texture terrain?

All general support: help on flying, installation, hardware, getting online etc. There are lots of users and developers to help you out.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- where did you download your aircraft/scenery from?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).

Please report any bugs not specific to an aircraft on the issue tracker.
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

can aerial image maps be used to texture terrain?

Postby think nice things » Mon Apr 29, 2019 9:57 pm

Hi,

I read through several online sources how to configure fotorealistic terrain.
Although it seems to be possible I didn't find a straightforward way to do it with the current flightgear (w/o patching)
Can existing aerial image maps like "ESRI aerial" just be used for terrain texturing?
Could _any_ map tile source just be used for terrain texturing?

Here are the ESRI tiles:
https://server.arcgisonline.com/ArcGIS/ ... rver/tile/{z}/{y}/{x}

any help much appreciated!
think nice things
 
Posts: 6
Joined: Sun Apr 21, 2019 8:15 am

Re: can aerial image maps be used to texture terrain?

Postby Thorsten » Tue Apr 30, 2019 5:24 am

Although it seems to be possible I didn't find a straightforward way to do it with the current flightgear (w/o patching)
Can existing aerial image maps like "ESRI aerial" just be used for terrain texturing?


No, what you have read is likely correct - there's several ways to do it, but it always requires either core patches or special data structures/models to be created.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: can aerial image maps be used to texture terrain?

Postby Hooray » Sat May 04, 2019 1:02 pm

There is a set of patches using "osgEarth" (search query for the forum/wiki).

Alternatively, there is a wiki article for unrelated C++ changes that make this possible.

We have also been toying with the idea of adapting the latter to come up with a dedicated new canvas "placement" so that arbitrary canvas textures can be draped over the terrain mesh, this would not be particularly complicated given what we have already - and there is also the ongoing compositor work, so that it's not too far-fetched to say that sooner or later, we will have all the bits and pieces in place to provide "native" support for these things.

For the time being, there are roughly half a dozen of different approaches/patches floating around, but using the Canvas system to come up with a terrain-mapping placement would seem like a fairly good idea, and it might even provide for a straightforward mechanism to re-integrate osgEarth on top of this approach.

From a Canvas standpoint, it doesn't matter at all - these are just "textures" after all, if/how and where they show up is a totally separate issue, and handled by so called "placements" - for the time being, we support model/cockpit, scenery and gui placements (dialogs/windows, tooltips) - coming up with a new placement type for property-based terrain-texturing would seem fairly straightforward and a very powerful idea at the same time, consolidating many existing ideas and patches along the way.
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 Support

Who is online

Users browsing this forum: No registered users and 6 guests