c42f / displaz

A hackable lidar viewer
http://c42f.github.io/displaz
Other
235 stars 84 forks source link

Fix PointSourceID Datatype #222

Closed CCInc closed 11 months ago

CCInc commented 11 months ago
  1. The datatype of pointsourceid is incorrectly read from the LAZ file as uint8 rather than uint16, resulting in truncated values
  2. The shader's % operator did not work well with the new uint16 value, so the mod function had to be used
  3. With a greater range of pointsourceid's potential values, the list of 7 colors was not enough to visualize distinctly, so more colors were added.
  4. When building the project, the shaders were not being copied into the build directory, preventing the executable from working when run through the build dir, so the shaders are now copied each time the project is built.
nigels-com commented 11 months ago

All good, thanks!