三维格式转换成3dtiles

  • obj->gltf,3dtile  

 

参考 http://t.csdn.cn/7fGm0

 

https://github.com/CesiumGS/obj2gltf

https://github.com/PrincessGod/objTo3d-tiles

 

  •  Shp,osgb,fbx ->3dtiles

支持 osg、osgb、obj、fbx、3ds 等单一通用模型数据转为 gltf、glb 格式。

转出格式为 2.0 的gltf,可在以下网址验证查看: https://pissang.github.io/clay-viewer/editor/

 

http://t.csdn.cn/wanIt

https://github.com/fanvanzh/3dtiles.git

 

  •  tif 切瓦片

http://t.csdn.cn/NAXwt

用geotools切片

 

  • tif地形->3dtiles

参考:http://t.csdn.cn/jqLW8

 

https://github.com/geo-data/cesium-terrain-builder

 

terr2cesiumApp工具

http://data.mars3d.cn/tool/terr2cesiumApp.zip

 

https://github.com/CesiumGS/obj2gltf

https://github.com/PrincessGod/objTo3d-tiles

 

glTF相关工具推荐

glTF在线验证: http://github.khronos.org/glTF-Validator/

 

在线看gltf  https://gltf-viewer.donmccurdy.com/

 

 

浏览-Sketchfab: https://sketchfab.com/(需要注册账号,并且要上传模型才能浏览)

 

浏览-PlayCanvas查看器: https://playcanvas.com/viewer

 

浏览-ThreeJS查看器:https://gltf-viewer.donmccurdy.com/

浏览-BabylonJS查看器: https://sandbox.babylonjs.com/

gltf转glb: https://sbtron.github.io/makeglb/

obj2gltf(能用,要node.js环境): https://github.com/CesiumGS/obj2gltf

FBX2glTF(能用,可以下载对应服务器版本): https://github.com/facebookincubator/FBX2glTF

COLLADA2GLTF: https://github.com/KhronosGroup/COLLADA2GLTF

 

BIM格式转3D Tiles

要将文件格式从 .ifc.rvt.skp.nwd.dgn 转换为 3D Tiles 格式,您需要使用适当的转换工具。下面是一些常用的转换工具和相应的文件格式转换步骤:

  1. IFC(Industry Foundation Classes):要将 .ifc 文件转换为 3D Tiles,您可以使用ifcConverthttps://github.com/IfcOpenShell/IfcOpenShell 工具。这个工具是一个开源的命令行工具,可以将 IFC 文件转换为其他格式,包括 3D Tiles。以下是使用 ifcConvert 将 IFC 文件转换为 3D Tiles 的示例命令:

     

    bashCopy code

    ifcConvert input.ifc output.3dtiles

  2. RVT(Revit):要将 .rvt 文件转换为 3D Tiles,您可以使用FBX Converterhttps://www.autodesk.com/developer-network/platform-technologies/fbx-converter-archives 工具。FBX Converter 是一个免费的 Autodesk 工具,可以将 Revit 文件转换为多种格式,包括 FBX 格式。然后,您可以使用3D Tiles Converterhttps://github.com/CesiumGS/3d-tiles-tools 将 FBX 文件转换为 3D Tiles。以下是大致的转换步骤:

    • 使用 FBX Converter 将 .rvt 文件转换为 .fbx 文件。
    • 使用 3D Tiles Converter 将 .fbx 文件转换为 3D Tiles。
  3. SKP(SketchUp):要将 .skp 文件转换为 3D Tiles,您可以使用SketchUp Prohttps://www.sketchup.com/ 软件。SketchUp Pro 是一款专业的建模软件,可以将 SketchUp 文件保存为其他格式,如 COLLADA(.dae)或 FBX(.fbx)。然后,您可以使用 3D Tiles Converter 将导出的文件转换为 3D Tiles。

  4. NWD(Navisworks):要将 .nwd 文件转换为 3D Tiles,您可以使用Forge Model Derivative APIhttps://forge.autodesk.com/en/docs/model-derivative/v2/developers_guide/overview/。Forge Model Derivative API 提供了将 Navisworks 文件转换为多种格式的功能,包括 SVF(Shared Views)格式,该格式可以进一步转换为 3D Tiles。您可以参考 Forge Model Derivative API 的文档和示例代码来实现这个转换过程。

  5. DGN(MicroStation):要将 .dgn 文件转换为 3D Tiles,您可以使用ContextCapturehttps://www.bentley.com/en/products/product-line/reality-modeling-software/contextcapture 软件。ContextCapture 是一款由 Bentley 提供的用于生成三维现实模型的软件,它支持导出为多种格式,包括 3D Tiles。您可以使用 ContextCapture 将 DGN 文件转换为 3D Tiles 格式。

请注意,每个转换工具都有其特定的用法和支持的文件格式。在使用这些工具进行转换之前,您应该详细了解工具的使用说明和要求,以确保正确地转换您的文件到 3D Tiles 格式。

----------dae转gltf--------

转载http://t.csdn.cn/aUFDp

1,首先在网站: https://clara.io/library?gameCheck=true&public=true&query=satellite   免费下载到dae模型\n2,在网站: https://github.com/KhronosGroup/COLLADA2GLTF/releases   下载dae转gltf的工具,假如是win64下载下面的:\n\n3,电脑端打开cmd,一路cd 进入下载好的dae转gltf的工具文件夹,并输入命令行:COLLADA2GLTF-bin.exe  -f   你的dae文件路径   -e\n\n4,最终生成gltf文件:

 

  • 5
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值