AllenCell / AllenCell/vole-core
Move the pick buffer out of `PickVolume`
- Langage dominant
- TypeScript
- Étoiles
- 106
- Forks
- 11
- Merge moyen
- 3 j 51 min
- PR mergées (30 j)
- 12
Description
## 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_
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.