Skip to content

mharrys/arcball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arcball Rotation Control

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 and SHIFT to show world constraint axes.

Screenshot

scrot

How-to

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

References

  1. Ken Shoemake. ARCBALL: A User Interface for Specifying Three-Dimensional Orientation Using a Mouse. Graphics interface '92, pages 151-156, 1992.
  2. Ken Shoemake. Graphics Gems IV, chapter Arcball Rotation Control. Academic Press Inc, 1994.

About

Arcball Rotation Control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages