摘要
关于增强现实,为了使虚拟物体与真实场景融合,光照一致性显得尤为重要。光照一致性是指根据真实场景中的光照情况,对虚拟物体进行光照处理,使得虚拟物体和真实场景的明暗色调、阴影等完全一致,看不出虚拟物体任何的悬浮感。假设已经获取真实场景的信息,将高动态范围图像(HDR)的每一个像素点当作光源,采用基于图像的光照(IBL)对虚拟物体进行光照计算,利用屏幕空间环境光遮蔽算法(SSAO)生成物体表面附近的阴影信息。两者结合,使得虚实结合,输入不同的HDR和虚拟物体,均能获取很好的虚实结合效果。
With regard to augmented reality, lighting consistency is particularly important in order to integrate virtual objects with real scenes. Illumi. nation consistency refers to the process of lighting the virtual object according to the lighting situation in the real scene, which makes the virtual object completely consistent with the light and dark tone and shadow of the real scene, without any sense of suspension of the virtual object. It is the key to special effects production in films. It is assumed that the information of the real scene has been obtained, every pixel of the High-Dynamic Range (HDR) image is used as the light source, the Image-Based Illumination (IBL) is used to calculate the illumina. tion of the virtual object, and the shadow information near the object surface is generated by the Screen-Space Ambient Occlusion (SSAO) algorithm. The combination of the two makes the combination of virtual and real, input different HDR and virtual object, and obtain good ef. fect of virtual and real combination.
作者
黎娅娟
马万峰
LI Ya-juan;MA Wan-feng(College of Computer Science, Sichuan University, Chengdu 610065)
出处
《现代计算机》
2019年第2期65-70,共6页
Modern Computer