Releases: BabylonJS/Babylon.js
Releases · BabylonJS/Babylon.js
v1.13
Major updates
- TypeScript port finished (davrous & deltakosh)
- Physics engine: new OIMO plugin (temechon)
- New demo: V8 engine (Michel Rousseau)
Updates
- Fixed ray creation when the devicePixelRatio is not equals to 1 (demonixis)
- New
mesh.registerAfterRender
andmesh.unregisterAfterRender
functions (deltakosh) - New
fragmentElement
parameter to define custom shader forBABYLON.ParticleSystem
constructor (deltakosh) - New
OnKeyDown
andOnKeyUp
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 withmesh.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 byBABYLON.OculusCamera
for better integration into camera system (deltakosh)- New
Mesh.CreateTiledGround()
function (kostar111) - Shadow Poisson Sampling (clementlevasseur)
Bugfixes
v1.12
- 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 byBABYLON.Mesh.Createground
andBABYLON.Mesh.CreateGroundFromHeightMap
. This object is optimized for collisions and rendering of grounds (!!!). A first feature is also includedGroundMesh.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
andscene.afterCameraRender
callbacks (deltakosh) - New custom functions for ParticleSystem:
startDirectionFunction
andstartPositionFunction
(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 usingTools.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)
- Fixing
- Breaking changes
Mesh.setVerticesData
signature is now: (kind, values, updatable) instead of (values, kind, updatable) in order to be consistent withMesh.updateVerticesData
deltakosh)
v1.11
- Major updates
- New option for mesh:
mesh.showBoundingBox
to display mesh's bounding box. You can configure back and front color usingscene.getBoundingBoxRenderer()
. This function returns aBABYLON.BoundingBoxRenderer
where you can definebackColor
,frontColor
andshowBackLines
(deltakosh) - New basic mesh:
BABYLON.Mesh.CreateTorusKnot
(deltakosh) - New
BABYLON.AnaglyphArcRotateCamera
andBABYLON.AnaglyphFreeCamera
(michael-korbas), (deltakosh) - Tags system (gwenael-hagenmuller)
- New render pipeline system for post-processes. See documentation here (michael-korbas)
- New option for mesh:
- 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
andonError
(deltakosh)
- Added parameters to enable or disable a type of texture on all
- 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
- Major updates
- Virtual joysticks camera (davrous)
- Oculus Rift support (davrous), (simonferquel), (deltakosh)
- Support for DDS textures (deltakosh)
- Constructive solid geometries (CraigFeldspar)
- Importer plugin system (deltakosh)
- Filter postprocess (deltakosh)
- Convolution postprocess (deltakosh)
- Added Cheetah3d exporter (Calebsem)
- New
BABYLON.ShaderMaterial
object to simply create custom shaders (deltakosh) - See Custom shader - cell shading - New
BABYLON.VertexData
object to easily manipulates vertex attributes (deltakosh) - See VertexData
- Updates
- Shaders can be loaded from DOM element alongside .fx files (deltakosh)
- Adding arcRotateCamera.wheelPrecision (deltakosh)
- Support for DOMMouseScroll (nicolas-obre)
- Adding BABYLON.PickingInfo.prototype.getNormal (deltakosh)
- Adding a new noMipmap parameter to
BABYLON.CubeTexture
constructor (deltakosh) - Adding
BABYLON.Color3.FromInts()
andBABYLON.Color4.FromInts()
(deltakosh) - Adding invertY parameter to
BABYLON.VideoTexture
constructor (deltakosh) - Adding new
BABYLON.Scene.getCameraByID
function (deltakosh) - Adding new
BABYLON.Scene.setActiveCameraByName()
function (deltakosh) - Renaming
BABYLON.Scene.activeCameraByID()
toBABYLON.Scene.setActiveCameraByID()
(deltakosh) - Adding texture wrapping support to Blender exporter (vousk)
- Add Gulp for buiding babylon cross platform (SideraX)
- Shadow map improvement on pack method (clementlevasseur)
- Bugfixes
- New demos
v1.9.0
- Major updates
- Updates
- New
mesh.rotate
andmesh.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)
- New
- Bugfixes
v1.8.5
- 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)
- New
- Bugfixes
v1.8.0
- Major updates
- Support for physics engine thanks to cannon.js (deltakosh)
- New sandbox tool (davrous)
- 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)
- New
v1.7.3
- Updates
- Support for "file://" moniker (davrous)
- Support for DAE (COLLADA) file format (gwenael-hagenmuller)
- Support for "empty" object type in Blender exporter (deltakosh)
- Bugfixes
v1.7.0
- Major updates
- Support for lens flares (deltakosh)
- Support for multi-views (deltakosh)
- 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)
- New
- Bugfixes
- Fixing a bug when cloning mirrorTexture (deltakosh)
v1.6.0
- Major updates
- Support for postprocesses (deltakosh)
- New builtin postprocesses: Pass, Refraction, Blur, Black and White, Convolution (deltakosh)
- New builtin postprocess: FXAA (simonferquel)
- Online assets converter (pierlag)
- Updates
- New features demos: POSTPROCESS - REFRACTION and POSTPROCESS - BLOOM
- Removing the unused depth buffer for postprocesses chains (simonferquel)
- Bugfixes
- Fixing a memory leak when releasing textures (simonferquel)