Results 1 to 3 of 3

Thread: Stereo view question (2)

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2001
    Posts
    18

    Stereo view question (2)

    Hi,

    Another question.

    (2) Stereo view should have special hardware support, such as google glasses. I am not familiar with it. I set up a system with a
    dual monitor video card(Maxtor G400). I viewed the source code of pulsar which is
    the sample for stereo.

    Here is the code confusing me.
    " /* Set things up and go */
    glutInit(&argc,argv);
    if (!stereo)
    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
    else
    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH | GLUT_STEREO);

    glutCreateWindow("Pulsar model");
    glutReshapeWindow(200,180);
    "

    It only Creates one window. Will it has two
    physical displays for the two eyes. Where they go? Automatically go to the two ports on the video card?

    I have thought of create two windowsand set them to the correct position by glutSetWindowPosition. left is on(0,0,1024, 1280) with full screen of the left monitor. right on (1024, 0, 1024, 1280). will it has the same effect as the sample code?

    thanks
    hill

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    London, UK
    Posts
    490

    Re: Stereo view question (2)

    As I understand it GLUT_STEREO allows you to send stereo images to 3d hardware from cards that dont have dual head capability. It does this by allowing you to write to a back_left and back_right buffers.

    With a dual head card you dont need to use GLUT_STEREO. I think you just create one big window (2048x76. Render the left eye to the left side of the window and the right eye to the right side of the window.

    You may need to set something on your 3d gogles so it knows which method you are using.

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2001
    Posts
    18

    Re: Stereo view question (2)

    Originally posted by Adrian:
    As I understand it GLUT_STEREO allows you to send stereo images to 3d hardware from cards that dont have dual head capability. It does this by allowing you to write to a back_left and back_right buffers.

    With a dual head card you dont need to use GLUT_STEREO. I think you just create one big window (2048x76. Render the left eye to the left side of the window and the right eye to the right side of the window.

    You may need to set something on your 3d gogles so it knows which method you are using.

    Hi, Adrain,

    have you ever tried this? on my card it only
    support opengl on the primary monitor. I have
    to disable the second monitor to have opengl acceleration.

    Any idea on how to solve it?

    Thanks

Similar Threads

  1. Problems with Stereo Fullscreen View
    By isrufelvalis in forum OpenGL: Windows
    Replies: 2
    Last Post: 07-23-2010, 08:25 AM
  2. How to temporary disable stereo in stereo mode ?
    By lekeno in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 10-02-2003, 01:54 AM
  3. Replies: 1
    Last Post: 09-26-2003, 05:20 AM
  4. Another question regarding stereo -> using nVidia driver
    By PhilY in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 07-11-2002, 12:36 PM
  5. stereo view using Opengl on Linux
    By in forum OpenGL: Linux
    Replies: 2
    Last Post: 02-07-2002, 12:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean