OrbitControls Op
rotate your object by clicking and dragging the mouse
Summary (oneliner)
Adds mouse-interactivity to your patch. After you added the OrbitControls-op you can rotate the viewport my dragging with the mouse and zoom in / out using the mouse wheel.
Edit Documentation
- Ops.Gl.Matrix.OrbitControls
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Orbit controls
Use orbit controls to easily navigate and interact with the 3d scene.
- move the mouse while pressing the left button to rotate
- move the mouse while pressing the right button to move
- scroll / use the mouse wheel to zoom in and out
Youtube Video Tutorial
INPUT PORTS
Executes the op
Boundaries
Minimum distance to scroll in, once you hit that distance scrolling in has no effect
Initial Values
The starting point from where to look at the scene in the y-axis
The starting point from where to look at the scene in the x-axis
Interaction
OUTPUT PORTS
Triggers the next op