nlinnicole / OpenGL_Horse

Assignments for COMP 371 - Computer Graphics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASSIGNMENT 2
Nicole Lin 27890834

---------CLASS DESCRIPTIONS-------------
main: Main game loop
Horse: contains components, transformations, and colours used to create horse
BufferLoader: initializes and loads VAOs, VBOs, textures, and depth maps
ObjLoader: loads .obj files (code is from the labs)
Renderer: contains methods to individually configure and draw the objects in the scene
ShaderLoader: loads and compiles shader files (code is from the labs)


---------VIEW CONTROLS-------------
ESC: closes window
HOME: reset scene

RIGHT CLICK & HOLD: Pan in X direction
MIDDLE CLICK & HOLD: Tilt camera
RIGHT CLICK + LEFT CLICK : Tilt camera
LEFT CLICK & HOLD: Zoom in and out

LEFT ARROW: move camera left
RIGHT ARROW: move camera right
DOWN ARROW: move camera down
UP ARROW: move camera up

---------RENDER STYLE-------------
X: Toggle texture
B: Toggle shadow
R: Toggle animation

P: change rendering mode to points
L: change rendering mode to lines
T: change rendering mode to triangles


---------HORSE CONTROLS-------------
SPACE: re-positions horse at a random position on grid

U: scale up horse
J: scale down horse

A: move horse left
D: move horse right
W: move horse up
S: move horse down

a: rotate horse left on Y axis
d: rotate horse right on Y axis
w: rotate horse upwards on Z axis
s: rotate horse downwards on z axis

* + SHIFT rotates counterclockwise
0: rotate head
1: rotate neck
2: rotate upper right arm
3: rotate lower right arm
4: rotate upper left leg
5: rotate lower left leg
6: rotate upper left arm
7: rotate lower left arm
8: rotate upper right leg
9: rotate lower right leg




About

Assignments for COMP 371 - Computer Graphics


Languages

Language:C 55.0%Language:C++ 43.5%Language:Objective-C 1.4%Language:GLSL 0.1%Language:CMake 0.1%