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

Rotate intuitively around a clipbox. #64

Closed nicost closed 7 years ago

nicost commented 7 years ago

Changes the getModelViewMatrix function. First translates to the middles of the clipbox, rotates, then translates back. End result is a rotation around the center of the clipbox, which is much more intuitive that rotating around the center of the complete volume. Tested in the Micro-Manager ClearVolume plugin and works quite well. There should be no change if no clipbox is set.

skalarproduktraum commented 7 years ago

That is a very useful fix, thank you @nicost!