COMP 6400  FUNDAMENTALS OF COMPUTER GRAPHICS

FALL 2001 

 

 

Text:    Interactive Computer Graphics – A Top-down Approach with OpenGL, 2nd ed., by Edward Angel, Addison Wesley, 2000.

            OpenGL Programming Guide, 3rd Ed., by Woo, Neider, and Davis, Addison Wesley Pub. 2000

 

Instructor:  Dr. Kai H. Chang  kchang@eng.auburn.edu           103C Dunstan Hall

                                                            (334) 844-6310

             

Lecture Schedule: 9:00 AM – 9:50 AM, MWF, 102 Dunstan Hall

 

Office Hours: 2- 3 PM, MWF, plus by appointment.

 

Prerequisites: Undergraduate students must have had COMP 2210 and MATH 2660.

 

Grader:  Ms. Feng Xu, xufeng2@eng.auburn.edu, Shop Building 213

 

 

 

TENTATIVE COURSE OUTLINE                                                 

 

Chap. 1      Graphics Systems and Models (1 week)

Chap. 2      Graphics Programming (1 week)

Chap. 4      Geometric Objects and Transformations (2 weeks)

Chap. 3      Input and Interaction (1 week)

 

                  Test 1 (1 class)

 

Chap. 5      Viewing      (2.5 weeks)

Chap. 6      Shading      (2.5 weeks)

 

                  Test (1 class)

 

Chap. 7      Implementation of a Renderer (2.5 weeks)

Chap. 8      Hierarchical and Object-Oriented Graphics (1 week)

Chap. 9      Discrete Techniques (1 week, if time allows)

 

                   Final, 11:00 AM -1:30 PM, Friday, December 14

 

 

 

 

            GRADING POLICY

 

                               Programming assignments              25 %

                               Test  1                                           22.5 %

                               Test  2                                           22.5 %

                               Final                                              30 %

 

 

                                   IMPORTANT  ITEMS

 

  1.   Test dates will be announced one week ahead.   

  2.   Unless specified by the University regulations, no late exams will be allowed.

3.     In order to pass the course, you must also have satisfactory grade in the programming assignments, i.e., 60%.

4.     Some sample programs can be found in my engineering ftp directory:  ~ftp/pub/kchang (if you are using engineering networks).  The engineering ftp site is: ftp.eng.auburn.edu.   The makefile for the Sun environment is also in that directory.

 

 

                            SPECIAL ACCOMMODATIONS

 

  1.       Students who need special accommodations are asked to make an appointment to see me the first week of the semester during office hours, or email me and Ms. Xu a message to arrange a meeting time.  Bring your memo from the Program for Student with Disabilities to this meeting.  Accommodations for each exam should be arranged one week in advance.

 

 

 

                                    PROGRAMMING ASSIGNMENTS

 

1. You may choose to use either the SUN SPARCstations or PCs (Window95/98/2000 ).

2. Graphics package to be used is OpenGL.  The package is available in the SB 214 PC lab and the Engineering Sun Stations. 

3. Always start your assignments EARLY, it may take more time than you think to do an assignment.

4.  Details will be announced in the class.

 

 

 

 


PROGRAMMING ASSIGNMENTS

 

 

1.      There will be 6 to 8 assignments.  The exact number would depend on how we progress in the class.  Of these assignments, some will be 1-week assignments, and some will be 2-week.  The assignments would be posted on my web page and my engineering ftp site at appropriate time.  The due date for each assignment will be announced in class. 

2.      Each 1-week assignment is worth 50 points; while each 2-week assignment is worth 100 points.  It should be noted that, if you simply satisfy all the basic requirements of an assignment with minimum artistic design, the maximum grade would be 85%.  In order to receive better grade, aesthetic effects would be a major factor.  Exceptional design or effects may be given grade higher than 100%. 

3.      Late submission of assignments is strongly discouraged.  However, if you really cannot make it, the penalty is 25 % per day. 

4.      In order to pass the course, you must have satisfactory grade in the programming assignments, i.e., 60%.

5.      To turn in an assignment:

a.       Email Ms. Xu your source code and executable file.  She would read your source code.  A better commented code would be given better grade.

b.      You must also send her the executable or (for Sun users) the file location in one of your directories that she can execute directly from a Sun station.  You must indicate which operating system your program runs under, e.g., Unix or Windows.  If you use the Engineering Sun workstations, you must change the directory/path/file protection so Ms. Xu and I can execute it from a Sun station.

6.      Discussions with other students related to system/program problems are acceptable.   However, you must do your own design and coding. Cheating and/or copying will result in an F for the course.  Yes, we have caught a few students copying from earlier works and/or the Internet. The results were not pretty.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESOURCES FOR OpenGL

 

 There are many useful web sites for OpenGL.  A few are listed for your reference.

 

1.      This is the textbook author’s web site, which includes information about how to install OpenGL.

http://www.cs.unm.edu/~angel/BOOK/SECOND_EDITION/

 

2.      The following web site includes 2 very useful tutorials for OpenGL programming.

           http://www.cs.unm.edu/~angel/SIGGRAPH/

 

3.   Of course, you can always try: http://www.opengl.org/

 

4.   The following installation information for Visual C++ users is copied from

http://www.cs.unm.edu/~angel/BOOK/SECOND_EDITION/

 

            for your convenience.

            ======================================================

For Visual C++ you should do the following: (For the purpose of this class, you can get a copy from the CSSE Department Office.).

 

Opengl32.dll and glu32.dll should already be in the system folder.

Opengl32.lib and glu32.lib should already be in the lib folder

for VC++.  gl.h and glu.h should be in a folder called GL under the

include folder for VC++ All the above files come with Windows and VC++.

 

You will have to get glut32.lib, glut32.dll and glut.h off

the web. Check www.opengl.org for pointers. Put them in the

same places as the other files.

 

You want to create a console application.

 

Go to project settings. Under the link menu, add Opengl32.lib,

glu32.lib and glut32.lib

 

Now you can build the .exe file

 

 

 

 

 

 

 

 

  1. If you use the latest version of PC jGRASP 1.3.5, e.g., machines in SB 214, before you compile, you need to select the OpenGL setup (Complier -> Complier setting -> Global -> [select gcc – generic – OpenGL or g++ - generic – OpenGL]  -> [click USE] -> [click Apply] ).  You can do this on your own PC as well.  The machines in Dunstan 101 may also be available, but you would need to install jGRASP and cygwin yourself.

 

  1. If you choose to use the Sun Stations, a simple setup procedure can be found in the file:  ~ftp/pub/kchang/640.man  (Word file)