Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon aglString Sample, Project Builder, Mac OS X

View Source Code:

Download Sample (“OpenGL_Stereo.zip”, 35.3K)
Download Sample (“OpenGL_Stereo.dmg”, 95.2K)


OpenGL Image This is an example of full screen stereo OpenGL under Carbon. The pixel format setup code for a example of setting a proper stereo pixel format (note, only full screen is supported for stereo). The drawing code correctly slect either the left or right buffer to draw into and uses blue line code to draw a blue sync line on each buffer, required for the currently generation of stereo glasses. This sample requires the aglString sample to build. Requirements: aglString Sample, Project Builder, Mac OS X Keywords: Carbon, OpenGL, Stereo

Document Revision History

Date Notes
2003-01-14An example of full-screen stereo OpenGL under Carbon.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.