Skip to content

Releases: BabylonJS/Babylon.js

4.1.0-beta.9

10 Dec 03:15
Compare
Choose a tag to compare
Merge pull request #7285 from sebavan/master

4.1.0-beta.9

Former-commit-id: 3a9529d6dfa766e423313a8c3472d512ae0b4041

4.1.0-beta.3

13 Nov 12:46
Compare
Choose a tag to compare
Merge pull request #7155 from sebavan/master

4.1.0-beta.3

Former-commit-id: 2e5ec12a0537728b41c44cdbcd2a5a01e2246929

4.1.0-alpha.12

30 Jul 17:42
Compare
Choose a tag to compare
Merge pull request #6645 from sebavan/master

4.1.0-alpha.12

Former-commit-id: b855fe95064581d57398f2b40ac148583abbaad6

4.0.0

30 Apr 16:23
Compare
Choose a tag to compare

4.0.0

Major updates

Optimizations

  • Added an engine creation option to compile all shaders with medium precision (Deltakosh)
  • Optimized effect reused for shadow maps (Deltakosh)
  • Added support for scissor testing (Deltakosh)
  • Improved shader precision detection (Deltakosh)
  • Added support for bone matrix texture, allowing skeletons to use a texture instead of uniforms when possible (Deltakosh)
  • Refactored of the SolidParticleSystem code for performance and code quality improvement (barroij)
  • Added per solid particle culling possibility: solidParticle.isInFrustum() (jerome)
  • Performance-oriented changes (barroij):
    • Prevented avoidable matrix inversion or square root computation.
    • Enabled constant-time removal from the transformNodes array and materials array of the Scene. As a consequence, the order of the element within these arrays might change during a removal.
    • Enabled constant-time removal from the instances array of a Mesh. As a consequence, the order of the element within this array might change during a removal.
    • Stopped calling Array.splice on the scene.meshes array and on the engine._uniformBuffer when removing an element. As a consequence, the order of the element within these arrays might change during a removal.
    • Added an option useGeometryUniqueIdsMap in the Scene constructor options. When set to true, each Scene isntance will have and will keep up-to-date a map of geometry per uniqueId. This is to avoid browsing all the geometries of the scene when a new one is being pushed. It also enables a removal of geometry in constant time. Disabled by default.
    • Added an option useMaterialMeshMap in the Scene constructor options. When set to true, each Material isntance will have and will keep up-to-date a map of its bound meshes. This is to avoid browsing all the meshes of the scene to retrieve the ones bound to the current material when disposing the Material. Disabled by default.
    • Added an option useClonedMeshhMap in the Scene constructor options. When set to true, each Mesh will have and will keep up-to-date a map of cloned meshes. This is to avoid browsing all the meshes of the scene to retrieve the ones that have the current mesh as source mesh. Disabled by default.
    • Added blockfreeActiveMeshesAndRenderingGroups property in the Scene, following the same model as blockMaterialDirtyMechanism. This is to avoid calling Scene.freeActiveMeshes and Scene.freeRenderingGroups for each disposed mesh when we dispose several meshes in a row. Enable by setting blockfreeActiveMeshesAndRenderingGroups to true just before disposing the meshes, then set it back to false just after.
    • Prevented code from doing useless and possible time consuming computation when disposing the ShaderMaterial of a LinesMesh.
    • Make a better use of the isIdentity cached value within a Matrix.
    • Make sure we browse all the submeshes only once in Material.markAsDirty function.
    • Added an Vector3.UnprojectRayToRef static function to avoid computing and inverting the projection matrix twice when updating a Ray.
  • Added per mesh culling strategy (jerome)

Updates

GUI

  • Added inputText.onKeyboardEventProcessedObservable (Deltakosh)
  • Added button.image and button.textBlock to simplify access to button internal parts (Deltakosh)
  • Added slider.displayThumb to show/hide slider's thumb (Deltakosh)
  • Added grid.rowCount, grid.columnCount and grid.getChildrenAt() (Deltakosh)
  • Added Control.AllowAlphaInheritance to let users control the way alpha is used (inherited or not) (Deltakosh)
  • Added support for performing operations like select all, text highlight, delete selected in inputText (Saket Saurabh)
  • Added inputText.onTextCopyObservable, inputText.onTextCutObservable and inputText.onTextPasteObservable to inputText (Saket Saurabh)
  • Added AdvancedDynamicTexture.onClipboardObservable to observe for clipboard events in AdvancedDynamicTexture(Saket Saurabh)
  • Added inputText.onFocusSelectAll to allow complete selection of text on focus event.(Saket Saurabh)
  • Added mouse drag to highlight text in inputText (Saket Saurabh)
    ...
Read more

4.0.0-beta.4

05 Apr 04:19
Compare
Choose a tag to compare
Merge pull request #6169 from sebavan/master

4.0.0-beta.4

Former-commit-id: 7a780c5fcbbfc907334ed2d9e68ba2924b711aac

4.0.0-alpha.32

06 Mar 00:54
Compare
Choose a tag to compare
Merge pull request #6006 from sebavan/master

4.0.0-alpha.32

Former-commit-id: 793c5ce22d7e0a749f637755d24d60a55a0fcb64

4.0.0-alpha.31

05 Mar 23:01
Compare
Choose a tag to compare
Merge pull request #6004 from sebavan/master

4.0.0-alpha.31

Former-commit-id: 63964dcbb619905492f8efecc999c7fa666cde4c

4.0.0-alpha.30

04 Mar 18:00
Compare
Choose a tag to compare
Merge pull request #5996 from sebavan/master

4.0.0-alpha.30

Former-commit-id: 976912fd2a8368f52c423a92cdea2c42db176ce8

4.0.0-alpha.27: Merge pull request #5920 from sebavan/master

14 Feb 11:28
Compare
Choose a tag to compare
4.0.0-alpha.27

Former-commit-id: 355de7a7268a48443194da755faec073e81788f1

4.0.0-alpha.25

05 Feb 03:53
Compare
Choose a tag to compare
Merge pull request #5864 from sebavan/master

4.0.0-alpha.25

Former-commit-id: 438683bf584df45cf016762430051661ba242462