Journal of Computer Science

Real-Time Volume Shadow using Visible-Non Visible Algorithm

Hoshang Kolivand, Mohd Shahrizal Sunar, Azam Amirshakarami and Zhila Ranjbari

DOI : 10.3844/jcssp.2011.980.985

Journal of Computer Science

Volume 7, Issue 7

Pages 980-985

Abstract

Problem statement: Shadows are most important effect to make realistic games and visually appealing images, but they are poor in frame per second. Silhouette detection is most important phases to create real-time shadow. Approach: Present study describes a real-time shadow generated with volume shadow algorithm using Visible-Non Visible algorithm (VNV) in virtual environment illuminated by a movable light source to improve the frame per second. Silhouette detection that is most expensive part of shadow creation was described. Triangular method and VNV method were compared. An improved algorithm for volume shadow was proposed and volume shadow using both methods in C++ Opengl implemented. Results: The VNV algorithm increases the number of Frame Per Second (FPS) and as a result decreases the cost of implementation. Conclusion: A verified algorithm for volume shadow makes it easy to understand by everyone how to produce real-time shadow in outdoor and indoor virtual environment. It is possible to use it in current commercial games or other virtual reality systems.

Copyright

© 2011 Hoshang Kolivand, Mohd Shahrizal Sunar, Azam Amirshakarami and Zhila Ranjbari. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.