# Draco compressed model

**URL:** <https://community.cesium.com/t/draco-compressed-model/7806>\
**Category:** CesiumJS\
**Created:** [December 15, 2018, 7:40pm UTC](https://community.cesium.com/t/draco-compressed-model/7806 "2018-12-15T19:40:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MP1](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mp1/32/1987_2.png) [@MP1](https://community.cesium.com/u/MP1)\
**Post date:** [December 15, 2018, 7:40pm UTC](https://community.cesium.com/t/draco-compressed-model/7806/1 "2018-12-15T19:40:14Z")

</div>

Hi team,

I could compress the OBJ models with draco compression technique. Referred this link for draco compression : [https://github.com/google/draco](https://github.com/google/draco)  
and this compression has generated compressed files with drc extension.

How to load these drc files (compressed files) into Cesium app?

---

<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:** [December 17, 2018, 6:15pm UTC](https://community.cesium.com/t/draco-compressed-model/7806/2 "2018-12-17T18:15:59Z")

</div>

I think Cesium will automatically decompress Draco models inside a glTF. So you can use the glTF pipeline to compress models with Draco:

> **[CesiumGS/gltf-pipeline](https://github.com/CesiumGS/gltf-pipeline#converting-a-gltf-to-draco-gltf)**
>
> Content pipeline tools for optimizing glTF assets. :globe\_with\_meridians: - CesiumGS/gltf-pipeline

---

<div class="post-metadata">

**Author:** ![Linas\_Paskauskas](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/linas_paskauskas/32/3012_2.png) [@Linas\_Paskauskas](https://community.cesium.com/u/Linas_Paskauskas)\
**Post date:** [December 18, 2018, 7:59am UTC](https://community.cesium.com/t/draco-compressed-model/7806/3 "2018-12-18T07:59:12Z")

</div>

Hi Omar,

Maybe you have a solution how to have in cesium a point cloud compressed as .drc

> <https://github.com/google/draco/blob/master/README.md#encoding-point-clouds>

Thank you for your help in advance.

BR,

Linas

---

<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:** [December 18, 2018, 9:37pm UTC](https://community.cesium.com/t/draco-compressed-model/7806/4 "2018-12-18T21:37:36Z")

</div>

Hey Linas,

I was going to suggest using Cesium ion, which should be able to Draco compress your point cloud, and then CesiumJS automatically knows how to decompress that. But it looks like that option currently isn’t exposed so I opened a feature request for it:

[https://github.com/AnalyticalGraphicsInc/cesium-ion-community/issues/81](https://github.com/AnalyticalGraphicsInc/cesium-ion-community/issues/81)

---

<div class="post-metadata">

**Author:** ![Linas\_Paskauskas](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/linas_paskauskas/32/3012_2.png) [@Linas\_Paskauskas](https://community.cesium.com/u/Linas_Paskauskas)\
**Post date:** [December 19, 2018, 9:19am UTC](https://community.cesium.com/t/draco-compressed-model/7806/5 "2018-12-19T09:19:08Z")

</div>

Thank you for your help Omar.
