CesiumGS / cesium-omniverse

Bringing the 3D geospatial ecosystem to Omniverse
https://cesium.com/platform/cesium-for-omniverse/
Apache License 2.0
51 stars 7 forks source link

Fix point cloud styling #719

Closed lilleyse closed 2 months ago

lilleyse commented 2 months ago

Property table values were being read incorrectly in cesium.mdl. The code was treating (0, 0) as the bottom left pixel instead of the top left pixel. This affected property tables with more than 4096 elements; anything less than would would fit in a single row of the texture and not hit this bug. That's why most datasets worked except point clouds.

Before:

image

After:

image

Test data: montreal.zip