Live data from Hacker News

Making Minecraft Spherical

bowerbyte.com

81–90 of 130 posts

Re: Making Minecraft Spherical

#81
post #9

Wonderful write-up of attempting to tackle this problem. I believe there must be a significant number of people who have played both Minecraft and Super Mario Galaxy, and had something like this sequence of thoughts - although you have followed it all the way to an actual demonstration, and written up your thoughts along the way so clearly. The vertical distortion is the biggest issue IMO, there are a few reasonably…

Never played Super Mario Galaxy. How does it relate to this topic?

Many of the levels in that game take place on tiny planetoids with spherical surfaces and central gravity. "Spherical" sells it short, there were some truly wild topologies around which Mario could run and jump.

Re: Making Minecraft Spherical

#82
This is a problem I have spent quite some time thinking about but never came up with such an elegant solution. Fantastic write-up, thanks. I do hope you open source it at some stage, would love to have a play around with the code.

Re: Making Minecraft Spherical

#84

Earlier quoted context omitted.

Not allowing excavation to the core solves weird gravity issue as well. Astroneer had super weird gravity at their planet core. You can get stuck oscillating there.

If you really wanted to go for realism, there would be NO GRAVITY at the core. :P 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.

If you REALLY want to aim for realism, gravity should depend on all quads on the planet. So, if you were to build a huge floating island, the gravity between it and the planet would be less than the usual

Re: Making Minecraft Spherical

#85
post #84

Earlier quoted context omitted.

If you really wanted to go for realism, there would be NO GRAVITY at the core. :P 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.

If you REALLY want to aim for realism, gravity should depend on all quads on the planet. So, if you were to build a huge floating island, the gravity between it and the planet would be less than the usual

If you really truly wanted to aim for realism, digging to the core would require a huge budget and an international coalition that would get bogged down in politics and mismanagement and it would never happen.

Re: Making Minecraft Spherical

#87
post #67

You should definitely have a look at space engineers. They have a similar spherical problem with their voxels and I don’t think they went half as far as you did when implementing “orbital bodies”. 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 yo…

thats why a liquid core is needed in the matrix

Curious about this, is there actually a canonical explanation in the trilogy somewhere?

Re: Making Minecraft Spherical

#89

This made me think of Google's S2. 64-bit ID for every less-than-1cm^2 roughly-square area on Earth's surface, less bits used for bigger areas. https://s2geometry.io/ https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSn...

In the case of Minecraft and similar games, just targeting the surface isn‘t enough.

Re: Making Minecraft Spherical

#90
post #89

This made me think of Google's S2. 64-bit ID for every less-than-1cm^2 roughly-square area on Earth's surface, less bits used for bigger areas. https://s2geometry.io/ https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSn...

In the case of Minecraft and similar games, just targeting the surface isn‘t enough.

The article added a z-coordinate, same thing applies.
Post reply on HN