Go to file
Kevin Ring 172ac5ddcc Bump to v0.26.0. Update CHANGES.md. 2023-08-01 12:49:59 +10:00
.concierge update concierge 2022-03-18 10:49:53 -04:00
.vscode option to flip RasterizedPolygonsOverlay/TileExcluder 2022-05-17 17:36:14 -04:00
Cesium3DTiles Regenerated 3D Tiles, too. 2022-12-23 14:46:25 +11:00
Cesium3DTilesReader Add 3D Tiles 1.1 support to serializer, drop redundant extensions 2022-06-30 19:08:32 -04:00
Cesium3DTilesSelection Merge pull request #686 from CesiumGS/unconditionally-refined-leaves 2023-07-26 10:51:05 -04:00
Cesium3DTilesWriter Fix typo in #ifdef 2022-10-22 11:38:40 -04:00
CesiumAsync A few more test cases, and tweak the logic so they pass. 2023-07-27 22:00:58 +10:00
CesiumGeometry Small documentation tweaks 2023-03-20 13:55:40 -04:00
CesiumGeospatial Small optimization to LocalHorizontalCoordinateSystem construction. 2023-05-24 19:10:27 +10:00
CesiumGltf Update class names for materials variants extension 2023-05-02 02:05:04 +02:00
CesiumGltfReader add test to verify compressed vertex attributes are within range 2023-07-31 17:41:45 -04:00
CesiumGltfWriter Update class names for materials variants extension 2023-05-02 02:05:04 +02:00
CesiumIonClient Add missing #include. 2022-05-02 16:57:02 +10:00
CesiumJsonReader Fix array of string parsing 2022-07-09 17:57:29 -04:00
CesiumJsonWriter Added Cesium3DTilesWriter 2022-01-19 18:43:51 +11:00
CesiumNativeTests Use v2 of the Cesium ion tokens API. 2022-01-20 11:40:38 +11:00
CesiumUtility A different solution to zlib's dirty repo. 2023-07-11 11:26:45 +10:00
doc include generated headers in doxygen documentation 2023-06-27 12:04:00 -04:00
extern address pull request comments 2023-07-21 14:43:51 -04:00
tools/generate-classes Change draft-1.1 to main in generate-classes 2023-06-05 15:50:17 -04:00
.clang-format Fix includes 2021-10-11 17:28:44 -04:00
.editorconfig
.gitattributes Better comment. 2021-07-01 16:49:34 +10:00
.gitignore add build-wsl to gitignore 2022-03-18 16:47:57 -04:00
.gitmodules add the meshoptimizer library 2023-07-13 14:10:05 -04:00
.travis.yml add nasm to CI 2023-03-02 11:16:24 -05:00
CHANGES.md Bump to v0.26.0. Update CHANGES.md. 2023-08-01 12:49:59 +10:00
CMakeLists.txt Install meshoptimizer targets. 2023-08-01 09:30:14 +10:00
LICENSE
README.md Merge pull request #620 from CesiumGS/update-readme-omniverse 2023-04-17 17:49:17 -04:00
ThirdParty.json add the meshoptimizer library 2023-07-13 14:10:05 -04:00
package-lock.json Update package-lock.json. 2023-02-21 16:15:27 +11:00
package.json Bump to v0.26.0. Update CHANGES.md. 2023-08-01 12:49:59 +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

Cesium Native powers Cesium's runtime integrations for Cesium for Unreal, Cesium for Unity, Cesium for Omniverse, and Cesium for O3DE. Cesium Native is the foundational layer for any 3D geospatial software, especially those that want to stream 3D Tiles.

Cesium Platform and Ecosystem

A high-level Cesium platform architecture with the runtime integrations powered by Cesium Native and 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
  • For best JPEG-decoding performance, you must have nasm installed so that CMake can find it. Everything will work fine without it, just slower.

🚀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