Babylon.js explained

Author:David Catuhe[1]
Developer:Microsoft[2] and contributors
Repo:https://github.com/BabylonJS/Babylon.js
Programming Language:TypeScript, JavaScript
Genre:3D engine
License:Apache License 2.0

Babylon.js is a JavaScript library and 3D engine for displaying real time 3D graphics in a web browser via HTML5. The source code is available on GitHub and distributed under the Apache License 2.0.

History and progress

It was initially released in 2013 under Microsoft Public License, having been developed by two Microsoft employees in their free time as a side-project. David Catuhe created the 3D game engine, while David Rousset implemented VR, Gamepad and IndexedDB support. The two were aided by artist Michel Rousseau, who contributed several 3D scenes. Babylon.js is based on an earlier game engine for Silverlight's WPF based 3D system.[3] [4] Catuhe's side-project then became his full-time job, and his team's primary focus.[5] In 2015, it was presented at the WebGL Conference in Paris.[6] Following its promotion[7] [8] and application in games,[9] video game publisher Ubisoft released an Assassin's Creed title built atop the library in 2014.[10] As of 2024, the project has more than 500 contributors.[11]

Its use has developed into a variety of fields such as:

Technical description

The source code is written in TypeScript and then compiled into a JavaScript version. The JavaScript version is available to end users via NPM or CDN who then code their projects in JavaScript accessing the engine's API. The Babylon.js 3D engine and user code is natively interpreted by web browsers supporting the HTML5 standard and WebGL to undertake the 3D rendering.

Modeling methodology

The 3D modeling process used is that of polygon modeling with triangular faces to be represented by shell models.[25] Limited use of constructive solid geometry is possible, though only as a transitional method to create the union, subtraction, and intersection of shell models.[26] Once created, models are rendered on an HTML 5 canvas element using a shader program which determines the pixel positions and colors on the canvas using the polygon models, the textures applied to each model, the scene camera and lights together with the 4 x 4 world matrices for each object which stores their position, rotation and scale.[27] The technique used to produce photo realistic images is that of physically based rendering[28] along with post-processing methods.[29] In order to simulate collisions between models and other real world physical actions, one of two physics engines need to be added as plugins: Cannon.js and Oimo.[30] Animation involving, for example, changes in position or color of models is accomplished by key frame animation objects called "animatables," while full character animation is achieved through the use of skeletons with blend weights.[31]

See also

Further reading

