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 …

Ray Tracer

Ray tracer scene containing a sphere and a triangle. Implemented simple phong lighting (ambient, diffuse, specular model) and also casts shadows.

Read More

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

Shadow Map

The scene is filled with 3D objects featuring ambient and diffuse lighting. The objects cast shadows on each other based on the light using shadow maps. The user may move the light source around.

Read More