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

running hp's implementation of the OpenGL, stereo application

Page 42 highlights

running OpenGL programs running hp's implementation of the OpenGL stereo application running hp's implementation of the OpenGL stereo application Following are the steps required to run hp's implementation of OpenGL "stereo in a window" mode: 1. Find out if your monitor is currently configured in a mode that supports stereo. This can be done by running the command: export DISPLAY=myhost:x.y /opt/graphics/OpenGL/contrib/xglinfo/xglinfo The output from xglinfo lists the OpenGL capabilities of the specified X Display, and includes all GLX visuals that are supported. If one or more of the listed GLX visuals are marked as stereo capable, then you can proceed to step three. 2. If none of the GLX visuals support stereo, you will need to re-configure your monitor to a configuration that supports stereo. For the Visualize fx family of graphics cards this is a single step process of re-configuring. For the HP FireGL-UX and ATI FireGL X1/X3 this is a two step process. Note that you can use the "Monitor Configuration" component of SAM to re-configure you monitor, or you can execute the following command: /opt/graphics/common/bin/setmon graphics device Note that for Visualize fx cards, graphics device is a name such as "/dev/crt" that is included on the Screen line in the /etc/X11/X*screens file for the X Server that you want to configure for stereo. For FireGL cards graphics device is a name such as "/dev/gvid" that is included in the DeviceFile line of the /etc/X11/XF86Config file. The setmon command is interactive and will present you with the possible monitor configurations allowable for the specified device. You should select one of the configurations that is listed by setmon as stereo capable. If none of the configurations indicate stereo capability, then your graphics device cannot be used for OpenGL stereo rendering. 40 Chapter 3

  • 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
40
running hp's implementation of the OpenGL
stereo application
Following are the steps required to run hp's implementation of OpenGL
"stereo in a window" mode:
1. Find out if your monitor is currently configured in a mode that
supports stereo. This can be done by running the command:
export DISPLAY=myhost:x.y
/opt/graphics/OpenGL/contrib/xglinfo/xglinfo
The output from xglinfo lists the OpenGL capabilities of the specified
X Display, and includes all GLX visuals that are supported.
If one or
more of the listed GLX visuals are marked as stereo capable, then
you can proceed to step three.
2. If none of the GLX visuals support stereo, you will need to
re-configure your monitor to a configuration that supports stereo. For
the Visualize fx family of graphics cards this is a single step process
of re-configuring. For the HP FireGL-UX and ATI FireGL X1/X3
this
is a two step process.
Note that you can use the "Monitor Configuration" component of
SAM to re-configure you monitor, or you can execute the following
command:
/opt/graphics/common/bin/setmon graphics device
Note that for Visualize fx cards,
graphics device
is a name such as
"
/dev/crt
" that is included on the Screen line in the
/etc/X11/X*screens
file for the X Server that you want to configure
for stereo. For FireGL cards graphics device is a name such as
"/dev/gvid" that is included in the DeviceFile line of the
/etc/X11/XF86Config file.
The setmon command is interactive and will present you with the
possible monitor configurations allowable for the specified device.
You should select one of the configurations that is listed by setmon as
stereo capable. If none of the configurations indicate stereo
capability, then your graphics device cannot be used for OpenGL
stereo rendering.