mfbonfigli / gocesiumtiler

A Cesium.js point cloud 3D tiles generator from LAS files written in Golang
GNU Lesser General Public License v3.0
188 stars 39 forks source link

Why are the colors shown as black in Cesium? #52

Open kbratsy opened 1 month ago

kbratsy commented 1 month ago

Hello,

I'm calling with the following command, but the 8-bit part is returning false, even though my LAS file has RGB and intensity values. I converted my RGB values to 8-bit using Laspy. However, when I visualize my points in Cesium, they appear black.

What could be the cause of this issue?

image

Result is: image

mfbonfigli commented 6 days ago

Hello @kbratsy, the 8-bit flag needs to be manually selected as color depth is not detected automatically. Provided you are feeding a 8bit color LAS, try adding the --8-bit flag to your command and see if this fixes the issue. If this doesn't help, I'd need a small sample to troubleshoot the issue locally.