CS300 assignment 4 from DigiPen Institute of Technology. All of this was programmed in C++ using OpenGL. I took this class my junior year while attending school for a degree in Real-Time Interactive Simulation (Video game programming). This was probably my most favorite of the CS300 assignments. We had to add a sky box, cube mapping, reflection, and refraction to our project. A sky box is essentially a box that follows the camera around. It is used to render environment objects that are supposed to be very far away. Cube mapping is when you take render part of your scene to a texture map. We then took this texture map and rendered it onto a quad on the screen. Before taking the cube mapping render, we placed the camera at the center of the main object and faced it at each of the sky box faces with a field of view of ninety degrees. Finally, reflection and refraction was added. Refraction is like what happens when you look through a magnifying glass, or, with the values that we used, a sphere made out of water. Both reflection and refraction were done at the same time for extra credit on the assignment. Furthermore, lighting was added for extra credit. The professor for this course was Sun Fam. Note that we couldnt use OpenGL functions that would do the assignment for us. This was all done by hand. Check out my game design blog at: http://sporadicdesign.blogspot.com
i always wanted to do this stuff it looks cool
zeldafandude99 1 year ago