HP j6700 OpenGL Implementation Guide for HP-UX 11.x - Page 43

running hp's implementation of the OpenGL stereo application

Page 43 highlights

running OpenGL programs running hp's implementation of the OpenGL stereo application After successfully re-configuring your monitor, the X Server will be restarted. If you are configuring a Visualize fx display proceed to you can verify the availability of GLX stereo visuals now by running the xglinfo command again. If you are configuring a FireGL graphics device an additional step is required. Run "sam" to configure stereo mode in the /etc/X11/XF86Config file. Select the "Display" area and the "X Server Configuration" then select the display device icon. Using the Actions menu select "Modify Screen Options". This dialog box will the allow you to select and set to "true" the "Stereo" option (for FireGL X1/X3) or "Qbs" (e.g. Quad-buffer stereo) option (for the FireGL-UX) . Once this option is set and the configuration is saved the X server can be restarted and will be in Stereo mode. 3. To select one of the stereo capable GLX visuals through OpenGL, the GLX_STEREO enumerated type should be passed to either glXChooseVisual() or glXGetConfig(). Once a stereo visual has been selected, it can be used to create a stereo window, and glDrawBuffer() can then be called to utilize both the right and left buffers for rendering stereo images. Chapter 3 41

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62

running OpenGL programs
running hp's implementation of the OpenGL stereo application
Chapter 3
41
After successfully re-configuring your monitor, the X Server will be
restarted.
If you are configuring a Visualize fx display proceed to you can verify
the availability of GLX stereo visuals now by running the xglinfo
command again.
If you are configuring a FireGL graphics device an additional step is
required.
Run "sam" to configure stereo mode in the
/etc/X11/XF86Config file. Select the "Display" area and the "X Server
Configuration" then select the display device icon. Using the Actions
menu select "Modify Screen Options". This dialog box will the allow
you to select and set to "true" the "Stereo" option (for FireGL X1/X3)
or "Qbs" (e.g. Quad-buffer stereo) option (for the FireGL-UX) . Once
this option is set and the configuration is saved the X server can be
restarted and will be in Stereo mode.
3. To select one of the stereo capable GLX visuals through OpenGL, the
GLX_STEREO
enumerated type should be passed to either
glXChooseVisual()
or
glXGetConfig()
. Once a stereo visual has
been selected, it can be used to create a stereo window, and
glDrawBuffer()
can then be called to utilize both the right and left
buffers for rendering stereo images.