Introduction to OpenGL and Rasterization

Today you will be implementing a simple line rasterization algorithm discussed in lecture. This lab will be designed to provide a gentle introduction to OpenGL as well as introduce you the process of rasterization. Because OpenGL may be intimidating at first, starter code has been provided for your lab. Take the time to learn how the provided OpenGL code works. While it is not absolutely critical that you understand every bit of the code to complete the lab today, it should be helpful to you in the future. In the references section are three valuable resources that provide the necessary information to utilize OpenGL to its fullest potential. Be sure to take a look.

1.) Download the starter code from here.

2.) Implement DDA. The following guide should be of assistance.


External Resources

OpenGL Programming Guide (Redbook)
OpenGL Reference Guide (Bluebook)
Nehe OpenGL Tutorials