E26/CS40 Portfolio

David Wright

Description

This page is a collection of work illustrative of the course from all the labs throughout the semester.

Lab 1: Image Manipulation and Fractals

Ambient Light Ambient Light Ambient Light
The same scene is photographed with (from left to right) just ambient light and then two light sources, one at a time.

Ambient Light Ambient Light Ambient Light
The contribution of each light source can be found by subtracting the ambient light from the image with just the single light source. Once isolated, the light source's intensity and color can be modified and then added back to the ambient light image to create synthetic lighting effects.

Ambient Light
An example of a Julia set fractal.

Lab 2: 2D graphics Primitives

B-17 taxi photo B-17 line drawing
Using just 2-D graphics primitives, it is possible to create scenes representative of reality.

Bouncing Ball
A bit of physics and some 2-D graphics primitives.

Lab 3: Scan Line Fill

Pattern filled ellipse
Scan line filling doesn't just have to be solid colors. A pattern, fixed relative to the primitive, can be used as well.

Transparent ellipse
Alpha blending allows for transparent filling.

OpenGL interface
An OpenGL interface.

Lab 4: Transformations and the 2D Viewing Pipeline

Missile Image Sequence Missile Image Sequence Missile Image Sequence Missile Image Sequence
Missile guidance goes bad.

Lab 5: Hierarchical Modeling System

Clarus goes for a swim
Modules make it easy to create, position, scale, color and rotate primitives like ellipses and circles represented as polygons.

Missile Image Sequence
I hate it when I lose the last city in Missile Command...

Lab 6: 3D Viewing Pipeline

Christmas Tree Wireframe Christmas Tree Stretch Christmas Tree Fill
Wireframe representation of a Christmas tree.

Lab 7: 3D Hierarchical Modeling

Wireframe Christmas Tree Forrest
Hierarchical modules allow for relatively easy object duplication and transformation.

Lab 8: Z-Buffer Algorithm

Z-Buffer demo wireframe Z-Buffer demo shaded
Z-Buffer demo naive Z-Buffer demo correct
Z-Buffer in action.

Lab 9: Illumination and Shading

Christmas Tree
Shading adds to the holiday cheer.