Go to file
Nithin Pranesh 71c680e89b use doxygen v1.9.2 instead of v1.9.3 2022-01-03 14:43:43 -05:00
.concierge Setup Cesium Concierge for Cesium Native 2021-03-20 11:15:00 -04:00
.vscode WIP move subtree loading to Tileset.cpp 2021-11-02 04:43:12 -04:00
Cesium3DTiles Update scripts 2021-12-03 11:32:53 -05:00
Cesium3DTilesReader Added Cesium3DTilesWriter 2021-12-06 19:34:22 -05:00
Cesium3DTilesSelection Select tile level based on the tiling scheme rectangle, not coverage. 2021-12-10 23:41:18 +11:00
Cesium3DTilesWriter Added Cesium3DTilesWriter 2021-12-06 19:34:22 -05:00
CesiumAsync Namespace cleanup 2021-12-02 18:34:22 -05:00
CesiumGeometry Namespace cleanup 2021-12-02 18:34:22 -05:00
CesiumGeospatial Namespace cleanup 2021-12-02 18:34:22 -05:00
CesiumGltf Change folder structure for src folders 2021-12-03 11:11:41 -05:00
CesiumGltfReader Remove bad semicolon 2021-12-03 13:30:58 -05:00
CesiumGltfWriter Change folder structure for src folders 2021-12-03 11:11:41 -05:00
CesiumIonClient Namespace cleanup 2021-12-02 18:34:22 -05:00
CesiumJsonReader Namespace cleanup 2021-12-02 18:34:22 -05:00
CesiumJsonWriter Merge pull request #412 from CesiumGS/tileset-writer 2021-12-17 16:15:08 +11:00
CesiumNativeTests Added Cesium3DTilesWriter 2021-12-06 19:34:22 -05:00
CesiumUtility Namespace cleanup 2021-12-02 18:34:22 -05:00
doc Added Cesium3DTilesWriter 2021-12-06 19:34:22 -05:00
extern Namespace cleanup 2021-12-02 18:34:22 -05:00
tools/generate-classes Added Cesium3DTilesWriter 2021-12-06 19:34:22 -05:00
.clang-format Fix includes 2021-10-11 17:28:44 -04: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 Add Cesium3DTilesReader 2021-10-10 22:11:26 -04:00
.gitmodules Remove unused KhronosGroup/glTF submodule 2021-12-14 18:59:51 -05:00
.travis.yml use doxygen v1.9.2 instead of v1.9.3 2022-01-03 14:43:43 -05:00
CHANGES.md Merge branch 'main' into non-global-lod 2021-12-21 15:01:50 -05:00
CMakeLists.txt Added Cesium3DTilesWriter 2021-12-06 19:34:22 -05:00
LICENSE Add license. That's it. 2021-03-03 15:43:33 +01:00
README.md Added Cesium3DTilesWriter 2021-12-06 19:34:22 -05:00
package-lock.json Update package-lock.json 2021-12-03 13:50:22 -05:00
package.json Bump to v0.10.0, update CHANGES.md. 2021-12-01 14:06:42 +11: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
Cesium3DTiles Lightweight 3D Tiles classes.
Cesium3DTilesReader 3D Tiles deserialization, including 3D Tiles extension support.
Cesium3DTilesWriter 3D Tiles serialization, including 3D Tiles extension support.
Cesium3DTilesSelection Runtime streaming, decoding, level of detail selection, culling, cache management, and decoding of 3D Tiles.
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