Game Design Lab 2: Working with OpenGL
Due Wednesday, September 9
Starting with the cube demo from in class, modify it so that:
- The cube has colors that are different somehow
- There are two cubes (use instanced rendering - don't duplicate the model)
- The rotation is around a different axis
- The camera zooms out while the program is running
The demo will probably just work on Linux, but on Windows, you'll have to move the lines we changed in class into the visual studio project from earlier. This includes the cube vertices, elements, matrix setup in the drawing loop, and removal of the color attribute from the program. That's about it. Windows-specific lines that you'll need to keep include anything with glad, the includes, and a couple defines related to the unix-style file i/o.