Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: jogl
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: All

    • Issuezilla Id:
      222

      Description

      Stereo mode does not seem to work on a GLJPanel. I set up a simple testing
      program with a GLCanvas that works perfectly displaying stereo images, but if I
      switch it over to GLJPanel, the program only draws to the GL_LEFT buffer and
      throws an exception indicating that the buffer doesn't exist if I pipeline in a
      DebugGL and call glDrawBuffer(GL_RIGHT).

        Activity

        Hide
        kbr added a comment -

        This isn't surprising to me as the rendering path for the GLJPanel is
        drastically different than that for the GLCanvas. In particular the rendering
        all goes off-screen to a pbuffer and from there is read back and blitted to the
        screen using Java2D, so there is no way the OpenGL driver can get involved in
        the display of stereo. Even when the Java2D/JOGL bridge is active (with Mustang
        builds and -Dsun.java2d.opengl=true), we don't get a chance to choose the pixel
        format for the underlying surface so there's basically no way stereo can work. I
        think for now you'll have to use a heavyweight GLCanvas to do stereo.

        Show
        kbr added a comment - This isn't surprising to me as the rendering path for the GLJPanel is drastically different than that for the GLCanvas. In particular the rendering all goes off-screen to a pbuffer and from there is read back and blitted to the screen using Java2D, so there is no way the OpenGL driver can get involved in the display of stereo. Even when the Java2D/JOGL bridge is active (with Mustang builds and -Dsun.java2d.opengl=true), we don't get a chance to choose the pixel format for the underlying surface so there's basically no way stereo can work. I think for now you'll have to use a heavyweight GLCanvas to do stereo.

          People

          • Assignee:
            jogl-issues
            Reporter:
            eteq
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: