This commit is contained in:
Rainer Leit
2026-09-25 17:02:24 +03:00
parent cc43ed8dc8
commit 9597629951
2149 changed files with 460234 additions and 1770 deletions
@@ -0,0 +1,31 @@
{
"_comment": "How a preview is drawn. Nothing here changes a height - two bakes of the same world under two palettes are the same terrain. Point a planet manifest at this file with \"palette\": \"<path relative to the manifest>\"; leave it out and these numbers are used anyway. Keys beginning with an underscore are comments.",
"_comment_land_stops": "The hypsometric ramp: sea level at t 0 to the top of the land at t 1. The top is a percentile rather than the maximum, so one high summit cannot push a whole continent into the bottom of the ramp.",
"land_stops": [
{ "t": 0, "rgb": [72, 106, 68] },
{ "t": 0.08, "rgb": [104, 132, 74] },
{ "t": 0.2, "rgb": [142, 152, 88] },
{ "t": 0.38, "rgb": [164, 148, 104] },
{ "t": 0.58, "rgb": [150, 128, 106] },
{ "t": 0.75, "rgb": [138, 130, 128] },
{ "t": 0.88, "rgb": [176, 174, 174] },
{ "t": 1, "rgb": [246, 246, 250] }
],
"sea_shallow": [56, 104, 136],
"sea_deep": [18, 40, 72],
"river": [70, 132, 180],
"_comment_ice": "Drawn wherever a class is marked snow, whatever height the ground stands at. Not pure white: white has nowhere left to go under the hillshade, so an ice sheet comes out as a flat cut-out with no shape in it at all.",
"ice": [232, 238, 245],
"_comment_top": "Where the top of the hypsometric ramp sits. The percentile is relative to the world being drawn, which is the only way a low continent is legible at all and is also a picture that lies about scale - measured on this planet's central landmass, a 47 m plain whose median slope is 0.6 degrees comes out with the same bare rock and white caps a 2800 m range would, because 40 m is the top of its own ramp. Set land_top_m to a height in metres for an absolute ramp instead; 0 keeps the percentile, and either way the run summary says which ceiling the preview was drawn against.",
"land_top_percentile": 99.5,
"land_top_m": 0,
"_comment_light": "Azimuth is degrees clockwise from north and altitude degrees above the horizon; north-west at 45 is what every DEM hillshade uses. Ambient is how lit the shaded side is - at zero a shadow is a hole - and gain how much the lit side brightens.",
"sun_azimuth_deg": 315,
"sun_altitude_deg": 45,
"ambient": 0.45,
"gain": 0.75
}