资 源 简 介
Overview
Stereowrap is an emulation layer implementing stereoscopic OpenGL visuals on top of non stereo capable OpenGL implementations. To do that it overrides, using LD_PRELOAD, the GLX visual selection functions (glXChooseVisual and glXChooseFBConfig), glDrawBuffer, and glXSwapBuffers to capture and composite the two stereo images rendered by the application, in a number of ways.
Presentation Methods
Currently stereowrap supports presenting the stereo pair in the following ways:
* parallel side-by-side (-m parallel)
* side-by-side (-m cross)
* color anaglyph
* red-cyan (-m redcyan)
* red-blue (-m redblue)
* green-magenta (-m greenmagenta)
* colorcode3d, aka amber-blue (-m colorcode)
* sequential left/right sync-ed to vblank (-m sequential)
Notes
The sequential mode is there to support circuits that drive shutter glasses from the VGA vsync signal, like