| 1 | = Assignment 3 - Squirrel = |
| 2 | [[Image(thumbnail.png,right)]] |
| 3 | |
| 4 | Completed 10/30/2003. |
| 5 | |
| 6 | == Project Overview == |
| 7 | |
| 8 | RPI is plagued by squirrels, so I saw it fit to contribute my own. |
| 9 | |
| 10 | This project is a third person view of a squirrel that can |
| 11 | "scamper" around outside in between the trees. Its tail moves |
| 12 | around a lot sort of like a real squirrel's. |
| 13 | |
| 14 | A bird soars overhead. |
| 15 | |
| 16 | The camera follows the squirrel's position naturally. |
| 17 | |
| 18 | == Keyboard Controls == |
| 19 | |
| 20 | * ''Up/Down'' = Move the squirrel forward, backward. |
| 21 | * ''Left/Right'' = Turn the squirrel left/right. |
| 22 | |
| 23 | == Files == |
| 24 | |
| 25 | * README - This |
| 26 | * Makefile - 'make' to build |
| 27 | * assignment4 - linux executable |
| 28 | * assignment4.exe - win32 executable |
| 29 | * screenshot.png - screenshot |
| 30 | * main.cpp - program entry point, callbacks, and most glut-work |
| 31 | * objects.cpp - drawing non-primitive shapes in OpenGL, mainly |
| 32 | * objects.h - declarations |
| 33 | * squirrel.h - a Squirrel class |
| 34 | * squirrel.cpp - all of the work to draw the squirrel |
| 35 | * bark.rgb - the texture* on the 'bark' of the trees |
| 36 | * leaves.rgb - the texture* on the 'leaves' of the trees |
| 37 | |
| 38 | '''Note:''' I'm more interested in the math and physics than the art in this |
| 39 | type of project. Can you tell? |
| 40 | |
| 41 | == Compilation Instructions == |
| 42 | |
| 43 | Compiled in Linux with |
| 44 | * gcc-3.3.2 |
| 45 | * glut-3.7.1 |