stuarta0 / godot-cesium

Bringing the 3D geospatial ecosystem to Godot Engine
MIT License
26 stars 4 forks source link

Cesium for Godot

100% WIP. Currently targeting Godot 4.1.

Cesium for Godot brings the 3D geospatial ecosystem to Godot Engine. By combining a high-accuracy full-scale WGS84 globe, open APIs and open standards for spatial indexing such as 3D Tiles, and cloud-based real-world content from Cesium ion with Godot Engine, this project enables a new era of 3D geospatial software.

Other Cesium projects include:

Project Goals

The project will borrow heavily from the approach taken in the Cesium for Unreal plugin, adapting the concepts to Godot's scenes, nodes and resources.

Feature Roadmap

MVP

Also note, Godot uses 32-bit float by default, but the engine can be recompiled to use 64-bit doubles. The aim would be to use the pre-compiled engine if possible. We could use real_t and provide a single- and double-precision version of the GDExtension as described in the docs.

It looks like Cesium acknowledge that the curvature of the earth affects the scene the further you travel from the origin (e.g. physics gravity direction becomes worse, environment horizon is incorrect), so they simply recommend staying within a hundred clicks of the origin.

Stage 2