CSS 451: 3D Computer Graphics

Winter 2008

Room UW1-220, T/TR 5:45pm-7:50pm
Computing and Software Systems

University of Washington Bothell

 

 

 

Name

Email

Kelvin Sung

ksung@u.washington.edu

Office Hours:

TR 1:30-3:30 pm

Or by appointment

Phone

 

(425)-352-5420

(phone for appointments only please)

Office:

UW1-339

 

We will be learning:

In this course, we will learn some of the practical and popular three dimensional (3D) graphics algorithms. The foundation mathematics required will be studied. Three major aspects of 3D graphics will be studied. 1. Modeling: how to describe or build three-dimensional objects.2. Animation: how to describe the motion and interaction of the modeled 3D objects. 3. Rendering: how to generate images of the modeled 3D object in animation.

 

This quarter we will concentrate on studying rendering effects that can be achieved in real time on mid-range to low-end machines. For example, we will study how to take advantage of modern graphics hardware in generating: transparency, reflection, shadow, etc. in real time. Due to the recent hardware technology advances, ray tracing is becoming popular again. If there’s time, we will learn about Ray Tracing.

 

Prerequisites: CSS 450 or equivalent.

Grading:

Programming Assignments (4)

~45-55%

Weekly short quizzes

~20%

Final Project

  40%

In class participation

~5%

                

Books

 

Required Text: 

  • Building Interactive Graphics Application, Kelvin Sung, Peter Shirley, Steven Baer, Draft.

 

Recommended Reference Texts:

  • Fundamentals of Computer Graphics, second edition, Peter Shirley, Wellesley, MA, A K Peters Ltd. 2005.
  • Real-Time Rendering, Second Edition, Tomas Akenine-Moller and Eric Haines, AK Peters, 2002.

 

Other Reference Texts:

  • Computer Graphics – with OpenGL, third edition, Donald Hearn and Pauline Baker, Prentice Hall, 2004.
  • Interactive Computer Graphics – A Top-Down Approach With OpenGL, fourth edition, Edward Angel, Addison Wesley, Boston, 2006.
  • Introduction to Computer Graphics, James Foley, Andries Van dam, Steven Feiner, John Hughes, and Richard Phillips, Addison Wesley, 1994.

 

 

Schedule:

 

Week

Topics

Reading

Date

Note:

1

Intro + Review D3D/MFC

3D Coordinate System

Chap 13 + 14

Jan 8, 10

Assign: MP #1

2

Mathematics for Graphics

Appendix A

Jan 15, 17

Assign: Final Project

3

Extending Concepts to 3D

Chap 16

Jan 22, 24

Due: MP #1

Assign: MP #2

4

3D Viewing and the Camera

Camera manipulation and control

Chap 15

Jan 29, 31

Due: final project proposal

5

Illumination Equation and Shading

Appendix B

Feb 5, 7

Due: MP #2

6

Polygonal Modeling + Mesh

Guest Lecture: Ethics of  Games Design (at UW2-141 at 5:45pm)

Handout

Feb 12, 14

Due: Final project concept demo

Assign: MP #3

7

Texturing Mapping

Handout

Feb 19, 21

 

8

The Rendering Pipeline

Feb 28: GDCSE’08 Conference (no class)

Handout

Feb 26, 28

Due: MP #3

Assign: MP #4 (?)

9

Hardware Buffers: Stencil/Blending Effects: Fog, Reflection, Shadows

Handout

Mar 4, 6

Due: Final project progress demo

10

Ray Tracing: Intro and Overview

Mar 13: SIGCSE’08 Conference (no class)

Handout

Mar 11, 13

Due: MP #4 (?)

11

Final’s Week: Project Demo & Presentation

Notice this is Thursday!!

Mar 20

Due: Final Project in class

 

 

Submitting Programming Assignments (MPs):

Submitting Source Code: You will submit your source code of each programming assignment (or machine problem, or mp) and I will run/test your submissions. We will be using the same catalyst facility as CSS450 (refer to the course web-site for submission link). There is a folder with the corresponding mp number (and/or with Part-1) on the submission site (e.g. mp1-Part1, mp1, mp2, etc.). Before the due time of the assignment, you should:

 

