b3dm file into gltf

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, .dae (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.

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).

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

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