rerun-io / rerun

Visualize streams of multimodal data. Free, fast, easy to use, and simple to integrate. Built in Rust.
https://rerun.io/
Apache License 2.0
6.7k stars 341 forks source link

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

Open Wumpf opened 1 month ago

Wumpf commented 1 month 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 1 month ago

An alternative is to find a robust solution to

Wumpf commented 1 month 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!