AllenCell / AllenCell/vole-core

Move the pick buffer out of `PickVolume`

Offen
#414 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Tech Debt
Vorherrschende Sprache
TypeScript
Sterne
106
Forks
11
Ø Merge
3 T. 51 Min.
Gemergte PRs (30 T.)
12

Beschreibung

## Use Case

Currently, `PickVolume` owns the pick buffer, which means that all pick rendering needs to be handled by it, including for other meshes.

Ideally, `ThreeJsPanel` should own the pick buffer instead.

## Solution

- [ ] Remove the pick buffer from `PickVolume` and move it into `ThreeJsPanel` instead.
- [ ] Pass the pick buffer into the animate functions so `PickVolume` can write to it.
- [ ] Optional (possible second PR): refactor existing mesh shaders so they can write to the pick buffer in the same render pass?

## Alternatives

_Please describe any alternatives you've considered, even if you've dismissed them_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.