双目立体显示是计算机图形学中的一项前沿技术,在虚拟现实领域发挥着重要作用.分析了双目立体显示的原理,根据平行双目投影模型,提出一种基于OGRE(面向对象图形渲染引擎)的双目立体显示方案.该方案充分利用OGRE中的虚拟摄像机和视口合成技术,并在底层结合CG脚本,保证了渲染的效率.结果表明,对于正负两种视差,该方案均有明显的立体效果,并能灵活漫游及更换不同的场景,非常适合实际应用.
Binocular stereoscopic display is a cutting-edge technology in computer graphics which plays an important role in virtual reality. The thesis analyzes the principle of binocular stereoscopic display and a solution of binocular stereoscopic display based on OGRE (Object-Oriented Graphics Rendering Engine) and parallel binocular projection model is proposed. The solution takes full advantage of virtual camera in OGRE and viewport synthesis technology, leveraging CG script at the lower layer which brings the highest rendering efficiency. The results indicate that the solution has a good binocular stereoscopic effect with flexibility of easily loading different scene models, which is very suitable for practical applications.