chrisviral / comp-371 Goto Github PK
View Code? Open in Web Editor NEWCOMP-371 Winter '18 Assignment 1
COMP-371 Winter '18 Assignment 1
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.