Difference between revisions of "CISC440 F2019"

From class_wiki
Jump to: navigation, search
(Schedule)
(Course information)
 
(68 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
|-
 
|-
 
|valign="top"|'''Office hours'''
 
|valign="top"|'''Office hours'''
|??, ??
+
|Mondays and Wednesdays, 2-3 pm
 
|-
 
|-
 
|valign="top"|'''TA'''  
 
|valign="top"|'''TA'''  
 
|Chunbo Song, songcb@udel.edu<br>
 
|Chunbo Song, songcb@udel.edu<br>
TA office hours: ??, ?? in Smith 102A
+
TA office hours: In Smith 102A, Wednesdays 4-6 pm
 
|-
 
|-
 
|valign="top"|'''Grading'''  
 
|valign="top"|'''Grading'''  
 
|
 
|
*60% 4 assignments worth 15% each.  Each homework will be due about 2 weeks after being assigned (one is a little shorter, one a little longer)
+
*60% 5 programming assignments worth 12% each.  Each homework will be due about 10 days after being assigned (more for the last one)
 
*20% Midterm exam
 
*20% Midterm exam
 
*20% Final exam.  "Bonus topic" lecture material will not be tested
 
*20% Final exam.  "Bonus topic" lecture material will not be tested
Line 45: Line 45:
 
|valign="top"|'''Piazza'''
 
|valign="top"|'''Piazza'''
 
|
 
|
* To enroll: http://piazza.com/udel/spring2019/cisc440640  
+
* To enroll: http://piazza.com/udel/fall2019/cisc440640
* After you enroll: http://piazza.com/udel/spring2019/cisc440640/home  
+
* After you enroll: http://piazza.com/udel/fall2019/cisc440640/home  
 +
* Please ask all technical/administrative questions on Piazza rather via e-mail, so that other student may see the answer or answer your question themselves
 
|-
 
|-
 
|valign="top"|'''Academic policies'''
 
|valign="top"|'''Academic policies'''
Line 53: Line 54:
 
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).  
 
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.  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 [http://www.udel.edu/stuguide/16-17/code.html here].  
+
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 [http://www1.udel.edu/stuguide/19-20/code.html here].  
 
|}
 
|}
  
Line 70: Line 71:
 
