WPI Computer Science Department

Computer Science Department
------------------------------------------

CS 4731 - Term A, 2003
Computer Graphics


Lectures: FL-320, MTRF, 9am - 9.50am

Teaching Assistants: Jim Nichols, A21, jnick@wpi.edu, Office hours: Wed: 2.30pm - 5pm; Thur: 12.00pm - 1.30pm, 3.30pm - 4.30pm Paolo Piselli, A21, ppiselli@wpi.edu, Office hours: Tue: 3pm - 5pm, Thur: 6pm - 9pm (TA Office hours to be held in A22)

Student Assistant: Brian Corcoran, A23 (ACM Sin Lab), b@wpi.edu, Office hours: Mon: 5pm - 6pm; Thurs: 9pm - 11pm

Instructor: Prof. Emmanuel Agu, FL-139, 508-831-5568, emmanuel@cs.wpi.edu
Office Hours: Monday, Tuesday, Thursday, Friday: 10:00AM - 11:00AM, Others by appointment

Text: Computer Graphics using OpenGL (second edition) by F.S. Hill Jr.
Supplemental texts (Optional): OpenGL Programming Guide (3rd Edition) by Woo, Neider, Davis and Shreiner
and OpenGL Reference Manual (3rd Edition) by Shreiner

Facilities: You may do your assignments in C, C++, java or any high level language for which OpenGL or Mesa libraries are available on Unix or windows. Note that compiled graphics code tends to be large and may consume more than one megabyte of disk space. Important: No matter what platform you write your code on, the final executable must run on the WPI CCC machines with clear instructions on your documentation how to run it.

Class Websites: The class website is at http://www.cs.wpi.edu/~emmanuel/courses/cs4731/. A myWPI class website has also been set up. The discussion board should be used for asking questions to avoid excessive emails and so that everyone can benefit from answers given. Emails should be used for specific questions which are unique to you.

Software Utilities: You will find a simplified interface to OpenGL, called MiniGL. All programs for this course can be completed by extending one or more of the sample programs provided. You can get miniGL off the web in zip format for the PC and tar format for unix (See homework 1). The README file may be useful in knowing how things are written and getting things going. A has also been provided for the UNIX environment.

Grade Policy: 50% exams (2 exams), 50% assignments

Notes:

  1. Reading is mandatory, working ahead is encouraged.
  2. Exams are based on both lectures and readings, so class attendance is strongly encouraged.
  3. Working and discussions in pairs is okay. However, each student must turn in different and unique projects.
  4. Cheating is strictly forbidden
  5. Cheating (a.k.a., academic dishonesty), defined as taking credit for work you did not do or knowledge you do not possess, is strictly forbidden. First offenders will receive a zero grade for the assignment or exam in question and an academic dishonesty report will be filed with the Office of Student Affairs. Repeat offenders will receive an NR for the course and the case will be brought before the campus hearing board (see Student Handbook).
  6. All assignments should be submitted using the turnin facility (For more info on turnin, see http://www.cs.wpi.edu/~Help/turnin.html). , which can be found in the bin directory in the cs4731 account on the CCC servers. Both your executable and source code must be turned in. Files MUST include instructions on compiling and running the program and should be WELL documented. Insufficient documentation will result in a loss of points. Data files should include a comment line at the start giving your name, the assignment for which it is intended, and the most recent date in which the file was changed. Please do NOT turn in hardcopies or executables! Any questions regarding the program may be sent to either the TA or me via e-mail, or you may stop by during the posted office hours.

Projects: There will be two projects in 2D and 3 in 3D. The 3D projects involve the modeling and rendering of a 3D castle for entry into a national amateur architectural contest An approximation would be fine - I wouldn't expect you to be able to create a state-of-the-art model - but it should be recognizable. You can choose a fixed configuration of components (location and orientation of doorways, windows, etc) though those of you planning on taking CS4732 might want to consider configuring the components in such a way as to facilitate bending and twisting motions.

You should keep the level of detail and complexity in your object low until you get the basic functionality down, and then use your imagination to make it as interesting as you wish. For example, a basic castle could be approximated with a number of cylinders, spheres and boxes, and later enhanced by varying sizes, shapes, and detail. Don't get too detailed, though, as the computational demands in executing your program may become quite tedious during debugging and refinement! Late assignments (turned in after the start of class on the due date) will be penalized 15 percent per day. Assignments will not be accepted after the start of class on the Monday following the due date.

Schedule:

Week 1 (Aug 28 - Sept 4)
   Topics: overview, graphics intro, basic HW/SW, OpenGL/GLUT intro, 2D systems, window-to-viewport mapping, clipping
   Reading: Ch 1 - 2, 3.1 - 3.3 
   Project 1  Due: Friday, Sept 5, 9AM

Week 2 (Sept 5 - 11)
   Topics: Fractals, points, scalars, vectors, 3D modeling
   Reading: Ch 9, 4.2-4.4, appendix 2, 6.1, 6.2
   Project 2  Due: Friday, Sept 12, 9AM

Week 3 (Sept 12 - 18)
   Topics: 3D Transformations and coordinate systems
   Reading: ch 5.2 - 5.5
   Project 3 Due: Friday, Sept 19, 9AM

Week 4 (Sept 19 - 25)
   Topics: The synthetic camera, view volume and projection, illumination, shading
   Reading: ch 7.1 - 7.4, 8.1-8.3
   Midterm Exam: September 25

Week 5 (Sept 26 - Oct 2)
   Topics: Texturing, Hidden Surface Removal, Shadows
   Reading: ch 8.4 - 8.6, 13
   Project 4 Due: Friday, Oct 3, 9AM

Week 6 (Oct 3 - 9)
   Topics: Curves, raster graphics
   Reading: ch 10, 11
   Project 5 Due: Friday, Oct 10, 9AM

Week 7 (Oct 10 - 16)
   Topics: Color spaces, ray tracing
   Reading: ch 12, 14.1 - 14.7
   Final Exam: October 16
   

Class Slides

Week 1 Slides Lecture 1 [pdf] [ppt] Lecture 2 [pdf] [ppt]
Week 2 Slides Lecture 3 [pdf] [ppt] Lecture 4 [pdf] [ppt] Lecture 5 [pdf] [ppt]
Week 3 Slides Lecture 6 [pdf] [ppt] Lecture 7 [pdf] [ppt] Lecture 8 [pdf] [ppt] Lecture 9 [pdf] [ppt]
Week 4 Slides Lecture 10 [pdf] [ppt] Lecture 11 [pdf] [ppt] Lecture 12 [pdf] [ppt] Lecture 13 [pdf] [ppt]
Week 5 Slides Lecture 14 [pdf] [ppt] Lecture 15 [pdf] [ppt]
Week 6 Slides Lecture 16 [pdf] [ppt] Lecture 17 [pdf] [ppt] Lecture 18 [pdf] [ppt] Lecture 19 [pdf] [ppt]
Week 7 Slides Lecture 20 [pdf] [ppt] Lecture 21 [pdf] [ppt] Lecture 22 [pdf] [ppt] Lecture 23 [pdf] [ppt]
Week 8 Slides Lecture 24 [pdf] [ppt]

Old Exams

Past Midterm Exams Midterm 98 pdf Midterm 99 pdf Midterm 01 pdf Midterm 02 pdf Midterm 03 Review pdf
Final Exams Final 98 pdf Final 99 pdf Final 01 pdf Final 02 pdf Final 03 Review pdf

Main Web Resources Miscellaneous Web Resources

[Feedback] [Search Our Web] [Help & Index]

[Return to the WPI Homepage] [Return to CS Homepage]

mailto:webmaster@cs.wpi.edu