Home
Part 2
3D Graphics using JavaPart 1 - Lighting and ShadingOn this page you will find Java applets demonstrating various methods of lighting, shading and texturing. There are four applets per model, from left to right: Unshaded, Flat shading, Flat shading with specular highlights, Gouraud shading with specular highlights. All of the applets are based on my home written 3D renderer, which features a z-Buffer, auto scaling, double buffering, back face culling, DirectX geometry file parser and browser scripting interface. All of the test applets display a FPS (frames per second) statistic that helps illustrate the relative processing cost of the different lighting and shading algorithms. The normal production applet, used elsewhere in this site, doesn't feature the FPS counter. Part 2 demonstrates the use of texture mapping. |
![]() Launch Applet |
![]() Launch Applet |
![]() Launch Applet |
![]() Launch Applet |
![]() Launch Applet |
![]() Launch Applet |
![]() Launch Applet |
![]() Launch Applet |
![]() Launch Applet |