15-472/672/772: Real-Time Computer Graphics (original) (raw)

Also known as 15-472/672/772. Tuesdays and Thursdays from 14:00-15:20 in Posner Hall 151 during Spring 2024. Taught by Jim McCann. Office hours after class in Smith 229 or by appointment.

Real-time computer graphics is about building systems that leverage modern CPUs and GPUs to produce detailed, interactive, immersive, and high-frame-rate imagery. Students will build a state-of-the-art renderer using C++ and the Vulkan API. Topics explored will include efficient data handling strategies; culling and scene traversal; multi-threaded rendering; post-processing, depth of field, screen-space reflections; volumetric rendering; sample distribution, spatial and temporal sharing, and anti-aliasing; stereo view synthesis; physical simulation and collision detection; dynamic lights and shadows; global illumination, accelerated raytracing; dynamic resolution, "AI" upsampling; compute shaders; parallax occlusion mapping; tessellation, displacement; skinning, transform feedback; and debugging, profiling, and accelerating graphics algorithms.

Principles

This course is based on four principles:

Work

(Note: subject to revision based on class timing.)

Your grade in this course will be determined by four assignments that cumulatively build a high-performance real-time renderer (60%); a project that adds a state-of-the-art feature to that renderer (30%); and participation in in-class discussions and activities (10%).

Don't Copy and Don't Steal

You will write a lot of code in this class, and I require that you actually type this code. (It is easy to copy-paste faster than you can think.)

You may use code from the internet, but make sure the code is not covered by a license that prohibits copying (copyright violation -- illegal!), be sure to include a comment citing your source (plagiarism -- immoral!), and make sure it passes through your brain on its way to your fingers (e.g., "fix" the coding style, re-work awkward parts, look up and document parts you don't understand).

You may work together, but take extra care to not copy code. Rule of thumb: if you are writing code, you should not be doing it where you can see your classmates' code.

Examples:

Resources

This course does not have a textbook; but you will likely find the following web resources helpful:

See also: the "extra readings" links in each section below.

Schedule

(Perpetually subject to revision -- and, at present, still very much a draft!)

Real-Time Graphics

Tuesday, January 16th Real-Time Graphics Course Logo

What it means to be real-time and general techniques for getting there.

The Graphics Pipeline

Thursday, January 18th
-Thursday, January 25th Vulkan Icon, from 'https://www.vulkan.org/'

How we get pixels onto the screen quickly. From attributes to framebuffers.

Data Wrangling

Tuesday, January 30th Image from the paper 'Bisection Based Triangulation of Catmull Clark Subdivision' by Dupuy and Deloit.

Getting data into our renderer.

Culling and Occlusion

Thursday, February 1st
-Thursday, February 8th Image from the talk 'GPU-Driven Rendering Pipelines' by Haar.

What you don't render can't slow you down.

Materials

Tuesday, February 13th
-Thursday, February 22nd Illustration from SIGGRAPH Real-Time Rendering course about UE5's 'substrate' materials system

Matching the real world, or doing better.

Color

Tuesday, February 27th placeholder image for colorspace lecture.

Primaries, white points, and encodings oh my.

Going Big

Thursday, February 29th
-Saturday, March 9th Megatextures visualized in id Software's 'Rage'.

Moving beyond what can fit in GPU memory.

Direct Lighting

Tuesday, March 12th Image from the talk 'The Light Pre-Pass Renderer: Renderer Design for Efficient Support of Multiple Lights' by Engel

The first bounce of lighting is always the brightest.

Shadows

Thursday, March 14th
-Friday, March 15th Illustration from 'Compact Precomputed Voxelized Shadows' Sintorn, et al. 2014

Solving the visibility problem.

Real-time Raytracing

Tuesday, March 19th Image from the talk 'Real-Time rendering’s next frontier: Adopting lessons from offline ray tracing to real-time ray tracing for practical pipelines' by Pharr.

Just brute-forcing the lighting.

Rendering for VR

Thursday, March 21st Image from the paper 'Portal Rendering and Creation Interactions in Virtual Reality' by Ablett et al.

The upsides and downsides of virtual reality.

Post-processing

Tuesday, March 26th Image from the talk 'A Life of a Bokeh' by Abadie.

Fixing the pixels later.

Volume Rendering

Thursday, March 28th Cloud rendered with Guerrilla Games' Nubis3 system.

Clouds, medical data, and fire.

Simulation

Tuesday, April 2nd
-Friday, April 5th Illustration from 'Unified particle physics for real-time applications', Macklin et al. 2014

Making things move without keyframes.

Skinning and Animation

Tuesday, April 9th
-Thursday, April 11th Illustration from 'Skinning Mesh Animations', James and Twigg, 2005.

Miscellaneous

Tuesday, April 16th
-Friday, April 26th the course logo

Topics that didn't fit elsewhere (thematically or temporally) and were interesting enough to bring up.