Thanks for this.

But how to use it ?
I have tried to extend OpenGLLayer in my project like this:
package fr.ign.cogit.appli.risques.ihm;
import org.xith3d.render.config.OpenGLLayer;
public class MyOpenGLLayer extends OpenGLLayer {
public static final OpenGLLayer JOGL_QT = new MyOpenGLLayer("JOGL_QT", "org.xith3d.render.jsr231.DisplayModeSelectorAWTImpl", "fr.ign.cogit.appli.risques.ihm.CanvasPeerImplQtJambi");
/**
* @param name
* @param displayModeSelectorClassName
* @param canvasPeerImplClassName
*/
protected MyOpenGLLayer(String name, String displayModeSelectorClassName,
String canvasPeerImplClassName) {
super(name, displayModeSelectorClassName, canvasPeerImplClassName);
}
}
Then in my app, i instance the canvas like this :
canvas = Canvas3DFactory.create(MyOpenGLLayer.JOGL_QT, 800, 600, 16, false, this);
But i have got an error :
Caused by: java.lang.ArrayIndexOutOfBoundsException: 5
at org.xith3d.render.config.OpenGLLayer.<init>(OpenGLLayer.java:299)
this line:
array[ this.ordinal ] = this;
Have i missed something, or should you increase this array ?
