Journal of Software:2000.11(6):785-790

A Real-Time Algorithm of 3-D Shadow Generation for Point Light Sources
LIU Lie-ming,WU En-hua
Chart / table
Similar Articles
Article :Browse 3111   Download 3012
Received:March 17, 1999    Revised:June 08, 1999
> 中文摘要: 阴影的生成在体现虚拟现实环境的真实感程度方面起着重要的作用,但现有生成阴影的算法普遍速度较慢,不能适应实时绘制的要求.该文提出了一种基于点光源的实时生成三维阴影的算法.该算法的基本思想是基于在一个复杂的虚拟环境中,某一时段内只有少数多边形相对于光源发生形状的改变,从而导致相应阴影计算的改变,而大多数多边形相对于光源是静态的.这样就有可能针对静态物体与动态物体分别作不同的处理,使尽可能少的多边形参与阴影计算.方法是,先用Tiling方法对静态场景进行预处理,确定相关阴影多边形集合,然后用SVBSP(shad
Abstract:Shadow generation plays an important role in realistic image synthesis, but with the old algorithms, generation of shadows is quite time-consuming and can't be used in a real-time interactive environment. The authors present a new method to produce the real-time shadows for the point light sources in this paper. The algorithm takes advantage of the fact that in many cases, only a small number of polygons in the complex virtual environment change their shape relative to the lights resulting in a corresponding change to the shadow calculation while most of the polygons remain static relative to the lights. So it is possible to process the static and dynamic objects separately and thus make the number of polygons to be calculated as less as possible. The main idea is to prepocess the static scene with “Tiling” method and decide the precise shadow-relative sets, and then use SVBSP method to calculate the dynamic shadows. All the algorithms in this paper are realized in C++, and run on the microcomputer platform of Intel Pentium Ⅱ 400. The experimental results are satisfactory.
文章编号:     中图分类号:    文献标志码:
基金项目:本文研究得到国家自然科学基金(No.69873044)、国家863高科技项目基金(No.863-306-ZD-10)和Research Grant of University of Macao(RG009/99-00S/WEH/FST)资助。 本文研究得到国家自然科学基金(No.69873044)、国家863高科技项目基金(No.863-306-ZD-10)和Research Grant of University of Macao(RG009/99-00S/WEH/FST)资助。
Foundation items:
Reference text:


LIU Lie-ming,WU En-hua.A Real-Time Algorithm of 3-D Shadow Generation for Point Light Sources.Journal of Software,2000,11(6):785-790