Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!thorin!hatteras.cs.unc.edu!certain From: certain@hatteras.cs.unc.edu Newsgroups: comp.sys.sgi Subject: Stereo sync Keywords: stereo Message-ID: <17848@thorin.cs.unc.edu> Date: 30 Nov 90 15:58:27 GMT Sender: news@thorin.cs.unc.edu Reply-To: certain@hatteras.cs.unc.edu () Organization: University Of North Carolina, Chapel Hill Lines: 15 I am try to get a stereo display program to work on an Iris. The problem that I am having is that to stereo plate flips between the left and right eye at 60Hz, so I need to make sure that I am alternating eyes with each buffer swap. Unfortunately, swapbuffers() is non-blocking, so that if I can actually draw faster than 120Hz, I get two updates per buffer swap, which has the effect of always just showing one eye. Is there a way to make swapbuffers() to be blocking? Is there a way to know when the screen refresh happens? What have other people done about this problem? I have just subscribed to this newsgroup, so I don't know if this problem has been addressed previously. Thanks, Andrew Certain UNC-CH Comp Sci. certain@cs.unc.edu