PDA

View Full Version : Stereo Sample Code for GeForce 256



04-25-2000, 05:58 AM
Hello,

Could anyone provide some information
regarding how to create a simple OpenGL
stereo program using the new AsusV6600
Deluxe with Geforce256 chipset.

I tried several examples using GLUT
(GLUT_STEREO) and Windows API (PFD_STEREO),
but none of them was successful. All I
got was that there was no stereo support.
Of course the stereo OpenGL option was set
in the drivers configuration dialog.

I am using the latest driver version: 3.75.
In addition, the stereo board demo and games
like quake III arena, etc are running fine in
fullscreen stereo.

Thanks in advance,
Alexandre Ferreira

turkeryilmaz
05-05-2000, 10:14 AM
Hi,
I bought the same card 1 month ago and I think progressed a bit. I write my thesis with OpenGL and it is about stereo. The only thing that I found it that Asus cards does not have normal stereo. You should switch the screen to 1024x768 within windows and put all drawings for left and rigth buffers and swap it. Sample code can be the following. In fact there is a synch problem with the glasses. But for now it is very good. The only thing that is needed is that within the program you should switch to 1280x1024 interlaced mode, which I don't know for now. If you learn sth. please let me know. Good luck
Regards.
glPushMatrix();
glDrawBuffer(GL_BACK_RIGHT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
//Put rotation for right eye glTranslatef(-londegree,-altitude,-latdegree);
glMultMatrixf(rotation);
Draw();//something here
glPopMatrix();
glutSwapBuffers();
// Draw left-eye view.
glPushMatrix();
glDrawBuffer(GL_BACK_LEFT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
//put left eye rotations here glTranslatef(-londegree-arctan-emboss,-altitude,-latdegree);
glMultMatrixf(rotation);
Draw();The same thing
glPopMatrix();
glutSwapBuffers();

PS http://www.opengl.org/discussion_boards/ubb/biggrin.gifo not try to use GLUT_STEREO in init.
Only use glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE);



Originally posted by Alexandre Ferreira:
Hello,

Could anyone provide some information
regarding how to create a simple OpenGL
stereo program using the new AsusV6600
Deluxe with Geforce256 chipset.

I tried several examples using GLUT
(GLUT_STEREO) and Windows API (PFD_STEREO),
but none of them was successful. All I
got was that there was no stereo support.
Of course the stereo OpenGL option was set
in the drivers configuration dialog.

I am using the latest driver version: 3.75.
In addition, the stereo board demo and games
like quake III arena, etc are running fine in
fullscreen stereo.

Thanks in advance,
Alexandre Ferreira

husakm
12-28-2000, 09:06 AM
NVIDIA cipset doe snot have standard
OpenGL support ...
You can try HW independent interlaced output based on my samples:
http://mysak.umbr.cas.cz/~husakm/Public/StereoOpenGL/StereoscopicOpenGLTutorial.htm