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.
Bump Mapped Swimming Fish
