Open ggetz opened 1 week ago
@lilleyse Are there other specific requirements for 3D tilesets using this feature that should be called out in the docs?
3D Tiles loaded with Cesium3DTilesTerrainProvider must follow this structure:
TILE_MINIMUM_HEIGHT
, TILE_MAXIMUM_HEIGHT
, TILE_BOUNDING_SPHERE
, TILE_HORIZON_OCCLUSION_POINT
semanticsPOSITION
attributeNORMAL
attribute if requestVertexNormals
is trueUNSIGNED_SHORT
or UNSIGNED_INT
component typerequestWaterMask
is true, primitive must reference an EXT_structural_metadata
property texture with WATERMASK
semantic.CESIUM_tile_edges
extensionEXT_meshopt_compression
/ KHR_mesh_quantization
We have a long-running branch—
3d-tiles-terrain
— that adds a newCesium3DTilesTerrainProvider
class. This is used for rending global 3D Tiles via the existing terrain engine.This terrain provider supports only a subset of 3D tilesets (ie. 3D Tiles 1.1 with implicit tiling schemes matching that of terrain), so it may not quite ready for prime time yet. As such we should use the
experimental
tag to give us some flexibility if things need to change.In the interest of maintenance as well as making this early work generally available, let's get this branch updated and merged into
main
. We'll also want to ensure the testing, documentation, and API structure are up to par as a part of this.