Version 4 (modified by peko, 16 years ago) (diff) |
---|
Analysis
Overview
Choose one of the libraries in PAGE_SCENE_IMPL_COMMONS_R0 and use it to make a full scene implementation.
Task requirements
- Choose a graphics library.
- Make a module.
- It should be capable to display all elements defined in SCENE_COMMONS.
- It should make use of the things done in PAGE_SCENE_IMPL_COMMONS.
- It is supposed to be minimalistic and not-so-well-optimised implementation.
- The module should provide an extension to the scene model.
- It will be used by the base scene library module to display a built-up page object model.
Task result
The result of this task should be source code.
Implementation idea
Related
How to demo
- Show the new outlook of Sophie 2.0.
- Explain how the library chosen is used to handle harder aspects of the task.
Design
- We will use JAVA !OpenGL as a library for the main implementation of the base scene.
- A module for the main implementation of the base.scene things => JOGL module
- Should provide extensions for the extension point of the base.scene =>
public static class SceneEngineExtensionPoint extends SophieExtensionPoint<SceneEngine> { @Override public void extensionRegistered(SophieExtension<SceneEngine> extension) { // TODO Auto-generated method stub } @Override public void extensionUnregistered(SophieExtension<SceneEngine> extension) { // TODO Auto-generated method stub } @Override public Class<SceneEngine> getExtensionClass() { return SceneEngine.class; } }
- The base scene extension point is for SceneEngine so the base.scene.jogl module should provide an implementation of the SceneEngine inretface.
- For the time being a SimpleSceneEngine is implemented to serve as s demo. It uses !java2d.
- It should later be exchanged for Java OpenGL implementation.
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
Log