六角地图瓷砖覆盖地球

问题描述:

许多策略游戏都使用六角形瓷砖.主要优势之一是任何图块的中心与所有相邻图块的中心之间的距离都相同.

Many strategy games use hexagonal tiles. One of the main advantages is that the distance between the center of any tile and all its neighboring tiles is the same.

我想知道是否有人对将六边形瓷砖系统与传统地理系统(经度/纬度)结合使用有任何想法.我认为用六角形的瓷砖覆盖地球并能够将地理坐标映射到瓷砖会很有趣.

I was wondering if anyone has any thoughts on marrying a hexagonal tile system with the traditional geographic system (longitude/latitude). I think it would be interesting to cover a globe with hexagonal tiles and be able to map a geographic coordinate to a tile.

以前有没有人看过远近的东西?

Has anyone seen anything remotely close to this before?

更新

我正在寻找一种细分球体表面的方法,以使每个划分具有相同的表面积.理想情况下,相邻细分的中心是等距的.

I'm looking for a way to subdivide the surface of a sphere so that each division has the same surface area. Ideally, the centers of adjacent sub-divisions would be equidistant.

看看 vraid/earthgen ;它使用六边形(加上一些五边形)并包含源代码(请参见 planet/grid/create_grid.cpp ).

Take a look at vraid/earthgen; it uses hexagons (plus a few pentagons) and includes source code (see planet/grid/create_grid.cpp).

自2018年起,基于球拍的新版本可用.

As of 2018 a new version is available based on racket.