Search code examples
javascripthtml3dcesiumjsgltf

Trying to convert .dae file to .gtlf file so I can use with cesium 3d model


I am trying to convert a 3d dae file to a glTF file. I originally built something in SketchUp and exported to .dae. I tried the following site which is supposed to convert to .gtlf but it converts to a .glb. What is the difference between a .gtlf file and a .glb? Can I use a .glb to load into Cesium? Can I just use like an ordinary icon?

https://cesiumjs.org/convertmodel.html


Solution

  • The .glb file extension indicates the file uses the Binary glTF extension, which is an official Khronos extension (hence the KHR prefix) and is fully supported by Ceisum. Cesium actually ships with some example .glb files.

    The main difference between binary glTF and stock glTF is the binary one is compressed and takes less network bandwidth.