feat(viewer): add recorded point colors and trajectory follow

This commit is contained in:
DCCONSTRUCTIONS
2026-07-23 13:33:08 +03:00
parent 9f712bf353
commit ecd95a22f0
16 changed files with 1218 additions and 36 deletions
+3
View File
@@ -491,6 +491,9 @@ def _point_colors(
rgb: np.ndarray | None,
settings: RerunSceneSettings,
) -> np.ndarray:
if settings.palette == "custom":
color = _parse_hex_color(settings.custom_color)
return np.tile(np.asarray(color, dtype=np.uint8), (positions.shape[0], 1))
if settings.color_mode == "rgb" and rgb is not None:
return rgb
if settings.color_mode == "class":