Skip to content

feat: allow to highlight nodes from the spatial index#186

Merged
seankmartin merged 3 commits into
feature/edit-modefrom
feature/NA-748
Jun 8, 2026
Merged

feat: allow to highlight nodes from the spatial index#186
seankmartin merged 3 commits into
feature/edit-modefrom
feature/NA-748

Conversation

@seankmartin

Copy link
Copy Markdown
  • fix: correct global bind key
  • fix: allow seg ID to use display state
  • feat: allow highlighting nodes from spatial index main changes are: 1. Cleaner repr of selected texture. Now stores a nodeID per vertex, instead of updating a 1D texture which effectively stores a bool of the highlihgted node. Then passes a uniform about the current node. 2. Removes now uneeded 1D texture update. 3. Cleans up some shader ternary ops to use mix. 4. Uses less GPU mem in overlay pass. As a note, this also would allow to do per node discarding which is something we discussed previously if ever really needed.

main changes are:
1. Cleaner repr of selected texture. Now stores a nodeID per vertex, instead of updating
   a 1D texture which effectively stores a bool of the highlihgted node. Then passes a
   uniform about the current node.
2. Removes now uneeded 1D texture update.
3. Cleans up some shader ternary ops to use mix.
4. Uses less GPU mem in overlay pass.
   As a note, this also would allow to do per node discarding which is something we
   discussed previously if ever really needed.
@seankmartin seankmartin merged commit b15ce68 into feature/edit-mode Jun 8, 2026
1 check passed
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.

1 participant