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.
Improves the README.md also providing a link to a live example of tiler output
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.
This PR:
-v
can be passed with value1.1
to generate GLTF tiles.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 writespnts
(3D Tiles 1.0) or aGltfEncoder
that writesglb
(gltf), the format used by 3D Tiles 1.1.The GLTF encoder relies on https://github.com/qmuntal/gltf