Allows the user to interact with the orientation of an object. The user can orient the object freely by dragging in any direction on the arcball, or by dragging along a constraint axis.
- Press
F1
to toggle helpers. - Press
+
to increase size of helpers. - Press
-
to decrease size of helpers. - Press
R
to reset object orientation. - Hold
CTRL
to show body constraint axes. - Hold
SHIFT
to show camera constraint axes. - Hold
CTRL
andSHIFT
to show world constraint axes.
This project depends on Gust, see its project page for details on dependencies.
Recursive clone required
$ git clone --recursive <repository>
Build and run
$ scons
$ cd bin
$ ./arcball
Cleanup
$ scons -c
- Ken Shoemake. ARCBALL: A User Interface for Specifying Three-Dimensional Orientation Using a Mouse. Graphics interface '92, pages 151-156, 1992.
- Ken Shoemake. Graphics Gems IV, chapter Arcball Rotation Control. Academic Press Inc, 1994.