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 313 forks source link

Sync logged entity colors across 3D<->2D #1728

Open pablovela5620 opened 1 year ago

pablovela5620 commented 1 year ago

Describe the annoyance

Currently, when logging an OBB and projecting it into the camera frame there is no easy way to sync colors between the logged OBB and the projected bbox (more info here) as a workaround I need to generate my own colors in order to have the colors of the oriented bounding boxes and projected bounding boxes to match. This could be fixed once #1581 is resolved but I'm sure there will be other cases where different logs will need to have consistent colors

Expected behavior

An easy way for syncing colors between logged entities

Screenshots

Here is an example of what I'm trying to achieve without the hack I used here

image

Desktop (please complete the following information):

emilk commented 1 year ago

Could perhaps be solved with a new "id" component, that is used for color generation, and could also be used to highlight both objects when just hovering one, though its unclear if one would also be able to select just one of the object (e.g. just the 2D version). Requires design works.