GPU Programming Lab 3: Building OpenGL Programs
Due Monday, September 29
Combine the cube cloud demo and today's pointy cube demo to make a cloud of pointy cubes, with the points getting longer and shorter. For length, you'll need a new uniform set up so that the length of the points can be controlled in the geometry shader. The uniform should cycle in some way (remember, you can use trig functions as a natural way to create a cycle).
Feel free to change whatever you need. The geometry shader has a fairly primitive lighting system, which can be removed or left, at your discretion. Pick a number of cubes, miminum and maximum point length, etc. to be pleasing to you.