files/mpavsdda

Description

This lab will introduce you the basic problem of rasterization.
For this lab you will implement the Midpoint (MPA) line rasterization algorithm in OpenGL.
Your implementation should be able to draw multiple lines of any slope without breaks.

Instructions

Worksheet

A printed copy of the worksheet will be provided at the beginning of the lab session.
You can download the electronic version here.

Code

You may download the starter code from here.

External Resources

Midpoint algorithm Wiki entry
DDA Wiki entry