• Advertisement
Sign in to follow this  

Equal distribution of points on the surface of a sphere

This topic is 1273 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I would like to make an interactive sphere that has "pixels" as smallest divisible map units. By "pixels" I mean like the provinces of Rome Total War or like the hexes in Civ games. But not so important and detailed. They would just contain absolute basic information about the area they cover (coordinates; terrain; population; adjecensies; infrastructure level; etc)

 

How would I go about generating a sphere which is covered by those "pixels"? Is such a thing even possible?

Share this post


Link to post
Share on other sites
Advertisement

There are a few different ways to tile a sphere, and you'd have to decide which one of them suits your purpose.

 

One of the more natural tilings is the geodesic grid that Erik linked above, as it creates the familiar hexagon tiles.

(A few of them are pentagons, due to the geometry of the icosahedron)

As you're comparing to the tiles in civ I'd guess that this is the closest to what  you're looking for.

 

If you want more flexibility in how your regions / tiles are shaped you could easily skip generating the dual for the subdivided sphere

and simply create your own groups of triangles to form regions, to achieve something more like the total war regions.

 

 

Aside from the above, I've also tried just projecting a tiled cube to a sphere, which is easy and gives these wonky-styled tiles.

With proper resolution on the grid this also works well for customized regions, without the same scale of jagged edges you'd get from the triangles in an icosphere.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement