2.3.0:
StandardMaterial.lightmapTexture
which can be controlled with StandardMaterial.useLightmapAsShadowMap
(deltakosh)Mesh.CreatePolyhedron()
method (jerome)Mesh.CreateIcoSphere()
method. Demo here (G'kar)CubeTexture.CreateFromImages()
(deltakosh)bb.isLocked
and bb.update()
) (deltakosh)ActionManager.OnLongPressTrigger
and ActionManager.OnPickDownTrigger
(vouskprod)Mesh.convertToUnIndexedMesh()
to create meshes with no indices (which could be faster when vertex reuse is low and vertex structure is small) (deltakosh)Animatable.goToFrame()
(deltakosh)Animation.CreateAndStartAnimation
and added Animation.CreateMergeAndStartAnimation
to reproduce previous behavior (deltakosh)StandardMaterial.linkEmissiveWithDiffuse
to, well, link emissive with diffuse value. (With)[http://www.babylonjs-playground.com/#2FPUCS#2] and (without)http://www.babylonjs-playground.com/#2FPUCS#1DirectionalLight.autoUpdateExtends
to prevent directional lights to adapt to scene extends (deltakosh)debugLayer.show()
to define root element to use (deltakosh)MeshBuilder
class used to create all kind of mesh shapes (deltakosh)Scene.constantlyUpdateMeshUnderPointer
to improve performance when moving mouse (deltakosh)StandardMaterial.disableLighting
(deltakosh)Material.sideOrientation
property to define clockwise or counter-clockwise faces selection. Demo here (deltakosh)MeshBuilder.CreateCylinder()
(jerome)CreateCylinder
, CreateSphere
, CreateTube
, CreateDisc
and CreateLathe
(jerome)MeshBuilder.CreateSphere()
(jerome)closed
parameter in MeshBuilder.CreateLathe()
(jerome)cap
parameter in MeshBuilder.CreateLathe()
(jerome)diameter
, hasRings
, enclose
parameters in MeshBuilder.CreateCreateCylinder()
(jerome)getNormalAtCoordinates()
and getNormalAtCoordinatesToRef()
methods in MeshBuilder.CreateLathe()
(jerome)Material.dispose()
now removes disposed material from meshes (deltakosh)Material.getBindedMeshes()
function (deltakosh)Mesh.updateVerticesDataDirectly
deprecated (Palmer-JC)Added Tmp
class for internal use in order to improvement the memory management, jerome)
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 getHeightAtCoordinates()
: brand new ultra fast algorithm, can be used for many objects at once in the render loop now (jerome)
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 lathe light artifact with dedicated new geometry (jerome)
Fixed a bug calculating velocity during collision with gravity enabled. PR (RaananW)
Fixed a memory leak with textures (deltakosh)
Breaking changes
ActionManager.OnPickTrigger
now acts as a single click/tap and is not raised on drag or swipe anymore. To get the old behavior, ActionManager.OnPickDownTrigger
should be used instead (vouskprod)
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)