- obj->gltf,3dtile??
?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-702003.html
參考 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 等單一通用模型數(shù)據(jù)轉(zhuǎn)為 gltf、glb 格式。
轉(zhuǎn)出格式為 2.0 的gltf,可在以下網(wǎng)址驗(yàn)證查看: 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相關(guān)工具推薦
glTF在線(xiàn)驗(yàn)證: http://github.khronos.org/glTF-Validator/
?
在線(xiàn)看gltf ?https://gltf-viewer.donmccurdy.com/
?
?
瀏覽-Sketchfab: https://sketchfab.com/(需要注冊(cè)賬號(hào),并且要上傳模型才能瀏覽)
?
瀏覽-PlayCanvas查看器: https://playcanvas.com/viewer
?
瀏覽-ThreeJS查看器:https://gltf-viewer.donmccurdy.com/
瀏覽-BabylonJS查看器: https://sandbox.babylonjs.com/
gltf轉(zhuǎn)glb: https://sbtron.github.io/makeglb/
obj2gltf(能用,要node.js環(huán)境): https://github.com/CesiumGS/obj2gltf
FBX2glTF(能用,可以下載對(duì)應(yīng)服務(wù)器版本): https://github.com/facebookincubator/FBX2glTF
COLLADA2GLTF: https://github.com/KhronosGroup/COLLADA2GLTF
?
BIM格式轉(zhuǎn)3D Tiles
要將文件格式從 .ifc
、.rvt
、.skp
、.nwd
或 .dgn
轉(zhuǎn)換為 3D Tiles 格式,您需要使用適當(dāng)?shù)霓D(zhuǎn)換工具。下面是一些常用的轉(zhuǎn)換工具和相應(yīng)的文件格式轉(zhuǎn)換步驟:
-
IFC(Industry Foundation Classes):要將
.ifc
文件轉(zhuǎn)換為 3D Tiles,您可以使用ifcConverthttps://github.com/IfcOpenShell/IfcOpenShell 工具。這個(gè)工具是一個(gè)開(kāi)源的命令行工具,可以將 IFC 文件轉(zhuǎn)換為其他格式,包括 3D Tiles。以下是使用 ifcConvert 將 IFC 文件轉(zhuǎn)換為 3D Tiles 的示例命令:?
bashCopy code
ifcConvert input.ifc output.3dtiles
-
RVT(Revit):要將
.rvt
文件轉(zhuǎn)換為 3D Tiles,您可以使用FBX Converterhttps://www.autodesk.com/developer-network/platform-technologies/fbx-converter-archives 工具。FBX Converter 是一個(gè)免費(fèi)的 Autodesk 工具,可以將 Revit 文件轉(zhuǎn)換為多種格式,包括 FBX 格式。然后,您可以使用3D Tiles Converterhttps://github.com/CesiumGS/3d-tiles-tools 將 FBX 文件轉(zhuǎn)換為 3D Tiles。以下是大致的轉(zhuǎn)換步驟:- 使用 FBX Converter 將
.rvt
文件轉(zhuǎn)換為.fbx
文件。 - 使用 3D Tiles Converter 將
.fbx
文件轉(zhuǎn)換為 3D Tiles。
- 使用 FBX Converter 將
-
SKP(SketchUp):要將
.skp
文件轉(zhuǎn)換為 3D Tiles,您可以使用SketchUp Prohttps://www.sketchup.com/ 軟件。SketchUp Pro 是一款專(zhuān)業(yè)的建模軟件,可以將 SketchUp 文件保存為其他格式,如 COLLADA(.dae)或 FBX(.fbx)。然后,您可以使用 3D Tiles Converter 將導(dǎo)出的文件轉(zhuǎn)換為 3D Tiles。 -
NWD(Navisworks):要將
.nwd
文件轉(zhuǎn)換為 3D Tiles,您可以使用Forge Model Derivative APIhttps://forge.autodesk.com/en/docs/model-derivative/v2/developers_guide/overview/。Forge Model Derivative API 提供了將 Navisworks 文件轉(zhuǎn)換為多種格式的功能,包括 SVF(Shared Views)格式,該格式可以進(jìn)一步轉(zhuǎn)換為 3D Tiles。您可以參考 Forge Model Derivative API 的文檔和示例代碼來(lái)實(shí)現(xiàn)這個(gè)轉(zhuǎn)換過(guò)程。 -
DGN(MicroStation):要將
.dgn
文件轉(zhuǎn)換為 3D Tiles,您可以使用ContextCapturehttps://www.bentley.com/en/products/product-line/reality-modeling-software/contextcapture 軟件。ContextCapture 是一款由 Bentley 提供的用于生成三維現(xiàn)實(shí)模型的軟件,它支持導(dǎo)出為多種格式,包括 3D Tiles。您可以使用 ContextCapture 將 DGN 文件轉(zhuǎn)換為 3D Tiles 格式。
請(qǐng)注意,每個(gè)轉(zhuǎn)換工具都有其特定的用法和支持的文件格式。在使用這些工具進(jìn)行轉(zhuǎn)換之前,您應(yīng)該詳細(xì)了解工具的使用說(shuō)明和要求,以確保正確地轉(zhuǎn)換您的文件到 3D Tiles 格式。
----------dae轉(zhuǎn)gltf--------
轉(zhuǎn)載http://t.csdn.cn/aUFDp
1,首先在網(wǎng)站:?https://clara.io/library?gameCheck=true&public=true&query=satellite? ?免費(fèi)下載到dae模型\n2,在網(wǎng)站:?https://github.com/KhronosGroup/COLLADA2GLTF/releases? ?下載dae轉(zhuǎn)gltf的工具,假如是win64下載下面的:\n\n3,電腦端打開(kāi)cmd,一路cd 進(jìn)入下載好的dae轉(zhuǎn)gltf的工具文件夾,并輸入命令行:COLLADA2GLTF-bin.exe? -f? ?你的dae文件路徑? ?-e\n\n4,最終生成gltf文件:文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-702003.html
?
到了這里,關(guān)于三維格式轉(zhuǎn)換成3dtiles的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!