Changes between Version 6 and Version 7 of PAGE_SCENE_IMPL_MAIN_R0


Ignore:
Timestamp:
01/07/09 19:49:44 (16 years ago)
Author:
gogov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PAGE_SCENE_IMPL_MAIN_R0

    v6 v7  
    2929 
    3030= Design = 
    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 => 
     31 * Use the JOGL library to provide an implementation of the SceneEngine and use it as the main implementation for rendering Scenes. 
     32 * Create a main.scene.jogl module which contains the implementation [source:trunk/sophie2-platform/modules/org.sophie2.main.scene.jogl JOGL module] 
     33 * Provide an extension point for SceneEngines of the base.scene module: 
    3434{{{ 
    3535public static class SceneEngineExtensionPoint extends 
    3636                        SophieExtensionPoint<SceneEngine> { 
     37}}} 
     38  * Provide an extension for SceneEngines of the main.scene.jogl module: 
    3739 
    38                 @Override 
    39                 public void extensionRegistered(SophieExtension<SceneEngine> extension) { 
    40                         // TODO Auto-generated method stub 
    4140 
    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. 
     41  * Create JoglSceneEngine class which implements the SceneEngine interface and is responsible for providing a JComponent from a Scene using the JOGL library. 
    6042 
    6143= Implementation =