The Cesium3DTilesConveter based on C++17 and Qt supports the conversion of oblique photography model and vector data in multiple coordinate systems. It is also the only open source tool in the github that supports the oblique photography model pyramid reconstruction.
Oblique Photography Model(OpenSceneGraph Binary) to 3DTiles: convert huge of osgb file to 3DTiles.
Vector to 3DTiles: convert vector data which gdal supported to 3D-Tiles.
Simplify the input parameters from the CLI, adopt GLTF2.0 format by default (y-axis upward), and multi threaded parallel processing.
Converter -f <FORMAT> [OPTIONS] <INPUT> <OUTPUT>
# from osgb dataset
Converter -f OSGB -m true -i <OSGB> -o <OUTPUT>
Options:
-?, -h, --help displays help on commandline options.
-f, --format <format> OSGB or Vector(required)
-m, --merge <true/false> Top-level rebuild merge switch options
-i, --input <INPUT> Input path. for OSGB format, the path ends at the upper level of the `<INPUT>/Data` directory. for GDAL, please refers to the GDAL data format.
-o, --ouput <OUTPUT> Output path。for OSGB format, the data files output are located in the <OUTPUT>/Data` directory. for GDAL format, the data files output are located in the <DIR>/Tile directory, and tileset.json is located in the <OUTPUT> root directory.
Oblique photography model only supports the osgb organization method of smart3d format:
Data
directory;metadata.xml
file at the same level of the Data
directory to record the location information of the model;Correct directory structure diagram:
- Your-data-folder
├ metadata.xml
└ Data/Tile_000_000/Tile_000_000.osgb
gdal | openscenegraph | qt |
---|---|---|
3.7.0 | 3.6.5 | 5.15 |
Currently, only support OSGB, and the GDAL format conversion code will be migrated later.
The root node merging has been initially implemented. But only Vertex simplification has been achieved, and texture simplification will be added later.