J4

• 计算机科学 • 上一篇    下一篇

基于点造型的简单阴影生成方法

冯月萍, 王健, 钟慧湘   

  1. 吉林大学 计算机科学与技术学院, 长春 130012
  • 收稿日期:2006-06-21 修回日期:1900-01-01 出版日期:2007-03-26 发布日期:2007-03-26
  • 通讯作者: 冯月萍

Formation Method of Simple Shadow Based on Points

FENG Yueping, WANG Jian, ZHONG Huixiang   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2006-06-21 Revised:1900-01-01 Online:2007-03-26 Published:2007-03-26
  • Contact: FENG Yueping,

摘要: 研究基于点表示的物体的真实感图形阴影生成方法, 提出了Z缓冲器的改进算法. 在此算法中取光源方向为视线方向, 对景物点进行坐标变换, 按Z值大小得到距离光源最近的点, 这些点即为产生阴影的点. 该算法避免了大量的求交运算. 试验结果表明, 该基于点的造型表示方法和阴影生成算法可以较准确、 真实地反映实际场景中的阴影现象.

关键词: 离散点, 消隐, 阴影

Abstract: We researched the shadow of PBR, and proposed an improved algorithm of Zbuffer, i.e., we transformed the coordinate from the view vec tor to light vector, calculated the points according to Zvalue which are the nearest distance to the light and produce a shadow. This algorithm avoids abundant intersection operation. Experiment result shows PBR and shadow algorithm can display the shadow phenomenon exactly and truly.

Key words: discrete points, hidden points, shadow

中图分类号: 

  • TP391