Skip to content

Instantly share code, notes, and snippets.

@AndrewAnnex
Last active November 27, 2022 21:46
Terrain RGB encoding for planets
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{"mercury": {"minimum_elevation_m": -6000.0, "maximum_elevation_m": 5000.0, "resolution_m": 0.00066221, "body": "mercury"}, "venus": {"minimum_elevation_m": -4000.0, "maximum_elevation_m": 13000.0, "resolution_m": 0.00102341, "body": "venus"}, "earth": {"minimum_elevation_m": -11500.0, "maximum_elevation_m": 9500.0, "resolution_m": 0.00126421, "body": "earth"}, "moon": {"minimum_elevation_m": -9500.0, "maximum_elevation_m": 11500.0, "resolution_m": 0.001264215, "body": "moon"}, "mars": {"minimum_elevation_m": -8500.0, "maximum_elevation_m": 21500.0, "resolution_m": 0.00178993, "body": "mars"}, "anyrock": {"minimum_elevation_m": -10000.0, "maximum_elevation_m": 22000.0, "resolution_m": 0.00192642, "body": "any"}}
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@RichardScottOZ
Copy link

In Other Ideas... from jpeg compressions

@AndrewAnnex
Copy link
Author

AndrewAnnex commented Nov 23, 2022 via email

@AndrewAnnex
Copy link
Author

AndrewAnnex commented Nov 23, 2022 via email

@AndrewAnnex
Copy link
Author

okay lossly isn't a word, lossy is the correct word to use here. Also @RichardScottOZ do you spellcheck gists for fun?

@RichardScottOZ
Copy link

No, if I happen to notice something on something good, I figure I may as well mention - don't generally come across lots of gists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment