Implementation of shadow volume algorithm for real-time subdivision surfaces using the OpenGL Shading Lanugage
This geometry image based algorithm offers a solution for efficiently generating shadow volumes for subdivision surfaces using shaders. Two geometry images containing position and normal vector information are computed from the control meshes. By detecting silhouettes and extruding shadow volumes from the geometry images using shaders, all calculations of the shadow volume algorithm can be fully accelerated by commodity GPUs. A prototype system has been implemented by using the OpenGL Shading Language and Cg is used for shader writing. Experiments show that the algorithm can render subdivision surfaces and their shadows in real-time under dynamic lighting. Source code and binaries.
Mar 17, 2007 | Category: Developers •