ClearVolume / clearvolume

ClearVolume is a real-time live 3D visualization library designed for high-end volumetric microscopes such as SPIM and DLSM microscopes. With ClearVolume you can see live on your screen the stacks acquired by your microscope instead of waiting for offline post-processing to give you an intuitive and comprehensive view on your data.
http://clearvolume.github.io
GNU Lesser General Public License v3.0
44 stars 11 forks source link

`setNumberOfRenderLayers` does not (re)allocate render and volume buffers #40

Open skalarproduktraum opened 8 years ago

skalarproduktraum commented 8 years ago

Currently, the number of layers has to be set when creating the renderer, which is limiting flexibility a bit. Also the current API is a bit misleading, as it suggests setNumberOfRenderLayers would handle a possible reallocation, which it doesn't.

We should extend setNumberOfRenderLayers to also handle a possible addition of channels at a later stage than renderer instantiation.