可OpenGL渲染用于3D显示器? [英] Can OpenGL rendering be used for 3D monitors?

查看:436
本文介绍了可OpenGL渲染用于3D显示器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在考虑购买3D就绪液晶显示器以及一台具有三维立体视觉功能的图形卡(的ATI Radeon 5870或更好)。这是显示我们正在绘制的3D使用OpenGL的一些科学数据。 现在,我们可以预期的GPU,显示器和快门眼镜采取立体显示的照顾还是我们需要修改渲染程序? 如果有图形编程3D立体显示器的具体技术,一些教程链接会更AP preciated。

We have been considering buying a 3D-ready LCD monitor along with a machine with a 3D-stereoscopic vision capable graphics card (ATI Radeon 5870 or better). This is for displaying some scientific data that we are rendering in 3D using OpenGL. Now can we expect the GPU, Monitor and shutter-glasses to take care of the stereoscopic display or do we need to modify the rendering program? If there are specific techniques for graphics programming for 3D stereoscopic displays, some tutorial links will be much appreciated.

推荐答案

有关立体显示Techically OpenGL的规定。关键词是四路缓冲立体声。您可以切换左右眼 glDrawBuffer(GL_BACK_LEFT)呈现; / *渲染左眼视图* /; glDrawBuffer(GL_BACK_RIGHT); / *渲染右眼视图* /。

Techically OpenGL provisions for stereoscopic display. The keyword is "Quad Buffered Stereo". You can switch left-right eye rendering with glDrawBuffer(GL_BACK_LEFT); /* render left eye view */; glDrawBuffer(GL_BACK_RIGHT); /* render right eye view */;.

不幸的是Quadbuffer立体声被认为是一个专业的功能,通过GPU供应商。因此,你需要无论是NVIDIA的Quadro或AMD / ATI的FireGL显卡来获得它的支持。

Unfortunately Quadbuffer stereo is considered a professional feature by GPU vendors. So you need either a NVidia Quadro or a AMD/ATI FireGL graphics card to get support for it.

立体渲染不被倾斜的目光,但通过应用投影矩阵一个镜头移位完成。细节是有点棘手,但。去年我做了再说吧,但显然与我的presentation幻灯片的链接去了。

Stereoscopic rendering is not done by tilting the eyes, but by applying a "lens shift" in the projection matrix. The details are a bit tricky, though. I did a talk last year about it, but apparently the link with my presentation slides went down.

关键图是这个(这是从我的我的贴片笔记搅拌机直接支持立体渲染)

The key diagram is this one (it's from my notes of my patch to Blender to directly support stereoscopic rendering)

这篇关于可OpenGL渲染用于3D显示器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