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 user to vary the “wriggles” speed. There is also an interface control to switch from phong shading to toon-shading.

You might be interested in …

Texture Mapping

Texture mapped a 4-sided room such that one wall has front-side culling applied. The floor is texture mapped using a checkerboard image and also feature mip mapping. The walls of the room are a repeated brick texture. There is a floating sphere in the center of the room texture mapped with the image of 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

Particle Systems

A particle system that uses an attractor force that pulls particles to a respective position in space. These positions were based on vertex positions from an obj file.

Read More