Shadow Algorithms

The scene contains a 4-sided room that are light-colored blue. Within this scene are various objects included a texture-mapped sphere and several stacked objects. There are 3 different shadow algorithms being used: projective shadows, shadow volumes, and shadow maps. Projective shadows from objects will only cast shadows on the floor and room, but not on each other or themselves. Shadow volumes and shadow maps will cast shadows on both themselves, other objects, and the floor. There is a white point light source which adjustable by a user.

You might be interested in …

Procedural Textures

The terrain was created using the same method as the “Procedurally Generated Terrain” project. The procedural texture is based on a noise algorithm. The trees are a texture-mapped image of a tree onto a rectangle. The alpha channels of the tree are transparent. The trees have billboarding apply so that the tree rectangles turn to […]

Read More

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.

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