Create a folder containing all the relevant source files of your mp and no more. Having extra useless/irrelevant files in that folder will results in lost credits. Please clean up both Debug and Release folders before you copy your files over. These folders can be huge and will take up unnecessary time/space. WARNING: 3% of each mp’s grade will be deducted if your submission includes the contents of Debug or Release folders, or any useless files (e.g., .suo, .ncb, etc.) Use your first and last name and mp# as the name of your folder. Please do not include blank space as part of the name for this folder (i.e. do use “KelvinSungMp1” as folder name, and do not use “Kelvin Sung MP1” with blank spaces.) Please zip up our folder into one zip file.  Go to our course submission area and “turn in” you .zip file.

 

***  Send yourself a digital receipt just in case something should go wrong. ***

 

Submit as many times as you wish, I will only look at the last one received before the deadline. Please do not submit hard copies of your program. Let’s safe some trees, I will look at your source code electronically.

 

There is a “Test Turn-in” assignment for you to try things out. Please do try it before the first MP due date! If I do not see a test submission and you have trouble submitting your first assignment at the last minute, I will not help you. I can only help those who tried.

 

In addition, and very importantly, you should always download your submission, un-zip/compile/run to ensure your submission is correct. Remember, the grader (and/or I) will download your submission, unzip, double-click on the .sln file to compile and run. You will loose credits if anything in your submission should prevent us from automating this process.

 

You are responsible to ensure that the files you submitted are correct. On the due date of the mp, the corresponding directory will be close at precisely the due time. After which, you will not be able to submit your work! I will not accept submissions via emails. You are responsible to ensure that the files you submitted are correct. Minor submission mistakes (e.g. missed a small .h file) will result in 10% deduction from the assignment. Major submission mistakes (e.g. forgot to include a major .cpp file) will be treated as in-complete assignment and you will get 0% for the assignment. On a case-by-case basis, I will decide if a submission mistake is minor or major. There will be no exceptions!

 

If there is an emergency and/or personal difficulty, please talk to me in person. Remember to document your code, and practice the good programming skills you learned in CSS 343.

 

General Policies:

Assignment Deadlines: There will be no late assignments accepted. Let me put this in another way, there will be no late assignments accepted. These apply to both homework assignments and machine problems. Pay attention to the deadline on the assignments (including the time), there will be no late assignments accepted. Let me explain this again, there will be no late assignments accepted. I am actually a reasonable person, come talk to me about exceptional circumstances. You know the deadlines now please plan ahead.

 

Lateness to classes: It does not bother me, just don’t disturb anyone. On the days the homework assignments are due, the due time will be 10 minutes after class time. So you may wish to make sure you are not more than 10 minutes late for those classes. If you want to leave early, it would be very nice if you could give me advance warning. If that’s too much trouble, or if you forgot, don’t worry, just don’t disturb anyone and leave quietly.

 

Commitments and such: I am usually very easy going. I like relaxed classrooms for learning and will try my best to create such an environment. Please do not confuse relax environment with relax requirements. I work very hard, and expect students to work as hard. On average, each percentage of your assignments should represent one-two hours of outside-of-class time. For example, if an MP worth 8%, then on average, you will probably need about 10-15 hours to finish this assignment. Please use this as a reference and let me know if you are spending too much time on the assignments. If most of you are experiencing the same problem, then we will have to adjust the amount of work. Please seriously consider if you have the time this quarter for this class. If you do have the time, please stay in this class, I will work very hard and try my best to make this class a worthwhile learning experience for you.

Group Assignments: All assignments are group assignments. You are encouraged to form groups of 2 or 3 persons to work on these assignments. Please talk to me if you wish to form a 3-member-group and you will be responsible for proposing the extra features to justify the third member. If you choose to work alone, you will receive extra credits.

Problems

If you have any problem with this course, please talk to me as soon as possible.  I would like to help in anyway I could, but I have to know there is a problem. If you fall behind in this class, it will be difficult to catch up.

 

Special Needs

If you believe that you have a disability and would like academic accommodations, please contact Disability Support Services at 425.352.5307 or at rlundborg@uwb.edu. In most cases, you will need to provide documentation of your disability as part of the review process. I will coordinate with the University to ensure that the appropriate accommodations are made in this class.