Skip to content

feat: add default outline to jets for better overlap visibility#819

Open
remo-lab wants to merge 1 commit intoHSF:mainfrom
remo-lab:fix/jet-outline-visibility
Open

feat: add default outline to jets for better overlap visibility#819
remo-lab wants to merge 1 commit intoHSF:mainfrom
remo-lab:fix/jet-outline-visibility

Conversation

@remo-lab
Copy link
Contributor

@remo-lab remo-lab commented Mar 9, 2026

Related issues

Fixes #571

Description

Adds a default outline to jet cones to make overlapping jets easier to distinguish.

Each jet now gets a wireframe outline mesh when created. The outline is generated from a low-poly cylinder geometry and rendered using EdgesGeometry, producing a clean cage (top rim, bottom rim, and vertical edges). The outline color is the jet’s own color slightly brightened to keep it visible against the semi-transparent fill.

The outline mesh is named JetOutline so it can be managed by the selection system. When hover or selection outlines are active, EffectsManager temporarily hides the default outline to avoid visual conflicts and restores it when the object is no longer highlighted.

Also fixes a small API rename in the share-link dialog (getStateAsJSONsaveStateAsJSON).

Test plan

  • Load an ATLAS event and confirm jet outlines are visible and overlapping jets are easier to distinguish
  • Hover/select jets and verify selection outlines behave correctly
  • Open the share-link dialog and confirm there are no compile errors
Screenshot 2026-03-10 002422

Signed-off-by: remo-lab <remopanda7@gmail.com>
@remo-lab
Copy link
Contributor Author

remo-lab commented Mar 9, 2026

@EdwardMoyse please let me know if you want to tweak opacity, segment count, or outline color if needed.

@remo-lab
Copy link
Contributor Author

remo-lab commented Mar 12, 2026

@EdwardMoyse is there any update on this pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overlapping jets are hard to see

1 participant