摘要
阴影生成是使三维场景具有真实感的重要方式之一。以往的阴影生成算法是对点和面进行处理的,而该文中的阴影生成算法只针对点进行处理。由于任何物体都可以分解成若干个凸多面体,所以凸多面体的阴影生成很有研究价值。该文将凸壳技术应用于三维场景的阴影生成中,形成一种凸多面体的阴影生成方法,并用OpenGL技术实现。该文简述了OpenGL技术和阴影生成技术的基本原理,用OpenGL生成的三维场景模型进行检验,并叙述了场景的组织结构和阴影生成的实现过程,最后生成了较真实的阴影。
Shadow generation is one of many important ways that can make the scene possessing three_dimensional effect.In previous shadow generation algorithm,they dealt with points and planes,but in the algorithms of the paper we only deal with points.Since any object may be decomposed into some convex object, the research of convex object's shadow generation is valuable.In the paper,convex hull technology is used in shadow generation of scene, and a shadow generation algorithm of convex object, is obtained and realised in OpenGL.In the paper,we simply narrate the theory of OpenGL and shadow generation algorithm,then test the method in scene generated by OpenGL . The scene's organization structure and the shadow generation process are narrated, too.In the last,we get the comparatively real shadow.
出处
《计算机仿真》
CSCD
2004年第5期133-135,189,190,共5页
Computer Simulation
关键词
阴影
本影
半影
凸壳
Shadow
Umbra
Penumbra
Convex hull