by reactordev · 1y ago · 0 comments
As someone who is rather keen on space, gfx, and the algorithms that render them. Kudos. The problems were known to me, which is why I didn’t attempt it, however - the distortion correction, the chunking, I’m thinking if you just limit how far down you can dig (half way to the “core”) it will be fine. You won’t run into those tiny squished blocks that make up the core.
It’s also important to call out the quad-sphere. This is what makes it doable. Naive devs may just map lat long to sin cos spherical coordinates and call it a day, not realizing that their poles are jacked up. The cartography problem. I’m really glad to see that called out as people don’t realize WGS84 sucks for mapping a sphere.
WGS84 is not a map projection, it's a geodetic reference frame prescribing a reference ellipsoid and reference positions of ground stations.
As you dig down you would get lighter and lighter on your feet.
Any mass you are below (within the sphere of Earth) will exert a gravitational pull in one direction, while the mass above you (also within the Earth) will exert an equal and opposite pull.
the pressure would never lessen, just increase slower.
The gravity at the center is zero, but the mass above you is not exerting just gravity force (which gets cancelled out by the opposite side), but also pressure (from the weight of it falling down).
This means the water pressure would steadily climb, but at a slower rate as you move nearer to the center, and will be at maximum at the very center.
Fun fact: Gravity doesn't decrease the entire way down! Only when you get to the core does it decrease monotonically: https://physics.stackexchange.com/questions/18446/how-does-g...
But hollow planets are hard to come by so this is just my imagination, I'm sure someone has worked out exactly what would happen.
For ideal (spherically symmetric) planets where a point is underground, you can divide the planet into 2 regions. The shell of the planet "above" the point has no net effect, while the shell below has the full effect, resulting in the gravity falling towards 0 as you approach the center.
In practice, planets are not actually spherically symmetric, but are close enough for it to be a good approximation.