The International Arab Journal of Information Technology (IAJIT)

..............................
..............................
..............................


2008 Shadow Casting with Stencil Buffer for

We present a new method for real-time rendering of soft shadows in dynamic scenes. Our approach is based on shadow volume algorithm which provides fast, accurate and high quality shadows. The shadow volume algorithm is used to generate hard shadows before adding fake soft shadows onto it. Although the generated soft shadows are physically inaccurate, this method provides soft shadows that are smooth and perceptually convincing. This proposed hybrid method adds more realism to a dynamic scene which is an important factor in computer graphics.


[1] Akenine-Moller T. and Assarsson U. , Approximate Soft Shadows on Arbitrary Surfaces Using Penumbra Wedges, in Proceedings of the 13 th Eurographics Workshop on Rendering , Eurographics Association, pp. 297-306, 2002.

[2] Assarsson U. and Akenine-Moller T., A Geometry-Based Soft Shadow Volume Algorithm Using Graphics Hardware, ACM Transactions on Graphics , vol. 22, no. 3, pp. 511-520, 2003.

[3] Assarsson U., Dougherty M., Mounier M., and Akenine-M ller T. , An Optimized Soft Shadow Volume Algorithm with Real-Time Performance, in Proceedings of ACM SIGGRAPH/ EUROGRAPHICS Conference on Graphics Hardware , Eurographics Association, pp. 33-40, 2003.

[4] Blinn J. and Corner J., A Trip Down the Graphics Pipeline , Morgan Kaufmann Publishers, San Francisco, 1996.

[5] Blinn J., Me and My (Fake) Shadow, IEEE Computer Graphics and Applications , vol. 8, no. 1, pp. 82-86, 1988.

[6] Carmack J., John carmack on shadow volumes, http://developer.nvidia.com/ object/ robustshadow - volumes.html, 2000.

[7] Crow F., Shadow Algorithms for Computer Graphics , ACM SIGGRAPH Computer Shadow Casting with Stencil Buffer for Real-Time Rendering 110 Graphics (SIGGRAPH 77) , vol. 11, no. 3, pp. 242-248, 1977.

[ 8] Everitt C. and Killgard M., Practical and Robust Stenciled Shadow Volumes for Hardware- Accelerated Rendering, Technical Report , NVIDIA Cooperation, 2002.

[9] Fauerby K. and Kjaer C., Real-Time Soft Shadows in a Game Engine, Master s Thesis , 2003.

[ 10] Heckbert P. and Herf M., Simulating Soft Shadows with Graphics Hardware, Technical Report CMU-CS-97-104 , Carnegie Mellon University, January 1997.

[11] Heidmann T., Real Shadows, Real Time, Iris Universe , vol. 18, pp. 23-31, Silicon Graphics Inc., 1991

[12] Kwoon H., The Theory of Stencil Shadow Volumes, http://www.gamedev.net. 2002.

[ 13] Lengyel E., The Mechanics of Robust Stencil Shadows, Gamasutra, http://www.gamasutra. com/features/20021011/lengyel_01.htm, 2002.

[ 14] Williams L., Casting Curved Shadows on Curved Surfaces, Computer Graphics , vol. 12, no. 3, 1978. L ee Weng received his BSc form Universiti Teknologi Malaysia in computer science with majoring computer graphics. He also receives MSc from University Teknologi, Malaysia, in computer science with research project in computer games. He is currently a senior computer graphics engineer at international company which is Seagate Penang, Malaysia. Daut Daman received his BSc form University Sains Malaysia and MSc from University of Cranfield, United Kingdom. He is currently an associate professor in the Faculty of Computer Science and Information System of Universiti Teknologi Malaysia. He has over 27 years of experience in the field of computer graphics and visualization. He has also been actively involved in many research projects related to computer graphics and visualization and has published more than 120 publications. Mohd Rahim received his Diploma in computer science 1997, BSc computer science 1999 form University Teknologi Malaysia and MSc in GIS and visualization in 2002 from University Teknologi Malaysia. Now he is going to complete the PhD (spatial modelling) in University Putra Malaysia. He also is lecturer in Department of Computer Graphic and Multimedia, Faculty of Computer Science and Information System of University Teknologi Malaysia. He has over 8 years of experience in the field of computer graphics and visualization and GIS data model. He has also been actively involved in many research projects related to GIS and visualization, GIS data management, computer graphics and has published more than 70 publications. Currently his research was on going in spatial, temporal and spatiotemporal data management applications, 3D data visualization, mobile computing for computer graphics application.