The physical representation of the world in Terra Engine relies on H3, a hexagonal grid system developed by Uber for geographic indexing. This technology partitions the Earth's surface into uniform hexagonal cells:
H3 system illustrating the progressive division of the globe into hexagonal cells of various sizes.
Dividing the world into regular units facilitates calculations and interaction management between zones. It also enables efficient simulation of complex phenomena at large scale.
The choice of hexagonal shape, rather than square or triangular, is based on several major advantages:
In conclusion, the hexagonal grid offers the best compromise between realism, performance, and simplicity for modeling the world.
The hexagonal mesh allows calculating damage based on event intensity and each cell's vulnerability. The system takes into account population density and local infrastructure to estimate human and material losses.
The capture illustrates damage propagation on hexagonal cells: damage is maximal at the center (for example, at the epicenter of an explosion) and gradually decreases with distance.
See the H3 system in action: Discover on YouTube the simulation of natural disasters in Terra Engine v0.0.14.
H3 also serves to shape territory boundaries. The system automatically converts GeoJSON from open data sources into hexagonal cells, producing clean and continuous boundaries. This method ensures consistent and accurate territorial representations without overlaps or gaps between adjacent territories.
Representation of territory and country boundaries in Latin America.
The H3 system uses hexagonal cells to model the shape and trajectory of phenomena such as tropical cyclones and earthquakes. This approach allows simulating the impact of these events by precisely identifying the most affected areas.
The cyclone's shape, built from hexagonal cells, evolves dynamically according to its category: the higher the intensity, the more extensive and destructive the cyclone. The impact in terms of damage and casualties is directly linked to this intensity.
Terra Engine uses an H3 resolution fine enough to accurately model small territories and complex geospatial phenomena. This technical parameter generates a global mesh composed of more than 14 million hexagonal cells!
To ensure optimal performance, Terra Engine activates or removes hexagonal cells on demand, according to simulation needs. This dynamic management optimizes memory consumption.
Timelapse of dynamic cell management: observe the progressive creation and deletion of cells as damage occurs and reconstruction progresses after natural disasters in the Philippines.
Terra Engine's hexagonal grid lays the foundation for robust and evolving geopolitical simulation. Soon, the H3 system will enable modeling of trade routes, production chains, and integration of military operations management, with dynamic control of territories and borders.
Subsequently, this mesh will allow adding advanced features: strategic infrastructure modeling, resource management, population flows, and other geopolitical systems requiring high geographic precision.