Jump to content

Extracting terrain data from KSP ?


Recommended Posts

Hi,

I'm looking for a way to extract hi-res data from KSP, like Kerbin's heightmaps. What I would be ideally looking for is the kind of data provided by tools such as KerbalMaps.

I should precise that I'm quite new to KSP modding/hacking. Please also note that I'm not looking for those 8000×4000 heightmap PNGs that can be easily found.

Thanks by advance for your answers !

Link to comment
Share on other sites

I've double checked - did a fresh install of 1.4.4 with only Cartographer added. KSP came up as usual without any delays and didn't see any Cartographer related errors in the log - but no directories were created and no maps. To be clear there were three files in Sigma\Cartographer\ when I installed it - the dll, the version file and the cfg file - directory was unchanged after booting KSP and then quitting from the space center scene.

I then made a fresh 1.3.1 install - same same setup as the 1.4.4 test. I booted KSP and there was a long pause before the start screen during which time the PluginData\Kerbin\Sigma\Cartographer\Maps\ColorMap path was created and the map created in the ColorMap folder.

This was my cfg file - copied for the most part from a post by blowfish:

SigmaCartographer
{
    Maps
    {
        body = Kerbin // the name of the body           (default = Kerbin)
        width = 4096  // the total width of the texture (default = 2048)
        tile = 2048   // the width of one tile          (default = 1024)
        exportFolder = Sigma/Cartographer/Maps        // path for the export folder
        leaflet = false // export in folders divided by columns and rows (default = false)

        heightMap = false    // export height?    (default = false)
        normalMap = false    // export normals?   (default = false)
        slopeMap = false     // export slopes?    (default = false)
        colorMap = true      // export color?     (default = true)
        oceanMap = false     // export ocean?     (default = false)
        satelliteMap = false // export satellite? (default = false)
        biomeMap = false     // export biome?     (default = false)

        oceanFloor = true    // include the ocean floor ? (default = true)
        normalStrength = 1   // strength of normals (default = 1)
        slopeMin = 0.2,0.3,0.4 // color for  0° slope (default = 0.2,0.3,0.4)
        slopeMax = 0.9,0.6,0.5 // color for 90° slope (default = 0.9,0.6,0.5)

        LAToffset = 0 // offset latitude (default = 0)
        LONoffset = 0 // offset longitude (default = 0)
        
        // if you want to print only selected tiles
        // add as many of these as you want
        // if you don't add any of these
        // all tiles will be exported
        //printTile = 0
        //printTile = 1
    }
    Info
    {
        // List all the bodies for which you want info on
        // the lowest and highest point on the planet
        //body = Kerbin
        //body = Mun
    }
}

I have the log files from both tests and can upload if you'd like - or I can see about opening an issue on you github page.

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...