Freiberg University of Mining and Technology Model-Driven Iterative Development of 3D Web-Applications Using SSIML, X3D and JavaScript The University of Resources. Since 1765. Matthias Lenk Technical University Freiberg, Germany Arnd Vitzthum University of Cooperative Education Dresden, Germany Bernhard Jung Technical University Freiberg, Germany Funded by WEB3D 2012 - 17th International Conference on 3D Web Technology
34
Embed
Model-Driven Iterative Development of 3D Web-Applications ...web3d2012.web3d.org/presentations/session6/modeldriven.pdfBackup: Eclipse Framework and Editor Eclipse Modeling Tools:
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Freiberg University of Mining and Technology
Model-Driven Iterative Development of 3D Web-Applications
Using SSIML, X3D and JavaScript
The University of Resources. Since 1765.
Matthias Lenk Technical University Freiberg, GermanyArnd Vitzthum University of Cooperative Education Dresden, GermanyBernhard Jung Technical University Freiberg, Germany
Funded by
WEB3D 2012 - 17th International Conferenceon 3D Web Technology
Table of Contents
1. Preliminaries1.1 Motivation1.2 MDE for 3D web-applications with example
2. Roundtrip3D2.1 Requirements2.2 Approach of RTE2.3 Transformations2.4 Merging
3. Conclusion3.1 Summary3.2 Outlook
● Application logic and 3D content→ two different developer groups: 3D modelers, programmers
● E. g. X3D and JavaScript
● Traditionally: code-centric and iterative development
1.1 Preliminaries: Motivation
1
3D Modeller
……..……..……..……..
GeneratedJavaScript
code
GeneratedX3Dcode
……..……..……..……..EditedX3Dcode
3D Authoring
Software-Designer
Programmer
……..……..……..……..Edited
JavaScriptcode
Programming
Derived domain model
……..……..……..……..
Modeling
Forward engineering
Reverse engineering
Preserve modifications
1.1 Preliminaries: Motivation
1
∑
● Iterative development
● Improvements with model-driven engineering [1] :
● communication aid
● contract
● code generation
➔ concurrent development
→ Round-trip engineering [2]
3D Modeller
……..……..……..……..
GeneratedJavaScript
code
GeneratedX3Dcode
……..……..……..……..EditedX3Dcode
3D Authoring
Software-Designer
Programmer
……..……..……..……..Edited
JavaScriptcode
Programming
Derived domain model
……..……..……..……..
Modeling
1. Preliminaries1.1 Motivation1.2 MDE for 3D web-applications with example
2. Roundtrip3D2.1 Requirements2.2 Approach of RTE2.3 Transformations2.4 Merging
3. Conclusion3.1 Summary3.2 Outlook
Table of Contents
● 3D content and application code → multiple target languages (TL): X3D/ X3DOM, JavaScript
● Example application:
1.2 Preliminaries: Running example
2
● Graphical domain specific language: SSIML (Scene Structure and Integration Modeling Language) [1]
1.2 Preliminaries: MDE for 3D applications
3
● Scene graph and application components at high grade of abstraction
1. Preliminaries1.1 Motivation1.2 MDE for 3D web-applications with example
2. Roundtrip3D2.1 Requirements2.2 Approach of RTE2.3 Transformations2.4 Merging
3. Conclusion3.1 Summary3.2 Outlook
Table of Contents
Java
X3DOM
JavaScript X3D
...
2.1 Roundtrip3D: Requirements
4
➢ Model and code stored separately
➢ Model derived from source code
● Different granularity of model and code
● Heterogeneous target languages with different scope
● Common methods in RTE tools:
➔ Synchronization issue between code bases and model
sync
1. Preliminaries1.1 Motivation1.2 MDE for 3D web-applications with example
2. Roundtrip3D2.1 Requirements2.2 Approach of RTE2.3 Transformations2.4 Merging
3. Conclusion3.1 Summary3.2 Outlook
Table of Contents
● One common intermediate representation for languages and model
VITZTHUM , A. 2008. Entwicklungsunterstützung für interaktive 3D-Anwendungen. Ein modellgetriebener Ansatz. Dissertation, Ludwigs-Maximilians-University München. In German.
VITZTHUM , A., AND JUNG , B. 2010. Iterative model driven VR and AR development with round trip engineering. In Proc. SEARIS Workshop at the IEEE Virtual Reality 2010 Conference, Shaker.
FIGUEROA , P., GREEN , M., AND HOOVER , H. J. 2002. Intml: a description language for vr applications. In Web3D ’02: Proceedings of the seventh international conference on 3D Web technology, ACM, New York, NY, USA, 53–58.
MILLER , J., AND MUKERJI , J. 2003. Mda guide version 1.0.1. Tech. rep., Object Management Group (OMG).
CHAWATHE, S.S., RAJARAMAN, A., GARCIA-MOLINA, H., WIDOM, J.: Change detection in hierarchically structured information. SIGMOD Rec. 25, 493–504 (June 1996)
ROSE, L.M., PAIGE, R.F., KOLOVOS, D.S., POLACK, F.: The epsilon generation language. In: Schieferdecker, I., Hartman, A. (eds.) Model Driven Architecture - Foundations and Applications, 4th European Conference, ECMDA-FA 2008, Berlin, Germany, June 9-13, 2008. Proceedings.Lecture Notes in Computer Science, vol. 5095, pp. 1–16. Springer (2008)
OLDEVIK, J.: MOFScript Eclipse Plug-In: Metamodel-Based Code Gen-eration. In: Proceedings of the Eclipse Technology eXchange workshop(eTX) (2006)
JONES, J.: Abstract syntax tree implementation idioms. Pattern Languages of Program Design (2003), proceedings of the 10th Conference on Pattern Languages of Programs (PLoP2003)