TransWikia.com

.b3dm to regular 3d model converting

Geographic Information Systems Asked on October 2, 2021

I have never been using Cesium but recently found a web storage with multiple *.b3dm files. It looked like they represent buildings that could be helpful for my company. However I could not see if they can be converted to a regular *.dwg, *.obj, *.fbx or any other 3d model format.

Is it possible at all?

UPD. 17.08.2020
Here is a link to a sample b3dm file: https://drive.google.com/file/d/1sqWlowHWTxv-BdL_9SFFZarZXe79gi0s/view?usp=sharing

One Answer

Yes, each b3dm file contains one glTF file, most likely in GLB (glTF Binary) form.

I don't know if there's a tool to do this, but the glTF can be unwrapped from b3dm just by deleting the first several bytes from the start of the file, up until the first glTF ASCII marker. That's the b3dm header, and it starts with ASCII bytes b3dm, and some bytes later you'll see the start of the .glb file, which starts with ASCII bytes glTF.

Strip off everything prior to the glTF magic number, and save the resulting file with a .glb extension.

Answered by emackey on October 2, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP