Lectures: Fuller Labs (FL) 320, Wednesdays, 6:00 - 8:50PM
Grader/Student Assistant: Xuanyu Chen (xchen9@wpi.edu)
Office hours: Tuesdays 5 - 7PM, Wednesdays 1 - 3PM
Note: All SA office hours will be held in the zoolab unless you receive instructions otherwise.
Instructor: Prof. Emmanuel Agu, FL-139, 508-831-5568, emmanuel@cs.wpi.edu
Office Hours: Mondays 4:00 - 5:00PM; Others by appointmentRequired Text: Interactive Computer Graphics (6th edition) by Angel and Shreiner (Available on Amazon.com)
IMPORTANT NOTE: We are using the 6th edition NOT the 7th edition of the text
Supplemental texts (Optional):
- Computer Graphics using OpenGL (Third edition) by F.S. Hill Jr. and S Kelley (1 copy held on reserve in library)
- OpenGL 4 Shading Language Cookbook (second edition) David Wolff (e-copy available through WPI library)
- OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3 (8th Edition) by Dave Shreiner, Graham Sellers, John M. Kessenich, Bill M. Licea-Kane (e-copy available through WPI library)
- Foundations of 3D Computer Graphics Steven Gortler (e-copy available through WPI library)
- Graphics Shaders (second edition) Bailey and Cunningham (e-copy available through WPI library)
- 3D Math Primer for Graphics and Game Development Dunn and Parberry (e-copy available through WPI library)
- Mathematics for Computer Graphics John Vince (e-copy available through WPI library)
- Real-time rendering Tomas Moller, Eric Haines and Naty Hoffman (e-copy available through WPI library)
Facilities: You should do your assignments in C/C++ on Microsoft Windows since that's the platform on which they will be graded. Note that compiled graphics code tends to be large and may consume more than one megabyte of disk space. Very important: No matter what platform you write your code on, the final executable must run on the Windows machines in the WPI Zoolab with clear instructions in your documentation on how to run it. Your submitted code will be compiled, tested and graded on the machines in the zoolab. Make sure your code runs well on those machines before submitting it. Points will be deducted if you do not check that your code works on those machines.
Class Websites: The class website is at http://web.cs.wpi.edu/~emmanuel/courses/cs543/s18/ . Message boards have been set up on InstructAssist where you can discuss the homeworks and ask questions. Please post your questions on the discussion board to avoid excessive emails and so that everyone can benefit from answers given. You may send email to me if you have questions on matters that concern only you. You can log into InstructAssist here:
[ InstructAssist Log In Page ]Software Utilities: Your programs will be written in OpenGL. Microsoft Visual Studio and OpenGL are all installed on the machines in the WPI Zoolab.
Grade Policy: 50% exams (3 exams), 50% assignments (5 projects)
Late Assignment Credit: Late programming assignments will be penalized 15 points off per day (per 24 hours). Assignments later than 4 days late will not be accepted.
Notes:
- Reading is mandatory, working ahead is encouraged.
- Exams will be based on lectures, readings and a bit of project knowledge, so class attendance is strongly encouraged.
- Working and discussions in pairs is okay. However, each student must turn in different and unique projects.
- Cheating is strictly forbidden
- 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 F for the course and the case will be brought before the campus hearing board (see Student Handbook). Using or submitting code retrieved from online repositories such as gitHub, which was previously submitted by a student in a previous iteration of this class (or CS 4731 undergraduate version) is considered cheating
- All assignments should be submitted electronically. Hard copies or submissions on disks will not be accepted. Both your executable and source code must be turned in. Your documentation MUST include the structure of your project, what each file contains and instructions for compiling and running the program. Typically, a well-organized README ASCII text file is sufficient. 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 when the file was changed. Your README file may be in ASCII text, Microsoft Word or PDF.
Schedule (Tentative)
Week 1 (Jan 17) Topics: Overview, graphics intro, basic HW/SW, OpenGL/GLUT Homework 0 Homework 0 Not to be submitted Week 2 (Jan 24) Topics: 2D Graphics Systems, Fractals, Interaction, Shader Setup and GLSL Introduction Homework 1 Homework 1 Due Wednesday, Feb 7, by class time Week 3 (Jan 31) Topics: Linear Algebra for Graphics, Building 3D Models, Introduction to Transformations Week 4 (Feb 7) Topics: Rotations and Matrix Concatenation, Implementing Transformations, Hierarchical 3D Models Homework 2 Homework 2 Due Wednesday, Feb 21, by class time Week 5 (Feb 14) Topics: Viewing & Camera Control Midterm exam 1: Feb 14, in-class Week 6 (Feb 21) Topics: Projection, Lighting, Shading and Materials (Parts 1 & 2) Week 7 (Feb 28) Topics: Texture mapping, environment mapping (Reflections and Refractions) Homework 3 Homework 3 Due Wednesday, Mar 21, by class time (Mar 7) Term Break, No Class Week 8 (Mar 14) Normal mapping, High Dynamic Range Lighting, Tone Mapping, Bloom Effect Week 9 (Mar 21) Topics: Shadow and Fog, shadow maps and shadow volumes, Clipping (2D and 3D) Homework 4Homework 4 Due Wednesday, Apr 4, by class time Week 10 (Mar 28) Topics: Noise rendering, viewport transformation, Hidden Surface Removal (HSR) Midterm exam 2: Mar 28, in-class Week 11 (Apr 4) Topics: Rasterization: Line Drawing, Polygon filling and Antialiasing Homework 5Homework 5 Due Wednesday, Apr 18, by class time Week 12 (Apr 11) Topics: Curves and tesselation, geometry shaders Week 13 (Apr 18) Topics: Image manipulation Week 14 (Apr 25) Topics: Ray tracing and physically-based Real-time rendering Final Exam: Apr 25, in-classClass Slides
- Lecture 1.a [ Introduction to Graphics ]
- Lecture 1.b [ Introduction to OpenGL/GLUT (part 1)]
- Lecture 2.a [ Introduction to OpenGL/GLUT (part 2) ]
- Lecture 2.b [ 2D Graphics Systems ( Drawing Polylines, tiling, & Aspect Ratio ) ]
- Lecture 2.c [ Fractals ]
- Lecture 3.a [ Interaction, Shader Setup and GLSL Introduction ]
- Lecture 3.b [ Linear Algebra for Graphics: (Points, Scalars, Vectors) ]
- Lecture 3.c [ Building 3D Models ]
- Lecture 4.a [Introduction to Transformations ]
- Lecture 4.b [ Rotations and Matrix Concatenation ]
- Lecture 4.c [ Implementing Transformations ]
- Lecture 5 [ Hierarchical 3D Models ]
- Lecture 6.a [ Viewing & Camera Control ]
- Lecture 6.b [ Introduction to Projection ]
- Lecture 6.c [ Derivation of Ortographic Transformation ]
- Lecture 7.a [ Derivation of Perspective Transformation ]
- Lecture 7.b [ Intro to lighting, Shading and Materials + Phong Lighting Model ]
- Lecture 7.c [ Per-Vertex lighting, Shading and Per-Fragment lighting ]
- Lecture 8.a [ Physically-Based Lighting Models ]
- Lecture 8.b [ Texture Mapping ]
- Lecture 8.c [ Environment mapping (Reflections and Refractions ]
- Lecture 9.a [ Sphere Maps, Viewport Transformation & Hidden Surface Removal ]
- Lecture 9.b [ Shadows and Shadow Maps ]
- Lecture 9.c [ Soft Shadows & Fog ]
- Midterm Review slides [ Exam 2 Review ]
- Lecture 10 [ Normal Maps, Parametrization, Tone Mapping ]
- Lecture 11.a [ Image Manipulation ]
- Lecture 11.b [ 2D Clipping ]
- Lecture 12.a [ 3D Clipping ]
- Lecture 12.b [ Rasterization: Line Drawing ]
- Lecture 12.c [ Rasterization: Polygon filling and Antialiasing ]
- Lecture 13.a [ Curves, Tesselation/Geometry Shaders & Level of Detail ]
- Lecture 13.b [ Ray Tracing (Part 1) ]
- Exam 3 Review slides [ Exam 3 Review ]
Main Web Resources
- Nate Robbins' OpenGL Tutors
- How to install Visual Studio 2015
- How to install GLEW and GLUT
- Khronos.org: Getting started with OpenGL
- Etay Meiri's OglDev: Modern OpenGL Tutorials. GLSL 3.30
- Joey de Vries' learn OpenGL tutorials, uses GLFW
- 2004 Spaceship Gallery