j3d.org OpenGL SWT Bindings

j3d.org OpenGL SWT

An implementation of the javax.media.opengl API that interacts with the SWT toolkit.

See:
          Description

Packages
org.j3d.opengl.swt The core implementation of the OpenGL Java bindings.

 

An implementation of the javax.media.opengl API that interacts with the SWT toolkit.

This implementation takes the basic JOGL Reference Implementation and modifies it to use SWT widgets instead of the normal AWT widgets. To make use of it, you need to set the system property opengl.factory.class.name to the value org.j3d.opengl.swt.SWTDrawableFactory This can be done on the command line using:

 java -Dopengl.factory.class.name=org.j3d.opengl.swt.SWTDrawableFactory ...

or using a privileged block of code:

  AccessController.doPrivileged(new PrivilegedAction() {
	  public Object run() {
		System.setProperty("opengl.factory.class.name",
		                   "org.j3d.opengl.swt.SWTDrawableFactory");
		return null;
	  }
	});

Licensing

The code is licensed using the BSD-style license.


j3d.org OpenGL SWT Bindings

Latest Info from http://www.j3d.org/
Copyright © 2003 - 2005 j3d.org