Real-time shadow casting using fake soft shadow volume with stencil buffer

Shadows are essential to realistic and visually appealing images. The important elements in shadows are the accuracy and the dynamics of hard shadows, which provide scene information and spatial cue. Soft shadows on the other hand provide the realism. The research goal is to create an accurate and r...

Full description

Bibliographic Details
Main Author: Lee, Kong Weng
Format: Thesis
Language:English
Published: 2006
Subjects:
Online Access:http://eprints.utm.my/5494/1/LeeKongWengMFSKSM2006.pdf
_version_ 1796853923659644928
author Lee, Kong Weng
author_facet Lee, Kong Weng
author_sort Lee, Kong Weng
collection ePrints
description Shadows are essential to realistic and visually appealing images. The important elements in shadows are the accuracy and the dynamics of hard shadows, which provide scene information and spatial cue. Soft shadows on the other hand provide the realism. The research goal is to create an accurate and real-time dynamic fake soft shadow using stencil shadow volume algorithm. The performance of the algorithm must maintain the quality at acceptable level, as it is the main criteria. In this research, a point light source is used and the occluder is an opaque object. Culling and particle system are excluded, and light source are not allowed to get close to the occluder. The methodology consists of two steps; first is to create the hard shadow using shadow volume with stencil buffer, and second is to add in the soft shadow effects. The first step involves silhouette determination of the occluder, construction of the shadow volume by extruding the silhouette to a very large value, and rendering the shadow volume with depth-pass technique in order to determine which objects are to be shadowed. The second step is to retrieve the original geometry of the hard shadows, and to produce samples of hard shadows with a sequentially enlarged and softened colour. All these samples are finally averaged and blended together to produce the soft shadow effects. The algorithm is implemented using C++ and OpenGL where the occluders are ranging from simple to complex objects. Comparison using proposed algorithm with an established algorithm revealed that the proposed algorithm is two to five times faster. Results from various tests reveal that the proposed algorithm not only achieves better frame per second performance but also maintains the quality of soft shadows. Therefore, the importance of soft shadows cannot be neglected as it increases realism in computer-generated scenes.
first_indexed 2024-03-05T18:06:47Z
format Thesis
id utm.eprints-5494
institution Universiti Teknologi Malaysia - ePrints
language English
last_indexed 2024-03-05T18:06:47Z
publishDate 2006
record_format dspace
spelling utm.eprints-54942018-03-07T21:03:16Z http://eprints.utm.my/5494/ Real-time shadow casting using fake soft shadow volume with stencil buffer Lee, Kong Weng QA75 Electronic computers. Computer science Shadows are essential to realistic and visually appealing images. The important elements in shadows are the accuracy and the dynamics of hard shadows, which provide scene information and spatial cue. Soft shadows on the other hand provide the realism. The research goal is to create an accurate and real-time dynamic fake soft shadow using stencil shadow volume algorithm. The performance of the algorithm must maintain the quality at acceptable level, as it is the main criteria. In this research, a point light source is used and the occluder is an opaque object. Culling and particle system are excluded, and light source are not allowed to get close to the occluder. The methodology consists of two steps; first is to create the hard shadow using shadow volume with stencil buffer, and second is to add in the soft shadow effects. The first step involves silhouette determination of the occluder, construction of the shadow volume by extruding the silhouette to a very large value, and rendering the shadow volume with depth-pass technique in order to determine which objects are to be shadowed. The second step is to retrieve the original geometry of the hard shadows, and to produce samples of hard shadows with a sequentially enlarged and softened colour. All these samples are finally averaged and blended together to produce the soft shadow effects. The algorithm is implemented using C++ and OpenGL where the occluders are ranging from simple to complex objects. Comparison using proposed algorithm with an established algorithm revealed that the proposed algorithm is two to five times faster. Results from various tests reveal that the proposed algorithm not only achieves better frame per second performance but also maintains the quality of soft shadows. Therefore, the importance of soft shadows cannot be neglected as it increases realism in computer-generated scenes. 2006-03 Thesis NonPeerReviewed application/pdf en http://eprints.utm.my/5494/1/LeeKongWengMFSKSM2006.pdf Lee, Kong Weng (2006) Real-time shadow casting using fake soft shadow volume with stencil buffer. Masters thesis, Universiti Teknologi Malaysia, Faculty of Computer Science and Information System.
spellingShingle QA75 Electronic computers. Computer science
Lee, Kong Weng
Real-time shadow casting using fake soft shadow volume with stencil buffer
title Real-time shadow casting using fake soft shadow volume with stencil buffer
title_full Real-time shadow casting using fake soft shadow volume with stencil buffer
title_fullStr Real-time shadow casting using fake soft shadow volume with stencil buffer
title_full_unstemmed Real-time shadow casting using fake soft shadow volume with stencil buffer
title_short Real-time shadow casting using fake soft shadow volume with stencil buffer
title_sort real time shadow casting using fake soft shadow volume with stencil buffer
topic QA75 Electronic computers. Computer science
url http://eprints.utm.my/5494/1/LeeKongWengMFSKSM2006.pdf
work_keys_str_mv AT leekongweng realtimeshadowcastingusingfakesoftshadowvolumewithstencilbuffer