Home Lectures and Readings Assignments and Exams Showcase

CS 148 is now approved to fulfill the General Education Requirements (GER) as a Ways of Thinking/Ways of Doing (WAYS) course in the Creative Expression (WAY-CE) area.

Course Announcements

09/22/2015Welcome to the CS 148 Fall 2015 Website!
09/22/2015Assignment 1 has been posted.
09/29/2015Assignment 2 has been posted.
10/06/2015Assignment 3 has been posted.
10/13/2015Assignment 4 has been posted.
10/27/2015Assignment 5 has been posted.
11/3/2015Assignment 6 has been posted.
11/10/2015Assignment 7 has been posted.
11/17/2015Assignment 8 has been posted.


This is the introductory prerequisite course in the computer graphics sequence which introduces students to the technical concepts behind creating synthetic computer generated images. The beginning of the course focuses on using OpenGL to create visual imagery, as well as an understanding of the underlying mathematical concepts including triangles, normals, interpolation, texture mapping, bump mapping, etc. Then we move on to a more fundamental understanding of light and color, as well as how it impacts computer displays and printers. From this we discuss more thoroughly how light interacts with the environment, and we construct engineering models such as the BRDF and discuss various simplifications into more basic lighting and shading models. Finally, we discuss ray tracing technology for creating virtual images, while drawing parallels between ray tracers and real world cameras in order to illustrate various concepts. Anti-aliasing and acceleration structures are also discussed. The final class mini-project consists of building out a ray tracer to create visually compelling images. Starter codes and code bits will be provided here and there to aid in development, but this class focuses on what you can do with the code as opposed to what the code itself looks like. Therefore grading is weighted towards in person "demos" of the code in action - creativity and the production of impressive visual imagery are highly encouraged. Prerequisites: CS 107, MATH 51.

This is the first course in the computer graphics sequence at Stanford. The second course is CS248 and requires this course, CS 148, as a prerequisite. Topics include: Scanline Rendering; OpenGl pipeline; Triangles; Rasterization; Transformations; Shading; Triangle Meshes; Subdivision; Marching Cubes; Textures; Light; Color; Cameras; Displays; Tone Mapping; BRDF; Lighting Equation; Global Illumination; Radiosity; Ray Tracing; Acceleration Structures; Sampling; Antialiasing; Reflection; Transmission; Depth of Field; Motion Blur; Monte Carlo; Bidirectional Ray Tracing; Light Maps.


Meeting Times


CA Office Hours (subject to changes)


Piazza will be used for Q&A in CS 148. Please enroll yourself through Piazza. For all other inquiries, you can email the course staff at cs148-aut1516-staff [at] lists [dot] stanford [dot] edu.