TrackBall (Built-in Patch) Patch


This macro patch encloses its subpatches in a virtual trackball that the user can roll with the mouse.

The center of rotation of the trackball can be specified with the rotation origin X/Y/Z inputs. The trackball is rolled according to the mouse movement when the mouse primary button is down. The mouse tracking sensibility and the optional autorotation of the trackball can be set in the patch’s settings.

Note that this patch does not read the mouse state directly but is dependent on the proper information being passed to the composition. This information may not always be available, depending on the environment in which Quartz Composer is running.

6 Input Attributes

  • Enable Controls execution of the patch.
  • Track Mouse Enables tracking of the mouse.
  • Reset Signal Resets the trackball.
  • Rotation Origin X Rotation origin on the X-axis.
  • Rotation Origin Y Rotation origin on the Y-axis.
  • Rotation Origin Z Rotation origin on the Z-axis.

0 Output Attributes

    1 Category

    0 Protocols

      0 Videos

      Copyright © 2009 - 2016
      This is an independent website and has not been authorized, sponsored, or otherwise approved by Apple Inc.
      Apple, Objective-C, OpenCL, Quartz, Safari, Snow Leopard and Xcode are trademarks of Apple Inc.
      OpenGL is a registered trademark of Silicon Graphics, Inc.
      This website has been created for educational purposes by Mirek Rusin <mirek [at] me [dot] com> to provide information, examples of usage and extensions to Quartz Composer node-based visual programming language.