Skip to content

fanvanzh/3dtiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3dtiles

Build Status 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> 

命令行参数详解:

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

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

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

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