3Ddrome

Articles

Tutorial - Introduction to Software-based Rendering: Triangle Rasterization (January 19, 2009)
This article explains how to rasterize triangles. It contains sample C++ code and is accompanied by a demo program with full source code that uses SDL for display.
Tutorial - Introduction to Software-based Rendering: Simple Line Drawing (January 3, 2009)
This tutorial starts off a series of articles on software-based graphics rendering by introducing a simple line drawing algorithm. It contains sample C++ code and is accompanied by a demo program with full source code that uses SDL for display.
Tutorial - Cg Pixel Shaders in OpenGL (July 2, 2004)
This article provides an introduction to writing pixel shaders with the Cg shader programming language and using them in OpenGL with the ARB_fragment_program extension. It contains sample C and Cg code and is accompanied by a simple diffuse lighting demo with full source code.
Tutorial - Stenciled Shadow Volumes in OpenGL (January 18, 2004)
This article explains how to implement shadows in OpenGL, using the popular stenciled shadow volumes technique. Features sample C code and is accompanied by a demo written in C.
Tutorial - Dynamic Lightmaps in OpenGL (November 16, 2003)
This article explains how to implement dynamic lightmaps in OpenGL with multitexturing. Features sample C code and is accompanied by a demo written in C.