The core implementation of the OpenGL Java bindings.

The package contains the main public interface that application code can use to render OpenGL drawing. Other packages below this are implementation-specific and thus not to be used by applications.

To use this package, you will need set the system property opengl.factory.class.name. There are two ways of doing this: command line and code.

Setting it using the command line:

 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;
	  }
	});

Implementation Notes

The following features are not implemented currently: