CS 352 Computer Graphics

Instructor’s Name:       Dr. Sohaib A. Khan                                                                         Year:       2002-03

Office No. & Email:       Room 215, sohaib@lums.edu.pk                                                     Quarter:  Spring

Office Hours:                 MW 10:30-11:30                                                                             Category: Junior

 

TA for the Course:         Sadaf Shams, sadafs@lums.edu.pk

 

 


Course Code

(Units)

 

 CS 352 Computer Graphics

(4 Units)

http://suraj.lums.edu.pk/~cs352s02

 

 

 

 

 

Course

Description

 

Computer Graphics is one of the most exciting ‘application’ fields of Computer Science. This course is intended to introduce the basics of Computer Graphics, laying the foundation for more advanced graduate classes or industry work. This course will be conducted with an application perspective. Therefore students will be expected to implement several techniques learnt in the lectures.  

 

 

 

 

 

 

Core/Elective

 

 

This course is an elective of both Computer Science and Computer Engineering undergraduate and graduate students.

 

 

 

 

 

Pre-requisites

 

Prereq Courses: CS 213 Data Structures and Algorithms, Math 221 Linear Algebra

Students are required to be proficient in C/C++, and familiar with basic concepts of Linear Algebra.

 

 

 

Goals

 

  1. Motivate the class about Computer Graphics.
  2. Introduce the basic theory and applications of Computer Graphics.
  3. Make students confident that they can write programs to solve Computer Graphics problems, through the use of several programming assignments and examples.

 

 

 

 

 

 

TextBooks, Programming Environment, etc.

 

Required:

[Angel] Interactive Computer Graphics: A Top Down Approach using OpenGL,  Edward Angel, Addison Wesley, 3rd Edition 2003

[Shirley] Fundamentals of Computer Graphics, Peter Shirley, A. K. Peters, 2002

 

Reference:

[Mortenson] Mathematics for Computer Graphics Applications, Michael E. Mortenson, Industrial Press Inc. 2nd Edition, 1999

[Bible] OpenGL Super Bible, 2nd Edition, Richard S. Wright, Michael R. Sweet, Waite Group, 1999

[OpenGL] OpenGL Programming Guide, OpenGL Architecture Review Board, 3rd Edition, Addison Wesley, 2001

 

Programming Environment:

Programming Language for the projects: C/C++

Graphics API to be used: OpenGL and GLUT

 

 


CS 352 Computer Graphics

                                                                                                                                                Year:       2002-03

 

                                                                                                                                                Quarter: Spring

 


Lectures, Tutorials & Attendance Policy

 

There will be 20 sessions of 100 minutes each, one in-class mid-term and one final examination.

Out of a total of 200 lecture minutes each week, 50 minutes will be reserved for programming aspects of the course, which is consistent with the course being of 4 units.

 

There is no grade for attendance, and is not required. However, students missing lectures will find it very difficult to make up for the content covered, with the possible additional penalty of missing quizzes.

 

 

 

 

Grading

 

20%               Projects

10%               Assignments

10%               Quizzes (Will check reading coverage)

25%               Mid-term Exam

35%               Final Exam (Comprehensive)

 

 

 

 

Additional Details

 

Course website will serve as a primary tool for organization of additional reading material, web links and other information related to the course. http://suraj.lums.edu.pk/~cs352s02

 

Cheating and plagiarism will not be tolerated and will be referred to the Ethics Committee for appropriate action. The instructor will strongly recommend that the strictest possible action to be taken against the students involved in plagiarism. If an assignment is discussed among students, it is required that each students writes up the solution independently, and without looking at notes from the discussion. Downloading code segments from the internet and presenting them as your own constitutes a serious offense.

 

Late Submission Policy:

  • Programming Assignments are due BEFORE class.
  • Written Assignments are due at the BEGINNING of the class
  • 20 % reduction for late submission by 24 hrs can be availed twice in the course. No submission is acceptable after 24 hrs of deadline.
  • Under exceptional circumstances, the instructor should be informed for special consideration.

 

 

 


CS 352 Computer Graphics

                                                                                                                                                Year:       2002-03

 

                                                                                                                                                Quarter:  Spring

 

Topics

 

Sessions

 

Readings

  1. An overview of Computer Graphics
    Applications, Graphics Systems, Graphics APIs, Models, Pipeline

 

  1. Mathematical foundations
    Vector Algebra, Coordinate Systems, Trigonometry and Geometry, Matrix Arithmetic, Interesting Problems

 

  1. Geometric Transformations
    Affine: Translation, Rotation, Scaling
    Homogeneous Coordinates
    Concatenation of Transformations

 

  1. Raster Algorithms
    Line Drawing, Triangle filling, Image and its manipulation, RGB color, Alpha channel

 

  1. Viewing
    Projections, Camera Setup

  2. Visible Surface Finding
    Hidden surface removal, z-buffer, BSP Tree

 

  1. Shading
    Light sources, Phong Model, Normal Vectors, Polygonal Shading

 

MIDTERM EXAM 25 %



  1. Graphics Pipeline
    Modeling, Geometric Processing, Rasterization, Display
    Clipping, Sampling and Aliasing

 

 

  1. Texture Mapping
    2D Texture Mapping, 3D Texture mapping, Multi-texturing, bump textures

 

  1. Curves and Surfaces
    Representation, Bezier Curves and Surfaces, Cubic B-Splines, Rendering

 

  1. Optional Topics: Ray Tracing, Image Based Rendering, Radiosity

 

 

FINAL EXAM 35%

 

1

 

 

2-3

 

 

 

4

 

 

 

 

5-6

 

 

 

7

 

 

8-9

 

 

10-11

 

 

12

 


13-14

 

 

 

 

15-16

 

 

 

17-18

 

 

 

19-20

 

Angel Ch 1
Shirley Ch 1

 

Angel Ch 4, App B, C
Shirley Ch 2

 

 

Angel Ch 4
Shirley Ch 5

 

 

 

Angel Ch 7

Shirley Ch 3

 

 

Angel 5

Shirley 6

 

Angel Ch 8
Shirley Ch 7

 

Angel 6

Shirley 8

 

Closed Book, Closed Notes, No help sheet

 

Angel 8
Shirley 11

 

 

 

Angel 7

Shirley 10

 

 

Angel 10

Shirley 13

 

 

Angel 13

Shirley 9, 22