David Oftedal wrote:
> Hello!
> 
> According to one or more sources on Google, Linux now makes it
> possible to use LCD shutter to get stereoscopic graphics in certain
> games and with certain graphics cards. However, there are certainly
> other interesting methods of outputting stereoscopic graphics, such as
> outputting to two different outputs (such as two different projectors
> with different polarising filters), combining the red channel of the
> left frame and the green and blue channels of the right frame to create
> an anaglyphic image that can be viewed with 3D glasses and so on, and it
> would be really interesting to see if these methods could be used to
> output OpenGL graphics. Even more so with the arrival of 3D TVs and
> monitors, it would be interesting to be able to use their stereoscopic
> capabilities with existing games and applications.
> 
> I've seen two pieces of software, one for Linux and one for Windows,
> and it seemed like what they did was intercept OpenGL commands and
> render two separate images at slightly shifted (user-specified?) angles
> or viewpoints, one for the left eye and one for the right eye. If the
> effect could be achieved more or less reliably in all applications,
> stereoscopic output could be achieved in a wide range of games even today.

I have some experience with "automatic" stereo from the Chromium 
project.  Chromium has an option which basically intercepts OpenGL 
matrix changes, computes modified matrices for the left and right views 
and renders the scene twice into different buffers.

It works in simple cases, but falls apart in others.

The problem is there's not enough information in the OpenGL command 
stream to determine the right parameters in all cases.  I remember 
having a lot of difficulty with programs that setup more than one 
projection transformation per frame too.

On the other hand, I believe there's some OpenGL games that can take 
advantage of true stereo when it's supported.  That is, there are 
quad-buffered colorbuffers for storing separate left/right, front/back 
images.


> At any rate, I was wondering if something like this has ever been
> attempted, or implemented, in DRI?

Off hand, I don't recall which DRI-supported cards/chips have stereo 
ability.  Stereo has traditionally been a "professional card" feature 
for sci-vis apps.

In any case, none of the DRI drivers support quad-buffer stereo at this 
time.

-Brian


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to