Skip to main content

Transforming Scene Graphs Using Triple Graph Grammars – A Practice Report

  • Conference paper
Applications of Graph Transformations with Industrial Relevance (AGTIVE 2007)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 5088))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Eberly, D.H.: 3D Game Engine Architecture, Kapitel 3. Morgan Kaufmann, San Francisco (2005)

    Google Scholar 

  2. FBX Whitepaper (2007), http://images.autodesk.com/emea_dach_main_germany/files/fbx_whitepaper.pdf

  3. 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)

    Google Scholar 

  4. Fujaba Homepage, Universität Paderborn (2007), http://www.fujaba.de/

  5. 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)

    Google Scholar 

  6. Homepage of JavaCC (2007), https://javacc.dev.java.net/

  7. JJTree Reference Documentation (2007), https://javacc.dev.java.net/doc/JJTree.html

  8. Merz, A.: JavaCC, JJTree und das Visitor-Pattern (2006), http://www.alexander-merz.com/print_38.html

  9. OSG Homepage (2007), http://www.openscenegraph.com/

  10. Pratt, T.W.: Pair grammars, graph languages and string-to-graph translations. Journal of Computer and System Sciences 5, 560–595 (1971)

    Article  MathSciNet  MATH  Google Scholar 

  11. 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)

    Chapter  Google Scholar 

  12. Scenegraphs: Past, Present and Future (2007), http://www.realityprime.com/articles/scenegraphs-past-present-and-future

  13. 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

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics