allen-cell-animated / agave

Other
31 stars 5 forks source link

Feature/light manip UI #159

Closed toloudis closed 5 months ago

toloudis commented 5 months ago

A key missing component of in-viewport light manipulator. User interaction with the manipulator was not updating the numeric entry fields in the user interface. This change resolves that.

It also adds some code to the keypress handler so that the rotation gizmo and the light gizmo are in sync.
There is a button in the area light control panel to toggle the in-viewport controls. Or press "R" to toggle light source rotation gizmo on/off.
There is also a translation gizmo but since it is non-functional, it will stay disconnected from the UI.