Preliminary communication
https://doi.org/10.17559/TV-20140324202037
Real-time shadows in OpenGL caused by the presence of multiple light sources
Dženan Avdić
orcid.org/0000-0002-7729-3652
; State University of Novi Pazar, Vuka Karadžića bb, 36300 Novi Pazar, Serbia
Dejan Rančić
orcid.org/0000-0002-9445-7700
; Faculty of Electrical Engineering, Aleksandra Medvedeva 14, 18000 Nis, Serbia
Petar Spalević
; Faculty of Technical Sciences, Kneza Miloša 7 38220 Kosovska Mitrovica, Serbia
Aldina Avdić
orcid.org/0000-0003-4312-3839
; State University of Novi Pazar, Vuka Karadžića bb, 36300 Novi Pazar, Serbia
Edin Dolićanin
; State University of Novi Pazar, Vuka Karadžića bb, 36300 Novi Pazar, Serbia
Abstract
In modern computer graphics, the emphasis is on the details of the scene, and taking into account the improvements in hardware performances, it is not allowed to make compromises when it comes to the reality of scenes. Each reflection, shadow, rounded corner and transparency must be brought to perfection and presented in order to make a depicted scene more realistic. In one of the most widely used API for rendering 3D objects, OpenGL, there is nothing similar to a library for adding those phenomena that exist in reality. If the possibility of existence of multiple light sources is considered, rendering all these details becomes a real challenge. The aim of this paper is to provide a method for generating shadows in an efficient way, for the objects commonly used as components of complex 3D objects, in conditions of the presence of moving light sources.
Keywords
circle; cone; moving point light source; OpenGL; shadows; sphere; triangle
Hrčak ID:
186093
URI
Publication date:
2.9.2017.
Visits: 2.813 *