Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.8 KB

README.md

File metadata and controls

67 lines (40 loc) · 1.8 KB

3dtiles

Build status

The fastest tools for 3dtiles convert in the world!

include these tools:

osgb => 3dtile , convert huge of osgb file to 3dtiles.

shapefile => 3dtile, convert shape file to 3dtiles.

fbx => 3dtile, convert fbx file to 3dtile, include auto_lod\texture convert etc..

How to build / 编译指南

Windows pre-build / 预编译下载

3dtile 转换工具集。

世界上最快的 3dtiles 转换工具,极度节省你的处理时间。

命令行:

3dtile.exe [FLAGS] [OPTIONS] --format <osgb,shape> --input <FILE> --output <FILE>

示例:

3dtile.exe -f osgb -i E:\Data\倾斜摄影\hgc -o E:\Data\倾斜摄影\hgc_test

3dtile.exe -f osgb -i E:\Data\倾斜摄影\dayanta -o E:\Data\倾斜摄影\dayanta_test -c "{\"offset\": 0}"

参数说明:

-c, --config    

     {
	
      "x": 120,
      
      "y": 30,
      
      "offset": 0 , // 模型最低面地面距离
      
      "max_lvl" : 20 // 处理切片模型到20级停止
      
     }
  -f, --format <osgb,shape> 
  
  -i, --input <FILE> 
	
  -o, --output <FILE> 
  
  --height, 指定shapefile的高度字段

命令行参数详解:

-c 在命令行传入 json 配置的字符串, json 内容为选配,可部分实现。

-f 输入数据格式: osgb 为倾斜摄影格式数据。

-i 输入数据的目录,截止到 "\Data" 目录的上一级。

-o 输出目录。最终结果位于输出目录的 "\Data" 目录。

--height 高度字段。指定shapefile中的高度属性字段。