# Model without textures

**URL:** <https://community.cesium.com/t/model-without-textures/1082>\
**Category:** CesiumJS\
**Created:** [March 19, 2014, 12:04pm UTC](https://community.cesium.com/t/model-without-textures/1082 "2014-03-19T12:04:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://community.cesium.com/u/11155)\
**Post date:** [March 19, 2014, 12:04pm UTC](https://community.cesium.com/t/model-without-textures/1082/1 "2014-03-19T12:04:44Z")

</div>

Hello,I have been playing around with the new model support.

I exported a building collada model using CityEngine which belongs to Esri. then I used the collada2gltf convter to convert the collada model to glTF. At last, I put the building model on Cesium.But the model appeared without textures.

So I thought that the collada model exported from CityEngine may be the problem.But when I opened it with Google SketchUp, the collada model displayed with textures.

Could you help me with the problem?

Attached Files

![collada open with sketchup.png](https://global.discourse-cdn.com/cesium/original/1X/52008a08c905c624c1b7ab8c412512bb6f5e44f9.png)

[collada.zip](https://community.cesium.com/uploads/short-url/qFPGM1GnZDoVUOnQdBMp8PmoHTE.zip) (2.38 MB)

![gltf.png](https://global.discourse-cdn.com/cesium/original/1X/1e4c30aa432564a4c2ea06d1f9c03d648cacfb68.png)

[glTF.zip](https://community.cesium.com/uploads/short-url/ttvyQJIsuHfPjNAK3z1OSwxXvH4.zip) (2.38 MB)

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [March 20, 2014, 10:46pm UTC](https://community.cesium.com/t/model-without-textures/1082/2 "2014-03-20T22:46:09Z")

</div>

Thanks for the detailed report. This is a bug in the converter. See [#253](https://github.com/KhronosGroup/glTF/issues/253).

I attached a workaround, which you can use to replace Philadelphia.json. In the file, this just replaces “TEXCOORD\_0” with “TEXCOORD\_2”

Patrick

[Philadelphia.json](https://community.cesium.com/uploads/short-url/zMFRi5hbKtXK0nzOeFZXdBL0Ymn.json) (11.1 KB)

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://community.cesium.com/u/11155)\
**Post date:** [March 23, 2014, 7:21am UTC](https://community.cesium.com/t/model-without-textures/1082/3 "2014-03-23T07:21:41Z")

</div>

Thanks a lot, it works.

But I still have a prolblem, there are thousands of collada models exported from Cityengine. As a result, It’s impossibe for me to convert the models one by one like the way you just said.

So could you help me with a more general method to get the right glTF models.

Thanks!

在 2014年3月21日星期五UTC+8上午6时46分09秒，Patrick Cozzi写道：

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [March 24, 2014, 1:36pm UTC](https://community.cesium.com/t/model-without-textures/1082/4 "2014-03-24T13:36:55Z")

</div>

You could write a simple script to automate it. With sed, it will be something like:

> sed -b -i s/TEXCOORD\_0/TEXCOORD\_2/g filename.glsl

You could also contribute a fix to [#253](https://github.com/KhronosGroup/glTF/issues/253).

Patrick

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://community.cesium.com/u/11155)\
**Post date:** [March 25, 2014, 8:44am UTC](https://community.cesium.com/t/model-without-textures/1082/5 "2014-03-25T08:44:42Z")

</div>

Thanks.

Yestoday,I loaded thousands glTF models on cesium.The system became very slow,and not fluent.

So do you have any idea of how to load large quantities of glTF models on Cesium?

在 2014年3月24日星期一UTC+8下午9时36分55秒，Patrick Cozzi写道：

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [March 25, 2014, 4:46pm UTC](https://community.cesium.com/t/model-without-textures/1082/6 "2014-03-25T16:46:02Z")

</div>

We have not optimized for a large number of models yet. In the meantime, there are some ideas here: [https://groups.google.com/forum/#!topic/cesium-dev/IabdqdVqRFc](https://groups.google.com/forum/#!topic/cesium-dev/IabdqdVqRFc)

Patrick

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [May 22, 2014, 7:59pm UTC](https://community.cesium.com/t/model-without-textures/1082/7 "2014-05-22T19:59:52Z")

</div>

We deployed a new version of the model converter that should fix the original issue: [http://cesiumjs.org/convertmodel.html](http://cesiumjs.org/convertmodel.html)

Patrick
