
Story Behind
What I have done for my 1st assignment is with the use of OpenGL,
I used primitive shapes such as squares, ovals, and triangles to replicate a simple 2D scene and my scene is a UFO landing and taking off from Earth.
The primitive shapes made up those complex shapes such as the UFO and the sun. With the use of translation, scaling and rotation of 2D Vectors and Matrices, I was determine when the UFO is leaving so it can cast a reflection on the lake.
The secret behind the reflection is: duplicate the same object and then rotate it 180 degree opposite but at the same time making sure that the animation is correct. Took a lot of debugging to be able to get the job done right.
It was fun re-using what we have learned in Maths and apply them in practical especially games.