The application is controlled using the keyboard and mouse.
Keys:
BACKSPACE
- Clears the scene to the initial colorESC
- Closes the main application threadC
- Draws a cubeS
- Draws a sphereT
- Draws a teapotP
- Draws a triangular pyramidO
- Draws a donutW
- Draws a wireframe cubeN
- Draws a coneA
- Activates automatic geometric transformations of the objectB
- Sets a random background color+
- Increases animation speed-
- Decreases animation speed↑
- Rotates up by 5 degrees↓
- Rotates down by 5 degrees→
- Rotates right by 5 degrees←
- Rotates left by 5 degreesZ
- Increases FPS by 5X
- Decreases FPS by 5F1
- Moves the camera upF2
- Moves the camera downF3
- Moves the camera rightF4
- Moves the camera leftF5
- Moves the camera forwardF6
- Moves the camera backwardF7
- Increases object sizeF8
- Decreases object sizeLEFT_MOUSE
- Draws an object at the specified Point(x, y)MIDDLE_MOUSE
- Toggles lighting on/offMOUSE_WHEEL
- Switches shading mode between SMOOTH and FLAT