New color ramp for terrain - looking for coder for implementing into XCSoar #1355
MikeBravo15
started this conversation in
Ideas
Replies: 2 comments 9 replies
-
I can create a pull request for it. What would you call this color ramp? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hallo everybody. I have created a new terrain color ramp for the terrain renderer. My goal was to improve the "vibrant" palette as i find it too dark to be visible in direct sunsine. As a basis I used Hi Contrast schema from my old SeeYou desktop installation and I further modified it to resemble current SeeYou mobile ramp with whitish colors for lowlands. I admit, that I fine tuned it to the heights found in the central Europe.
Output looks like this -
.
Values for TerrainRenderer.cpp are as follows.
{ // HiContrast
{0, { 255, 247, 239 }},
{200, { 225, 225, 225 }},
{300, { 242, 242, 242 }},
{400, { 204, 223, 192 }},
{500, { 153, 199, 144 }},
{700, { 51, 151, 48 }},
{900, { 255, 255, 0 }},
{1500, { 192, 128, 0 }},
{2000, { 139, 22, 0 }},
{3500, { 255, 255, 255 }},
{4500, { 175, 202, 242 }},
{5500, { 175, 202, 242 }},
{6000, { 175, 202, 242 }},
},
Problem is I am not a coder and I am not able to implement it correctly into the XCSoar code as aditional color scheme (I tested with replaced values for one of currently used schemes). Would anybody volunteer to implement it? Thank you for any help
Beta Was this translation helpful? Give feedback.
All reactions