Course Description

This course provides a broad introduction to the fundamentals of computer graphics. The main areas covered are modeling, rendering, animation and imaging. Topics include 2D and 3D transformations, drawing to raster displays, sampling, texturing, antialiasing, geometric modeling, ray tracing and global illumination, animation, cameras, image processing and computational imaging. There will be an emphasis on mathematical and geometric aspects of graphics, and the ability to write complete 3D graphics programs.


Times and Locations

Lecture

Tuesday/Thursday 11:00am - 12:30pm PT, Dwinelle Hall 145. Lecture will be recorded, and videos will be linked on the course website shortly after each class.

Discussions

We don’t have formal discussion signups, so feel free to attend any section listed below! We're offering seven general sections (1 hour) and one extended section (2 hours). The extended section will cover the material at a slightly slower pace.

Time Location TA
Wed 10-11am Wheeler 202 Jessica
Wed 11am-12pm Wheeler 130 Neerja
Wed 12-1pm Wheeler 202 Alfredo
Wed 6-7pm Wheeler 120 Mingyang
Wed 7-8pm Soda 310 Winston
Wed 7-9pm [Extended] Soda 405 Irene
Thur 10-11am Wheeler 202 Meiqi
Thur 1-2pm Wheeler 220 Anjali
Office Hours
Time Location TA / Instructor
Mon 3-4pm Berkeley Way West, 1st floor lobby Prof. Ren
Tue & Thur 12:30-1:30pm Dwinelle Hall, outside lecture room Prof. Ren
Mon 4-5pm Soda 411 Tianyun, Mingyang
Tue 4-6pm Soda 411 Neerja, Winston, Daniel
Wed 4-5pm Soda 411 Connor, Meiqi
Thur 10-11am Soda 326 Anjali, Alfredo
Fri 4-6pm Soda 411 Jessica, Meiqi, Irene

Communications

We will use Ed for course communications. Check out our calendar to see scheduled events:

Prerequisites

We will assume a data structures course (e.g. CS 61B), C/C++ programming ability, fluency with development environment and debugging programs, knowledge of vectors, matrices basic linear algebra, calculus and trigonometry. Helpful: exposure to statistics, signal processing, and the Fourier transform.


The Big Idea

Our policies are designed with the aim of allowing you students to increase focus on learning rather than grading, encourage you to learn through collaboration, and entrusting you with building and maintaining academic integrity in our class community. The key points are:

  • Collaboration in pairs is allowed, and encouraged, on the homework assignments.
  • The class will not be graded on a curve. Your performance in class is your own.

Assignments and Exams

Homework

Students will be assigned four programming homework assignments. These homework assignments may be done in pairs.

Final Project

Students will propose and complete a self-selected final project. The final project will be done in teams of four. Each team will present live during the final project presentation and produce a final video and detailed report. Final project live presentations are tentatively scheduled for Thursday May 2nd and Friday May 3rd -- please save the dates on your calendars now. Details will be shared as soon as room bookings are confirmed.

Exams

There will be two in-person, closed-book midterm exams:

  • Monday March 18th 7:00 - 9:00 pm
  • Monday April 22nd 7:00 - 9:00pm.

There is no final exam for this course. Please note that we do not plan to offer alternate exam times. Please check and save these midterm dates now, or make a private Ed post or email cs184-staff@berkeley.edu for any exceptional schedule conflicts, which will be handled on a case-by-case basis.


Grading

Your course grade is computed using a point system with a total of 100 points.

For CS184 Students:
  • Four homework assignments, worth 12.5 points each. Mean ~ 12.
  • Two exams, worth 10 points each. Mean ~ 6.
  • Final project, worth 25 points. Mean ~ 23.
  • Participation, worth 5 points. Mean ~ 4. Participation policy below.

There are a handful of extra credit points available over the semester.

Each letter grade for the course corresponds to a range of scores:

Grade Points
A >= 93
A- >= 90
B+ >= 87
B >= 83
B- >= 80
C+ >= 77
C >= 73
C- >= 67
D+ >= 60
D >= 50
D- >= 40
For CS284A Students:

Grading items are the same as above, but for your final project, you will be required to do a substantial project and submit a paper-style write-up. Instead of it being worth 25% of your grade, it will be worth 40% (everything else re-weighted accordingly). This means:

  • Four homework assignments, worth 10 points each.
  • Two exams, worth 8 points each.
  • Final project, worth 40 points.
  • Participation, worth 4 points.

