| 31 | * We will use JAVA !OpenGL as a library for the main implementation of the base scene. |
| 32 | * A module for the main implementation of the base.scene things => [source:trunk/sophie2-platform/modules/org.sophie2.base.scene.jogl JOGL module] |
| 33 | * Should provide extensions for the extension point of the base.scene => |
| 34 | {{{ |
| 35 | public static class SceneEngineExtensionPoint extends |
| 36 | SophieExtensionPoint<SceneEngine> { |
| 37 | |
| 38 | @Override |
| 39 | public void extensionRegistered(SophieExtension<SceneEngine> extension) { |
| 40 | // TODO Auto-generated method stub |
| 41 | |
| 42 | } |
| 43 | |
| 44 | @Override |
| 45 | public void extensionUnregistered(SophieExtension<SceneEngine> extension) { |
| 46 | // TODO Auto-generated method stub |
| 47 | |
| 48 | } |
| 49 | |
| 50 | @Override |
| 51 | public Class<SceneEngine> getExtensionClass() { |
| 52 | return SceneEngine.class; |
| 53 | } |
| 54 | |
| 55 | } |
| 56 | }}} |
| 57 | * The base scene extension point is for !SceneEngine so the base.scene.jogl module should provide an implementation of the !SceneEngine inretface. |
| 58 | * For the time being a !SimpleSceneEngine is implemented to serve as s demo. It uses !java2d. |
| 59 | * It should later be exchanged for Java OpenGL implementation. |