CheckerboardStencil.H File Reference

Draws a checkerboard pattern in the stencil buffer for use with stereo rendering to a SAMSUNG TV display. More...

Go to the source code of this file.

Functions

void checkerboard_stencil (int gliWindowWidth, int gliWindowHeight)


Detailed Description

Draws a checkerboard pattern in the stencil buffer for use with stereo rendering to a SAMSUNG TV display.

Author:
John Huffman at Brown Univ. CCV
Usage:

checkerboard_stencil(w,h);

glStencilFunc(GL_NOTEQUAL, 1, 1); Draw scene for left eye

glStencilFunc(GL_EQUAL, 1, 1); Draw scene for right eye


Function Documentation

void checkerboard_stencil ( int  gliWindowWidth,
int  gliWindowHeight 
)


Generated on Wed Jan 26 06:35:59 2011 for VRG3D by  doxygen 1.5.6