Problem Opengl with 3D stereo nVidia ... Log Out | Topics | Search
Moderators | Register | Edit Profile

stereo3d.com webboard » Stereo3D Drivers, SDK, OS » Problem Opengl with 3D stereo nVidia driver « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Widmont

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, January 21, 2006 - 11:52 pm:   Edit PostDelete PostView Post/Check IPPrint Post

I have a problem when I run an OpenGL application with 3D STEREO enabled.
My graphic card is Quadro FX 3400
ForceWare version is 78.01 and I added the 3D stereoscopic support 78-1.01.

When I run the demo applications, they look fine... I use shutter glasses from stereographics

But when I run my OpenGL application in full screen using glutFullScreen it works fine until I enable the stereo mode. When the stereo mode is enabled, I can see in 3D, but the camera moves to another place in my scene and I don't know why... I would like to fix this problem without changing the camera's position.

for the camera's position, I use:

glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective(50.,float(width)/float(height), 1., 100.);

glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
gluLookAt(5.,0.,15.,0.,0.,0.,0.,1.,0.);


Anybody knows something about this problem? (is it a problem with buffers??)

Another question: Is it possible to run an application in a window and have the 3D stereo enabled only for this window?

Thank you for your help

I am looking forward to hear from you...

A.
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, January 22, 2006 - 9:46 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Hi Widmot:

There exist 2 support for stereoscoy:

A) The game one witch you probably use. This work only for games and you have no control over the camera. It is not targeted for serious use and it woeks only in fullscreen mode.

B) The OpenGL one (you shoudl disable the game support to make it working).
In the Archives on my comapny WWW you can find details how to do this:
http://www.gali-3d.com/archive/articles/StereoOpenGL/StereoscopicOpenGLTutorial.php

In this mode the stereo can be in window and you have full control about what happenes ...
Top of pagePrevious messageNext messageBottom of page Link to this message

widmont

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 23, 2006 - 5:13 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Thanks for your answer!

You are right, I use the stereoscopic support from the graphic driver (Quadro FX 3400 - ForceWare version is 78.01). It was the easiest way for me...

My application uses GLUT for the window. I will try to change int a WGL (Microsoft) support for the window, because I have a source code with wgl working fine with 3D stereo...

I will also try to follow your tutorial, but it seems complicated if you have a complex scene.

A.
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 23, 2006 - 6:07 pm:   Edit PostDelete PostView Post/Check IPPrint Post

widmont:

You can perfectly support stereo by GLUT commands as well. All may applicatiosn use GLUT based stereo initialization and they should be easy Linux portable.
I agree that manual stereo camera adjutment is more complex than if the nVidia drivers do the work. But in principle the nVidia drivers can never do an optimal work = they can not analzye the scene as good as an programator can. So th menaula camera setting will alwasy get better picture than any nVidia wrapers ...

Michal
Top of pagePrevious messageNext messageBottom of page Link to this message

Widmont

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 23, 2006 - 10:59 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Thanks for your message!

In fact, I trying to import on WIN32 an application I made on SGI computer in a Cave Automatic Virtual Environment (better known by the recursive acronym CAVE). The library provided with the CAVE supports the stereoscopy without special code...

I tried the tutorial but the problem is that I have shutter glasses (Crystal Eyes workstation from Stereographics) and I have to activate the signal of synchronization to have 3D support.

I found a sample code written by you (I think) on gali-3d.com where you use the stereoI.h and WGL to enable the stereoscopy or not (SetStereoState). It is exactly what I want...

A.
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, January 24, 2006 - 1:10 am:   Edit PostDelete PostView Post/Check IPPrint Post

You can activate steresocpy by the GLUT commands as well ...
Btw if you want to see how to emulate CAVE on PC, have a look on following code:

http://ccp14.minerals.csiro.au/ccp/web-mirrors/marchingcube-fourierviewer/~husakm/Public/MarchingCubeELD/MCE_CAVE.HTM

Guess who is the author again :-).
Top of pagePrevious messageNext messageBottom of page Link to this message

widmont

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, January 24, 2006 - 5:01 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Thank for the link !!

I will try it too... Do you work a lot with the CAVE, OpenGL and stereoscopic stuff ??
Do you have some other interesting links for stereoscopic and nVidia driver sample code ? It helps a lot... I have just began to work with CAVE and stereoscopy 2 month ago. It is very good to see what you did in these fields. Your help is very useful.

Thanks again

A.
Top of pagePrevious messageNext messageBottom of page Link to this message

Henry

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 24, 2006 - 6:33 pm:   Edit PostDelete PostView Post/Check IPPrint Post

I have used glut. No problem. But a laptop with Nvidia 256MB graphics card, but have not found a glut sample of how to actually use the library to generate the stereo image. Any one have a simple glut sample?
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, March 24, 2006 - 7:08 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Henry:

http://www.gali-3d.com/archive/articles/StereoOpenGL/StereoscopicOpenGLTutorial.php

All samples on this link are based on GLUT ...
Top of pagePrevious messageNext messageBottom of page Link to this message

Olfat Ibrahim (Eng_olfat)
New member
Username: Eng_olfat

Post Number: 2
Registered: 3-2007

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, October 11, 2007 - 7:37 am:   Edit PostDelete PostView Post/Check IPPrint Post

Hi

Iam Using Nvidia Quadro 4400
when i enable Stereo with OpenGL on it is seams to be working fine but when i use crystal eyes 3 it does not work when i installl the driver for stereo from n vidia web sit the crystal eye work well but no open gl application with stereo work
can you help me please

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | User List | Help/Instructions | Program Credits Administration