# b3dm file into gltf

**URL:** <https://community.cesium.com/t/b3dm-file-into-gltf/8732>\
**Category:** CesiumJS\
**Created:** [October 8, 2019, 7:57pm UTC](https://community.cesium.com/t/b3dm-file-into-gltf/8732 "2019-10-08T19:57:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![charum514](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@charum514](https://community.cesium.com/u/charum514)\
**Post date:** [October 8, 2019, 7:57pm UTC](https://community.cesium.com/t/b3dm-file-into-gltf/8732/1 "2019-10-08T19:57:53Z")

</div>

**1. A concise explanation of the problem you’re experiencing.**

I have a b3dm file and am wondering how to convert b3dm into gltf 1.0.

**2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.**

**3. Context. Why do you need to do this? We might know a better way to accomplish your goal.**

I’m creating a Unity app and I need the b3dm file to be into a format that unity can accept ( [.fbx](https://docs.unity3d.com/560/Documentation/Manual/HOWTO-exportFBX.html), .dae ([Collada](https://www.khronos.org/collada/)), .3ds, .dxf, .obj, and .skp ). I figure if I can get it into gltf, I may be able to find a converter to convert gltf to dae or something else.

**4. The Cesium version you’re using, your operating system and browser.**

I’m not using Cesium yet but on a windows machine.

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [October 8, 2019, 8:58pm UTC](https://community.cesium.com/t/b3dm-file-into-gltf/8732/2 "2019-10-08T20:58:40Z")

</div>

A b3dm is essentially a wrapper around a glb (a binary glTF). There are some open source tools you can use to extract the glb (see [https://github.com/AnalyticalGraphicsInc/3d-tiles-tools/tree/master/tools#b3dmtoglb](https://github.com/AnalyticalGraphicsInc/3d-tiles-tools/tree/master/tools#b3dmtoglb)).

Long term the goal is to make it easy for engines like Unity to support 3D Tiles directly, there’s some discussion here about having tiles be gltf instead: [https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/385](https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/385)

Have you tried any glTF importers in Unity (like this one [https://github.com/KhronosGroup/UnityGLTF](https://github.com/KhronosGroup/UnityGLTF)) ?
