Babylon.js Essentials
eBook - ePub

Babylon.js Essentials

Julien Moreau-Mathis

Share book
200 pages
ePUB (mobile friendly)
Available on iOS & Android
eBook - ePub

Babylon.js Essentials

Julien Moreau-Mathis

Book details
Book preview
Table of contents

About This Book

Understand, train, and be ready to develop 3D Web applications/video games using the Babylon.js framework, even for beginnersAbout This Book• Understand the basics of 3D (along with the theory) before practicing• Each mini-project provides previous features, alongside the new feature you are learning, to supply the examples• Learn from the best of the best, a developer at Microsoft, FranceWho This Book Is ForBabylon.JS Essentials is intended for developers who want to enter the world of 3D development for the Web, or developers who want to add the Babylon.js framework to their skill set. The notion of Oriented Object Programming would be helpful to understand the architecture of the Babylon.js framework. Also, a familiarity with Web development would be useful, to understand the principles used.What You Will Learn• Understand what the TypeScript language is and its benefits (compared to JavaScript) in large projects such as 3D engines• Learn the basics of 3D using Babylon.js without too much theory but with an emphasis on practice, for a better understanding of the architecture• Know the usage of Material—a fundamental principle of 3D engines in Babylon.js—and then customize the appearance of 3D objects• Integrate collisions and physics in gameplay. Understand the notion of impostor for physics simulation• Manage, create, and spatialize audio tracks in 3D scenes• Go further with the Babylon.js framework to create actions on events• Create rendering effects provided by the Babylon.js framework, such as post-processesIn DetailAre you familiar with HTML5? Do you want to build exciting games and Web applications? Then explore the exciting world of game and Web development with one of the best frameworks out there: Babylon.JS.Starting from the beginning, the book introduces the required basics for 3D development and the knowledge you need to use the Babylon.js framework. It focuses on the simplicity provided by Babylon.js and uses a combination of theory and practice. All the chapters are provided with example files ready to run; each example file provides the previously learned features of the framework. Finally, developers will be ready to easily understand new features added to the framework in the future.Style and approachThe book is a comprehensive guide packed with ready-to-run examples with a mix of theory and practice.

Frequently asked questions
How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Babylon.js Essentials an online PDF/ePUB?
Yes, you can access Babylon.js Essentials by Julien Moreau-Mathis in PDF and/or ePUB format, as well as other popular books in Computer Science & Open Source Programming. We have over one million books available in our catalogue for you to explore.



Babylon.js Essentials

Babylon.js Essentials

Copyright Š 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Publishing Month: February 2016
Production reference: 1230216
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
B3 2PB, UK.
ISBN 978-1-78588-479-5


Julien Moreau-Mathis
Copy Editors
Vibha Shukla
Sergio MartĂ­nez-Losa del RincĂłn
Project Coordinator
Bijal Patel
Commissioning Editor
Dipika Gaonkar
Safis Editing
Acquisition Editor
Larissa Pinto
Meeta Rajani
Mariammal Chettiyar
Content Development Editor
Prashanth G Rao
Disha Haria
Technical Editor
Bharat Patil
Production Coordinator
Conidon Miranda

About the Author

Julien Moreau-Mathis is a fan of 3D development. He started working with 3D development at the age of 17 and created a C++ framework named Community Play 3D. Now, he is a developer at Microsoft and he takes immense pleasure in being a part of the Babylon.js team.

About the Reviewer

Sergio MartĂ­nez-Losa del RincĂłn lives in Spain. He is a software engineer and entrepreneur.
He has always enjoyed writing technical documents as well as programming in several languages. He is always keen on learning new programming languages and facing new challenges. He has been creating applications and games for iPhone, Macintosh, Android, Google Glass, Unity3D, and Cocos2d-x. Sergio likes VR technologies and all kinds of challenges. He also likes web programming and designing good APIs for mobile applications.
So far, Sergio has developed all kinds of applications in Java, C++, Objective-C, PHP, and various other languages. He is now developing products in the IoT field using SaaS technologies. Sergio likes to explore cloud services in order to expand the application possibilities, he also likes machine learning technologies and natural language processing to study new ways of using big data.
You can see a part of his work here at

For support files and downloads related to your book, please visit
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details.
At , you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser

Free access for Packt account holders

If you have an account with Packt at, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.


3D development has always been something mystic. Starting from the beginning, this book introduces the required basics of 3D development and the knowledge you require to use the Babylon.js framework. It focuses on the simplicity provided by Babylon.js and uses a combination of theory and practice. All the chapters are provided with example files that are ready to run; each example file provides the previously learned features of the framework. Finally, the developers will be ready to easily understand the new features that are added to the framework in the future and use the more advanced features only using the documentation.

What this book covers

Chapter 1, Babylon.js and the TypeScript Language, provides a quick introduction to the Babylon.js story and a course on a fundamental that is the TypeScript language.
Chapter 2, The Fundamentals of Babylon.js and Available Tools, starts with the Babylon.js framework and creates the first 3D scene, showing the simplicity of the framework along with the theory.
Chapter 3, Create, Load, and Draw 3D Objects on the Screen, starts with the concepts of Chapter 2, The Fundamentals of Babylon.js and Available Tools, let's introduce the right way to create 3D scenes and work with 3D artists.
Chapter 4, Using Materials to Customize 3D Objects Appearance, explains the notion of materials in 3D engines. In other words, let's unleash the Babylon.js ...

Table of contents

Citation styles for Babylon.js Essentials
APA 6 Citation
Moreau-Mathis, J. (2016). Babylon.js Essentials (1st ed.). Packt Publishing. Retrieved from (Original work published 2016)
Chicago Citation
Moreau-Mathis, Julien. (2016) 2016. Babylon.Js Essentials. 1st ed. Packt Publishing.
Harvard Citation
Moreau-Mathis, J. (2016) Babylon.js Essentials. 1st edn. Packt Publishing. Available at: (Accessed: 14 October 2022).
MLA 7 Citation
Moreau-Mathis, Julien. Babylon.Js Essentials. 1st ed. Packt Publishing, 2016. Web. 14 Oct. 2022.