Difference between revisions of "CISC440 S2023"
(→Schedule) |
(→Schedule) |
||
Line 499: | Line 499: | ||
| | | | ||
| | | | ||
− | | | + | |[https://docs.google.com/presentation/d/13fgCXGdWHehl9v8F3WVI8iNPS1GXIgZ_tMIdG6jFZak/edit?usp=sharing slides] |
|- | |- | ||
|style="background:rgb(102, 204, 255)"| | |style="background:rgb(102, 204, 255)"| |
Revision as of 07:03, 12 May 2023
Course information
Title | CISC440/640 Computer Graphics |
Description | A first course in computer graphics covering fundamental concepts and techniques related to rasterization, textures, 2-D and 3-D transformations (including perspective projection), shading, hidden surface elimination, and anti-aliasing, as well as selected topics in modeling, animation, ray tracing, and global illumination. OpenGL will be used for programming; you should have some familiarity with C/C++ or be ready to learn it. |
When | Mondays, Wednesdays, and Fridays, 11:15-12:05 pm |
Where | Gore 304 |
Instructor | Christopher Rasmussen, 446 Smith Hall, cer@cis.udel.edu |
Office hours | Mondays, 9-10:30 am and Thursdays, 10-11 am in Smith 211 |
TA | Seyedalireza Khoshsirat, alireza@udel.edu TA office hours: Thursdays, 4-6 pm. In Smith 203 first two weeks of course, then Smith 102A for the rest of the semester |
Grading |
Graduate students will be given extra tasks to complete or features to implement on each homework, and extra questions to answer on each exam. Programming assignments will be graded on the basis of correctness, efficiency, and originality. This is not an introductory programming class, so coding style is not critical. However, if you want partial credit for something that doesn't quite work, it needs to be well-commented and easy to follow. For the overall course grade, a preliminary absolute mark will be assigned to each student based on the percentage of the total possible points they earn according to the standard formula: A = 90-100, B = 80-90, C = 70-80, etc., with +'s and -'s given for the upper and lower third of each range, respectively. Based on the distribution of preliminary grades for all students (i.e., "the curve"), the instructor may increase these grades monotonically to calculate final grades. This means that your final grade can't be lower than your preliminary grade, and your final grade won't be higher than that of anyone who had a higher preliminary grade. I will try to keep you informed about your standing throughout the semester. If you have any questions about grading or expectations at any time, please feel free to ask me. |
Academic policies | Programming projects are due by midnight of the deadline day (with a grace period of a few hours afterward...after sunrise is definitely late). A late homework is a 0 without a valid prior excuse. To give you a little flexibility, you have 6 "late days" to use on homeworks to extend the deadline by one day each without penalty. No more than three late days may be used per assignment. Late days will automatically be subtracted, but as a courtesy please notify the instructor (and CC the TA) in an e-mail of your intention to use late days before the deadline. See submission instructions below.
The two exams will be closed book (i.e., no reference materials allowed). Unless otherwise instructed, you are responsible for all material covered up to the day of the exam, both from the assigned readings (everything in the Readings column of the Schedule below) and in lectures (excluding guest lectures). Students can discuss problems with one another in general terms, but must work independently on programming assignments unless teams are explicitly allowed for that assignment. This also applies to online and printed resources: you may consult them as references (as long as you cite them), but the words and source code you turn in must be yours alone. The University's policies on academic dishonesty are set forth in the student code of conduct here. |
Readings
Textbook (required) | Fundamentals of Computer Graphics (4th ed. or higher) [Marschner in calendar below]
Steve Marschner and Peter Shirley CRC Press, 2016. 5th edition came out in 2021 and it's easier to get, but some of the chapter references below might not match perfectly Textbook web site: Author (most useful thing there is link to course with relevant slides), Publisher This book is NOT at the campus bookstore. The publisher will rent an e-book of the 5th edition for 6 months for $77. On Amazon it's about $20 to rent a physical 4th edition book for semester and $50 to buy a used version of it. |
Instructions
OpenGL | Key thing to note: We are using OpenGL 3.3 for programming! A lot of examples on the web are for older 2.x, so beware
|
Homeworks | Assignment submissions should consist of a directory containing all code (your .cpp files, header files, makefile if applicable, etc.), any output data generated (e.g., images, movies, etc.), and an explanation of your approach, what worked and didn't work, etc. contained in a separate text or HTML file. Do not submit executables, .o files, or libraries, please! The directory you submit for each assignment should be packaged by tar'ing and gzip'ing it or just zip'ing it. The resulting file should be submitted through Canvas.
You may develop your OpenGL, C/C++ code in any fashion that is convenient--that is, with any compiler and operating system that you want--but you must avoid OS- and hardware-specific functions. Programs which use Python and other languages will not be accepted, nor any programs that rely heavily on OpenGL 2.x functions. |
Schedule
Note: The blue squares in the "#" column below indicate Mondays.
UDCapture videos of in-person classes are available in the Media Gallery tab of this course's Canvas page
# | Date | Topic | Notes | Readings | Assignments/slides |
---|---|---|---|---|---|
1 | Feb. 6 | Introduction | Graphics background, course information | Marschner, 1-1.4 | slides |
2 | Feb. 8 | 2-D geometry | Vector & matrix review, homogeneous coordinates, 2-D transformations | Marschner, 2.4, 5.2-5.2.2, 6-6.3 (skip 6.1.6, 6.2.1-6.2.2) | slides |
3 | Feb. 10 | 3-D geometry | 3-D transformations, quaternions, 3-D coordinate systems | Marschner, 6-6.3 (skip 6.1.6, 6.2.1-6.2.2), 6.5, 16.2.2 | slides |
4 | Feb. 13 | 3-D Geometry | 3-D coordinate system transformations, setting the camera pose | Marschner, 6.5, 7.1.3 | slides |
5 | Feb. 15 | 3-D Geometry | Parallel and orthographic projections, canonical views | Marschner, 7-7.1, 7.5 | slides |
6 | Feb. 17 Add/drop deadline |
3-D Geometry | Perspective projection, geometry pipeline, transformations with GLM | Marschner, 7.2-7.3, 7.5; OpenGL tutorials #1 (including installation instructions), #3 | slides HW #1 |
7 | Feb. 20 |
OpenGL/GLFW | Program initialization, window creation, geometric primitives | Marschner, 17-17.7, 17.9-17.11 | slides |
8 | Feb. 22 | OpenGL/GLFW | Basic animation, user interface callbacks | OpenGL tutorial #6 | slides |
9 | Feb. 24 | GPU programming | Vertex shaders vs. fragment shaders; introduction to GLSL; GLSL texturing demo | Marschner, 17.8; Orange book Chaps. 2-5 | slides |
10 | Feb. 27 | Texture basics, shading | Marschner, 17.8; Orange book Chaps. 2-5 | slides HW #1 due | |
11 | Mar. 1 | Shading | Radiometry: irradiance, radiosity, radiance, BRDFs | Marschner, 10-10.2.1, 20-20.2 | slides |
12 | Mar. 3 | Shading | Diffuse, specular reflection approximations; Gouraud/Phong shading details | slides | |
13 | Mar. 6 | HW #2/Textures | OpenGL, GLSL shading methods and HW #2 details; texture applications | Marschner, 10-10.2.2; OpenGL tutorial #8 | slides HW #2 |
14 | Mar. 8 | Textures | Bump mapping, lightmaps, texturing pipeline, environment maps | Marschner, 11.1.3-11.1.4, 11.3 | slides |
15 | Mar. 10 | Textures | Reflection mapping, shadow maps | Marschner, 11.4.4-11.4.5 | slides |
16 | Mar. 13 | Textures | Bilinear vs. nearest-neighbor filtering, magnification/ minification, mipmaps | Marschner, 11.2.2, 11.3.3-11.3.4 | slides |
17 | Mar. 15 | Rasterization (line drawing) | DDA, midpoint line-drawing | slides | |
18 | Mar. 17 | Clipping | Line and triangle clipping | Marschner, 8.1.3-8.1.6 | slides 2022 midterm exam HW #2 due |
19 | Mar. 20 | Midterm review | slides | ||
20 | Mar. 22 | MIDTERM EXAM | |||
Mar. 24 | NO CLASS Spring break starts early |
||||
Mar. 27 | NO CLASS Spring break |
||||
Mar. 29 | NO CLASS Spring break |
||||
Mar. 31 | NO CLASS Spring break |
||||
Apr. 3 | NO CLASS Instructor away |
||||
21 | Apr. 5 [ONLINE, NOT LIVE -- see YouTube recording] | Particle systems | Basics not including flocking | slides recording (stop at 48:18) | |
22 | Apr. 7 | Particle systems | Flocking, introduction to Bullet physics library | Marschner, 11.1.3-11.1.4, 11.3; OpenGL tutorial on clicking, Bullet physics manual (you don't have to read all of it, it's just for reference) | |
23 | Apr. 10 | HW #3 | slides | ||
24 | Apr. 12 | Hidden surface elimination, start shape modeling | Painter's algorithm, BSP trees | Marschner, 8.1-8.1.1, 8.2-8.2.3, 8.3-8.4, 12.4 | slides |
25 | Apr. 14 | Shape modeling | Bezier curves and surfaces, Catmull-Rom splines, subdivision | Marschner, 15-15.6.1 (ignore material on knots, Hermite form) | slides |
26 | Apr. 17 | Blender for HW #4 | Organic shape modeling | Blender modeling tutorial video HW #3 due | |
27 | Apr. 19 | Blender for HW #4 | UV unwrapping, texture painting | Blender UV unwrapping, texture painting HW #4 | |
28 | Apr. 21 | Ray tracing | Ray casting, intersection testing | Marschner, 4 | slides |
29 | Apr. 24 | Ray tracing | Shadow rays (including soft shadows, ambient occlusion) | Marschner, 4 | slides |
30 | Apr. 26 | Ray tracing | Reflections (including glossy), distributed/distribution ray tracing, super-sampling for anti-aliasing | Marschner, 4, 13.1, 13.4 | slides |
31 | Apr. 28 | Global illumination | Spatial data structures for ray tracing, bidirectional ray tracing | Marschner, 4, 12.3; "Bidirectional Ray Tracing" paper | slides HW #4 due |
32 | May 1 Withdraw deadline |
Global illumination | Photon mapping/path tracing | photon mapping introduction, online demo | |
33 | May 3 | Finish photon mapping, start noise | Value/Perlin noise | Marschner, 11.5.2-11.5.3, Orange book 15 | slides |
34 | May 5 | Noise, Blender materials | slides Blender materials tutorial | ||
May 8 | NO CLASS CIS Research Day |
||||
35 | May 10 | More on Blender textures/materials; animation basics | Rigging, skeletons, skinning | slides Blender shader nodes Blender noise | |
36 | May 12 | Final review | slides | ||
May 15 | NO CLASS Using class time for demos |
HW #5 due | |||
May 16 | Finish HW #5 demos | ||||
May 18 | Final exam | 1-3 pm, Gore 304 |