Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: Importing FSX runways  (Read 10010 times)

langdon

  • Full Member
  • ***
  • Posts: 110
Importing FSX runways
« on: November 20, 2015, 07:16:01 am »

Hi, Me again.


I've been busily hacking the interface to allow me to import FSX runways... see the image...
It all functions ok except the runways hug the terrain.
This happens even if I manually create them.

I set the elevation and then pitch to zero but it's very rare that a runway comes out with the same altitude at both ends. Am I missing something?
Is it me or a bug, or was it just designed this way.?

Anyone?

Thanks,
L
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Importing FSX runways
« Reply #1 on: November 20, 2015, 09:51:01 am »

It samples the terrain at both ends and interpolates between those altitudes. It was designed this way to fit runways to arbitrary terrain when people were placing them, otherwise you'd end up with runways carving into the terrain most of the time.
Logged

HiFlyer

  • Hero Member
  • *****
  • Posts: 1788
  • newbie
Re: Importing FSX runways
« Reply #2 on: November 20, 2015, 05:37:10 pm »

There's also the problem that FSX runways, due to FSX mesh/terrain smoothing, are not necessarily at accurate elevations in the first place.
Logged
Spex: Intel Core i7 6700K @ 4.6GHz / 32.0GB G.SKILL TridentZ Series Dual-Channel Ram / ASUS STRIX GeForce GTX 1080 / Sound Blaster Z / Oculus Rift VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 2x Samsung SSD 850 EVO 500GB / Windows 10 Pro

langdon

  • Full Member
  • ***
  • Posts: 110
Re: Importing FSX runways
« Reply #3 on: November 20, 2015, 10:11:56 pm »

Any chance of including a flag on the $view.make_runway(w2, wb2, wt2, l2) function to honour the input elevation and not interpolate?




The images are KLAX and KSFO. (Los Angeles and San Francisco)
With KLAX Rwy 7R is actually below 7L by about 10 meters at one end and level with it at the other.

I agree that many airports ARE actually sloped and poorly represented in FSX but with a 'flag' on the function at least the importer could decide whether to choose flat or follow the terrain.

Runways like JFK, Hong Kong, San Francisco are all submerged in Outerra and definitely need to be elevated above the OT terrain level.

I had a go at leveling terrain before placing the runway but the terrain leveller works on too small an area to be practical. I haven't tried just elevating the start and end, I'll give it a go but at this point I have no  idea if I can automate that.

Anyway... a flag on that function would be REALLY handy.
(should I be putting this request in XTRAC ?)
Thanks,
L
Logged

HiFlyer

  • Hero Member
  • *****
  • Posts: 1788
  • newbie
Re: Importing FSX runways
« Reply #4 on: November 20, 2015, 10:50:24 pm »

As for the submerged runways, I understand that the new elevation set will correct (hopefully) many of those issues, and go a lot towards correcting coastlines as well.
« Last Edit: November 26, 2015, 12:38:48 pm by HiFlyer »
Logged
Spex: Intel Core i7 6700K @ 4.6GHz / 32.0GB G.SKILL TridentZ Series Dual-Channel Ram / ASUS STRIX GeForce GTX 1080 / Sound Blaster Z / Oculus Rift VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 2x Samsung SSD 850 EVO 500GB / Windows 10 Pro

langdon

  • Full Member
  • ***
  • Posts: 110
Re: Importing FSX runways
« Reply #5 on: November 26, 2015, 06:09:11 am »

So....

By levelling a block at each end of each runway I kinda/sorta managed to get flat runways.

But now the big one. Munich Airport is about 16 square km.
Try doing that in 500 x 200 m blocks ! Added to that.. for the life of me, I can't seem to get them at the same elevation, even though I type the same exact elevation in the box each time and it's just impractical to manually elevatte and align 2560 slabs.

I of course had to try creating a 16 sq km object and level the terrain under that...FAIL..but i had to try.  The object worked, just not the leveling.


Oh and I did try hacking the sandbox interface code and adjusting the min/max numbers but that just made it nuts.. Gympie Australia is a total write-off now :)

I put this in this thread basically because it pertains to what I'm trying to achieve but if there's a better place, just let me know.

Any one have any ideas?

Thanks.
L
Logged

HiFlyer

  • Hero Member
  • *****
  • Posts: 1788
  • newbie
Re: Importing FSX runways
« Reply #6 on: November 26, 2015, 07:27:25 am »

I have been waiting for a wide area flattening tool (amongst other things!) for quite a while. Eventually it will be absolutely necessary for Outerra.

Otherwise, as I said in another thread "Outerra no does the flat!"
Logged
Spex: Intel Core i7 6700K @ 4.6GHz / 32.0GB G.SKILL TridentZ Series Dual-Channel Ram / ASUS STRIX GeForce GTX 1080 / Sound Blaster Z / Oculus Rift VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 2x Samsung SSD 850 EVO 500GB / Windows 10 Pro

langdon

  • Full Member
  • ***
  • Posts: 110
Re: Importing FSX runways
« Reply #7 on: November 26, 2015, 09:22:48 am »

It's probably a long shot, but is it possible to directly edit the .wad file?
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Importing FSX runways
« Reply #8 on: November 26, 2015, 09:48:25 am »

No sane way. Even if it was possible, it won't get you rid of the procedurally refined terrain below 90m grid.

The only way at the moment is via the roads (leveling is just a piece of road).
Logged

bomber

  • Hero Member
  • *****
  • Posts: 523
  • newbie
Re: Importing FSX runways
« Reply #9 on: November 26, 2015, 11:37:41 am »

No sane way is a YES then....

OK,  can you explain this insane way,  I'd appreciate it...

PS. I have done this before in other sims, and yes it was insane there too.
Logged
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Importing FSX runways
« Reply #10 on: November 26, 2015, 12:20:25 pm »

Here WAD stands for Wavelet Data. These files contain structured layers of wavelet-compressed data, which are organized in a way that's suitable for on-the-fly decompression in engine and its terrain LOD system. They are produced by our map tool that chews a large amount of data and arranges it in this way.

I just didn't want to tell that direct editing of wad files was impossible :)
Logged

bomber

  • Hero Member
  • *****
  • Posts: 523
  • newbie
Re: Importing FSX runways
« Reply #11 on: November 26, 2015, 03:53:20 pm »

Don't you feel better for getting that off your chest
Logged
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

langdon

  • Full Member
  • ***
  • Posts: 110
Re: Importing FSX runways
« Reply #12 on: November 27, 2015, 04:13:11 am »

I pulled down a demo of Global Mapper in hopes of directly accessing the WAD data but I suspect I won't live long enough to figure out how all that works.

I've been creating 'leveled blocks' and then laying runways between them in an attempt to keep them at the same elevation from start to finish. It mostly works but sometimes fails. It's a bit 'hit or miss' and fairly frustrating. I then tried laying very wide runways ( found I could manipulate the .bix files to change the asphalt to conccrete etc..) but then I found that the 'level' blocks weren't level either. It seems you are interpolating them the same way you do with a runway?

A 500 x 200 block (road section actually) will start at one altitude and end up at something different. So that's just not going to work either.

So after all my mucking about, the bottom line is, we'll just have to wait till OT gives us a proper FLAT :)
Logged

bomber

  • Hero Member
  • *****
  • Posts: 523
  • newbie
Re: Importing FSX runways
« Reply #13 on: November 27, 2015, 07:40:56 am »

Well where is the terrain height data kept then ?



Logged
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell