ZP+: correct Z-pass stencil shadows

Samuel Hornus 1 Jared Hoberock 2 Sylvain Lefebvre 3, * John C. Hart 2
* Auteur correspondant
1 ARTIS - Acquisition, representation and transformations for image synthesis
GRAVIR - IMAG - Graphisme, Vision et Robotique, Inria Grenoble - Rhône-Alpes, CNRS - Centre National de la Recherche Scientifique : FR71
3 EVASION - Virtual environments for animation and image synthesis of natural objects
GRAVIR - IMAG - Graphisme, Vision et Robotique, Inria Grenoble - Rhône-Alpes, CNRS - Centre National de la Recherche Scientifique : FR71
Abstract : We present a novel algorithm for the rendering of hard shadows cast by a point light source. The well-known Z-pass method for rasterizing shadow volumes is not always correct. Our algorithm, which we call ZP+, elegantly corrects Z-pass defects. ZP+ takes advantage of triangle strips and fast culling capabilities of graphics hardware not available to conventional robust methods like Z-fail. While Z-fail can be up to 80% slower than Z-pass, our new method ZP+ is typically less than 10% slower than Z-pass. Finally, we give a comparison of the three methods. When a scene is geometry-bound, ZP+ is always faster than Z-fail. We also explain why, in some situations, Z-pass (hence ZP+) is surprisingly slower than Z-fail on more recent graphics hardware.
Type de document :
Communication dans un congrès
Symposium on Interactive 3D Graphics and Games, 2005, Washington, United States. ACM Press, 2005



https://hal.inria.fr/inria-00510159
Contributeur : Team Evasion <>
Soumis le : mercredi 13 octobre 2010 - 15:35:53
Dernière modification le : jeudi 14 octobre 2010 - 08:58:16
Document(s) archivé(s) le : vendredi 14 janvier 2011 - 02:21:12

Fichiers

Identifiants

  • HAL Id : inria-00510159, version 1

Collections

IMAG | INRIA | UGA

Citation

Samuel Hornus, Jared Hoberock, Sylvain Lefebvre, John C. Hart. ZP+: correct Z-pass stencil shadows. Symposium on Interactive 3D Graphics and Games, 2005, Washington, United States. ACM Press, 2005. <inria-00510159>

Partager

Métriques

Consultations de
la notice

270

Téléchargements du document

370