Textbook web site: [http://www.cs.cornell.edu/~srm/fcg4/ Author] (most useful thing there is link to course with relevant slides), [https://www.crcpress.com/Fundamentals-of-Computer-Graphics-Fourth-Edition/Marschner-Shirley/9781482229394 Publisher]
 
Textbook web site: [http://www.cs.cornell.edu/~srm/fcg4/ Author] (most useful thing there is link to course with relevant slides), [https://www.crcpress.com/Fundamentals-of-Computer-Graphics-Fourth-Edition/Marschner-Shirley/9781482229394 Publisher]
  
This book is NOT at the campus bookstore.  Other ordering options:
+
This book is NOT at the campus bookstore.  The [https://www.crcpress.com/Fundamentals-of-Computer-Graphics-Fourth-Edition/Marschner-Shirley/9781482229394 publisher] has it, but their prices are bad.  I recommend [http://www.amazon.com/Fundamentals-Computer-Graphics-Fourth-Marschner/dp/1482229390/ref=sr_1_1?ie=UTF8&qid=1452108760&sr=8-1 Amazon]: About $50 to buy used hardcover, $17 to rent physical book for semester, $30 to rent E-book  
* [http://www.amazon.com/Fundamentals-Computer-Graphics-Fourth-Marschner/dp/1482229390/ref=sr_1_1?ie=UTF8&qid=1452108760&sr=8-1 Amazon]: About $79 for used hardcover, $26 to rent physical book for semester, E-book purchase $42
+
<!--
 
* [https://www.crcpress.com/Fundamentals-of-Computer-Graphics-Fourth-Edition/Marschner-Shirley/9781482229394 CRC Press] (the publisher): E-book purchase is $52, rental is $29 for 180 days
 
* [https://www.crcpress.com/Fundamentals-of-Computer-Graphics-Fourth-Edition/Marschner-Shirley/9781482229394 CRC Press] (the publisher): E-book purchase is $52, rental is $29 for 180 days
 +
-->
 
<!--
 
<!--
 
----------------------------------------------
 
----------------------------------------------
Line 181: Line 183:
 
|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 [http://www1.udel.edu/canvas/ Canvas].
 
|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 [http://www1.udel.edu/canvas/ 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.  <!--If you are unfamiliar with the make command and makefiles, there is some background information here and here.-->
+
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. <!--If you are unfamiliar with the make command and makefiles, there is some background information here and here.-->
 
|}
 
|}
  
Line 204: Line 206:
 
|Graphics background, course information  
 
|Graphics background, course information  
 
|Marschner, 1-1.4
 
|Marschner, 1-1.4
|[https://docs.google.com/presentation/d/1EgKeHo4vHxs90nAAfSQAZMfP-hxLFPsz2E6Mwpv8k6M/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/18k4TvjT2vmw7TRaTc7vJpGlcArIdTK1UXl6_E8BlACE/edit?usp=sharing slides]
 
|-
 
|-
 
|2
 
|2
Line 211: Line 213:
 
|Vector & matrix review, homogeneous coordinates, 2-D & 3-D transformations, quaternions  
 
|Vector & matrix review, homogeneous coordinates, 2-D & 3-D transformations, quaternions  
 
|Marschner, 2.4, 5.2-5.2.2, 6-6.3 (skip 6.1.6, 6.2.1-6.2.2), 16.2.2
 
|Marschner, 2.4, 5.2-5.2.2, 6-6.3 (skip 6.1.6, 6.2.1-6.2.2), 16.2.2
|[https://docs.google.com/presentation/d/11coBBT-FjdP4S4mEERIN2vW-uKzNuFYGVd8cT3wTjOo/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1llib5va-fnTzeHr0KIQS4uss1zFZsCB7WRfhUume08I/edit?usp=sharing slides]
 
|-
 
|-
 
|style="background:rgb(102, 204, 255)"|3
 
|style="background:rgb(102, 204, 255)"|3
Line 218: Line 220:
 
|More 3-D transformations, camera manipulation & the view volume
 
|More 3-D transformations, camera manipulation & the view volume
 
|Marschner, 6.5-7.2 <!--; Red book, 3 -->
 
|Marschner, 6.5-7.2 <!--; Red book, 3 -->
|[https://docs.google.com/presentation/d/1oWrAKSIfZfZ8PiazpidED7ZYGOE0Gka08-l__GbfuWA/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1iNHY2Y8vxslwaJ0JGoR012Zty1JVOlFMg0vV4RDOxRo/edit?usp=sharing slides]
 
|-
 
|-
 
|4
 
|4
Line 225: Line 227:
 
|Perspective projection, geometry pipeline, transformations with GLM
 
|Perspective projection, geometry pipeline, transformations with GLM
 
|Marschner, 7.3, 7.5; OpenGL tutorials [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-1-opening-a-window/ #1] (including installation instructions), [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/ #3] <!--Red book, 1, 2 (stop before stippling) -->
 
|Marschner, 7.3, 7.5; OpenGL tutorials [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-1-opening-a-window/ #1] (including installation instructions), [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/ #3] <!--Red book, 1, 2 (stop before stippling) -->
|[https://docs.google.com/presentation/d/1spOcwq7QDmaqbW3EwxidtfyJQX3pqF8cSbjuR1NUdCw/edit?usp=sharing slides]<br>
+
|[https://docs.google.com/presentation/d/11OIJbQ_5fllYmyXi5gAAzhCBXI-cKrmQMmb1jHQ91RM/edit?usp=sharing slides]<br>
[[CISC440_S2019_HW1|HW #1]]
+
[[CISC440_F2019_HW1|HW #1]]
 
|-
 
|-
 
|style="background:rgb(102, 204, 255)"|5
 
|style="background:rgb(102, 204, 255)"|5
|Sep. 10
+
|Sep. 10<br>
''Register/add deadline Feb. 25''<br>
+
''Register/add deadline''
 
|OpenGL/GLFW
 
|OpenGL/GLFW
 
|Program initialization, window creation, geometric primitives <!--, GLUT -->
 
|Program initialization, window creation, geometric primitives <!--, GLUT -->
 
|Marschner, 17-17.7, 17.9-17.11 <!--Red book 1, 2, 6 "Blending" section, 9 -->  
 
|Marschner, 17-17.7, 17.9-17.11 <!--Red book 1, 2, 6 "Blending" section, 9 -->  
|[https://docs.google.com/presentation/d/1JiZryyooKeCHmdl0oT6z2wzYeGArpQGe1Sn9Yob3BQY/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1Lrv-ScaaoyiWir-3YAAaG1p1qXL7V3gLLvOyLbAA4qE/edit?usp=sharing slides]
 
|-
 
|-
 
|6
 
|6
Line 241: Line 243:
 
|Basic animation, user interface callbacks
 
|Basic animation, user interface callbacks
 
|OpenGL tutorial [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-6-keyboard-and-mouse/ #6]
 
|OpenGL tutorial [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-6-keyboard-and-mouse/ #6]
|[https://docs.google.com/presentation/d/1CyP2mnn0_MpKUHXfulycKn-h2Er1CCT1QICaP8GAB3c/edit?usp=sharing slides]<br>[https://drive.google.com/open?id=11F506g-4qhnYGRGQvSVPE1ElCUhvzO78 interactive_tutorial03.cpp]
+
|[https://docs.google.com/presentation/d/12-0smB0kLraYqLawtfoWsMf1YkFLjMdUXoV1fkmykzk/edit?usp=sharing slides]<br>[https://drive.google.com/open?id=11F506g-4qhnYGRGQvSVPE1ElCUhvzO78 interactive_tutorial03.cpp]
 
|-
 
|-
 
|style="background:rgb(102, 204, 255)"|7
 
|style="background:rgb(102, 204, 255)"|7
Line 248: Line 250:
 
|Introduction to GLSL, vertex shaders vs. fragment shaders; GLSL texturing demo
 
|Introduction to GLSL, vertex shaders vs. fragment shaders; GLSL texturing demo
 
|Marschner, 17.8; [http://wiki.labomedia.org/images/1/10/Orange_Book_-_OpenGL_Shading_Language_2nd_Edition.pdf Orange book Chaps. 2-5]
 
|Marschner, 17.8; [http://wiki.labomedia.org/images/1/10/Orange_Book_-_OpenGL_Shading_Language_2nd_Edition.pdf Orange book Chaps. 2-5]
|[https://docs.google.com/presentation/d/1b5JTe1vNIiCAN4YxZhHX1JwpOSmTb630tt5Vkq6RjaU/edit?usp=sharing slides]<br>
+
|[https://docs.google.com/presentation/d/1KvG9X_Kh5Uf5RvKva1kbONLyilg6L72-fKEoHy073do/edit?usp=sharing slides]<br>
[https://drive.google.com/file/d/1zGheap531oLlk8hFMV5xg8JV0BpOQXuF/view?usp=sharing texture_example.zip]
+
[https://drive.google.com/file/d/1zGheap531oLlk8hFMV5xg8JV0BpOQXuF/view?usp=sharing texture_example.zip]<br>''HW #1 due''
 
|-
 
|-
 
|8
 
|8
Line 256: Line 258:
 
|Radiometry: irradiance, radiosity, radiance, BRDFs
 
|Radiometry: irradiance, radiosity, radiance, BRDFs
 
|Marschner, 10-10.2.1, 20-20.2
 
|Marschner, 10-10.2.1, 20-20.2
|[https://docs.google.com/presentation/d/1X7CylbMURBQ-xZimIokrKn4XhLL2TuYzvB5EG6mqh88/edit?usp=sharing slides]<br>
+
|[https://docs.google.com/presentation/d/1jhL1bgYKVY9pPQRGC13nC_GNfjvdSifN9Q7IUa_Dhmk/edit?usp=sharing slides]<!--<br>
[[CISC440_S2019_HW2|HW #2]]<br>''HW #1 due''
+
[[CISC440_S2019_HW2|HW #2]]<br>-->
 
|-
 
|-
 
|style="background:rgb(102, 204, 255)"|9
 
|style="background:rgb(102, 204, 255)"|9
Line 264: Line 266:
 
|Diffuse, specular reflection, Gouraud/Phong shading details; OpenGL, GLSL shading methods
 
|Diffuse, specular reflection, Gouraud/Phong shading details; OpenGL, GLSL shading methods
 
|Marschner, 10-10.2.2; [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-8-basic-shading/ OpenGL tutorial #8]
 
|Marschner, 10-10.2.2; [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-8-basic-shading/ OpenGL tutorial #8]
|[https://docs.google.com/presentation/d/1Jz_QvrUYHbSKOHRA5PFaOmKu6miJAcJozDzRw3W01nE/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1ByagPCM5hnzAEFQzJExQ_dvs9xyE3WlaOiFgtVAPpnE/edit?usp=sharing slides]<br>[[CISC440_F2019_HW2|HW #2]]
 +
 
 
|-
 
|-
 
|10
 
|10
Line 271: Line 274:
 
|Texture-mapping pipeline, start bump mapping
 
|Texture-mapping pipeline, start bump mapping
 
|Marschner, 11.2, 11.4 (homogeneous division material--not barycentric coords), 11.5 <!--; Red book, 9 (through "Assigning texture coordinates")    -->
 
|Marschner, 11.2, 11.4 (homogeneous division material--not barycentric coords), 11.5 <!--; Red book, 9 (through "Assigning texture coordinates")    -->
|[https://docs.google.com/presentation/d/19dMoZsgSAa0p1ssY-JoKBFiIXa5P1KP9QGtm_RMNp84/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1dE4k81ywe1LWYhgpbv9QXVOpz0LjIwU6ardtyf_CafI/edit?usp=sharing slides]
 
|-
 
|-
 
|style="background:rgb(102, 204, 255)"|11
 
|style="background:rgb(102, 204, 255)"|11
 
|Oct. 1
 
|Oct. 1
 
|Textures
 
|Textures
|Environment maps, shadow maps, lightmaps, magnification/minification
+
|Environment maps, shadow maps, lightmaps
 
|Marschner, 11.1.3-11.1.4, 11.3
 
|Marschner, 11.1.3-11.1.4, 11.3
|[https://docs.google.com/presentation/d/1XXpHrO7URx-SHqxd7iRujQym_lOht8f9XlXdPLQ5q3M/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1u4N2sXY1nh6c0ZFJKZyytVFBxsMH0W9HxaYHGAnVglo/edit?usp=sharing slides]
 
|-
 
|-
 
|12
 
|12
 
|Oct. 3
 
|Oct. 3
|Clipping and start hidden surface elimination
+
|Midterm review  
|Line and triangle clipping, backface culling
 
|Marschner, 8.1.3-8.1.6, 8.4
 
|[https://docs.google.com/presentation/d/1foZXottOepNReSn6s4FTYXxCm1XgCX8CRFvG-54vRqo/edit?usp=sharing slides]<br>''HW #2 due''<!--<br>
 
[https://docs.google.com/presentation/d/1IeookkoZP5GEAYuCb40CIUC1S96YroyaAvKfyD9LT8o/edit?usp=sharing slides]-->
 
|-
 
|style="background:rgb(102, 204, 255)"|13
 
|Mar. 26
 
|Midterm review
 
|
 
|
 
|[https://docs.google.com/presentation/d/1FTIs9mxZSTyG4C3HHi32UovnFP7qTdhghJHZrgScxyI/edit?usp=sharing slides]<br>[http://nameless.cis.udel.edu/class_data/cg_s2017/midterm_s2014.pdf 2014 midterm] (ignore Q9, Q10, and Q11)<br>
 
[http://nameless.cis.udel.edu/class_data/cg/midterm2004.pdf 2004 midterm] (look at questions 1.1, 1.2, 2.1, and 3.2 only)
 
|-
 
|14
 
|Mar. 28
 
|MIDTERM EXAM
 
|
 
 
|
 
|
 
|
 
|
 +
|[https://docs.google.com/presentation/d/1saDLucaAcjBBIxJy6JHhwN5I-rp5uVFzaTeyCvS96R4/edit?usp=sharing slides]<br>[http://nameless.cis.udel.edu/class_data/cg_s2017/midterm_s2014.pdf 2014 midterm] (ignore Q7, Q9, Q10, and Q11)<br>
 +
[http://nameless.cis.udel.edu/class_data/cg/midterm2004.pdf 2004 midterm] (look at questions 1.1, 1.2, 2.1, and 3.2 only)<br>''HW #2 due''
 
|-
 
|-
 
|style="background:rgb(102, 204, 255)"|
 
|style="background:rgb(102, 204, 255)"|
|Apr. 2
+
|Oct. 8
|style="background:rgb(255, 102, 0)"|NO CLASS<br>''Spring break''
+
|style="background:rgb(255, 102, 0)"|NO CLASS<br>''Instructor away''
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|-
 +
|13
 +
|Oct. 10
 +
|MIDTERM EXAM
 
|
 
|
|Apr. 4
 
|style="background:rgb(255, 102, 0)"|NO CLASS<br>''Spring break''
 
 
|
 
|
 
|
 
|
|
 
|-
 
|style="background:rgb(102, 204, 255)"|15
 
|Apr. 9
 
|Finish hidden surface elimination; line drawing
 
|Z-buffering, painter's algorithm, BSP trees; DDA, midpoint line-drawing
 
|Marschner, 8.2-8.2.3, 12.4; 8.1-8.1.1, 8.3
 
|[https://docs.google.com/presentation/d/1-9o9EE9tJN86181qcxpAp91SdkrtVNsv8e-3OnyNo74/edit?usp=sharing slides]<!--[https://docs.google.com/presentation/d/1H0tSJHr07SF8wG6LUxeL2e0_5jjCusG5HHGsYOZiAVM/edit?usp=sharing slides]-->
 
 
|-
 
|-
|16
+
|style="background:rgb(102, 204, 255)"|14
|Apr. 11
+
|Oct. 15
|Motion/simulation
+
|Motion/simulation  
 
|Particle systems, flocking
 
|Particle systems, flocking
 
|Marschner, 16.7
 
|Marschner, 16.7
|[https://docs.google.com/presentation/d/1-lsZC75u-d20W0F0278QYGCOiXumBav14wkK5G5mgtg/edit?usp=sharing slides]<!--[https://docs.google.com/presentation/d/15n9PEKXT3ErqK-TG1OcpX-OuZZts-Jo0RzbOtsoMsRA/edit?usp=sharing slides]<br>--><!---->
+
|[https://docs.google.com/presentation/d/1qZXxXU6uWk3NXTmAKAS_JuMQ_xrpOIGqGcee0yggr1k/edit?usp=sharing slides]<br>[[CISC440_F2019_HW3|HW #3]]
 +
|-
 +
|15
 +
|Oct. 17
 +
|Physics/simulation
 +
|Finish flocking; introduction to [https://pybullet.org/wordpress/ Bullet physics library]; finish texturing
 +
|OpenGL tutorial on [http://www.opengl-tutorial.org/miscellaneous/clicking-on-objects/picking-with-a-physics-library/ clicking], [https://github.com/bulletphysics/bullet3/blob/master/docs/Bullet_User_Manual.pdf Bullet physics manual] (you don't have to read all of it, it's just for reference); magnification/minification, mipmaps
 +
|[https://docs.google.com/presentation/d/1fVyTFa0ILAwGoFva13KBHzyzl40HwxN6J3nNFlCL-5U/edit?usp=sharing slides]<!--<br>''HW #2 due''--><!--<br>
 +
[https://docs.google.com/presentation/d/1IeookkoZP5GEAYuCb40CIUC1S96YroyaAvKfyD9LT8o/edit?usp=sharing slides]-->
 
|-
 
|-
|style="background:rgb(102, 204, 255)"|
+
|style="background:rgb(102, 204, 255)"|16
|Apr. 16<br>''Withdraw deadline Apr. 15''
+
|Oct. 22<br>''Withdraw deadline''
|style="background:rgb(255, 102, 0)"|NO CLASS<br>''Instructor away''
+
|Clipping and start hidden surface elimination
|
+
|Line and triangle clipping, backface culling, Z-buffering
|
+
|Marschner, 8.1.3-8.1.6, 8.4
|<!--[https://docs.google.com/presentation/d/1ZuycE08PPYuNpv6DhSx0gsSZ4ib5Cp6CIl6fC2-Zt7s/edit?usp=sharing slides]-->
+
|[https://docs.google.com/presentation/d/18n4pPikfPz2w7Mx4ihac_ogYHC2KMhjN-PzWyTdkVDk/edit?usp=sharing slides]<!--[https://docs.google.com/presentation/d/1H0tSJHr07SF8wG6LUxeL2e0_5jjCusG5HHGsYOZiAVM/edit?usp=sharing slides]-->
 
|-
 
|-
 
|17
 
|17
|Apr. 18
+
|Oct. 24
|Physics/simulation
+
|Finish hidden surface elimination
|Finish flocking; introduction to Bullet physics library
+
|Painter's algorithm, BSP trees
|OpenGL tutorial on [http://www.opengl-tutorial.org/miscellaneous/clicking-on-objects/picking-with-a-physics-library/ clicking], [https://github.com/bulletphysics/bullet3/blob/master/docs/Bullet_User_Manual.pdf Bullet physics manual] (you don't have to read all of it, it's just for reference)
+
|Marschner, 8.2-8.2.3, 12.4
|[https://docs.google.com/presentation/d/1bHRwcBv1oVgjCXvWE3XJ4P6IGTQC85f3aiN7Hz4-Efw/edit?usp=sharing slides]<br><!--[https://docs.google.com/presentation/d/1l1iPQGlKUeOgLsd1x0TQnqcccyrT0YZv1NBXAuxNcEM/edit?usp=sharing slides]-->[[CISC440_S2019_HW3|HW #3]]
+
|[https://docs.google.com/presentation/d/1nGAfNLnv29WGbAi_wfbjGFlro1_CvgPuBhQFr4QNyVk/edit?usp=sharing slides]<br>''HW #3 due''
 
|-
 
|-
 
|style="background:rgb(102, 204, 255)"|18
 
|style="background:rgb(102, 204, 255)"|18
|Apr. 23
+
|Oct. 29
 +
|Go over midterms; line drawing
 +
|DDA, midpoint line-drawing
 +
|Marschner, 8.1-8.1.1, 8.3
 +
|[https://docs.google.com/presentation/d/1YLtebBgev6NrWAlaY5VpoAtemi6ac_0npd-TD9FHWLo/edit?usp=sharing slides]
 +
|-
 +
|19
 +
|Oct. 31
 +
|A little [http://www.blender.org Blender], shape modeling
 +
|Bezier curves and surfaces, Catmull-Rom splines, subdivision
 +
|Marschner, 15-15.6.1 (ignore material on knots, Hermite form)
 +
|[https://docs.google.com/presentation/d/1P-xd3z93_hSHmfRA_7CCN5NC--Akw_MzAemlthyaVPU/edit?usp=sharing slides]<br>[[CISC440_F2019_HW4|HW #4]]<!--[https://docs.google.com/presentation/d/1l1iPQGlKUeOgLsd1x0TQnqcccyrT0YZv1NBXAuxNcEM/edit?usp=sharing slides]--><!--[[CISC440_S2019_HW3|HW #3]]--><!--HW #4-->
 +
|-
 +
|style="background:rgb(102, 204, 255)"|20
 +
|Nov. 5
 
|Ray tracing
 
|Ray tracing
 
|Ray casting, intersection testing
 
|Ray casting, intersection testing
 
|Marschner, 4
 
|Marschner, 4
|[https://docs.google.com/presentation/d/16PWLLjsNKe3SSOcc37jaG8Gcp2iYXUxe-HrW42jy_RM/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1X-5ghBYfGW0OXqmGf5YH25HmKucUnpfOP_ir3eJDa-k/edit?usp=sharing slides]
 
|-
 
|-
|19
+
|21
|Apr. 25
+
|Nov. 7
 
|Ray tracing
 
|Ray tracing
|Shadow rays (including soft shadows, ambient occlusion), reflections (including glossy)
+
|Shadow rays (including soft shadows, ambient occlusion)
 
|Marschner, 4
 
|Marschner, 4
|[https://docs.google.com/presentation/d/1nFmP3YpOzFilRObdpD8wcSfxDlx-Nw_D6l0ZHbjxD6I/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1i7MUpXN5GspLBKqkHxOV5Bbuxhd0lejk1iLOQbHTMi4/edit?usp=sharing slides]
 
|-
 
|-
|style="background:rgb(102, 204, 255)"|20
+
|style="background:rgb(102, 204, 255)"|22
|Apr. 30
+
|Nov. 12
|Review midterms; Ray tracing
+
|Ray tracing
|Refractions, distributed ray tracing for anti-aliasing  
+
|Reflections (including glossy), distributed ray tracing for anti-aliasing  
 
|Marschner, 4
 
|Marschner, 4
|[https://docs.google.com/presentation/d/1ASLJGV0EiQS6T61QCmKZvHrg1b3jGTXsmzsAioRFD3s/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1GgcmsdUMd-hU0qFRV4pwtnaJs1GcqcFOpDg6b59_9WE/edit?usp=sharing slides]<br>''HW #4 due Nov. 11''<br>[[CISC440_F2019_HW5|HW #5]]
 
|-
 
|-
|21
+
|23
|May 2
+
|Nov. 14
 
|Ray tracing and beyond
 
|Ray tracing and beyond
|Spatial data structures; bidirectional ray tracing
+
|Refractions, spatial data structures; bidirectional ray tracing
 
|Marschner, 4, 12.3, 13.1, 13.4; [http://nameless.cis.udel.edu/class_data/cg/heckbert_bidirectional.pdf "Bidirectional Ray Tracing"] paper by
 
|Marschner, 4, 12.3, 13.1, 13.4; [http://nameless.cis.udel.edu/class_data/cg/heckbert_bidirectional.pdf "Bidirectional Ray Tracing"] paper by
 
P. Heckbert  
 
P. Heckbert  
|[https://docs.google.com/presentation/d/1R9bGkLeWFbzitD_ltsMcwUU5L4tRjCxE67xgxLOK4HU/edit?usp=sharing slides]<!--<br>[https://docs.google.com/presentation/d/1ouyej5ltRdqlp5x3FnqxWRq1cwmh9Lt-3PdRRHtpFOo/edit?usp=sharing slides]--><br>''HW #3 due''<br>[[CISC440_S2019_HW4|HW #4]]
+
|[https://docs.google.com/presentation/d/1OKwNdUhBN6JHQk1XfJtVXgiIMhCTRWvIMRR1YyQfT9A/edit?usp=sharing slides]<!--<br>[https://docs.google.com/presentation/d/1ouyej5ltRdqlp5x3FnqxWRq1cwmh9Lt-3PdRRHtpFOo/edit?usp=sharing slides]--><!--<br>''HW #3 due''<br>[[CISC440_S2019_HW4|HW #4]]-->
 
|-
 
|-
|style="background:rgb(102, 204, 255)"|22
+
|style="background:rgb(102, 204, 255)"|24
|May 7
+
|Nov. 19
 
|Global illumination
 
|Global illumination
 
|Photon mapping  
 
|Photon mapping  
 
|[http://web.cs.wpi.edu/~emmanuel/courses/cs563/write_ups/zackw/photon_mapping/PhotonMapping.html Photon mapping introduction], [http://www.cc.gatech.edu/~phlosoft/photon/ online demo], [http://nameless.cis.udel.edu/class_data/cg/jensen_photon_mapping_tutorial.pdf tutorial]
 
|[http://web.cs.wpi.edu/~emmanuel/courses/cs563/write_ups/zackw/photon_mapping/PhotonMapping.html Photon mapping introduction], [http://www.cc.gatech.edu/~phlosoft/photon/ online demo], [http://nameless.cis.udel.edu/class_data/cg/jensen_photon_mapping_tutorial.pdf tutorial]
|[https://docs.google.com/presentation/d/1N-mF3yglLl2c2UyMnx22vFce-oEwGJz6rcKxZiJsjmI/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1hsU1bPp19kmLK0GRBX2ygHh4bKEklRMphuBln8FpaSg/edit?usp=sharing slides]
 
|-
 
|-
|23
+
|25
|May 9
+
|Nov. 21
 
|Noise
 
|Noise
 
|Value/Perlin noise  
 
|Value/Perlin noise  
 
|Marschner, 11.5.2-11.5.3, Orange book 15
 
|Marschner, 11.5.2-11.5.3, Orange book 15
|[https://docs.google.com/presentation/d/1RQowhwgnrSW4ySegy3Mkb9mSk-V07G6jweOqCuQWbjM/edit?usp=sharing slides]
+
|[https://docs.google.com/presentation/d/1-6PKhFRqWmw8bEvSG3QGo6PfJ-X8PNMS9wcHs8jCqUg/edit?usp=sharing slides]
 
|-
 
|-
|style="background:rgb(102, 204, 255)"|24
+
|style="background:rgb(102, 204, 255)"|
|May 14
+
|Nov. 26
|In-class HW #4 help -- attendance optional
+
|style="background:rgb(255, 102, 0)"|NO CLASS<br>''Thanksgiving break''
 
|
 
|
 
|
 
|
 
|<!--[https://docs.google.com/presentation/d/1TP7aOmOcE0j5A6thVQ-E0vHQwIt4sY8793j_JL4Lobs/edit?usp=sharing slides]-->
 
|<!--[https://docs.google.com/presentation/d/1TP7aOmOcE0j5A6thVQ-E0vHQwIt4sY8793j_JL4Lobs/edit?usp=sharing slides]-->
 
|-
 
|-
|25
+
|
|May 16
+
|Nov. 28
|Final review
+
|style="background:rgb(255, 102, 0)"|NO CLASS<br>''Thanksgiving break''
 
|
 
|
 
|
 
|
 
|<!--[https://docs.google.com/presentation/d/1RWvmTrSD1076eN6luo24XgJSuhroHKgkBT4tPovJxI0/edit?usp=sharing slides]-->
 
|<!--[https://docs.google.com/presentation/d/1RWvmTrSD1076eN6luo24XgJSuhroHKgkBT4tPovJxI0/edit?usp=sharing slides]-->
[https://docs.google.com/presentation/d/1kjDUMRjXeyHSYDP5h1POf1NE-R5ZlxYABD9tsF2s268/edit?usp=sharing slides]<br>[http://nameless.cis.udel.edu/class_data/cg/f2008_final_arial.pdf 2008 final]<br>''HW #4 due''<!--<br>[https://docs.google.com/presentation/d/113m0MIqb3mzzp4JmUMTFBRQcta2p7rIPzf5Oy8FaBy0/edit?usp=sharing slides]<br>[http://nameless.cis.udel.edu/class_data/cg/f2008_final_arial.pdf 2008 final]-->
+
<!--[https://docs.google.com/presentation/d/1kjDUMRjXeyHSYDP5h1POf1NE-R5ZlxYABD9tsF2s268/edit?usp=sharing slides]<br>[http://nameless.cis.udel.edu/class_data/cg/f2008_final_arial.pdf 2008 final]<br>''HW #4 due''--><!--<br>[https://docs.google.com/presentation/d/113m0MIqb3mzzp4JmUMTFBRQcta2p7rIPzf5Oy8FaBy0/edit?usp=sharing slides]<br>[http://nameless.cis.udel.edu/class_data/cg/f2008_final_arial.pdf 2008 final]-->
 +
|-
 +
|style="background:rgb(102, 204, 255)"|26
 +
|Dec. 3
 +
|SIGGRAPH video highlights/HW #5 in-class help
 +
|
 +
|
 +
|[https://docs.google.com/presentation/d/1_hLPyDfbLcWlZn16zzig72TOiGZNIi0WjBy1P264vPY/edit?usp=sharing slides]
 +
|-
 +
|27
 +
|Dec. 5
 +
|Final review
 +
|
 +
|
 +
|[https://docs.google.com/presentation/d/10UoLFShXVThfgNqBqY06rsViKbEz_9FDd1VQwBRVHTw/edit?usp=sharing slides]<br>[http://nameless.cis.udel.edu/class_data/cg/f2008_final_arial.pdf 2008 final]<br>''HW #5 due''
 
|-
 
|-
 
|
 
|
|May 28, 1-3 pm
+
|Dec. 10
 
|FINAL EXAM  
 
|FINAL EXAM  
|
+
|10:30 am--12:30 pm, CSB 003
 
|
 
|
 
|
 
|
 
|}
 
|}

Latest revision as of 22:19, 3 February 2021

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 Tuesdays and Thursdays, 11 am-12:15 pm
Where CSB 003
Instructor Christopher Rasmussen, 446 Smith Hall, cer@cis.udel.edu
Office hours Mondays and Wednesdays, 2-3 pm
TA Chunbo Song, songcb@udel.edu

TA office hours: In Smith 102A, Wednesdays 4-6 pm

Grading
  • 60% 5 programming assignments worth 12% each. Each homework will be due about 10 days after being assigned (more for the last one)
  • 20% Midterm exam
  • 20% Final exam. "Bonus topic" lecture material will not be tested
  • 2% Extra credit for completing course evaluation

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.

Piazza
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.) [Marschner in calendar below]

Steve Marschner and Peter Shirley

CRC Press, 2016

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 has it, but their prices are bad. I recommend Amazon: About $50 to buy used hardcover, $17 to rent physical book for semester, $30 to rent E-book

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 Tuesdays.
UDCapture videos are available in the Media Gallery tab of this course's Canvas page


# Date Topic Notes Readings Assignments/slides
1 Aug. 27 Introduction Graphics background, course information Marschner, 1-1.4 slides
2 Aug. 29 2-D, 3-D Geometry Vector & matrix review, homogeneous coordinates, 2-D & 3-D transformations, quaternions Marschner, 2.4, 5.2-5.2.2, 6-6.3 (skip 6.1.6, 6.2.1-6.2.2), 16.2.2 slides
3 Sep. 3 3-D Geometry More 3-D transformations, camera manipulation & the view volume Marschner, 6.5-7.2 slides
4 Sep. 5 3-D Geometry Perspective projection, geometry pipeline, transformations with GLM Marschner, 7.3, 7.5; OpenGL tutorials #1 (including installation instructions), #3 slides

HW #1

5 Sep. 10

Register/add deadline

OpenGL/GLFW Program initialization, window creation, geometric primitives Marschner, 17-17.7, 17.9-17.11 slides
6 Sep. 12 OpenGL/GLFW Basic animation, user interface callbacks OpenGL tutorial #6 slides
interactive_tutorial03.cpp
7 Sep. 17 GPU programming Introduction to GLSL, vertex shaders vs. fragment shaders; GLSL texturing demo Marschner, 17.8; Orange book Chaps. 2-5 slides

texture_example.zip
HW #1 due

8 Sep. 19 Shading Radiometry: irradiance, radiosity, radiance, BRDFs Marschner, 10-10.2.1, 20-20.2 slides
9 Sep. 24 Shading Diffuse, specular reflection, Gouraud/Phong shading details; OpenGL, GLSL shading methods Marschner, 10-10.2.2; OpenGL tutorial #8 slides
HW #2
10 Sep. 26 Textures Texture-mapping pipeline, start bump mapping Marschner, 11.2, 11.4 (homogeneous division material--not barycentric coords), 11.5 slides
11 Oct. 1 Textures Environment maps, shadow maps, lightmaps Marschner, 11.1.3-11.1.4, 11.3 slides
12 Oct. 3 Midterm review slides
2014 midterm (ignore Q7, Q9, Q10, and Q11)

2004 midterm (look at questions 1.1, 1.2, 2.1, and 3.2 only)
HW #2 due

Oct. 8 NO CLASS
Instructor away
13 Oct. 10 MIDTERM EXAM
14 Oct. 15 Motion/simulation Particle systems, flocking Marschner, 16.7 slides
HW #3
15 Oct. 17 Physics/simulation Finish flocking; introduction to Bullet physics library; finish texturing OpenGL tutorial on clicking, Bullet physics manual (you don't have to read all of it, it's just for reference); magnification/minification, mipmaps slides
16 Oct. 22
Withdraw deadline
Clipping and start hidden surface elimination Line and triangle clipping, backface culling, Z-buffering Marschner, 8.1.3-8.1.6, 8.4 slides
17 Oct. 24 Finish hidden surface elimination Painter's algorithm, BSP trees Marschner, 8.2-8.2.3, 12.4 slides
HW #3 due
18 Oct. 29 Go over midterms; line drawing DDA, midpoint line-drawing Marschner, 8.1-8.1.1, 8.3 slides
19 Oct. 31 A little Blender, shape modeling Bezier curves and surfaces, Catmull-Rom splines, subdivision Marschner, 15-15.6.1 (ignore material on knots, Hermite form) slides
HW #4
20 Nov. 5 Ray tracing Ray casting, intersection testing Marschner, 4 slides
21 Nov. 7 Ray tracing Shadow rays (including soft shadows, ambient occlusion) Marschner, 4 slides
22 Nov. 12 Ray tracing Reflections (including glossy), distributed ray tracing for anti-aliasing Marschner, 4 slides
HW #4 due Nov. 11
HW #5
23 Nov. 14 Ray tracing and beyond Refractions, spatial data structures; bidirectional ray tracing Marschner, 4, 12.3, 13.1, 13.4; "Bidirectional Ray Tracing" paper by

P. Heckbert

slides
24 Nov. 19 Global illumination Photon mapping Photon mapping introduction, online demo, tutorial slides
25 Nov. 21 Noise Value/Perlin noise Marschner, 11.5.2-11.5.3, Orange book 15 slides
Nov. 26 NO CLASS
Thanksgiving break
Nov. 28 NO CLASS
Thanksgiving break
26 Dec. 3 SIGGRAPH video highlights/HW #5 in-class help slides
27 Dec. 5 Final review slides
2008 final
HW #5 due
Dec. 10 FINAL EXAM 10:30 am--12:30 pm, CSB 003