Technical Notes |
|
This technical note answers common questions about Reflection X and OpenGL. Topics covered in this note include displaying OpenGL-based applications, OpenGL extensions, DGL errors, IRIS GL, color support in OpenGL, and OpenGL support for Microsoft Windows.
OpenGL is a vendor-neutral, industry-standard API originally developed by Silicon Graphics, Inc. (SGI) for 2D and 3D visual applications. OpenGL allows programmers to produce high-quality color images of 2D and 3D objects. It is a rendering-only API providing 2D and 3D graphics functions, including modeling, transformations, color, lighting, and smooth shading, as well as advanced features like texture mapping. OpenGL is independent of the operating system (it doesn't create or destroy windows, resize or stack them, and so on). It has been integrated with Microsoft Windows, the X Window System on UNIX, and OS/2. GLX is an X extension that serves as the "glue-logic" between the OpenGL 3D renderer and Reflection X.
The GLX extension allows X windows applications to use the OpenGL support in Microsoft Windows through Reflection X. Reflection X supports Windows software rendering, 3D accelerated, and OpenGL accelerated video modes. CAD/CAM, modeling, animation, and simulation applications use the GLX support to take advantage of OpenGL 2D and 3D advanced imaging support. OpenGL support is available on all video cards; however, OpenGL specific video cards run faster and often offer additional functionality.
Reflection X supports all standard and some proprietary OpenGL extensions. The version of GLX used by Reflection X is based on the version of GLX the client side is using. Reflection supports GLX versions 1.1 through 1.3.
To determine which extensions your host supports, check its man pages.
Reflection X does not support SGI (Silicon Graphics, Inc.) IRIS GL applications. IRIS GL clients are different from OpenGL/GLX based clients in that they can be run only on hardware that supports IRIS GL, which uses Distributed Graphics Library (DGL) utilities for doing remote client/server processing.
OpenGL/GLX is now the official strategic interface for 3D computer graphics at SGI. SGI has promoted the use of OpenGL for several years now, and most newer 3D applications will be written to the OpenGL API. Many UNIX workstation vendors have licensed OpenGL for use in their X software products (IBM, Digital, and Sun all have add-on OpenGL software products available). All SGI IRIX machines now come with OpenGL.
For further information about SGI, IRIS GL and OpenGL/GLX, see the SGI web site at http://www.sgi.com/products/software/opengl/.
If an IRIS GL client attempts to make a DGL socket connection to the DGL daemon on the remote X server (the PC running Reflection X), an error message will occur, such as the following:
Display problems can often be solved by changing the video resolution within your Windows operating system. Running in higher depths like 16-bit, 24-bit, or 32-bit can yield better results when displaying 3D graphics. Follow the steps below to change this setting.
In Windows XP, select High (24-bit), or Highest (32-bit).
In Windows 2000, select True Color (24-bit), or True Color (32-bit).
In Windows NT, select 65536 Colors or True Color. (Note: As of version 13.0, Reflection X no longer supports this platform.)
If you are accessing a Sun Solaris host and are experiencing difficulties launching an OpenGL application, such as the 3D wheel demo application, you may want to apply Sun patch 113887, which focuses on OpenGL libraries.
Warning: This is a Sun patch. Read and review the patch information to decide if applying this patch in your host environment is appropriate.
To locate the patch, go to the SunSolve Patch Support Portal at http://sunsolve.sun.com/pub-cgi/show.pl?target=patchpage, enter the patch ID, 113887, in the PatchFinder field, and click Find Patch.