Notes and References

  1. Web site: David Catuhe - Group Engineering Manager - Microsoft . linkedin.com . 11 March 2021 . ... Creator and leader of Babylon.js open source project ....
  2. Web site: Microsoft Unveils Babylon.js 4.1, a Powerful Open Source Web Rendering Engine . winbuzzer.com . 28 February 2020 . 18 April 2021.
  3. Web site: Babylon.js - A WebGL Game Engine From Microsoft . Elliot . Iain . 2013-08-15 . i-programmer.info . 2018-09-06.
  4. Web site: Interview de David Rousset sur babylon.js . An Interview with David Rousset on Babylon.js . French . Dumand . Mickael . 2014-11-28 . ekino . 2018-09-07 . 2016-09-12 . https://web.archive.org/web/20160912004200/http://www.ekino.com/interview-david-rousset-babylonjs/ . dead .
  5. Web site: Microsoft Open Source success story—Babylon. Irwin. Emma. 2021-02-21. 2021-04-18.
  6. Web site: BabylonJS et ses dernières fonctionnalités . BabylonJS and its latest features . French. Rousseau . Jean-Michel . Rousseau . David . 2015-10-12 . webglparis.com . 2018-09-12.
  7. Weber . Raanan . Babylon.js Building a Basic Game for the Web . . 30 . 13 . 2015-12-01 . 2018-09-12 .
  8. Weber . Raanan . Game Development - Babylon.js: Advanced Features for Enhancing Your First Web Game . . 31 . 1 . 2016-01-01 . 2018-09-12 .
  9. Web site: Babylon.js Flight Simulator . 2018-09-07 . 2020-08-16 . https://web.archive.org/web/20200816052419/http://flightarcade.com/learn/webgl/ . dead .
  10. Web site: Microsoft and Ubisoft launch 3D Web game Assassin's Creed Pirates, built with open-source framework Babylon.JS . Protalinski . Emil . 2014-05-09 . The Next Web . 2018-09-07.
  11. Web site: . Contributors . 2018-09-06 . GitHub.
  12. Web site: Developing a Virtual World for multiple devices . Nolan . Ben . 2018-08-02 . medium.com . 2018-09-05.
  13. Web site: Visualizations of Boston, Massachusetts crime data . Button . Brian . 2018-05-24. 2018-09-09.
  14. Web site: MRI obliquing with webgl2 3D texture - Pixpipe & BabylonJS . Lurie . Jonathan . . 2018-09-09.
  15. News: Batista . Arthur V. . Lemos . Robson R. . Rudolph . Cristiane M. . Bueno . Bruna S. . Fiuza . Patricia J. . A Web3D Serious Game for Human Anatomy Education. 4 . 2018. 2018-09-09.
  16. Web site: 3D Clothing Demo with BabylonJS . . 20 September 2016 . 2018-09-09.
  17. Book: Moreno . Francisco . Ramirez . Esmitt . Sans . Francisco . Carmona . Rhadamés . 2015 Latin American Computing Conference (CLEI) . 2015-10-23 . An Open Source Framework to Manage Kinect on the Web . https://www.researchgate.net/publication/284171406 . 7 . 10.1109/CLEI.2015.7359995 . 978-1-4673-9143-6 . 2798664 . 2018-09-09.
  18. News: Maxwell . Douglas . Heilmann . Michael . Leveraging HTML5 and WebGL to Address Information Assurance Barriers for Simulation Based Training in the U.S. Military. 8 . modsimworld.org . 2017.
  19. Web site: Digital Pompéi . Goussu . Laurence . The National Institute for Research in Computer Science and Control (Inria) . 2018-09-07.
  20. Web site: Sponza Palace . . 2018-09-12.
  21. Web site: SD Times news digest . Cardoza . Christina . Moore. Madison . . 2017-07-14 . 2018-09-07.
  22. Web site: XBox Design Lab . . . 2018-09-12 . 2016-08-19 . https://web.archive.org/web/20160819060913/https://xboxdesignlab.xbox.com/en-US/customize . dead .
  23. Viola . Fabio . Roffia . Luca . Antoniazzi . Francesco . D’Elia . Alfredo . Aguzzi . Cristiano . Cinotti . Tullio Salmon . 2018-08-17 . Interactive 3D Exploration of RDF Graphs through Semantic Planes . Future Internet . 10 . 8 . 5–8 . 10.3390/fi10080081 . free . 11585/640472 . free .
  24. News: Rodríguez . Juan Manuel Jurado . Alvarado . Lidia Ortega . Higueruela . Francisco R. Feito . 3D underground reconstruction for real-time and collaborative virtual reality environment. 40, 43 . World Society for Computer Graphics . 2018. 2018-09-09.
  25. Web site: Tree Generator - How to use VertexData object . Chenard . Julian . Pixel Codr . 2018-11-27 . 2019-08-27 . https://web.archive.org/web/20190827070524/http://pixelcodr.com/tutos/trees/trees.html . dead .
  26. Web site: Constructive Solid Geometry in Babylon.js . Feldspar . Craig . GitHub . 2018-11-27.
  27. Web site: Building Shaders with Babylon.js . Catuhe . David . Smashing Magazine . 2018-11-27. November 2016 .
  28. Web site: Art Pipeline for glTF . Ryan . Patrick . Khronos Group. 2018-11-27. 2018-01-08 .
  29. Book: Moreau-Mathis, Julien . Babylon.js Essentials . Packt Publishing . 2016 . 978-1785884795 .
  30. Web site: WebGL Physics and Collision Detection Using BabylonJS and Oimo.js . Rousset . David . 2015-06-11 . Game Development . 2018-11-27.
  31. Web site: babylon.js: physics and character animation . Beaulieu . Andy . 2014-05-26 . Spritehand . 2018-09-06.