renderer 2.0 OpenGL - GPUs put to work |
|
|||||||||
|
(May 2005) This is a set of programs that allow interactive visualization of triangle meshes through OpenGL. Basically, this is a straightforward implementation of the core principles of "polygon related" graphics theory. The source code includes 3D transformations and point, wire-frame, Gouraud and Phong shading - as well as portable display and keyboard handling through libSDL. The code is also using the autotools, so it compiles and runs cleanly under most platforms (tested so far on Linux/x86, Mac OS/X, Windows (using MinGW gcc), OpenBSD/amd64 and FreeBSD/amd64). In case you are wondering, yes, I meant it - Phong shading, not just Phong lighting. Real-phong-shading, done through vertex and fragment shaders. This was something of a "Holy Grail" of my journey through graphics - quite a moment, when I first managed it :-) Geek sentimentalism aside, the shaders were based on various sources I found on the Web (and no, I didn't read any book - the "assembly" of shaders was easy to figure out).
Phong shading creates much better pictures than Gouraud; especially
at low tessellations. Download:
Unlike renderer-2.0, these sources use OpenGL to do the rendering. Your graphics card's hardware must therefore support vertex and fragment shading for this to work. Any card made after 2005 should suffice, in practise - my "ancient" system, an Athlon XP 1.4GHz with a Radeon 9600 Pro, works like a charm. Update, March 2007:
|
|
|||||||||