Board index FlightGear Development Spaceflight

Earthview - an orbital terrain rendering engine [v2.0]

Discussion about development and usage of spacecraft

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby rominet » Fri Oct 28, 2016 9:30 am

This is beautiful!
rominet
 
Posts: 557
Joined: Sat Nov 01, 2014 1:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby Johan G » Fri Oct 28, 2016 10:16 am

Indeed it is! :D
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: Earthview - an orbital terrain rendering engine [v0.1]

Postby Thorsten » Tue Nov 01, 2016 1:03 pm

Chris, can't you use this for the sea ice? Like extract the white parts, overlay the textures?
Thorsten
 
Posts: 11189
Joined: Mon Nov 02, 2009 8:33 am

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby Lydiot » Tue Nov 01, 2016 1:34 pm

Incredibly good looking Thorsten!
Lydiot
 
Posts: 987
Joined: Tue Oct 22, 2013 10:50 pm

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby chris_blues » Tue Nov 01, 2016 1:43 pm

Thorsten wrote in Tue Nov 01, 2016 1:03 pm:Chris, can't you use this for the sea ice? Like extract the white parts, overlay the textures?

Unfortunately, it's waay too low-res. Doesn't look well on the textures.

I've tried some more datasets, but have given up eventually. They claim resolutions of few meters, but in reality, the have measurements/data packets in big 2km blocks, which they projected on the map. The resolutions in fact is 2km pixels on 20m pixels. Big rectangles in high resolution... :evil:

Maybe it'll get me again, and I'll try to cheat a bit. Like take this low-res texture and do some imagemagic(k) trickery to blur and sharpen it into something compelling... I don't know. Quite frustrating!

Edit:
Wow, the normalmapped clouds look amazing! Great work!
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1539
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby Thorsten » Tue Nov 01, 2016 4:17 pm

Like take this low-res texture and do some imagemagic(k) trickery to blur and sharpen it into something compelling... I don't know.


Yeah, that's what I was thinking. Magnify, then do a bit of Gaussian blur or noise...

Quite frustrating!


We can switch... For four days, I've been chasing a bug where I add three channels which I can all render individually and none shows any funky dependence with view vector, yet once I sum them they do. And to add insult to injury, I get different results when I pass them through a filter which just returns the input color value.

So talk about frustration...

Also, trying to trick the skydome to render to a bit further out. I *think* I can do 10 million ft / 3000 km. Afterwards the numerics just dies completely.
Thorsten
 
Posts: 11189
Joined: Mon Nov 02, 2009 8:33 am

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby Thorsten » Tue Nov 01, 2016 5:43 pm

@Chris: By the way - are you interested in creating terrain normal maps from the topography maps by NASA? I think it would be straightforward to implement that option.
Thorsten
 
Posts: 11189
Joined: Mon Nov 02, 2009 8:33 am

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby chris_blues » Tue Nov 01, 2016 6:13 pm

Thorsten wrote in Tue Nov 01, 2016 4:17 pm:
Like take this low-res texture and do some imagemagic(k) trickery to blur and sharpen it into something compelling... I don't know.

Yeah, that's what I was thinking. Magnify, then do a bit of Gaussian blur or noise...

I'll see, when I get the urge to try again...

Thorsten wrote in Tue Nov 01, 2016 4:17 pm:Also, trying to trick the skydome to render to a bit further out. I *think* I can do 10 million ft / 3000 km. Afterwards the numerics just dies completely.

That sounds great!

Thorsten wrote in Tue Nov 01, 2016 5:43 pm:@Chris: By the way - are you interested in creating terrain normal maps from the topography maps by NASA? I think it would be straightforward to implement that option.

Sure. I'm not certain if imagemagick provides some nice tool for that, but at least there's a plugin for Gimp.
I would only need the corresponding elevation data. Do you happen to have sth usable at hand?
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1539
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby Thorsten » Wed Nov 02, 2016 6:14 am

I don't - but NASA has a hires global heightmap of the planet.
Thorsten
 
Posts: 11189
Joined: Mon Nov 02, 2009 8:33 am

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby chris_blues » Wed Nov 02, 2016 6:47 am

Got it, thanks! I'll see, what I can make out of it...
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1539
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby chris_blues » Wed Nov 02, 2016 1:04 pm

Here you go: https://musicchris.de/public_pics/FGear ... s_earth.7z (ca 100MB)

These are 8192x8192 png files. While typing this, these tile-borders come to mind! With the propagated pixels... Let me know, if we need this.
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1539
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby chris_blues » Wed Nov 02, 2016 1:36 pm

Thorsten wrote in Tue Nov 01, 2016 4:17 pm:
Like take this low-res texture and do some imagemagic(k) trickery to blur and sharpen it into something compelling... I don't know.

Yeah, that's what I was thinking. Magnify, then do a bit of Gaussian blur or noise...

I've taken another look at http://visibleearth.nasa.gov/view.php?id=57730

Looks like they also had their hands full, getting a decent resolution going:
Image
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1539
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby Thorsten » Wed Nov 02, 2016 5:39 pm

These are 8192x8192 png files. While typing this, these tile-borders come to mind! With the propagated pixels... Let me know, if we need this.


Yikes - you're quick... I'm still busy de-bugging Shuttle for a stable release, just wanted to put this up as an idea!

Anyway - yes, we're going to need the propagated pixels, because the uv-mapping will be shared, so the features on all textures literally need to be on top of each other.
Thorsten
 
Posts: 11189
Joined: Mon Nov 02, 2009 8:33 am

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby chris_blues » Wed Nov 02, 2016 5:41 pm

Ok, then I'll have to get back into the text-editor... That might take little longer. :)
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1539
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: Earthview - an orbital terrain rendering engine [v0.1]

Postby chris_blues » Thu Nov 03, 2016 3:38 pm

Here we go: https://musicchris.de/public_pics/FGear ... s_earth.7z (8k png - ca 100MB)

Possible, that we need a little assistance by someone, who knows more about texturing / normalmaps. I took the heightmaps, added the pixel-propagated borders, and then processed this with "Prewitt 3x3", no additional parameters. I don't know, if I should have used the cropped heightmaps, and add the borders to the normal maps, or if I did it in the right order. Also, the algorythm used - I simply don't know, which would be best for this scenario... So any help would be nice!

If you should notice any artefacts at the texture borders, it'll propably be the order of my processing...

Edit:
Also, I should resize the heightmaps first, before generating the normalmap, in order to get 2k and 4k resolutions, right? I'd guess a simple resize of the normalmaps would result in lost information of the r and g channel...
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1539
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

PreviousNext

Return to Spaceflight

Who is online

Users browsing this forum: No registered users and 1 guest