Abstract
This paper shows the usage of Triple Graph Grammars for a project in the domain of computer graphics. This project aims to specify a conversion tool for two different computer graphic file formats: FBX and OSG. Our approach first builds a parse tree of the source file, then converts this tree into a parse tree of the target format using TGGs and then dumps the target file. Our approach relies on Java based technologies like JavaCC, the Fujaba Toolsuite and the MoTE TGG engine. The paper will show that those tools integrate very well. We will present our TGG-based approach for file conversion and demonstrate this with the FBX2OSG case study.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Eberly, D.H.: 3D Game Engine Architecture, Kapitel 3. Morgan Kaufmann, San Francisco (2005)
FBX Whitepaper (2007), http://images.autodesk.com/emea_dach_main_germany/files/fbx_whitepaper.pdf
Fischer, T., Niere, J., Torunski, L.: Konzeption und Realisierung einer integrierten Entwicklungsumgebung für UML, Java und Stroy-Driven-Modeling (german), Diploma thesis, Universität-Gesamthochschule Paderborn (1998)
Fujaba Homepage, Universität Paderborn (2007), http://www.fujaba.de/
Giese, H., Wagner, R.: Incremental Model Synchronization with Triple Graph Grammars. In: Proc. of the 9th International Conference on Model Driven Engineering Languages and Systems (MoDELS), Genova, Italy (October 2006)
Homepage of JavaCC (2007), https://javacc.dev.java.net/
JJTree Reference Documentation (2007), https://javacc.dev.java.net/doc/JJTree.html
Merz, A.: JavaCC, JJTree und das Visitor-Pattern (2006), http://www.alexander-merz.com/print_38.html
OSG Homepage (2007), http://www.openscenegraph.com/
Pratt, T.W.: Pair grammars, graph languages and string-to-graph translations. Journal of Computer and System Sciences 5, 560–595 (1971)
Schürr, A.: Specification of graph translators with triple graph grammars. In: Mayr, E.W., Schmidt, G., Tinhofer, G. (eds.) WG 1994. LNCS, vol. 903, pp. 151–163. Springer, Heidelberg (1995)
Scenegraphs: Past, Present and Future (2007), http://www.realityprime.com/articles/scenegraphs-past-present-and-future
Incremental Model Transformation and Synchronization with Triple Graph Grammars (2006), http://wwwcs.uni-paderborn.de/cs/ag-schaefer/Lehre/PG/Fujaba/projects/tgg/index.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Aschenbrenner, N., Geiger, L. (2008). Transforming Scene Graphs Using Triple Graph Grammars – A Practice Report. In: Schürr, A., Nagl, M., Zündorf, A. (eds) Applications of Graph Transformations with Industrial Relevance. AGTIVE 2007. Lecture Notes in Computer Science, vol 5088. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-89020-1_3
Download citation
DOI: https://doi.org/10.1007/978-3-540-89020-1_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-89019-5
Online ISBN: 978-3-540-89020-1
eBook Packages: Computer ScienceComputer Science (R0)