Final project for computer graphics class Aug-Dec 2019.
Project consists of replicating a model with Microsoft Maquette and OpenGl where we used the framework GLUT that comes default in Xcode.
In this repository you'll find the code and executable of the project in the Link folder and image evidence in the img folder.
Possibly the Link executable will not execute correctly if you clone or download the repository so you need to compile the MyScene.cpp file with this command in the terminal inside the Link folder:
g++ -o Link MyScene.cpp -framework GLUT -framework OpenGL
And then run the Link exe with the command:
./Link
| Key | Action |
|---|---|
| Horizontal tab key | Translate model right |
| Backspace key | Translate model left |
| W or w key | Translate model up |
| S or s key | Translate model down |
| Z or z key | Translate model close |
| X or x key | Translate model far |
| Key | Action |
|---|---|
| B or b key | Scale model to bigger size |
| L or l key | Scale model to smaller size |
| Key | Action |
|---|---|
| Left arrow key | Rotate model left |
| Right arrow key | Rotate model right |
| Up arrow key | Rotate model up |
| Down arrow key | Rotate model down |
For the texture we use a darker green to make notice of the difference between the other objects that doesn't have texture. We used the glTexImage2D function for texture.
-
Texture
-
Other objects
Image evidence of the model made in Microsoft Maquette with the real image of the model on the left.
Image evidence of the model made in OpenGL with the colors already mentioned.
Video recorded (before adding textures) of the transformations possible in the model


