Jump to content

Ghost Mountains


Findthepin1

Recommended Posts

Once, a long time ago, there was a KSP player. They were sitting in their pyjamas at a desk eating a muffin during a blizzard. Playing KSP. During an otherwise flawless, routine Mun mission, this happened.

QNqkAEn.png

They promptly took a screenshot and posted it on the KSP Forums.

------------------------

Seriously, what is this? I seem to have created ghost mountains in KSP. My ship was on route to the Mun and it was some ways above Kerbin when I saw this. I'm not sure if it's a glitch. Those are the mountains in the middle of the continent opposite the one KSC is on. The rest of Kerbin looks fine. Has this ever happened to any of you?

Edited by Findthepin1
Link to comment
Share on other sites

There are two systems which render planets. When you are near a planet or moon the 3D model with heightmap will be rendered. From afar and in map mode/tracking station a simpler, scaled down variant will be used.

You made your screenshot just at the right time where the system switched between both modes.

Edited by *Aqua*
Link to comment
Share on other sites

Yes, confirming here that it's due to the terrain system.

Long story short (but less short than above), Kerbal Space Program uses a procedural generator for terrain. Some features are hard-coded in, such as the large-scale arrangements of continents and biomes, but filling in the details would consume an absurd amount of storage space. Thus, things like mountains, rocks, and trees are placed via an algorithm which generates pseudorandom numbers based on the local conditions (e.g. makes cacti in a desert or makes hills in a grassland).
Bu nobody needs to see little rocks and cacti from Eeloo. Plus, the terrain generator, as far as I can tell, only bothers with one planet or moon at a time. So if you go to the Mun, Eeloo, or wherever, the terrain engine shuts off for Kerbin (or wherever you were last). In order to not look ugly, it has apparently been coded to "fade out" and reduce its opacity based on altitude and gradually reveal the simplified planet sphere. Ideally this doesn't occur until you're so far away that you can't tell (because mountains would only be one pixel tall), but performance constraints meant that SQUAD had to make it fade out a lot closer. Thus if you keep a sharp eye on the horizon, you'll often see artifacts such as this.

The good news is that this is not (knock on wood) the Kraken! ;)

...Oh, who am I kidding - this is the KSP forum. EVERYTHING is the Kraken xD

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...