Skip to main content

Procedural Content Generation via Machine Learning in 2D Indoor Scene

  • Conference paper
  • First Online:
Augmented Reality, Virtual Reality, and Computer Graphics (AVR 2020)

Abstract

The article proposes a method of combining multiple deep forward neural networks to generate a distribution of objects in a 2D scene. The main concepts of machine learning, neural networks and procedural content generation concerning this intention are presented here. Additionally, these concepts are put into the context of computer graphics and used in a practical example of generating an indoor 2D scene. A method of vectorization of input datasets for training forward neural networks is proposed. Scene generation is based on the consequent placement of objects of different classes into the free space defining a room of a certain shape. Several evaluate methods have been proposed for testing the correctness of generation.

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 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.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

References

  1. Abadi, M. et al.: TensorFlow: A system for large-scale machine learning. In: Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation, pp. 21–28. Savannah USENIX Association, ISBN 978-1-931971-33-1. https://www.usenix.org/system/files/conference/osdi16/osdi16-abadi.pdf (2016). Accessed 20 Feb 2020

  2. Goodfellow, I. et al.: Generative adversarial nets. In: Ghahramani, Z., Welling, M. (eds.) Advances in Neural Information Processing Systems, pp. 2672–2680. Curran Associates, http://papers.nips.cc/paper/5423-generative-adversarial-nets.pdf (2016). Accessed 20 Feb 2020

  3. Jebara, T.: Machine Learning Discriminative and Generative. Springer, USA (2004)

    Google Scholar 

  4. Goodfellow, I.: Tutorial: Generative Adversarial Networks. In: NIPS, http://arxiv.org/abs/1701.00160 (2016). Accessed 20 Feb 2020

  5. Suarez, P.L., Sappa, A.D., Victimilla, B.X.: Infrared image colorization based on a triplet DCGAN architecture. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pp. 212–217, Honolulu, HI, USA (2017). ISBN: 978-1-5386-0733-6. https://doi.org/10.1109/cvprw.2017.32

  6. Isola, P., Zhou, J.Y., Efros, T.A.: Image-to-image translation with conditional adversarial networks. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (2016). ISBN: 978-1-5386-0457-1. http://arxiv.org/abs/1611.07004

  7. Summerwille, A. et al.: Content Generation via Machine Learning (PCGML). http://arxiv.org/abs/1702.00539 (2017). Accessed 20 Feb 2020

  8. Summerwille, A., Mateas, M.: Super Mario as a string: Platformer level generation via LSTMs. http://arxiv.org/abs/1603.00930 (2016). Accessed 20 Feb 2020

  9. Jain, R., Isaksen, A., Holmga, C., Togelius, J.: Autoencoders for level generation, repair, and recognition. In: Proceedings of the ICCC Workshop on Computational Creativity and Games, p. 9 (2016)

    Google Scholar 

  10. Wick, Christoph: Deep learning. Informatik-Spektrum 40(1), 103–107 (2016). https://doi.org/10.1007/s00287-016-1013-2

    Article  Google Scholar 

  11. Fisher, M. et al.: Example-based synthesis of 3D object arrangements. ACM Trans. Graph. 31(6), 1-11 (2012)

    Google Scholar 

  12. Giacomello, E., Lanzi, P., L., Loiacono, D.: DOOM level generation using generative adversarial networks. In: IEEE Games, Entertainment, Media Conference (GEM) (2018)

    Google Scholar 

  13. Beckham, C., Pal, C.: A step towards procedural terrain generation with GANs. http://arxiv.org/abs/1707.03383 (2017). Accessed 15 Mar 2019

  14. Kenney: https://www.kenney.nl/assets (2019). Accessed 15 Mar 2019

Download references

Acknowledgments

This work and the contribution were supported by a project of Students Grant Agency (SPEV 2020) - FIM, University of Hradec Kralove, Czech Republic. The authors of this paper would like to thank Milan Košťák, a PhD student of Applied Informatics at the University of Hradec Kralove, for help with implementation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bruno Ježek .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ježek, B., Ouhrabka, A., Slabý, A. (2020). Procedural Content Generation via Machine Learning in 2D Indoor Scene. In: De Paolis, L., Bourdot, P. (eds) Augmented Reality, Virtual Reality, and Computer Graphics. AVR 2020. Lecture Notes in Computer Science(), vol 12242. Springer, Cham. https://doi.org/10.1007/978-3-030-58465-8_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-58465-8_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-58464-1

  • Online ISBN: 978-3-030-58465-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics