# how to display 3d buildings in gltf format with texture on cesium?

**URL:** <https://community.cesium.com/t/how-to-display-3d-buildings-in-gltf-format-with-texture-on-cesium/7041>\
**Category:** CesiumJS\
**Created:** [June 18, 2018, 8:44am UTC](https://community.cesium.com/t/how-to-display-3d-buildings-in-gltf-format-with-texture-on-cesium/7041 "2018-06-18T08:44:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angarika\_Das](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Angarika\_Das](https://community.cesium.com/u/Angarika_Das)\
**Post date:** [June 18, 2018, 8:44am UTC](https://community.cesium.com/t/how-to-display-3d-buildings-in-gltf-format-with-texture-on-cesium/7041/1 "2018-06-18T08:44:11Z")

</div>

**Hello!**

\*\*I had made a geo-located sketchup file and exported it to .dae format using sketchup itself. While creating the sketchup file, I had imported ‘images as texture’ and pasted it on my 3d model. Then I converted the .dae file to .gltf using the online collada to gltf converter ([https://cesiumjs.org/convertmodel.html](https://cesiumjs.org/convertmodel.html)). But when I tried to run the code on cesium, the file was displayed incorrectly. And then I opened the browser’s developer tools and enabled the “pause on all exceptions” (in the sources tab in Chrome), after this I reloaded the Cesium tab and one exception was thrown. I dont know how to fix the exception and how to display the gltf file correctly. I have attached the .dae, .obj, .gltf file which I had used, and also a screenshot of the exception which I had got after enabling the “pause on exception” option. \*\*

[texture1.dae](https://community.cesium.com/uploads/short-url/2kpH7Di3sqXwJKM1QuR925EJIbM.dae) (284 KB)

[texture1.obj](https://community.cesium.com/uploads/short-url/2u8yWxUMAFkOXUNxo6EdSAuwlhA.obj) (68.9 KB)

[texture1.gltf](https://community.cesium.com/uploads/short-url/p5WcZJUF5WJhaCrpJqSywhwVgoY.gltf) (90.9 KB)

 ![exception.JPG](https://global.discourse-cdn.com/cesium/original/1X/ea16cb4dfd2573971171ec703a66c1d49f97e7fe.jpeg)

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [June 19, 2018, 2:47pm UTC](https://community.cesium.com/t/how-to-display-3d-buildings-in-gltf-format-with-texture-on-cesium/7041/2 "2018-06-19T14:47:07Z")

</div>

Are you comfortable using the command line?

I would try the [COLLADA2GLTF](https://github.com/KhronosGroup/COLLADA2GLTF) conversion tool.
