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

Saved in:
Bibliographic Details
Main Author: Lee, Kong Weng
Format: Thesis
Language:English
Published: 2006
Subjects:
Online Access:http://eprints.utm.my/id/eprint/5494/1/LeeKongWengMFSKSM2006.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
id my-utm-ep.5494
record_format uketd_dc
spelling my-utm-ep.54942018-03-07T21:03:16Z Real-time shadow casting using fake soft shadow volume with stencil buffer 2006-03 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 http://eprints.utm.my/id/eprint/5494/ http://eprints.utm.my/id/eprint/5494/1/LeeKongWengMFSKSM2006.pdf application/pdf en public masters Universiti Teknologi Malaysia, Faculty of Computer Science and Information System Faculty of Computer Science and Information System
institution Universiti Teknologi Malaysia
collection UTM Institutional Repository
language English
topic QA75 Electronic computers
Computer science
spellingShingle QA75 Electronic computers
Computer science
Lee, Kong Weng
Real-time shadow casting using fake soft shadow volume with stencil buffer
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.
format Thesis
qualification_level Master's degree
author Lee, Kong Weng
author_facet Lee, Kong Weng
author_sort Lee, Kong Weng
title 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_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_sort real-time shadow casting using fake soft shadow volume with stencil buffer
granting_institution Universiti Teknologi Malaysia, Faculty of Computer Science and Information System
granting_department Faculty of Computer Science and Information System
publishDate 2006
url http://eprints.utm.my/id/eprint/5494/1/LeeKongWengMFSKSM2006.pdf
_version_ 1747814598250070016