mfbonfigli / gocesiumtiler

A Cesium.js point cloud 3D tiles generator from LAS files written in Golang
Mozilla Public License 2.0
195 stars 40 forks source link

Add support for 3D Tiles 1.1 #45

Closed mfbonfigli closed 5 months ago

mfbonfigli commented 5 months ago

This PR:

  1. Adds experimental support for 3D tiles 1.1 https://github.com/CesiumGS/3d-tiles. By default the tool still creates tileset v1.0 but an optional flag -v can be passed with value 1.1 to generate GLTF tiles.
  2. Improves the README.md also providing a link to a live example of tiler output
  3. Bumps the version number to 2.0.0-beta

Support of 3D Tiles 1.1 is added by refactoring the writer implementation. Now a tile writer requires a geometry encoder instance. This can either be a PntsEncoder that writes pnts (3D Tiles 1.0) or a GltfEncoder that writes glb (gltf), the format used by 3D Tiles 1.1.

The GLTF encoder relies on https://github.com/qmuntal/gltf

mfbonfigli commented 5 months ago

build failed due to a misconfiguration in the old build system. closing and then reopening to attempt to fix it