AllenCell / AllenCell/vole-core

Move the pick buffer out of `PickVolume`

オープン
#414 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Tech Debt
主要言語
TypeScript
スター
106
フォーク
11
平均マージ
3日 51分
マージ済み PR(30日)
12

説明

## 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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。