-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Missing color property #3129
Comments
Thanks for reporting.
Color is extracted here https://github.com/visgl/loaders.gl/blob/master/modules/las/src/lib/parse-las.ts#L44 |
On the line 144: loaders.gl/modules/las/src/lib/parse-las.ts Line 114 in e4946a5
Colors on the right side are: [20224, 21504, 16384, ...] but on the loader output I have colors [0,0,0,255, ...]. |
is there any progress |
Update My model has 16b colors, but the default value for options LASLoader is 8b. const data = parseSync(bytes, LASLoader, { las: { colorDepth: 'auto' } }); Shouldn't this be a default value for colorDepth? Same for fp64: true? If you don't know what models you will be opening these options should be set. |
Thank you, the color value was successfully obtained according to your method |
Loader
Las loader
Description
I'm trying to load the attached LAS file, but the RGB information seems to be missing—all the colors are showing as [0,0,0,255]. However, I know the color data is present because the colors display correctly when I open the file with LiDARView using the RGB settings.
Model: https://mega.nz/file/T4VGyCwC#B0D_F4Cp9LU7mJrQgpJgf3s7NxGB8x84MkGy78QkeKs
Expected Behavior
Model with colors
Steps to Reproduce
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: