JOGL
The JOGL bindings are those formallised within the Sun
Java Community Process. They use the package javax.media.opengl.
The formal bindings are unfortunately, dependent on AWT. A lot of work
has gone into trying to reduce this significantly, but there are still
many dependencies. There is a reference implemetation put out by Sun that
works under a limited set of circumstances. One of the biggest problems
has been the direct accessing of the native interface to AWT under the
covers. On Macs, in particularly, this can lock the entire computer up
solidly (see Eclipse
Bug ID 67384).
We also maintain a separate implementation of the JOGL
APIs that do cater to SWT directly that doesn't interact with AWT at all.
These are still under heavy development, but we're already using them as
part of Aviatrix3D and Xj3D on Win32 machines (other platforms following
rapidly). You can download and read more about these bindings on our JOGL
page. You can also find on that page an Eclipse
plugin implementation of the full SWT + JOGL implementation code. |