3D page flipping opengl
Hi guys,
I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you!
Hi guys,

I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you!

#1
Posted 08/12/2010 04:18 PM   
Hi guys,
I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you!
Hi guys,

I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you!

#2
Posted 08/12/2010 04:18 PM   
[quote name='lbv' post='1103239' date='Aug 12 2010, 11:18 AM']Hi guys,
I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you![/quote]

Since you can already display a single image in OpenGL, then adding the second image for stereo is easy. When creating your pixel format, include the PFD_STEREO flag - this will give you access to the left and right color buffers. When you render the left image, set the glDrawBuffer() to GL_LEFT, GL_FRONT_LEFT, or GL_BACK_LEFT depending on your implementation. Then when you render the right image, set the glDrawBuffer() to GL_RIGHT, GL_FRONT_RIGHT, or GL_BACK_RIGHT.
[quote name='lbv' post='1103239' date='Aug 12 2010, 11:18 AM']Hi guys,

I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you!



Since you can already display a single image in OpenGL, then adding the second image for stereo is easy. When creating your pixel format, include the PFD_STEREO flag - this will give you access to the left and right color buffers. When you render the left image, set the glDrawBuffer() to GL_LEFT, GL_FRONT_LEFT, or GL_BACK_LEFT depending on your implementation. Then when you render the right image, set the glDrawBuffer() to GL_RIGHT, GL_FRONT_RIGHT, or GL_BACK_RIGHT.

#3
Posted 08/17/2010 03:13 PM   
[quote name='lbv' post='1103239' date='Aug 12 2010, 11:18 AM']Hi guys,
I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you![/quote]

Since you can already display a single image in OpenGL, then adding the second image for stereo is easy. When creating your pixel format, include the PFD_STEREO flag - this will give you access to the left and right color buffers. When you render the left image, set the glDrawBuffer() to GL_LEFT, GL_FRONT_LEFT, or GL_BACK_LEFT depending on your implementation. Then when you render the right image, set the glDrawBuffer() to GL_RIGHT, GL_FRONT_RIGHT, or GL_BACK_RIGHT.
[quote name='lbv' post='1103239' date='Aug 12 2010, 11:18 AM']Hi guys,

I just purchased the 3D vision kit from nvidia, the quadro fx 1800 video card and a 120 hz monitor. I want to broadcast live 3D from my 2 webcams using my own codes in opengl and opencv. I just started and successfully captured from a single webcam using opencv and displaying through opengl. I was wondering if someone could give me some guidance on how to do the whole page flipping or post some sample code. Thank you!



Since you can already display a single image in OpenGL, then adding the second image for stereo is easy. When creating your pixel format, include the PFD_STEREO flag - this will give you access to the left and right color buffers. When you render the left image, set the glDrawBuffer() to GL_LEFT, GL_FRONT_LEFT, or GL_BACK_LEFT depending on your implementation. Then when you render the right image, set the glDrawBuffer() to GL_RIGHT, GL_FRONT_RIGHT, or GL_BACK_RIGHT.

#4
Posted 08/17/2010 03:13 PM   
Scroll To Top