摘要
针对虚拟现实系统绘制场景不具备景深的问题,提出一种适用于部分遮挡场景的景深效果实现方法,在图像空间对生成的场景进行处理,根据场景深度图进行弥散圆直径的计算,并根据弥散圆直径对部分遮挡的场景进行判断,以保证正确的景深效果。程序使用GPU进行实现,实验证明了方法的正确性和有效性。
The virtual reality systems generate images render the entire scene in perfect focus. A depth of field rendering method was proposed for partial occlusion scene. The circle of confusion diameter is computed by the depth information of the scene. The depth information of two sides and the circle of confusion diameter are used to evaluate the position of the partial occlusion scene to ensure a correct depth of field effect. The depth of field is generated in image space and the program is implemented on GPU,and the experiment proves the method is correct and effective.
出处
《科学技术与工程》
北大核心
2016年第35期234-237,共4页
Science Technology and Engineering
关键词
虚拟现实
景深
弥散圆
virtual reality
depth of field
circle of confusion