Intro Graphics Assignment 3
Clipping
Due: March 3, 2005


The objective of this assignment is for you to implement an algorithm that will clip an arbitrary polygonal model to a set of planes, given only the model data and plane equations. You will use OpenGL for the rendering and GLUT mouse and keyboard callbacks for the interface.

Sample program

Ewen has kindly put together a sample program that implements some (not all) of the required features.  This uses built-in OpenGL clipping and should give you a feeling for what these models look like when clipped.  Note that sometimes it's easier to see what's going on in wireframe (hit 's' in Ewen's program to toggle wireframe/shaded).

Specifics

The student will be responsible for the following features:

Turn-In Instructions

As usual: write a web page describing what you did, including your entry (can just be a screenshot) for the art contest.

Your web page should contain a link to a .zip file that contains ALL of the source code that your TA will need to build your assignment. It is your responsibility to make sure that the zip file is complete. We are not going to fix compile errors or fill in missing pieces of assignments.

Please e-mail a link to your submission to the TA. Please, PLEASE check to make sure the link works. Never, NEVER e-mail the TA anything except a URL when submitting. In particular, do NOT e-mail your .zip file or any images as attachments.

Be sure to keep all assignments up on your web space for the entire semester.  Sometimes we have to go back and re-download assignments.