Late Policy

Each student has eight (8) late days for the semester.

Late days apply to regular homework programming assignments only and not the final project. You can extend a programming assignment deadline by 24 hours using one late day. No more than four late days can be applied to the last homework, because at that point we want teams to focus on the final project. If you do not have remaining late days, late hand-ins will incur a 1 point penalty per day (out of 12.5 course points for 184, or out of 10 course points for 284A).

Late days are meant to be used for personal schedule conflicts, illness, submission issues and other unforeseen circumstances. For exceptional circumstances beyond this, please make a private Ed post, email cs184-staff@berkeley.edu, or take a look at our extension request form. If you wish to submit an extension request, please do so before the assignment due date. Course staff will not be able to approve extension requests that are submitted after the assignment due date, unless there are extenuating circumstances that prevented you from making the extension request.

Participation Policy

Please read the participation policy article for more details.

As mentioned above, participation will count for 5 points towards your final grade. Every week, starting in week 2, you will be eligible for 2 participation credits. You will receive:

  • 1 credit for attending one lecture,
  • 0.75 credits for attending discussion, and
  • 0.5 credits for making one well thought-out comment on that week's lecture slides posted on the website.

You cannot receive more than 2 credits for a given week. For example, you may attend both lectures for full credit. Another way to receive full credit would be to attend one lecture, one discussion, and make one well thought-out comment posted on the website.

Each week, you will have from Monday 12:00am to Sunday 11:59pm to earn participation credit for the week. We encourage you to post comments on the two lectures for the current week! However, you are still welcome to earn participation credit by commenting on lectures from previous weeks.

Note that you must earn participation credits week-to-week and cannot "make-up" participation at the end of the semester.

Also note that we have a distinction between participation credits and course points! You can earn up to 2 participation credits each week (so the number of available credits will be num_weeks x 2). Your final participation grade will be scaled out of the total number of possible credits, and worth 5% of your final grade (these are the 5 possible course points you can earn for participation).

Policy on Use of Generative-AI Tools

For homework assignments and the final project, you are welcome to use AI tools, including ChatGPT and Code Pilot, both for coding as well as writing your final projects. However, a few rules and things to keep in mind:

  • You must acknowledge each use of AI in your homework and project reports, describe in detail how you used the tools, and describe what you learned.
  • The exams this year are in-person, and will be closed-book. You will likely be asked to write sections of code by hand -- so we will be expecting you to have mastered not just successful prompt-engineering, but also the ability to execute conventional software engineering yourself.
  • Current AI tools do not produce perfect results on course coding or writing, and learning to use them effectively is an art. You are personally responsible for the final code and report, and for learning the underlying foundational visual computing concepts. Make sure to closely supervise your tools if you use them, and completely understand and perfect what they are generating on your behalf!
  • Low or minimal-effort use of AI tools may result in low or no partial credit if not documented clearly or results are not perfect.
  • We encourage you to explore AI tools in a way that augments your broader learning in your computing education, without detracting from your learning of visual computing foundations.

Inclusion

We are committed to creating a learning environment welcoming and supportive of all students. Towards this goal, we call on our class community to:

  • Respect, welcome and learn from each other as individuals with unique backgrounds, perspectives and identities.
  • Collaboration and team learning are encouraged, and will be supported through class staff and resources.
  • Homework assignments and final project are a great way to meet new people and make friends; work on building trust and leveraging each other’s unique strengths.
  • If you feel that your learning is negatively affected by your experiences outside of class (e.g. family matters, current events), please don’t hesitate to come and talk with the instructor and/or staff. We want to support you.

Campus Resources:


Textbook

The primary source for the course will be the website, lectures, and section. Suggested supplementary reading and resources will be posted on the course readings page. The following textbooks are recommended, but optional, resources for you in this course and beyond:

Physically Based Rendering: From Theory to Implementation (Third Edition):

Authors: Matt Pharr, Wenzel Jakob, and Greg Humphreys

  • Physically Based Rendering is the book for learning about modern ray tracing techniques. The book is freely available online, with full source code online for an advanced physically-based ray tracer. It even won an Oscar for its impact on the film industry!

Fundamentals of Computer Graphics

