# Create Custom Primitive Type

**URL:** <https://community.cesium.com/t/create-custom-primitive-type/16919>\
**Category:** CesiumJS\
**Created:** [January 17, 2022, 7:33pm UTC](https://community.cesium.com/t/create-custom-primitive-type/16919 "2022-01-17T19:33:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rberge](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/rberge/32/7746_2.png) [@rberge](https://community.cesium.com/u/rberge)\
**Post date:** [January 17, 2022, 7:33pm UTC](https://community.cesium.com/t/create-custom-primitive-type/16919/1 "2022-01-17T19:33:34Z")

</div>

Hello, I am trying to create a new shape that can not be represented by any of the Primitive Types in the CesiumJS library. Is there anyone that can provide me with a starting point to under stand the rendering pipeline so that I can add a new type? I do not see anything in the developer materials that cover information.

-Ryan

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [January 18, 2022, 7:39pm UTC](https://community.cesium.com/t/create-custom-primitive-type/16919/2 "2022-01-18T19:39:58Z")

</div>

Hi @rberge,

Thank you for your community forum post! I do not have a significant amount of experience with creating custom primitives in CesiumJS. However, I wanted to quickly interject with a possible workaround. It seems like you are trying to create a custom 3D shape. One option may be to use a 3rd party tool to generate a `glTF` model of your custom shape. From here, you can simply import it into CesiumJS. I would love to learn more about why our rendering pipeline would potentially be relevant to your process.

Best,  
Sam

---

<div class="post-metadata">

**Author:** ![Gu-Miao](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gu-miao/32/6222_2.png) [@Gu-Miao](https://community.cesium.com/u/Gu-Miao)\
**Post date:** [January 19, 2022, 3:58am UTC](https://community.cesium.com/t/create-custom-primitive-type/16919/3 "2022-01-19T03:58:03Z")

</div>

Custom geometry? see this: [Geometry and Appearances · CesiumGS/cesium Wiki · GitHub](https://github.com/CesiumGS/cesium/wiki/Geometry-and-Appearances#part-ii-creating-custom-geometry-and-appearances).

Or you want to add a new member to `Cesium.PrimitiveType`? If so, I think you may need to read source code deeply.
