# Point cloud visualizations

**URL:** <https://community.cesium.com/t/point-cloud-visualizations/37412>\
**Category:** CesiumJS\
**Created:** [December 17, 2024, 7:29pm UTC](https://community.cesium.com/t/point-cloud-visualizations/37412 "2024-12-17T19:29:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen\_Speckert](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/glen_speckert/32/27177_2.png) [@Glen\_Speckert](https://community.cesium.com/u/Glen_Speckert)\
**Post date:** [December 17, 2024, 7:29pm UTC](https://community.cesium.com/t/point-cloud-visualizations/37412/1 "2024-12-17T19:29:56Z")

</div>

I have several point clouds, which originated its .LAS files, and were produced in Cesium Ion. I want to do simple visualizations based on the height of points. For example a simple threshold slider, with points above threshold appearing orange, and point below appearing green. I use:  
conditions = [  
[`\${POSITION[2]} > ${threshold}`, ‘color(“orange”)’],  
[‘true’, ‘color(“green”)’]  
];  
Some points remain Gray. That is, apparently they do not appear to have POSITION, yet the points have a clear x,y,z location in gray. How do I access the height values?

---

<div class="post-metadata">

**Author:** ![Glen\_Speckert](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/glen_speckert/32/27177_2.png) [@Glen\_Speckert](https://community.cesium.com/u/Glen_Speckert)\
**Post date:** [December 17, 2024, 7:35pm UTC](https://community.cesium.com/t/point-cloud-visualizations/37412/2 "2024-12-17T19:35:16Z")

</div>

Some data sets, when zooming in closer to cause a different LOD point tiles to load, causes the apparent color of a point cloud object to change colors. Is the ${POSITION[2]} which is used to color the points would seem to be relative to the tile offset? How best to reference the height of points in a point cloud from Cesium JS?

---

<div class="post-metadata">

**Author:** ![Glen\_Speckert](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/glen_speckert/32/27177_2.png) [@Glen\_Speckert](https://community.cesium.com/u/Glen_Speckert)\
**Post date:** [December 19, 2024, 6:35pm UTC](https://community.cesium.com/t/point-cloud-visualizations/37412/3 "2024-12-19T18:35:43Z")

</div>

Oh the Joy!! → Height is sqrt(POSITION\_ABSOLUTE[0]^2 + POSITION\_ABSOLUTE[1]^2 + POSITION\_ABSOLUTE[2]^2). → Distance from the center of the earth.
