Description
PS5 Go creative! [ps5.cpp] (100 points)
Write a program that
• uses OpenGL animation using double-buffering. (20 pts)
• runs the animation in a for or while loop until the user wants to terminate (for example,
pressing ESC key. Or if you write a game program, it is also ok to run the program until the
game is over.) (10 pts)
• must be an interactive program. (10 pts)
• uses at least one of the three features of OpenGL explained in class, color gradation, line stipple,
or alpha blending. (20 pts)
• uses at least two types of OpenGL primitives from GL_POINTS, GL_LINES, GL_LINE_STRIP,
GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS,
GL_QUAD_STRIP, and GL_POLYGON. (20 pts)
• uses at least one of the following. (20 pts)
o math library function,
o shuffling,
o sorting,
o state transition,
o numerical integration using Euler’s method.
And, submit
• C++ source code (ps5.cpp) Make sure you include CPP file in the Zip.
• Brief description of your program that includes the following information in a PDF or plain-text.
o How to use your program, and
o Which features you used for satisfying the above requirements.
o Include the document in the Zip.
Our TAs and graders will select top 4 creative programs that will be shown in class.
Make sure your program can be compiled with no error in one of the compiler servers. Don’t wait until
the last minute. Compiler servers may get very busy minutes before the submission deadline!

