Results 1 to 2 of 2

Thread: glut & stereo with gcc

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2000
    St. Louis, MO,USA

    glut & stereo with gcc

    Why doesn't the code

    // Initialize the openGL state.
    glutInit(&argc, argv);
    // Set the display flags.
    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_STEREO);
    // Create a window with above specified characteristics.
    fprintf( stderr, "Stereo: %d \n", glutGet(GLUT_WINDOW_STEREO) );

    invoke a stereo graphics context when compiled with gcc (Interix under NT), but does with VC++? Actually, it used to, but doesn't anymore. I have no idea what the problem is, if it is hardware or software, or what. The program actually gets to the print line (0 on gcc, 256 on VC++) rather than responding with "visual with necessary capabilites not found" error, so it does something with GLUT_STEREO. It gives identical results when the stereo capability is turned off, i.e., it goes merrily about its business when it should terminate.. What would cause glut to reject the request other than inadequate hardware?

  2. #2
    Member Newbie
    Join Date
    Dec 2000
    Czech Republic

    Re: glut & stereo with gcc

    Nothing. You have inadequate HW without stereoscopic support. I do not know any graphic card with stereoscopic cupport in drivers for Linux. On PC it works for graphic card listed on
    GALI-3D Inc. CEO

Similar Threads

  1. glut stereo support
    By pilot117 in forum OpenGL: General
    Replies: 2
    Last Post: 11-11-2010, 07:06 PM
  2. GLUT stereo examples ported to Mac OS X
    By Dave Milici in forum OpenGL: macOS
    Replies: 1
    Last Post: 03-11-2003, 03:23 PM
  3. GLUT stereo demos with sync signal support
    By Dave Milici in forum OpenGL: General
    Replies: 0
    Last Post: 03-11-2003, 03:21 PM
  4. Problems with GLUT Stereo.
    By Stack Overflow in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-02-2003, 08:08 PM
  5. Determine if Stereo is supported under GLUT
    By picard2 in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 02-17-2002, 07:36 AM

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