I'm trying to create a three-dimensional view in QT. I've got some tutorials but they use all the old QGLWidget
and buffers GL_FRONT_LEFT
and GL_FRONT_RIGHT
.
AS I I am using new images, but I was trying to draw a picture in the same buffers, but call glDrawbuffer (GL_FRONT_LEFT)
a Generating GL_INVALID_ENUM
.
I also noticed that instead of default buffer GL_FRONT_LEFT
instead of GL_FRONT_LEFT
, I feel that to enable stereo, a different group of buffers Need to use.
Which buffers should I use?
You should use
glDrawbuffer (GL_BACK_RIGHT); GlDrawBuffer (GL_BACK_LEFT);
Check it out
I am working on the same thing with Nvidia Quadro 4000. There is no luck yet, I got 2 images offset slightly, IR tensimeter light came up but the screen flicker!
It got: Sync was 60 Hz, I put it on 120 and everything works fine. I still need to work Eureka to say right / left frostum.
No comments:
Post a Comment