Computer Graphics Notes
Class Notes
I will be selecting topics as the semester progresses. If you are interested in something, please let me know and I will try to incorporate it. The following list is subject to change and modification.
What will we be
Learning
?
Some of my
expectations
An introduction to web programming
Accessing the System
HTML
Intro to HTML
HTML Tags
JavaScript
A project
Javascript Background
Starting the Project
Adding a canvas
Starting with Functions
Some GUI elements
Putting code in different files
Building a Complex Number class
Putting Random Dots on the Canvas
Adding Newton's Method
Mapping the Complex Plane to the Canvas
Code for this section
.
2d Graphics
Drawing on the Canvas
Code for this section
.
Graphics Display
.
Some notes to help me remember
.
Transformations
Moving from one coordinate system to another in 2D
.
Introduction to Matrix and Vector Math
.
Translation and Scale
.
Fixing the Canvas
.
A side trip for timers.
A side trip for angles.
A side trip for Events.
Rotation and finishing Transformation.
Code for this section
.
3d Graphics
The
Pinhole Camera
OpenGL
Intro to WebGL
A practical WebGL example
An in class group project
.
Examining the project
.
Different Data Scenarios in WebGL
.
Uniforms and some clean up.
.
Code for this section
.
Triangles
Hidden Surface Removal and Wireframe with Triangles
View Volume
Light and shading
Overview
The Algorithms
The course outline specifies the following material:
Introduction
Graphics Hardware
Mathematics for Computer Graphics
2D Primitives
Output Attributes
2D Transformations
2D Viewing Pipeline
3D Viewing
3D Representation
Light and Color
Visible Surface Methods
Other Topics