APPLYING THE REAL TIME SHADOWING METHOD FOR CREATING SOFT SHADOWS IN OPENGL

Dženan Avdić, Dejan Rančić

DOI Number
-
First page
253
Last page
262

Abstract


This paper presents a technique for rapidly generating and rendering of soft shadows on the scene. The method has the advantage of real-time creating of shadows which look more realistic than hard shadows and have high quality, also it has not high demands in resources. The main idea is to replace a complex light source with a collection of multiple point sources of light in order to decrease rendering time. The mathematic model, experiments, and comparison with similar techniques are given and described.

Keywords

light source, OpenGL, penumbra, shadow, soft shadow, umbra

Full Text:

PDF

References


H. Kolivand, M.S. Sunar, N.M. Jusoh, Olufemi, “Real-Time Shadow Using a Combination of Stencil and the Z-Buffer” International Journal of Multimedia & Its Applications, 3, 3(2011), pp. 27-38. [Online]. Available: http://dx.doi.org/10.5121/ijma.2011.3303

T. McReynolds, D. Blythe, “Advanced Graphics Programming Using OpenGL,” Elsevier, San Francisco, 2005.

X. Hu, Y. Qi, X.A. Shen, “Real-Time Anti-Aliasing Shadow Algorithm Based on Shadow Maps,” Pattern Recognition CCPR, Beijing, 2008, pp.1-5. [Online]. Available: https://dx.doi.org/10.1109/CCPR.2008.27

A. Pljaskovic, Dz. Avdic, P. Spalevic, D. Rancic, “Sphere and Cone Composite Realtime Shadows in OpenGL,” Information and Communication Technology Forum, Sarajevo, 2013, pp.133-137. [Online]. Available: http://i-scover.ieice.org/proceedings/ICTF/2013/pdf/COMM6-2.pdf

Dz. Avdic, D. Rancic, P. Spalevic, A. Avdic, E. Dolicanin, “Real-Time Shadows In Opengl Caused By The Presence Of Multiple Light Sources,” Tehnički vjesnik, Vol.24 No.4 acepted for publication. [Online]. Available: http://dx.doi.org/10.17559/TV-20140324202037

N. Liu, M. Pang, “A Survey of Shadow Rendering Algorithms: Projection Shadows and Shadow Volumes,” Second International Workshop on Computer Science and Engineering, vol. 1, pp.488-492, 2009. [Online]. Available: https://dx.doi.org/10.1109/WCSE.2009.716

W. Lili, Z. Jingchao, S. Zhe, “Real-time approximate soft shadow rendering with bidirectional penumbra map,” In Educational and Information Technology (ICEIT), 17-19 Sept. 2010, Vol.1, pp.V1248. [Online]. Available: http://ieeexplore.ieee.org/document/5607728/

E. Chan, F. Durand, “Rendering fake soft shadows with smoothies,” In: Rendering Techniques 2003, pp.208–218. Available: http://people.csail.mit.edu/ericchan/bib/pdf/smoothie.pdf

L. Wang, S. Zhou, W. Ke, V. Popescu, “GEARS: a general and efficient algorithm for rendering shadows,” Computer graphics forum Vol. 33, No. 6, pp. 264–275. [Online]. Available: http://dx.doi.org/10.1111/

cgf.12348

J. Arvo, M. Hirvikorpi, J. Tyystjärvi, “Approximate soft shadows win an image‐space flood‐fill algorithm,” Computer graphics forum, Vol. 23, No. 3, pp. 271–279. [Online]. Available: http://dx.doi.org/10.1111/j.1467-8659.2004.00758.x

X. Cai, Y. Jia, X. Wang, S. Hu, R. Martin, “Rendering soft shadows using multilayered shadow fins.” Computer graphics forum, 2006 Vol. 25, No. 1, pp. 15–28. [Online].Available: http://dx.doi.org/10.1111/j.1467-8659.2006.00915.x

W. De Boer, “Smooth penumbra transitions with shadow maps,” JGraph GPU Game Tools, 2011. Vol.11, No.2, pp.59-71. [Online]. Available: http://dx.doi.org/10.1080/2151237X.2006.10129221

L. Atty, N. Holzschuch, M. Lapierre, JM. Hasenfratz, C. Hansen, F. Sillion, “Soft shadow maps: efficient sampling of light source visibility,” Computer graphics forum, 2006, Vol. 25, No. 4, pp. 725–741. [Online]. Available: http://dx.doi.org/ 10.1111/j.1467-8659.2006.00995.x

G. Guennebaud, L. Barthe, M. Paulin, “Real-time soft shadow mapping by Backprojection,” In: Rendering techniques 2006, pp. 227–234. [Online]. Available: http://dx.doi.org/10.2312/EGWR/EGSR06/227-234

U. Assarsson, T. Akenine-Möller, “A geometry-based soft shadow volume algorithm using graphics hardware.” ACM Transactions on Graphics 2003 Vol.22, No.3, pp.511–520. [Online]. Available: http://dx.doi.org/10.1145/

882300

E. Chan, F. Durand, “An efficient hybrid shadow rendering algorithm,” In Rendering Techniques 2004,pp.185–195. [Online]. Available: http://dx.doi.org/10.2312/EGWR/EGSR04/185-195

B. Lloyd, J. Wendt, N. Govindaraju, D. Manocha, “Cc shadow volumes,” In Rendering Techniques Proc. of the Eurographics Symposium on Rendering 2004, pp.197–205. [Online]. Available: https://dx.doi.org/10.1145/

343006

M. Mccool, “Shadow volume reconstruction from depth maps,” ACM Transactions on Graphics Vol.19, No.1, pp.1–26. [Online]. Available: https://dx.doi.org/10.1145/343002.343006

https://www.opengl.org/about/




DOI: https://doi.org/10.22190/FUACR1703253A

Refbacks

  • There are currently no refbacks.


Print ISSN: 1820-6417
Online ISSN: 1820-6425