Game Development Community

Constant frame-sync display & stereo vision

by Frank Bignone · in Torque Game Engine Advanced · 02/17/2009 (5:33 pm) · 0 replies

I'm trying to enable stereo-vision inside TGEA 1.8.1 but I have some difficulties linked to the fact that the stereoscopic device is a LCD VR-headmount system. This system basically will put one odd-frame to one eye, and one even-frame to another eye.

I was then looking how to use the STEREO render target; but it looks like it is not supported on DX; and neither on OpenGL (even if it is possible to have a PFD_STEREO pixel format, OpenGL told me no support for Stereo).

Indeed, due to the hardware device, I must implement a kind of stereo flipping mechanism for the back-front buffer. I was looking at the StereoBLT API SDK from NVidia, but unable to find a place where to download it...

So here are my questions:
1. Does someone has the StereoBLT SDK from NVidia?
2. In your opinion what is the best way to have a frame-sync update of the framebuffer so I'm sure the odd & even frame have always the correct frame (not mixed) even when the frame-rate is down?
3. What about having a thread which will mimick a FlipStereo functions (running for example at 2xtimes the refresh rate) which will make sure each odd-even frame have the correct render target (left/right)?
4. Did someone already tried to work on it? (I saw some remaining trace in the TGEA 1.8.1 code for the OpenGL driver...)

Thanks for the support.

About the author

Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.