-
Clone this repo to your local machine
-
Make sure you have glut and glm libraries installed.
-
We will first make a build folder and then move into it so that all our makefiles reside in there. Type the below commands in your terminal
mkdir build cd build
-
Next we use the cmake list given to us and create an executable
cmake .. make
-
Now we can run our executable to see the screen
./Hello-World
You shall choose to see one of the different shapes the code can render by choosing an option.
To move the figure along the 3 axes, use , J and K for the X-axis, L and ; for the Y-axis and I and O for the Z-axis.
Use A and S for rotating the camera along the X direction and use D and F for moving camera in the upward direction, i.e. along the Y-axis.
The camera shall always move in a circle so at to always face the origin.