rerun-io / rerun

Visualize streams of multimodal data. Fast, easy to use, and simple to integrate. Built in Rust using egui.
https://rerun.io/
Apache License 2.0
6.43k stars 312 forks source link

Depth point cloud visualization is too slow for 4k+ images #7857

Open Wumpf opened 11 hours ago

Wumpf commented 11 hours ago

Currently, we visualizer depth maps as point clouds, each point representing a sample on the depth image.

For 4k images (3840x2160) that's 8.4mio points which means we have to do a lot of vertex & (overlapping) fragment processing. This also quickly runs into point cloud overdraw issues:

Ways to address this:

Sticking with the rough renderer we have:

More radical:

Related to

emilk commented 11 hours ago

An alternative is to find a robust solution to

Wumpf commented 10 hours ago

linked the wrong issue above initially, meant to link exactly that. Fixed now. True, once we have a general solution for large point cloud rendering we can always reduce the depth point cloud problem to a point cloud problem!