ageller / Firefly

A WebGL interactive particle viewer
GNU Affero General Public License v3.0
64 stars 12 forks source link

add flag to disable camera #69

Open agurvich opened 2 years ago

agurvich commented 2 years ago

lock users to a tween params path but let them use filters, etc.

agurvich commented 2 years ago

https://discourse.threejs.org/t/enable-disable-controls/3055/3

can disable trackball controls but the call to controls.update in renderLoop is necessary to re-point camera in trackball controls. might need to update how tweening is done to re-point camera because tweening in fly controls is the same as tweening with the controls.update call commented out

agurvich commented 2 years ago

should not happen until we've cleared: https://github.com/ageller/Firefly/issues/91 and improved tween support. As it is now tweening is still pretty experimental

agurvich commented 1 year ago

after learning more about the controls, seems like we should be able to disable or remap the mouse buttons events associated with activating pan, rotate, and zoom (https://threejs.org/docs/#examples/en/controls/TrackballControls.mouseButtons).