Courses / Computer Science / 4 units / CS 148: Introduction to Computer Graphics and Imaging

Introduction to Computer Graphics and Imaging

CS 148
4 units
June 26 - August 19, 2017
Section 1   W, F  8:30AM - 10:20AM

Introductory prerequisite course in the computer graphics sequence introducing students to the technical concepts behind creating synthetic computer generated images. 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. Course will cover fundamental understanding of light and color, as well as how it impacts computer displays and printers. Class will discuss more thoroughly how light interacts with the environment, constructing engineering models such as the BRDF, plus various simplifications into more basic lighting and shading models. Also covers ray tracing technology for creating virtual images, while drawing parallels between ray tracers and real world cameras 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 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 toward in person “demos” of the code in action – creativity and the production of impressive visual imagery are highly encouraged.


CS 107 and MATH 51 (or equivalents)


  • Matriculated Stanford graduate students may enroll for 3 or 4 units; everyone else must take the course for 4 units. All students do 4 units worth of work, including Stanford graduate student enrolled for 3 units.
  • The 4 unit version of this┬ácourse is offered as part of the Summer Intensive in Computer Science, and qualifies toward the Certificate of Completion in Computer Science. 3 unit enrollments will not qualify toward the Certificate. Enrolled units can be adjusted in Axess through the Final Study List deadline.


CS 148 Syllabus - 2013