EduGraf: UI

User controls can be freely programmed. In addition, 3D graphics include a camera reacting to mouse and keyboard input. There are two implementations provided by the library: the OrbitCamera and the FlyCamera. Each has its standard controls – if not overwritten by the programmer.

OrbitCamera

  • Mouse move with left button pressed: orbit around a center
  • Mouse move with right button pressed: move the center parallel to the move in the projection plane
  • Mouse wheel: zoom out / in resp. move to / away from the center

FlyCamera

  • Mouse move with left button pressed: look around
  • Num-block-keys 2468: move in axis direction
  • Arrow-keys: move in axis direction
  • Mouse wheel, PgUp-key, PgDn-key: move forward / backward