stereoscopic vision with tao
Submitted by Santiago Martín on July 14, 2008 - 9:41am.
I'm trying to make an application using stereoscopic vision, but I have a problem. I'm using an NVidia Quadro card, but can't activate the stereoscopic mode to use my shutter glasses, which are connected to the card's "3-pin mini-DIN".
Does anybody have done something similar?
Do you have a sample code?
Thanks.

We have found the problem
We have found the problem and now it works perfectly.
We have need to change the pfd.dwFlags in the function InitializeContexts() of Tao.Platform.Windows. We have added Gdi.PFD_STEREO to enable stereo rendering in QUADRO cards. The sentence is now:
pfd.dwFlags = Gdi.PFD_DRAW_TO_WINDOW |
Gdi.PFD_SUPPORT_OPENGL |
Gdi.PFD_DOUBLEBUFFER |
Gdi.PFD_STEREO;
We think it would be necesary to add a flag in the simpleOpenGlControl to activate the stereo option.
Best regards,
Santiago Martin
Ruben Velasco
University of Oviedo