google / neuroglancer

WebGL-based viewer for volumetric data
Apache License 2.0
1.02k stars 283 forks source link

Volume rendering fixes for max projection - picking, blending, and performance #584

Closed seankmartin closed 1 month ago

seankmartin commented 2 months ago

Fixes:

  1. Picking layer from VR max projection set to < 1 so as not to interfere with a real annotation with value 1.
  2. Max projection layer uses OIT blending so as not to be layer-order dependent with multiple max-projection layers.
  3. Calling emitIntensity always overwrites the intensity.
  4. Accidental redraw of opaque layers removed.