摘要
光照处理是增强图形真实感最重要的组成部分,包括光照模型的选择和明暗处理。通过研究影响物体表面反射光的相关因素,提出了真实感图形绘制中如何进行模拟光照计算和明暗插值计算的问题。在分析和研究OpenGL图形库下实现光照效果的改善,并系统地阐述了利用OpenGL函数在VC++环境下实现光照图形的基本过程和方法。最后在计算机设备上实例绘制了不同光照处理方法下的对比图形,显示出了真实感光照的效果,同时具有一定的使用指导意义。
The manipulating technique of Lighting is a very important part of realistic image rendering, including illumination model and shading. This paper introduces how to compute the illumination intensity and shading interpolation by investigating the reflex factors on object surface. Based on the analysis and research on the manipulating techniques of Lighting using OpenGL, the paper summarises the experiences of using OpenGL to generate realistic il- lumination image in VC + + environment, and a set of cases are provided to show the ideal lighting effect in defferent rendering techniques.
出处
《计算机仿真》
CSCD
2008年第3期221-223,共3页
Computer Simulation
关键词
真实感图形
光照
多边形表面
材质
光强度
Realistic image
Lighting
Surface
Material
Illumination intensity