glTF to 3d Tiles Converter. Convert glTF model to Glb, b3dm or 3d tiles format.
I am writting articles to explain code snippets and methodology used at this repository:
λ python main.py --help
Usage: main.py [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help Show this message and exit.
Commands:
b3dm convert gltf to b3dm
glb convert gltf to glb
tileset split gltf model to 3d tiles
λ python main.py glb --help
Usage: main.py glb [OPTIONS] FIN [FOUT]
convert gltf to glb
Arguments:
FIN input gltf path [required]
[FOUT] Optional output glb path (defaults to the path of the input file)
Options:
--help Show this message and exit.
λ python main.py b3dm --help
Usage: main.py b3dm [OPTIONS] FIN [FOUT]
convert gltf to b3dm
Arguments:
FIN input gltf path [required]
[FOUT] Optional output b3dm path(defaults to the path of the input file)
Options:
--help Show this message and exit.
λ python main.py tileset --help
Usage: main.py tileset [OPTIONS] FIN [FOUT]
split gltf model to 3d tiles
Arguments:
FIN input gltf path [required]
[FOUT] Optional output glb path (defaults to the path of the input file)
Options:
--measure [meter|foot] measure of attributes in gltf buffers [default:
Measure.METER]
--up [y|z] up direction used in gltf coordinate system
[default: Axis.Y]
--help Show this message and exit.