what's new.md 5.1 KB

3.1.0:

Major updates

Updates

  • Support for non uniform scaling. Normals are now correctly computed (deltakosh)
  • Added MultiObserver. Doc here (deltakosh)
  • Added shadowGenerator.addShadowCaster and shadowGenerator.removeShadowCaster helper functions (deltakosh)
  • Several inspector improvements (temechon)
  • New observables for actions: onBeforeExecuteObservable for all actions and onInterpolationDoneObservable for InterpolateValueAction (deltakosh)
  • New observables for gamepads: onButtonDownObservable, onButtonUpObservable, onPadDownObservable, onPadUpObservable (deltakosh)
  • New camera.storeState() and camera.restoreState() functions to store / restore cameras position / rotation / fov. (Doc here)http://doc.babylonjs.com/tutorials/cameras#state
  • POW2 textures rescale is now done by shaders (It was previously done using canvas) (deltakosh)
  • Added SceneLoader.CleanBoneMatrixWeights to force the loader to normalize matrix weights when loading bones (off by default) (deltakosh)
  • Added camera.onViewMatrixChangedObservable and camera.onProjectionMatrixChangedObservable (deltakosh)
  • Added support for folders when drag'n'dropping into the sandbox (deltakosh)
  • Better serialization support (deltakosh)
  • Introduced performanceMonitor class to get better FPS analysis (deltakosh)
  • GUI: Added support for pointer move events on projected UI (deltakosh)
  • Normals are generated automatically by StandardMaterial if meshes do not have normals (deltakosh)
  • Added mesh.onMaterialChangedObservable to notify when a new material is set (deltakosh)
  • Improved the SPS perfs for dead or invisible solid particles (jerome)
  • Added enableDepthSort parameter to the SPS in order to sort the particles from the camera position (jerome)
  • Added pivot property to the SPS solid particles (jerome)

Bug fixes

  • Fixed a bug with PBR on iOS (sebavan)

Breaking changes

  • Gamepads was removed in favor of scene.gamepadManager
  • DynamicFloatArray, MapTexture and RectPakingMap were removed because there were not used anymore