OrbitControls_v3 Op

OrbitControls

rotate your object by clicking and dragging the mouse


<p>Adds mouse-interactivity to your patch. After you added the <em>OrbitControls</em>-op you can rotate the viewport my dragging with the mouse and zoom in / out using the mouse wheel.</p> <p>When upgrading from an old version: add +2 to your initial radius to get the same distance!</p>


Full Name
  • Ops.Gl.Matrix.OrbitControls_v3
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


render (Trigger)

<p>Executes the op</p>

Boundaries

min distance (Number)

<p>Minimum distance to scroll in, once you hit that distance scrolling in has no effect</p>

max distance (Number)
min rot y (Number)
max rot y (Number)

Initial Values

initial radius (Number)
initial axis y (Number)

<p>The starting point from where to look at the scene in the y-axis</p>

initial axis x (Number)

<p>The starting point from where to look at the scene in the x-axis</p>

Interaction

Smoothness (Number)
Speed X (Number)
Speed Y (Number)
Active (Number:

<i>boolean</i>

)

Allow Panning (Number:

<i>boolean</i>

)

Allow Zooming (Number:

<i>boolean</i>

)

Allow Rotation (Number:

<i>boolean</i>

)

restricted (Number:

<i>boolean</i>

)

Identity (Number:

<i>boolean</i>

)

Reset (Trigger)

OUTPUT PORTS


trigger (Trigger)

<p>Triggers the next op</p>

radius (Number)
Rot X (Number)
Rot Y (Number)

Patches using OrbitControls_v3

  • Examples
  • Public
  • My Patches

Changelog


improvementreset now also resets position from panninguser avatarpandur - 2019-07-10 16:04
bugfixFix bug with zooming in was stopping too soonuser avatarpandur - 2024-04-10 11:10
bugfixFixed bug with initial "axis x" default value not being used properlyuser avatarpandur - 2024-06-24 17:51
bugfixfix with active toggle not working when value is false and it was never triggered beforeuser avatarpandur - 2024-08-13 17:46