
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Spring 2007
Not really an assignment; more of an announcement (plus the usual readings).
As discussed in class we will have a “lab session” this Tuesday, April 17. The session is an opportu- nity for me to see where you are with your projects, and to address any questions/issues/concerns that you may have. We’ll meet at the Keck lab on that day; log in or plug in and have everything ready so that we can get started as quickly as possible.
You’ll get an extra assignment credit if you try your hand at implementing the general polygon scan conversion algorithm that was walked through in class. As with the projection assignment, you may use either Java Swing, “2D-only” OpenGL, or JavaScript using the canvas tag. The main idea here is to implement a function drawPolygon(vertexList) , which will then display the polygon specified by vertexList in the 2D graphics area. Accompany your main algorithm with a driver/demonstration that displays a number of polygons using your implementation. If you do this, commit it to /homework/cmsi371/ mypolygon and tag it as hw-.