Hey
I wrote a programm, which renders the scene for the left eye and for the right eye. The scene for the left eye is rendered with a red lighting and for the right eye with a cyan lighting. So I can use red-cyan-glasses to get the steregraphic impression.
The problem is now, how to overlay the 2 images.
At first, i tried to render the 2 scenes alternatly. Since the time of the display()-loop is not synchronised to the VSynch-frequency, the picture flickers.
Actually, the problem is much easier. I just need to sum the color buffer of the left and the right scene (since left uses only red colors und right only cyan colors). But how to do that in short time? I tried to use the Accumulation-buffer which works, but is much to slow. Has anybody an idea how just to sum the 2 buffers or write data in the framebuffer successively whithout deleting the privious data?
btw: I use GLUT, which offers the GLUT_STEREO option which is not working on my 2 machines. So thats no option for me.
ThX, keV