Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Independent label archetype #4266

Open
Wumpf opened this issue Nov 18, 2023 · 0 comments
Open

Independent label archetype #4266

Wumpf opened this issue Nov 18, 2023 · 0 comments
Labels
🍏 primitives Relating to Rerun primitives 📺 re_viewer affects re_viewer itself

Comments

@Wumpf
Copy link
Member

Wumpf commented Nov 18, 2023

We have a bunch of archetypes that support labels, e.g. point 2d/3d, box 2d/3d. However, not only is that list not exhaustive, but we also don't have a way to just add a floating label - the best way to do that right no is to log a point with zero size and add a label to it.

It's worth considering if the labels shown so far are a fully independent archetype (and ViewSystem internally) that just happens to trigger as well when a point has a label component (the aforementioned archetype would ofc keep their label properties). Note though that we can't fully decouple this for all cases since the placement of a label for anything larger than a box needs to know about the box itself to make a decision.
Need to spend a bit more time thinking about this to design something that fits well together overall.

Related to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍏 primitives Relating to Rerun primitives 📺 re_viewer affects re_viewer itself
Projects
None yet
Development

No branches or pull requests

1 participant