Phong Shading, Garoud Shading

The scene is a 4-sided room containing a polished gold metallic sphere, polished copper metallic teapot, and polished silver metallic torus. I created an interface control which allows switching between vertex Gouraud shading and per-pixel Phong shading.

You might be interested in …

Bump Mapped Swimming Fish

The scene contains a bump-mapped floor and a bump-mapped swimming fish. The fish is a cylinder which has been warped using a vertex program. The “wriggles” of the fish body are simulated using a sin wave which starts from the fish midline towards the tail. This animation is controlled using an interface which allows the […]

Read More

Multi-Resolution 3D View

3D terrain visualization program which loads a terrain map file containing unsigned chars. The terrain switches to a half resolution version based on the distance from the viewer. The boundaries between the full and half resolution terrain are “stitched” so that no “holes” are visible in the terrain. The user may navigate through the scene […]

Read More

Procedurally Generated Terrain

The ground is procedurally generated using a random midpoint method and smoothed using a neighborhood smoothing filter. The trees were generated by different procedural rules. The scene uses OpenGL material and lighting.

Read More