摘要
本文提出一种基于点光源的物体排序阴影体算法。方法是首先按与点光源的距离对场景中的物体进行排序,建立顺序图。然后用z-pass算法检测物体是否处于其他物体的阴影体中来判断物体是否被遮挡。最后对没有被遮挡的物体用阴影体算法计算阴影。实验分析表明该方法比传统的阴影体算法效率更高。
A new shadow generation algorithm by ranking objects which based on point light source is presented in this paper. The main idea is to sort all objects in the scene by the distance between point light source and objects, and create sequence diagram. Then z-pass algorithm is used to detect whether the object is occluded. Finally, shadow volume algorithm is applied to build the shadows of objects not occluded. Experimental results show that this method is more efficient than the traditional shadow volume algo- rithms.
出处
《微计算机信息》
2012年第10期504-505,共2页
Control & Automation
关键词
关键字
阴影
阴影体
排序
顺序图
shadow
shadow volume
ordering
ordering graphic