GithubHelp home page GithubHelp logo

comp-371's Introduction

Christophe Savard
40017812
COMP-317 WW
Term Project
April 12th 2018

===== Compilation Information =====

Compiled using Visual Studio 2017 (15.6.6), using the visual studio compilation tools v141, on Windows 10.
GLEW, GLFW, and GLM, and STBI have been configured to be in the project folder for compilation, for both lib and header files.
Header files should be in ./Include, lib files should be in ./Lib, and glew32.dll in ./COMP-371, with the code files.
A compiled binary for Windows is also given in ./Compiled, along with the necessary shader, mesh, and texture files.

===== Controls =====

Space - Displace horse at random on the 100x100 grid
Home  - Returns horse and camera to default positions
Esc   - Closes the GL window

U - Scale horse up by adding a factor of 0.1
J - Scale horse down by removing a factor of 0.1 (clamped to stay greater than 0)

W - Move horse upwards one grid unit (Z-)
S - Move horse downwards one grid unit (Z+)
A - Move horse left one grid unit (X-)
D - Move horse right one grid unit (X+)

shift + W - Angle horse upwards 5 degrees (Z axis rotation)
shift + S - Angle horse downwards 5 degrees (Z axis rotation)
shift + A - Angle horse left 5 degrees (Y axis rotation)
shift + D - Angle horse right 5 degrees (Y axis rotation)

NOTES: The expected controls for the direction arrows were not very clear, so I implemented them how I thought they made sense
Up    - Move the camera forward one grid unit (Z-)
Down  - Move the camera backward one grid unit (Z+)
Left  - Move the camera left one grid unit (X-)
Right - Move the camera right one grid unit (X+)

P - Change polygons rendering mode to points
T - Change polygons rendering mode to triangles
L - Change polygons rendering mode to lines
B - Toggles textures rendering
X - Toggles shadows rendering
H - Toggles horse troop rendering/animations

0 - Bends head_to_neck joint +5 degrees
1 - Bends neck_to_torso joint +5 degrees
2 - Bends torso_to_front_upper_right_leg joint +5 degrees
3 - Bends front_right_knee joint +5 degrees
4 - Bends torso_to_hind_upper_right_leg joint +5 degrees
5 - Bends hind_right_knee joint +5 degrees
6 - Bends torso_to_front_upper_left_leg joint +5 degrees
7 - Bends front_left_knee joint +5 degrees
8 - Bends torso_to_hind_upper_left_leg joint +5 degrees
9 - Bends hind_left_knee joint +5 degrees

Shift + 0 - Bends head_to_neck joint -5 degrees
Shift + 1 - Bends neck_to_torso joint -5 degrees
Shift + 2 - Bends torso_to_front_upper_right_leg joint -5 degrees
Shift + 3 - Bends front_right_knee joint -5 degrees
Shift + 4 - Bends torso_to_hind_upper_right_leg joint -5 degrees
Shift + 5 - Bends hind_right_knee joint -5 degrees
Shift + 6 - Bends torso_to_front_upper_left_leg joint -5 degrees
Shift + 7 - Bends front_left_knee joint -5 degrees
Shift + 8 - Bends torso_to_hind_upper_left_leg joint -5 degrees
Shift + 9 - Bends hind_left_knee joint -5 degrees


===== Mouse controls =====

Right button hold  - Pans camera by sliding side to side
Middle button hold - Tilts camera by sliding up and down (Clamped to -89 to 89 degrees)
Left button hold   - Zooms camera by sliding up and down (Zooms up to a distance of 0.1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.