allen-cell-animated / agave

Other
33 stars 5 forks source link

Feature/rotatetool #139

Closed toloudis closed 9 months ago

toloudis commented 10 months ago

Adds a basic rotate manipulator.
Also a bonus bug fix for clearing the pick buffer properly when it gets resized, so that the pick buffer doesn't return strange errors when there is nothing to pick.

Some refinements still to make due to only using "fake" object for rotations. When this is more fully integrated there may be some extra "polish" features added to the manipulator. This captures a subset of the functionality from Max Liani's Gesture rotation tool.

Next immediate work: connect this to the area light more correctly. Center the rotate tool on the volume, and use it to rotate the area light's direction vector.