Go to file
Kevin Ring c99639c2e2 Bump to v0.7.0, update CHANGES.md. 2021-09-01 16:41:31 +10:00
.concierge Setup Cesium Concierge for Cesium Native 2021-03-20 11:15:00 -04:00
.vscode Allow direct creation of a Promise. 2021-07-07 14:12:15 +10:00
Cesium3DTilesSelection Detect missing overlay textures coordinates and add them. 2021-09-01 15:56:24 +10:00
CesiumAsync Remove unnecessary AsyncSystem-related changes. 2021-08-24 12:12:47 +10:00
CesiumGeometry Remove another unnecessary change. 2021-08-30 14:06:31 +10:00
CesiumGeospatial Introduce ITileExcluder, simplify CartographicPolygon. 2021-08-31 22:31:58 +10:00
CesiumGltf replace getIndex std::function with templates 2021-08-27 13:59:13 -04:00
CesiumGltfReader Clearer verifySuccessfulCopy. 2021-08-25 10:23:32 +10:00
CesiumGltfWriter Fixed property name of normal texture info 2021-08-17 18:21:45 +02:00
CesiumIonClient Allow direct creation of a Promise. 2021-07-07 14:12:15 +10:00
CesiumJsonReader Rename ExtensionContext to ExtensionReaderContext 2021-07-29 09:48:58 -04:00
CesiumJsonWriter Add missing install() to CesiumJsonWriter 2021-07-28 08:22:15 -04:00
CesiumNativeTests Rename Cesium3DTiles -> Cesium3DTilesSelection 2021-07-30 11:45:37 -04:00
CesiumUtility Add Math::roundUp and roundDown. 2021-08-23 20:52:40 +10:00
doc Merge remote-tracking branch 'origin/raster-overlay-refactoring' into clipping-2.5d-kring 2021-08-27 22:05:06 +10:00
extern Clean up earcut cmake config. 2021-08-17 16:14:32 +10:00
tools/generate-gltf-classes Merge pull request #281 from CesiumGS/feature-metadata-extension 2021-07-24 21:32:14 +10:00
.clang-format Updated base style link 2021-04-30 14:56:47 +02:00
.editorconfig Add editorconfig and gitattributes. 2021-07-01 16:33:15 +10:00
.gitattributes Better comment. 2021-07-01 16:49:34 +10:00
.gitignore remove CMakeLists.txt.user 2021-06-09 13:21:42 -04:00
.gitmodules Fix earcut compilation and cmake 2021-05-27 12:13:15 -04:00
.travis.yml Clean up. 2021-08-23 13:40:10 +10:00
CHANGES.md Bump to v0.7.0, update CHANGES.md. 2021-09-01 16:41:31 +10:00
CMakeLists.txt Rename Cesium3DTiles -> Cesium3DTilesSelection 2021-07-30 11:45:37 -04:00
LICENSE Add license. That's it. 2021-03-03 15:43:33 +01:00
README.md Rename Cesium3DTiles -> Cesium3DTilesSelection 2021-07-30 11:45:37 -04:00
package-lock.json Add easy way to format the whole codebase, and check formatting on CI. 2021-03-09 16:02:13 +11:00
package.json Bump to v0.7.0, update CHANGES.md. 2021-09-01 16:41:31 +10:00

README.md

Cesium Native

Cesium Native is a set of C++ libraries for 3D geospatial, including:

  • 3D Tiles runtime streaming
  • lightweight glTF serialization and deserialization, and
  • high-precision 3D geospatial math types and functions, including support for global-scale WGS84 ellipsoids.

License Build Status

Currently Cesium Native is used to develop Cesium for Unreal. In the future, we plan for Cesium Native to be a foundational layer for any 3D geospatial software, especially those that want to stream 3D Tiles.

Cesium for Unreal Architecture

A high-level architecture of Cesium for Unreal, Cesium Native and Unreal Engine streaming content from Cesium ion.

🗃️Libraries Overview

Library Description
Cesium3DTilesSelection Runtime streaming, decoding, level of detail selection, culling, cache management, and decoding of 3D Tile.
CesiumAsync Classes for multi-threaded asynchronous tasks.
CesiumGeometry Common 3D geometry classes; and bounds testing, intersection testing, and spatial indexing algorithms.
CesiumGeospatial 3D geospatial math types and functions for ellipsoids, transforms, projections.
CesiumGltf Lightweight glTF processing and optimization functions.
CesiumGltfReader glTF deserialization / decoding, including glTF extension support (KHR_draco_mesh_compression etc).
CesiumGltfWriter glTF serialization / encoding, including glTF extension support.
CesiumIonClient Functions to access Cesium ion accounts and 3D tilesets using ion's REST API.
CesiumJsonReader Reads JSON from a buffer into statically-typed classes.
CesiumJsonWriter Writes JSON from statically-typed classes into a buffer.
CesiumUtility Utility functions for JSON parsing, URI processing, etc.

📗License

Apache 2.0. Cesium Native is free for both commercial and non-commercial use.

💻Developers

Prerequisites

  • Visual Studio 2017 (or newer), GCC v7.x+, Clang 10+. Other compilers may work but haven't been tested.
  • CMake

🚀Getting Started

Clone the repo

Check out the repo with:

git clone git@github.com:CesiumGS/cesium-native.git --recurse-submodules

If you forget the --recurse-submodules, nothing will work because the git submodules will be missing. You should be able to fix it with:

git submodule update --init --recursive

Compile

You can then build cesium-native on the command-line with CMake:

## Windows compilation using Visual Studio
cmake -B build -S . -G "Visual Studio 15 2017 Win64"
cmake --build build --config Debug
cmake --build build --config Release

## Linux compilation
cmake -B build -S .
cmake --build build

Or, you can easily build it in Visual Studio Code with the CMake Tools extension installed. It should prompt you to generate project files from CMake. On Windows, choose Visual Studio 2017 Release - amd64 as the kit to build. Or choose an appropriate kit for your platform. Then press Ctrl-Shift-P and execute the CMake: Build task or press F7.

Generate Documentation

  • Install Doxygen.
  • Run: cmake --build build --target cesium-native-docs
  • Open build/doc/html/index.html