Authors: Pete Shirley and Steve Marschner with Michael Ashikhmin, Michael Gleicher, Naty Hoffman, Garrett Johnson, Tamara Munzner, Erik Reinhard, Kelvin Sung, William B. Thompson, Peter Willemsen, and Bryan Wyvill

Computer Graphics: Principles and Practice

Authors: John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley


Github OAuth Notice

We use Github's OAuth authentication mechanism both as a simple method to sign in, and to obtain a token which we can use to let you verify your assignment submissions as we see them.

Unfortunately, Github's permissions for OAuth applications have very poor granularity: the only way for us to be able to view the details of your private course repos is to also to have full write access to your repositories.

Your privacy is important to us. We do not use your API token to do anything other than access your assignment repositories within the cal-cs184-student organization, and even then in only a readonly context. If access permissions are a concern for you, feel free to ask us about how we use and protect your token.

This is a known problem and something Github is aware of.


Learning Cooperatively *

With the obvious exception of exams, we encourage you to discuss course activities with your friends and classmates as you are working on them. You will definitely learn more in this class if you work with others than if you do not. Ask questions, answer questions, and share ideas liberally.

Learning cooperatively is different from sharing answers. You shouldn't be showing your code to other students or looking at others' code, except:

  • For assignments that allow partners, you can share anything with your partner.
  • If you've finished a problem already, you can look at others' code to help them finish.

If you are helping another student, don't just tell them the answer; they will learn very little and run into trouble on exams. Instead, try to guide them toward discovering the solution on their own. Problem solving practice is the key to progress in computer science.

Since you're working collaboratively, keep your project partner informed. If some medical or personal emergency takes you away from the course for an extended period, or if you decide to drop the course for any reason, please don't just disappear silently! You should inform your project partner, so that nobody is depending on you to do something you can't finish.

Online Forum

If you have any questions, please post them on the webpages for the relevant lecture slides or on Ed, the course discussion forum. Ed allows you to learn from questions your fellow students have asked. We encourage you to answer each others' questions! Conceptual questions and comments should go on the lecture slide webpages, and logistics and assignment questions should go on Ed.

Ed is the best and most reliable way to contact the course staff. You are also welcome to email the course instructors at cs184-staff@berkeley.edu.

Academic Honesty and Class Honor Code

The Honor Code is the commitment and work of students individually and as a community to uphold honesty and integrity. This commitment is comprehensive. Specifically on exams, it means not giving or receiving any help, or using any resources that are not permitted. The Honor Code requires that students take an active role in seeing to it that others as well as themselves uphold the letter and spirit of the Honor Code.

On exams you will sign to certify that:

  • All the work submitted in my name for this exam is my work alone.
  • I have not given or received any help during this exam.
  • I have not used any un-permitted resources during this exam.
  • I have used no more than the allowed time to write my answers for this exam.
  • If I become aware of any Honor Code violations related to this exam, I will inform the course staff immediately.

Any students caught collaborating on exams will receive an F in the course. Please don't be one of these students.

Homework cooperation has a limit, and in CS184/284A that limit is reading others' homework code or reports to a problem before you solve that problem and write up that portion of your own report. You are free to discuss the problems with others beforehand, but you must write your own code and reports. You may share code and report writing with your project partner.

If you are unsure if what you are doing is cheating, please clarify with the instructor by email or teaching staff via Ed. The following is a list of things you should NOT do. This list is not exhaustive, but covers most of the big offenses:

  • Do not copy code or report writing from any student who is not your partner.
  • Do not allow any student other than your partner to copy code or report writing from you.
  • Do not copy code or writing from online sources such as Stack Overflow, Pastebin, and public repositories on GitHub.
  • Do not post your code publicly during or after the semester.

In summary, we expect you to hand in your own work, take your own tests, and complete your own projects. The assignments and evaluations are structured to help you learn, which is why you are here.

Rather than copying someone else's work, ask for help. You are not alone in this course! The entire staff is here to help you succeed. If you invest the time to learn the material and complete the projects, you won't need to copy any answers.


A Parting Thought *

Grades and penalties aren't the purpose of this course. We want to enable you to focus on your learning. The entire staff is very excited to be teaching CS184/284A this semester, and we're looking forward to meeting such a large and enthusiastic group of students. We want all of you to be successful here. Welcome to our course!

* Thanks to Professor John DeNero and CS61A for the structure and much of the wording of various policies.