An OpenGL rendering context with shared context support for SWT that is independent of the OpenGL implementation (for example LWJGL). Release Notes ============= This release has been built and tested on XP (SP2) with LWJGL 0.92, SWT 3.0 and J2SE 1.5.0-b64. LWJGL and SWT libraries are provided in the distribution for convenience only. Use whatever versions are appropriate for your environment that meet the requirements listed below. See com.realityinteractive.opengl.swt.GLContext as well as the tests in "test-java" for more information. FAQ === o Is it cross platform? Yes, though there is currently only a single implementation (for win32). It follows the SWT paradigm of swapping out JAR's and native libraries. If you're familiar with SWT and how it works across platforms, then this will be old hat. o How do I use it? Fulfill the requirements listed below. There is one primary class to be concerned with: com.realityinteractive.opengl.swt.GLContext Check this class for use information. o How do I use it with LWJGL? See the "test-java" folder for some smoke tests. o Isn't there an SWT implementation already in the works in LWJGL? Yes, but I felt it was necessary to create an OpenGL implementation independent binding for SWT in the style of SWT. This software is an alternative to that provided in LWJGL. o How do I use it with JOGL? I don't personally know. You need somehow get at the GL and GLU objects. When I get a few minutes of spare time I will look into it. o Can I use it in an Eclipse plugin? In theory, yes, but unfortunately I have not yet tested this configuration. Others have reported great success. Requirements ============ Runtime: o Win32 platform supported by SWT and that has OpenGL support o Java 1.4.2_02 and higher o SWT 2.1 and higher o OpenGL implementation: - LWJGL 0.9 and higher (org.lwjgl.opengl.GLContext.useContext(Object) is required). - Other OpenGL implementations have not been tested (such as JOGL). Build: o Ant 1.5.2 or greater o VC6 (nmake.exe required) o Java 1.4.2_02 Change Log ========== 0.7.1: o Incorporated changes in smoke tests for: http://puppygames.net/forums/viewtopic.php?t=647 License ======= CLP 1.0 (the same as SWT) Future ====== o Controller, Keyboard and Mouse support. Currently the SWT keyboard and mouse can be used as is. Thanks ====== o Grant Gayed and the SWT team for the initial implementation o The LWJGL guys for writing code such that this implementation is possible Support ======= The software is provided as-is. I can fix bugs as I have time. Because the source was released under the CPL (1.0), anyone can make changes. I very rarely peruse the various forums so if there is an immediate question or problem, feel free to email me at the address below. Contact ======= Rob Grzywinski rgrzywinski@realityinteractive.com