Seeking assistance with a project involving displaying a 3D point cloud containing approximately 200K points, akin to the image provided below, complete with a colorbar.
https://i.sstatic.net/L6ho0.png
We are looking to dynamically update the colorbar when users zoom in, adjusting it to match the new minimum and maximum values of the visible points for enhanced detail visibility.
To achieve this, we need to determine the new range of visible points, recalculate the color values accordingly, and apply them without causing lag, ideally leveraging three.js GPU functions rather than traditional JS iteration.
Key inquiries include:
- Is there an event or method to identify points that remain visible after user interaction?
- What is the most efficient approach to determining the updated minimum and maximum values of visible points?
- Can colors be adjusted for points without resorting to manual JS iteration?