Skip to content

Releases: BabylonJS/Babylon.js

v1.13

09 Aug 16:31
Compare
Choose a tag to compare

Major updates

Updates

  • Fixed ray creation when the devicePixelRatio is not equals to 1 (demonixis)
  • New mesh.registerAfterRender and mesh.unregisterAfterRender functions (deltakosh)
  • New fragmentElement parameter to define custom shader for BABYLON.ParticleSystem constructor (deltakosh)
  • New OnKeyDown and OnKeyUp triggers. See actions wiki for more info (deltakosh)
  • ArcRotateCamera can now check collisions wiki (deltakosh)
  • New Engine.Version property which returns a string with the current version (deltakosh)
  • New "Export and Run" feature for Max2Babylon (deltakosh)
  • Animations delta time is now capped between Scene.MinDeltaTime and Scene.MaxDeltaTime (deltakosh)
  • Non-squared DDS are now supported (deltakosh)
  • New triggers: BABYLON.ActionManager.OnIntersectionEnterTrigger, BABYLON.ActionManager.OnIntersectionExitTrigger. Documentation updated (deltakosh)
  • New mesh type: BABYLON.LinesMesh. You can find a demo here (deltakosh)
  • New mesh.moveWithCollisions function. Used with mesh.ellipsoid and '''mesh.ellipsoidOffset```, this function can be used to move a mesh and use an ellipsoid around it to check collisions (deltakosh)
  • New feature demo: How to do drag'n'drop (deltakosh)
  • New BABYLON.PickingInfo.getTextureCoordinates() function (deltakosh)
  • New BABYLON.Scene.cameraToUseForPointers property that defines this parameter if you are using multiple cameras and you want to specify which one should be used for pointer position (deltakosh)
  • BABYLON.OculusOrientedCamera was replaced by BABYLON.OculusCamera for better integration into camera system (deltakosh)
  • New Mesh.CreateTiledGround() function (kostar111)
  • Shadow Poisson Sampling (clementlevasseur)

Bugfixes

  • Fixing a bug when instances are used with a mesh with submeshes.length > 1 (deltakosh)
  • CreateCylinder() : add subdivisions parameter and fix normals bug (kostar111)

v1.12

25 Jun 02:15
Compare
Choose a tag to compare
  • Major updates
    • Babylon.js is now entirely developed using TypeScript (deltakosh, davrous)
    • Physics plugins: You can add your own physics engine to Babylon.js. More info here. Cannon.js is the first supported plugin (deltakosh)
    • BABYLON.Action: You can now create a complex system of interactions. More info here (deltakosh)
    • Babylon.js Playground: Experiment and learn Babylon.js using the playground (deltakosh)
    • Geometry system (gwenael-hagenmuller)
    • Support for TGA textures based on Vincent Thibault work (deltakosh)
    • BABYLON.Gamepads & BABYLON.Gamepad: Support for Gamepad API (Xbox 360 Pad & Generic Pads) (davrous)
    • BABYLON.GamepadCamera: use a FPS-like camera controlled by your gamepad using 1 line of code (davrous)
    • Hardware accelerated instances used to render identical meshes. More info here (deltakosh)
    • New BABYLON.GroundMesh created by BABYLON.Mesh.Createground and BABYLON.Mesh.CreateGroundFromHeightMap. This object is optimized for collisions and rendering of grounds (!!!). A first feature is also included GroundMesh.getHeightAtCoordinates (deltakosh)
    • Beta: New exporter for 3ds Max 2013+ (deltakosh)
  • Updates
    • DDS: Support for RGB, Luminance and cube file format (deltakosh)
    • New LensFlareSystem.isEnabled property (deltakosh)
    • New samplingMode parameter when creating textures (deltakosh)
    • Blender: changed object.isVisible to reflect the corresponding param in Blender (vousk)
    • New properties: scene.meshUnderPointer, scene.pointerX, scene.pointerY (deltakosh)
    • Added "layerMask" property to meshes and cameras (marcolebdech)
    • New Mesh.showSubMeshesBoundingBox to display sbumeshes bounding boxes (deltakosh)
    • Octree are now more generics and used to optimize rendering, collisions and picking. More info (deltakosh)
    • Shadows now support alpha testing (deltakosh)
    • New feature demo: particles (deltakosh)
    • New renderTargetTexture.refreshRate property to define the refresh rate of RenderTargetTexture: Use 0 to render just once, 1 to render on every frame, 2 to render every two frames and so on... (deltakosh)
    • New scene.beforeCameraRender and scene.afterCameraRender callbacks (deltakosh)
    • New custom functions for ParticleSystem: startDirectionFunction and startPositionFunction (deltakosh)
    • useAlphaFromDiffuseTexture option for standard material to use 8-it alpha channel from the diffuse texture instead of using it as an alpha test value (Platane)
    • New Tools.Log, Tools.Warn, Tools.Error functions. Filter can be applied using Tools.CurrentLoglevel (MaxenceBrasselet, deltakosh)
    • Using grunt-contrib-uglify to reduce babylon.js size (from 500KB to 384KB) (deltakosh)
    • setDirectionToTarget function added to SpotLight, HemisphericLight and DirectionalLight (Wingnutt)
    • Picking now takes viewport in account (deltakosh)
    • Point lights and spot lights now have a range (deltakosh)
    • Color3 interpolator for animations (deltakosh)
    • New function: VertexData.CreateGroundFromHeightMap(deltakosh)
    • New function: Tools.CreateScreenshot(nicolas-obre)
  • Bugfixes
    • Fixing ArcRotateCamera.setPosition() (Celian)
    • RenderTarget crashed when used with incremental engine (deltakosh)
    • Depth clear is now more controlled (Mainly for Ejecta) (deltakosh)
    • Fixed a bug with ratio when using RenderTargetTexture deltakosh)
    • Fixed a bug in the sandbox tool (davrous)
    • Fixed a bug with skybox seams holcombj)
    • Moved mousewheel event from window to canvas deltakosh)
    • Fixed matricesIndices serialization (gwenael-hagenmuller)
    • Bug fix and GC optimisation on CSG (clementlevasseur)
  • Breaking changes
    • Mesh.setVerticesData signature is now: (kind, values, updatable) instead of (values, kind, updatable) in order to be consistent with Mesh.updateVerticesData deltakosh)

v1.11

17 Apr 21:58
Compare
Choose a tag to compare
  • Major updates
    • New option for mesh: mesh.showBoundingBox to display mesh's bounding box. You can configure back and front color using scene.getBoundingBoxRenderer(). This function returns a BABYLON.BoundingBoxRenderer where you can define backColor, frontColor and showBackLines (deltakosh)
    • New basic mesh: BABYLON.Mesh.CreateTorusKnot (deltakosh)
    • New BABYLON.AnaglyphArcRotateCamera and BABYLON.AnaglyphFreeCamera (michael-korbas), (deltakosh)
    • Tags system (gwenael-hagenmuller)
    • New render pipeline system for post-processes. See documentation here (michael-korbas)
  • Updates
    • Added parameters to enable or disable a type of texture on all BABYLON.StandardMaterial (demonixis)
    • New BABYLON.VertexData.ExtractFromMesh function (deltakosh)
    • Cameras can now have sub-cameras (see BABYLON.AnaglyphArcRotateCamera for example) (deltakosh)
    • New BABYLON.Engine.runEvenInBackground property. True by default. It allows you to stop rendering when the browser is not the foreground application. (deltakosh)
    • Darkness of a shadow + shadow on transparent meshes (clementlevasseur)
    • New event for materials: onCompiled and onError (deltakosh)
  • Bugfixes
    • Fixed a bug with collisions cache
    • Fixed a bug with mesh.dispose when called twice (deltakosh)
    • Fixed an issue with Internet Explorer while rendering a RenderTargetTexture outside the engine renderLoop (nicolas-obre)
  • New demos

v1.10.0

01 Apr 03:33
Compare
Choose a tag to compare

v1.9.0

15 Feb 18:48
Compare
Choose a tag to compare
  • Major updates
    • Beta support for scene serialization with BABYLON.SceneSerializer.Serialize function (deltakosh)
    • Blender exporter now supports 32 bits indices (deltakosh)
    • Flat shading support (From Blender and with ``mesh.convertToFlatShadedMesh()`) (deltakosh)
  • Updates
    • New mesh.rotate and mesh.translate functions to rotate and translate mesh both locally and globally (deltakosh)
    • New feature for particles: ParticleSystem.forceDepthWrite (deltakosh)
    • Adding a new parameter to pick in order to be able to pick even on multi views (deltakosh)
    • New mesh.lookAt function (professorF)
    • New postprocess system (independent from cameras) (michael-korbas)
    • New mesh.setAbsolutePosition function (gwenael-hagenmuller)
  • Bugfixes
    • Fixing issue with mesh.infiniteDistance (deltakosh)
    • Fixing issue with camera caches (deltakosh)
    • Fixing issue with aspect ratio (deltakosh)
    • Fixing arcRotateCamera angle limitations (deltakosh)
    • Fixing a bug with multi-views: depth buffer was not clear between different passes (deltakosh)

v1.8.5

19 Jan 15:49
Compare
Choose a tag to compare
  • Major updates
    • Visual Studio 2013 templates for Windows 8.1 and nuget packages (pierlag)
  • Updates
    • New matrix.multiply function (up to 50% faster) (deltakosh)
    • New matrices cache system for camera (view and projection matrices) (juliengobin)
    • New physics impostor: compound and mesh (still really slow) (deltakosh)
    • Set crossOrigin flag for support CORS (vbouzon)
    • XNA importer: Changes for Right-Left Coordinate Systems & Prefixed Mesh Parts with Mesh Name (professorF)
    • Fixing getPivotMatrix (gwenael-hagenmuller)
    • New geometry functions: getLocalTranslation, setPositionWithLocalVector, getPositionExpressedInLocalSpace,locallyTranslate (gwenael-hagenmuller)
    • Adding multi mesh import from same file(nicolas-obre)
  • Bugfixes
    • Fixing issue when disposing a parent and not its children (deltakosh)
    • Fixing .obj importer (deltakosh)
    • Added guardband checks for impostors' size (deltakosh)

v1.8.0

18 Dec 17:12
Compare
Choose a tag to compare
  • Major updates
  • Updates
    • New animation.currentFrame property to get current animation frame (deltakosh)
    • New animation.floatInterpolateFunction property to define custom float interpolation function (deltakosh)
    • New animation.vector3InterpolateFunction property to define custom vector3 interpolation function (deltakosh)
    • New animation.quaternionInterpolateFunction property to define custom quaternion interpolation function (deltakosh)

v1.7.3

13 Dec 20:16
Compare
Choose a tag to compare
  • Updates
  • Bugfixes
    • "use strict" is no more included in minified version (deltakosh)
    • Fixing a bug with MSGesture with IE11 on Windows 7 (deltakosh)

v1.7.0

29 Nov 08:15
Compare
Choose a tag to compare
  • Major updates
  • Updates
    • New light.excludedMeshes property to exclude specific meshes from light coputation (deltakosh)
    • New texture.anisotropicFilteringLevel property to define the anisotropic level of a texture (deltakosh)
    • New mesh.infiniteDistance property to make a mesh static from the point of view of the camera (deltakosh)
    • New scene.customRenderTargets property to add our own renderTargetTexture (deltakosh)
    • Transparent meshes are sorted back to front (deltakosh)
  • Bugfixes
    • Fixing a bug when cloning mirrorTexture (deltakosh)

v1.6.0

05 Nov 06:43
Compare
Choose a tag to compare