what's new.md 7.4 KB

  • 2.3.0:
    • Major updates
    • Introducing Materials Library (deltakosh)
    • New cache mecanism for StandardMaterial (deltakosh)
    • New Solid Particle System (jerome)
    • New StandardMaterial.lightmapTexture which can be controlled with StandardMaterial.useLightmapAsShadowMap. Demo here (deltakosh)
    • Support for reflection probes. See documentation here (deltakosh)
    • New serializers folder to host .babylon serializers (deltakosh)
    • Sprites now can be picked and can use actions (deltakosh)
    • New Mesh.CreatePolygon() method (jerome)
    • Introducing babylon.core.js (deltakosh)
    • Updates
    • Sprites and particles scheduler updated to be resolved before transparent objects (deltakosh)
    • Added DirectionalLight.autoUpdateExtends to prevent directional lights to adapt to scene extends (deltakosh)
    • Added a new parameter to debugLayer.show() to define root element to use (deltakosh)
    • New MeshBuilder class used to create all kind of mesh shapes (deltakosh)
    • Added Scene.constantlyUpdateMeshUnderPointer to improve performance when moving mouse (deltakosh)
    • Added StandardMaterial.disableLighting (deltakosh)
    • Improved reflection shader performance (deltakosh)
    • New Material.sideOrientation property to define clockwise or counter-clockwise faces selection. Demo here (deltakosh)
    • It is now possible to create a custom loading screen. PR (RaananW)
    • Per face color and texture feature in MeshBuilder.CreateCylinder() (jerome)
    • Arc feature in CreateCylinder, CreateSphere, CreateTube, CreateDisc and CreateLathe (jerome)
    • Slice feature in MeshBuilder.CreateSphere() (jerome)
    • closed parameter in MeshBuilder.CreateLathe() (jerome)
    • diameter parameter in MeshBuilder.CreateCreateCylinder() (jerome)
    • Material.dispose() now removes disposed material from meshes (deltakosh)
    • New Material.getBindedMeshes() function (deltakosh)
    • OimoJS Plugin now uses Quaternions exclusively and calculates body rotations correctly. PR (RaananW)
    • It is now possible to get the physics engine's body and wolrd objects using the physics engine. PR (RaananW)
    • Bug fixes
    • Fixed a bug with spherical mapping (deltakosh)
    • Fixed a bug with clone and createInstance which was forcing the recomputation of bounding boxes (deltakosh)
    • Fixed a bug with CSG when submeshes are kept (deltakosh)
    • Fixed a bug with texture coordinates matrices (deltakosh)
    • Fixed Sphere texture coordinates generation (deltakosh)
    • Fixed a bug with Mesh.attachToBone when bone's matrix has a negative determinant (deltakosh)
    • Fixed a possible but with the active camera while taking a screenshot. PR (RaananW)
    • Fixed a bug with worker-collisions and instances. PR (RaananW)
    • Fixed a bug with removed meshes and geometries from the worker-cache. PR (RaananW)
    • Fixed closePath and closeArray ribbon parameter now working back together (jerome)
    • Fixed morphing on capped tubes (jerome)
    • Fixed morphing on extruded shapes (jerome)
    • Fixed tube and extruded shape cap light artifact (jerome)
    • Fixed a bug calculating velocity during collision with gravity enabled. PR (RaananW)
    • Fixed a bug in instance serialization. PR (RaananW)
    • Breaking changes
    • VertexData.CreateCylinder() now supports only the single options parameter (jerome)
    • VertexData.CreateRibbon() now supports only the single options parameter (jerome)
    • VertexData.CreateBox() now supports only the single options parameter (jerome)
    • VertexData.CreateSphere) now supports only the single options parameter (jerome)
    • VertexData.CreateTorus() now supports only the single options parameter (jerome)
    • VertexData.CreateTorusKnot() now supports only the single options parameter (jerome)
    • VertexData.CreatePlane() now supports only the single options parameter (jerome)
    • VertexData.CreateDisc() now supports only the single options parameter (jerome)
    • VertexData.CreateLines() now supports only the single options parameter (jerome)
    • VertexData.CreateDashedLines() now supports only the single options parameter (jerome)
    • VertexData.CreateGround() now supports only the single options parameter (jerome)
    • VertexData.CreateTiledGround() now supports only the single options parameter (jerome)
    • VertexData.CreateGroundFromHeightMap() now supports only the single options parameter (deltakosh)
    • Tools.IsExponantOfTwo() renamed to Tools.IsExponentOfTwo() (deltakosh)
    • Tools.GetExponantOfTwo() renamed to Tools.GetExponentOfTwo() (deltakosh)
    • Updated Cannon.js plugin to the newest version (0.6.2). New cannon.js must be used. PR (RaananW)