Skip to main content
Top

2018 | OriginalPaper | Chapter

Write-Once, Transpile-Everywhere: Re-using Motion Controllers of Virtual Humans Across Multiple Game Engines

Authors : Fabrizio Nunnari, Alexis Heloir

Published in: Augmented Reality, Virtual Reality, and Computer Graphics

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Transpilation allows to write code once and re-use it across multiple runtime environments. In this paper, we propose a software development practice to implement once the motion controllers of virtual humans and re-use the implementation in multiple game engines. In a case study, three common human behaviors – blinking, text-to-speech, and eye-gaze – were developed in the Haxe programming language and deployed in the free, open-source Blender Game Engine and the commercial Unity engine. Performance tests show that transpiled code executes within 67% faster to 127% slower with respect to an implementation manually written in the game engine target languages.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Bouraqadi, N., Mason, D.: Mocks, Proxies, and Transpilation as development strategies for web development. In: Proceedings of the 11th Edition of the International Workshop on Smalltalk Technologies, IWST 2016, pp. 10:1–10:6. ACM, New York (2016) Bouraqadi, N., Mason, D.: Mocks, Proxies, and Transpilation as development strategies for web development. In: Proceedings of the 11th Edition of the International Workshop on Smalltalk Technologies, IWST 2016, pp. 10:1–10:6. ACM, New York (2016)
2.
go back to reference Bysiek, M., Drozd, A., Matsuoka, S.: Migrating legacy Fortran to Python while retaining Fortran-level performance through transpilation and type hints. In: 2016 6th Workshop on Python for High-Performance and Scientific Computing (PyHPC), pp. 9–18. IEEE, November 2016 Bysiek, M., Drozd, A., Matsuoka, S.: Migrating legacy Fortran to Python while retaining Fortran-level performance through transpilation and type hints. In: 2016 6th Workshop on Python for High-Performance and Scientific Computing (PyHPC), pp. 9–18. IEEE, November 2016
3.
go back to reference Cannasse, N.: Using HaXe. In: The Essential Guide to Open Source Flash Development, pp. 227–244. Apress, Berkeley (2008) Cannasse, N.: Using HaXe. In: The Essential Guide to Open Source Flash Development, pp. 227–244. Apress, Berkeley (2008)
4.
go back to reference Fang, Y., Nakashima, R., Matsumiya, K., Kuriki, I., Shioiri, S.: Eye-head coordination for visual cognitive processing. PloS One 10(3) (2015)CrossRef Fang, Y., Nakashima, R., Matsumiya, K., Kuriki, I., Shioiri, S.: Eye-head coordination for visual cognitive processing. PloS One 10(3) (2015)CrossRef
5.
go back to reference Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994) Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994)
6.
go back to reference Hirzel, M., Klaeren, H.: Code coverage for any kind of test in any kind of transcompiled cross-platform applications. In: Proceedings of the 2nd International Workshop on User Interface Test Automation, INTUITEST 2016, pp. 1–10. ACM, New York (2016) Hirzel, M., Klaeren, H.: Code coverage for any kind of test in any kind of transcompiled cross-platform applications. In: Proceedings of the 2nd International Workshop on User Interface Test Automation, INTUITEST 2016, pp. 1–10. ACM, New York (2016)
7.
go back to reference Johnston, P.R., Rodriguez, J., Lane, K.J., Ousler, G., Abelson, M.B.: The interblink interval in normal and dry eye subjects. Clin. Ophthalmol. 7, 253–259 (2013)CrossRef Johnston, P.R., Rodriguez, J., Lane, K.J., Ousler, G., Abelson, M.B.: The interblink interval in normal and dry eye subjects. Clin. Ophthalmol. 7, 253–259 (2013)CrossRef
8.
go back to reference Maheshwari, Y., Reddy, Y.R.: Transformation of flash files to HTML5 and JavaScript. In: Proceedings of the ASWEC 2015 24th Australasian Software Engineering Conference, pp. 23–27. ACM, New York (2015) Maheshwari, Y., Reddy, Y.R.: Transformation of flash files to HTML5 and JavaScript. In: Proceedings of the ASWEC 2015 24th Australasian Software Engineering Conference, pp. 23–27. ACM, New York (2015)
9.
go back to reference Ponticelli, F., McColl-Sylveste, L.: Professional HaXe and Neko. Wiley, Hoboken (2008) Ponticelli, F., McColl-Sylveste, L.: Professional HaXe and Neko. Wiley, Hoboken (2008)
10.
go back to reference Schrder, M., Trouvain, J.: The German text-to-speech synthesis system MARY: a tool for research, development and teaching. Int. J. Speech Technol. 6(4), 365–377 (2003)CrossRef Schrder, M., Trouvain, J.: The German text-to-speech synthesis system MARY: a tool for research, development and teaching. Int. J. Speech Technol. 6(4), 365–377 (2003)CrossRef
Metadata
Title
Write-Once, Transpile-Everywhere: Re-using Motion Controllers of Virtual Humans Across Multiple Game Engines
Authors
Fabrizio Nunnari
Alexis Heloir
Copyright Year
2018
DOI
https://doi.org/10.1007/978-3-319-95270-3_37

Premium Partner