Chris Pollett > Old Classses >
CS116a

( Print View )

Student Corner:
  [Grades Sec1]
  [Submit Sec1]
  [Class Sign Up Sec1]
  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [Class Protocols]
  [HW/Quiz Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]  [Quizzes]

Practice Exams:
  [Midterm]  [Final]

                           












CS116a Fall 2013 Sec1 Home Page/Syllabus

Introduction to Computer Graphics

Instructor: Chris Pollett
Office: MH 214
Phone Number: (408) 924 5145
Email: chris@pollett.org
Office Hours: MW 6-7pm
Class Meets:
Sec1 MW 3:00pm-4:15pm in DH416

Prerequisites

To take this class you must have taken: CS 146 , MATH 32 , and MATH 129A with a grade of C- or better.

Texts and Links

Required Texts: Foundations of 3D Computer Graphics. by Steven J. Gortler
Online References and Other Links: OpenGL.org.
Nate Robins GLUT (ancient).
FreeGLUT.
SDL (Simple DirectMedia Layer).

Topics and Outcomes

This class will cover the basic algorithms necessary to output progressively more sophisticated 2D and 3D images. OpenGL and GLUT will be used throughout to teach these algorithms. As time permits we might also describe how to do things in SDL and on mobile platforms in OpenGL ES. Coding will be done in C/C++. Our textbook, Gortler, uses a more modern treatment of OpenGL than in books previously used in this class. In particular, we will cover shaders from the start. The basics of 2D rotations, transformations and clipping algorithms will be covered. Then we'll begin to discuss 3D graphics and the graphics pipeline. Different kinds of perspective and 3D transformations will be given. We will conclude the semester by talking about different kinds of illumination models. By the end of this course, a student should be able to: (1) Implement a curve drawing algorithm in OpenGL. (3) Create simple 2D or 3D scenes in OpenGL. (4) Write an OpenGL program using shaders. (5) Use OpenGL clipping and viewport functions in both 2D and 3D. (6) Write an OpenGL program that makes used of 2D or 3D affine transformations. (7) Write an OpenGL program that makes use of lighting and different kinds of materials.

Below is a tentative time table for when we'll do things this quarter:

