## Stencil shadow volumes for complex and deformable objects

University of Zagreb, Faculty of Electrical Engineering and Computing, Unska 3, 10 000 Zagreb, Croatia

Proceedings of the 2004 11th IEEE International Conference on Electronics, Circuits and Systems, 2004. ICECS 2004

@inproceedings{kolic2004stencil,

title={Stencil shadow volumes for complex and deformable objects},

author={Kolic, I. and Mihajlovic, Z. and Budin, L.},

booktitle={Electronics, Circuits and Systems, 2004. ICECS 2004. Proceedings of the 2004 11th IEEE International Conference on},

pages={314–317},

year={2004},

organization={IEEE}

}

We present a real-time shadow method based on the shadow volume that exploits capabilities of the modern graphics cards. The algorithm is primarily created for casting shadows of highly concave complex objects such as trees. For those objects, silhouette calculation that is usually preformed by other shadow volume algorithms is complicated and poorly justified. Instead of calculations, it is better to assume a worst case scenario and use all of the edges for construction of the shadow volume mesh, skipping silhouette determination entirely. The achieved benefit is that all procedures, i.e. the object and shadow calculation and rendering, could be done on GPU. The proposed solution for shadow casting allows open edges. Indexed vertex blending is used for shadow projections, and the only calculation required is determining projection matrices. Once created, shadow volume is treated like any other mesh.

July 20, 2011 by hgpu