This assignment used the stencil and depth buffers to draw models using various line types. It also enabled OpenGL fog and loaded and executed GLSL shaders.
Problem 1: This problem loads several simple models and allows the user to be able to selectively draw them in one of four modes: standard OpenGL lighting, standard wireframe, without hidden lines, wireframe mode with halos.
Here is the program when it first started. The menu lets the user selectively draw the models in one of the four modes.Problem 2: This problem enabled OpenGL fog.
Linear FogProblem 3: This problem loaded and executed GLSL shaders.
Part 1: Replaces the texture on the floor with a sinusoidal pattern. This can be changed with the +/- keys.