-
Notifications
You must be signed in to change notification settings - Fork 651
Open
Labels
enhancementNew feature or requestNew feature or request🍏 primitivesRelating to Rerun primitivesRelating to Rerun primitives
Description
This feature request is only from a simple visualization standpoint, as I realized that with the Python rerun-sdk, the following command would only change the color of the box outline.
rr.log("grid", rr.Boxes2D(
centers=boxes,
sizes=box_sizes,
colors=box_colors,
labels=box_labels,
))
For some visualizations, like A* in a grid, I think being able to fill the entire box with a single color would be a great feature.
My personal suggestion would be with the following syntax.
rr.log("grid", rr.Boxes2D(
centers=boxes,
sizes=box_sizes,
colors=box_outline_colors,
fill_colors=box_fill_colors
labels=box_labels,
))
Otherwise, I can see that, alternatively, an approach to create a colored square can be done with images or tensors :
https://ref.rerun.io/docs/python/0.27.2/common/archetypes/#rerun.archetypes.Image
https://ref.rerun.io/docs/python/0.27.2/common/archetypes/#rerun.archetypes.Tensor
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request🍏 primitivesRelating to Rerun primitivesRelating to Rerun primitives