Project 05 - Specular Reflection

Both perfect specular reflection and Fresnel reflection are implemented in this project. Glossy effects are also added to make things more interesting.

The source code of this project is available here. It is a bit messy currently, but I will try to clean it up later.

Images

Click on the images to view full size version.

Image 1: Spheres with different effects. The central one has perfect reflection defined by normal map. The yellow one is simple pure reflection. The green on is glossy, and the red one has Fresnel reflection.

Image 2: Spheres with Fresnel reflection.

Image 3: Teapot, sphere and cube.

Image 4: Golden buddha, about 1M triangles.

Image 5: Golden dragon, more than 7M triangles.

Image 6: Statue, 10M triangles.

Image 7: Spheres with iridescence.

Image 8: Bunny, dragon and 120-faces polyhedral with iridescence.

Image 9: Buddha with iridescence.