Week 1: Aug 19, Aug 21 (First Day) Read Ch1 Introduction
Week 2: Aug 26 , Aug 28 Read Appendix A. First OpenGL with shaders example. Ch 2 Linear Transformations
Week 3: Sep 2 (Labor Day) , Sep 4 Read Ch 3 Affine Transformations
Week 4: Sep 9 (HW1 due) , Sep 11 Read Ch 4-5 Frames and Frames in Computer Graphics
Week 5: Sep 16 , Sep 18 Ch 6 Drawing and Moving things in OpenGL
Week 6: Sep 23 , Sep 25 Ch 7 Using Quaternions for Transformations
Week 7: Sep 30 , Oct 2 (HW2 due) Ch8 and Ch 5 User interfaces for transformations
Week 8: Oct 7 , Oct 9 Ch 19 Start Color models
Week 9: Oct 14 , Oct 16 (Midterm) Review
Week 10: Oct 21 , Oct 23 Ch 19 Finish Color Models
Week 11: Oct 28 , Oct 30 (HW3 due) Ch 9 Line, Curve Algorithms, Bezier Curves
Week 12: Nov 4 , Nov 6 Ch 10 Handling Projections
Week 13: Nov 11 (Veteran's Day) , Nov 13 Ch 11 Depth algorithms
Week 14: Nov 18 (HW4 due) , Nov 20 Ch 12 Clipping
Week 15: Nov 25 , Nov 27 Ch 13 Varying variables
Week 16: Dec 2 , Dec 4 (HW5 due) Ch 14 Materials
Week 17: Dec 9 Review
The final will be Friday, December 13 from 12:15pm-2:30pm

Grading

HWs and Quizzes 50%
Midterm 20%
Final 30%
Total100%

Grades will be calculated in the following manner: The person or persons with the highest aggregate score will receive an A+. A score of 55 will be the cut-off for a C-. The region between this high and low score will be divided into eight equal-sized regions. From the top region to the low region, a score falling within a region receives the grade: A, A-, B+, B, B-, C+, C, C-. If the boundary between an A and an A- is 85, then the score 85 counts as an A-. Scores below 55 but above 50 receive the grade D. Those below 50 receive the grade F.

If you do better than an A- in this class and want me to write you a letter of recommendation, I will generally be willing provided you ask me within two years of taking my course. Be advised that I write better letters if I know you to some degree.

Classroom Protocol

I will start lecturing close to the official start time for this class modulo getting tangled up in any audio/visual presentation tools I am using. Once I start lecturing, please refrain from talking to each other, answering your cell phone, etc. If something I am talking about is unclear to you, feel free to ask a question about it. Typically, on practice tests days, you will get to work in groups, and in so doing, turn your desks facing each other, etc. Please return your desks back to the way they were at the end of class. This class has an online class discussion board which can be used to post questions relating to the homework and tests. Please keep discussions on this board civil. This board will be moderated. Class and discussion board participation, although not a component of your grade, will be considered if you ask me to write you a letter of recommendation.

Course Requirements, Homework and Quiz Info

The university policy regarding credit hours for classes states:
"SJSU classes are designed such that in order to be successful, it is expected that students will spend a minimum of forty-five hours for each unit of credit (normally three hours per unit per week), including preparing for class, participating in course activities, completing assignments, and so on. More details about student workload can be found in
University Policy S12-3."

This semester we will have five homeworks and weekly quizzes. Every Monday this semester, except the first day of class, the Midterm Review Day, and holidays, there will be a quiz on the previous week's material. The answer to the quiz will either be multiple choice, true-false, or a simple numeric answer that does not require a calculator. Each quiz is worth a maximum of 1pt with no partial credit being given. Out of the total of twelve quizzes this semester, I will keep your ten best scores.

Links to the current list of homeworks and quizzes can be found on the left hand frame of the class homepage. After an assignment has been returned, a link to its solution (based on the best student solutions) will be placed off the assignment page. Material from assignments may appear on midterms and finals. For homeworks you are encouraged to work in groups of up to three people. Only one person out of this group needs to submit the homework assignment; however, the members of the group need to be clearly identified in all submitted files.

Homeworks for this class will be submitted and returned completely electronically. To submit an assignment click on the submit homework link for your section on the left hand side of the homepage and filling out the on-line form. Hardcopies or e-mail versions of your assignments will be rejected and not receive credit. Homeworks will always be due by the start of class on the day their due. Late homeworks will not be accepted and missed quizzes cannot be made up; however, your lowest score amongst the five homeworks and your quiz total will be dropped.

When doing the programming part of an assignment please make sure to adhere to the specification given as closely as possible. Names of files should be as given, etc. Failure to follow the specification may result in your homework not being graded and you receiving a zero for your work.

Exams

The midterm will be during class time on: Oct 16.

The final will be: Friday, December 13 from 12:15pm-2:30pm.

All exams are closed book, closed notes and in this classroom. You will be allowed only the test and your pen or pencil on your desk during these exams. The final will cover material from the whole semester although there will be an emphasis on material after the last midterm. No make ups will be given. The final exam may be scaled to replace a midterm grade if it was missed under provably legitimate circumstances. These exams will test whether or not you have mastered the material both presented in class or assigned as homework during the quarter. My exams usually consist of a series of essay style questions. I try to avoid making tricky problems. The week before each exam I will give out a list of problems representative of the level of difficulty of problems the student will be expected to answer on the exam. Any disputes concerning grades on exams should be directed to me, Professor Pollett.

Regrades

If you believe an error was made in the grading of your program or exam, you may request in person a regrade from me, Professor Pollett, during my office hours. I do not accept e-mail requests for regrades. A request for a regrade must be made no more than a week after the homework or a midterm is returned. If you cannot find me before the end of the semester and you would like to request a regrade of your final, you may see me in person at the start of the immediately following semester.

Academic Honesty

Your own commitment to learning, as evidenced by your enrollment at San Jose State University, and the University's Academic Integrity Policy requires you to be honest in all your academic course work. Faculty members are required to report all infractions to the Office of Student Conduct and Ethical Development. The policy on academic integrity can be found at http://www.sjsu.edu/studentconduct/.

Specifically, for this class, you should obviously not cheat on tests. For homeworks, you should not discuss or share code or problem solutions between groups! At a minimum a 0 on the assignment or test will be given. A student caught using resources like Rent-a-coder will receive an F for the course and be referred to University for disciplinary action.

Additional Policies and Procedures

The campus policy to ensure compliance with the Americans with Disabilities Act is:
"If you need course adaptations or accommodations because of a disability, or if you need special arrangements in case the building must be evacuated, please make an appointment with me as soon as possible, or see me during office hours. Presidential Directive 97-03 requires that students with disabilities register with
Accessible Education Center to establish a record of their disability."

More information about SJSU policies and procedures can be found at the following links: