|
@@ -1,6 +1,7 @@
|
|
# 4.1.0
|
|
# 4.1.0
|
|
|
|
|
|
## Major updates
|
|
## Major updates
|
|
|
|
+
|
|
- WIP: Node Material (NEED DOC OR SAMPLES) ([Deltakosh](https://github.com/deltakosh/))
|
|
- WIP: Node Material (NEED DOC OR SAMPLES) ([Deltakosh](https://github.com/deltakosh/))
|
|
- WIP: Node material editor (NEED OR AND VIDEOS) ([Deltakosh](https://github.com/deltakosh/) / [TrevorDev](https://github.com/TrevorDev))
|
|
- WIP: Node material editor (NEED OR AND VIDEOS) ([Deltakosh](https://github.com/deltakosh/) / [TrevorDev](https://github.com/TrevorDev))
|
|
- WIP: WebGPU support (NEED DOC OR SAMPLES) ([Sebavan](https://github.com/sebavan/))
|
|
- WIP: WebGPU support (NEED DOC OR SAMPLES) ([Sebavan](https://github.com/sebavan/))
|
|
@@ -17,6 +18,7 @@
|
|
## Updates
|
|
## Updates
|
|
|
|
|
|
### General
|
|
### General
|
|
|
|
+
|
|
- Added support for dual shock gamepads ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added support for dual shock gamepads ([Deltakosh](https://github.com/deltakosh/))
|
|
- Support Vive Focus 3Dof controller ([TrevorDev](https://github.com/TrevorDev))
|
|
- Support Vive Focus 3Dof controller ([TrevorDev](https://github.com/TrevorDev))
|
|
- Planar positioning support for GizmoManager ([Balupg](https://github.com/balupg))
|
|
- Planar positioning support for GizmoManager ([Balupg](https://github.com/balupg))
|
|
@@ -38,6 +40,7 @@
|
|
- Added optional parameter to use Euler angles in planeRotationGizmo ([CedricGuillemet](https://github.com/CedricGuillemet))
|
|
- Added optional parameter to use Euler angles in planeRotationGizmo ([CedricGuillemet](https://github.com/CedricGuillemet))
|
|
|
|
|
|
### Engine
|
|
### Engine
|
|
|
|
+
|
|
- Improved instanceMesh with user defined custom buffers [Doc](https://doc.babylonjs.com/how_to/how_to_use_instances#custom-buffers) ([Deltakosh](https://github.com/deltakosh/))
|
|
- Improved instanceMesh with user defined custom buffers [Doc](https://doc.babylonjs.com/how_to/how_to_use_instances#custom-buffers) ([Deltakosh](https://github.com/deltakosh/))
|
|
- Morph targets now can morph UV channel as well ([Deltakosh](https://github.com/deltakosh/))
|
|
- Morph targets now can morph UV channel as well ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added MorphTarget support to the DepthRenderer, GeometryBufferRenderer and OutlineRenderer ([MarkusBillharz](https://github.com/MarkusBillharz))
|
|
- Added MorphTarget support to the DepthRenderer, GeometryBufferRenderer and OutlineRenderer ([MarkusBillharz](https://github.com/MarkusBillharz))
|
|
@@ -46,6 +49,7 @@
|
|
- Added support for `vertexSource` and `fragmentSource` parameters to `ShaderMaterial` ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added support for `vertexSource` and `fragmentSource` parameters to `ShaderMaterial` ([Deltakosh](https://github.com/deltakosh/))
|
|
|
|
|
|
### Inspector
|
|
### Inspector
|
|
|
|
+
|
|
- Added support for Euler edition only for angles (can be turned off in the new inspector settings) ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added support for Euler edition only for angles (can be turned off in the new inspector settings) ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added an option to ignore backfaces for picking (can be turned on and off in the new inspector settings) ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added an option to ignore backfaces for picking (can be turned on and off in the new inspector settings) ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added support for `ShadowGenerator` ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added support for `ShadowGenerator` ([Deltakosh](https://github.com/deltakosh/))
|
|
@@ -60,6 +64,7 @@
|
|
- Added support for CreateScreenshotUsingRenderTarget ([13djwright](https://github.com/13djwright/))
|
|
- Added support for CreateScreenshotUsingRenderTarget ([13djwright](https://github.com/13djwright/))
|
|
|
|
|
|
### Tools
|
|
### Tools
|
|
|
|
+
|
|
- Added `Tools.CreateScreenshotAsync` and `Tools.CreateScreenshotUsingRenderTargetAsync` ([mehmetoguzderin](https://github.com/mehmetoguzderin/))
|
|
- Added `Tools.CreateScreenshotAsync` and `Tools.CreateScreenshotUsingRenderTargetAsync` ([mehmetoguzderin](https://github.com/mehmetoguzderin/))
|
|
- Added `Color3.toHSV()`, `Color3.toHSVToRef()` and `Color3.HSVtoRGBToRef()` ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added `Color3.toHSV()`, `Color3.toHSVToRef()` and `Color3.HSVtoRGBToRef()` ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added `ShadowGenerator.onAfterShadowMapRenderObservable` and `ShadowGenerator.onAfterShadowMapMeshRenderObservable` ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added `ShadowGenerator.onAfterShadowMapRenderObservable` and `ShadowGenerator.onAfterShadowMapMeshRenderObservable` ([Deltakosh](https://github.com/deltakosh/))
|
|
@@ -68,18 +73,21 @@
|
|
- Added RGBD Texture tools [Sebavan](https://github.com/sebavan/)
|
|
- Added RGBD Texture tools [Sebavan](https://github.com/sebavan/)
|
|
|
|
|
|
### Meshes
|
|
### Meshes
|
|
|
|
+
|
|
- Added `TransformNode.instantiateHierarchy()` which try to instantiate (or clone) a node and its entire hiearchy ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added `TransformNode.instantiateHierarchy()` which try to instantiate (or clone) a node and its entire hiearchy ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added new CreateTiledPlane and CreateTiledBox ([JohnK](https://github.com/BabylonJSGuide/))
|
|
- Added new CreateTiledPlane and CreateTiledBox ([JohnK](https://github.com/BabylonJSGuide/))
|
|
- Added absolute scaling and rotation getters ([haroldma](https://github.com/haroldma))
|
|
- Added absolute scaling and rotation getters ([haroldma](https://github.com/haroldma))
|
|
- Added `BILLBOARDMODE_USE_POSITION` flag to billboards allowing use of camera positioning instead of orientation for mesh rotation ([delaneyj](https://github.com/delaneyj))
|
|
- Added `BILLBOARDMODE_USE_POSITION` flag to billboards allowing use of camera positioning instead of orientation for mesh rotation ([delaneyj](https://github.com/delaneyj))
|
|
|
|
|
|
### Physics
|
|
### Physics
|
|
|
|
+
|
|
- Update Ammo.js library to support global collision contact callbacks ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Update Ammo.js library to support global collision contact callbacks ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Update Ammo.js library to allow native capsule shape impostors ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Update Ammo.js library to allow native capsule shape impostors ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Update Ammo.js library to allow your own broadphase overlapping pair cache ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Update Ammo.js library to allow your own broadphase overlapping pair cache ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Update Ammo.js library and AmmoJS plugin to support ellipsoid ([CedricGuillemet](https://github.com/CedricGuillemet/))
|
|
- Update Ammo.js library and AmmoJS plugin to support ellipsoid ([CedricGuillemet](https://github.com/CedricGuillemet/))
|
|
|
|
|
|
### Loaders
|
|
### Loaders
|
|
|
|
+
|
|
- Added support for non-float accessors in animation data for glTF loader. ([bghgary](https://github.com/bghgary))
|
|
- Added support for non-float accessors in animation data for glTF loader. ([bghgary](https://github.com/bghgary))
|
|
- Support loading cube data in the .basis loader ([TrevorDev](https://github.com/TrevorDev))
|
|
- Support loading cube data in the .basis loader ([TrevorDev](https://github.com/TrevorDev))
|
|
- Load glTF extras into BJS metadata ([pjoe](https://github.com/pjoe))
|
|
- Load glTF extras into BJS metadata ([pjoe](https://github.com/pjoe))
|
|
@@ -88,6 +96,7 @@
|
|
- Added a flag to enable/disable creation of instances for glTF loader. ([bghgary](https://github.com/bghgary))
|
|
- Added a flag to enable/disable creation of instances for glTF loader. ([bghgary](https://github.com/bghgary))
|
|
|
|
|
|
### Materials
|
|
### Materials
|
|
|
|
+
|
|
- Added `ShaderMaterial.setColor4Array` ([JonathanTron](https://github.com/JonathanTron/))
|
|
- Added `ShaderMaterial.setColor4Array` ([JonathanTron](https://github.com/JonathanTron/))
|
|
- Added `ShaderMaterial.setArray4` ([JonathanTron](https://github.com/JonathanTron/))
|
|
- Added `ShaderMaterial.setArray4` ([JonathanTron](https://github.com/JonathanTron/))
|
|
- Added `scene.environmentIntensity` to control the IBL strength overall in a scene ([Sebavan](https://github.com/sebavan/))
|
|
- Added `scene.environmentIntensity` to control the IBL strength overall in a scene ([Sebavan](https://github.com/sebavan/))
|
|
@@ -95,21 +104,32 @@
|
|
- Added `pbrBRDFConfiguration.useSpecularGlossinessInputEnergyConservation` to allow Specular-Workflow energy conservation to be turned off ([ColorDigital-PS](https://github.com/ColorDigital-PS)).
|
|
- Added `pbrBRDFConfiguration.useSpecularGlossinessInputEnergyConservation` to allow Specular-Workflow energy conservation to be turned off ([ColorDigital-PS](https://github.com/ColorDigital-PS)).
|
|
|
|
|
|
### ScreenshotTools
|
|
### ScreenshotTools
|
|
|
|
+
|
|
- Added interface for argument `size` of screenshot methods ([Dok11](https://github.com/Dok11/))
|
|
- Added interface for argument `size` of screenshot methods ([Dok11](https://github.com/Dok11/))
|
|
- Implementation usage of precision in combination height and width params ([Dok11](https://github.com/Dok11/))
|
|
- Implementation usage of precision in combination height and width params ([Dok11](https://github.com/Dok11/))
|
|
|
|
|
|
### Sounds
|
|
### Sounds
|
|
|
|
+
|
|
- Added `ISoundOptions.skipCodecCheck` to make `Sound` more flexible with URLs ([nbduke](https://github.com/nbduke))
|
|
- Added `ISoundOptions.skipCodecCheck` to make `Sound` more flexible with URLs ([nbduke](https://github.com/nbduke))
|
|
- Added `Scene.audioListenerPositionProvider` property, to enable setting custom position of audio listener ([Foxhoundn](https://github.com/foxhoundn))
|
|
- Added `Scene.audioListenerPositionProvider` property, to enable setting custom position of audio listener ([Foxhoundn](https://github.com/foxhoundn))
|
|
|
|
|
|
### Sprites
|
|
### Sprites
|
|
|
|
+
|
|
- SpritePackedManager extends SpriteManager so that a sprite sheet with different size sprites can be used ([JohnK](https://github.com/BabylonJSGuide))
|
|
- SpritePackedManager extends SpriteManager so that a sprite sheet with different size sprites can be used ([JohnK](https://github.com/BabylonJSGuide))
|
|
- MultiPickSprite and multiPickSpriteWithRay added to sprites ([JohnK](https://github.com/BabylonJSGuide))
|
|
- MultiPickSprite and multiPickSpriteWithRay added to sprites ([JohnK](https://github.com/BabylonJSGuide))
|
|
|
|
|
|
|
|
+### WebXR
|
|
|
|
+
|
|
|
|
+- Compliance with the mozilla WebXR emulator ([RaananW](https://github.com/RaananW/))
|
|
|
|
+- Gamepad object is now exposed in the WebXRController class ([RaananW](https://github.com/RaananW/))
|
|
|
|
+- If canvas does not have WebXR support the scene will still render (mainly Firefox) ([RaananW](https://github.com/RaananW/))
|
|
|
|
+
|
|
### Ray
|
|
### Ray
|
|
|
|
+
|
|
- Added `Ray.intersectsAxis` to translate screen to axis coordinates without checking collisions ([horusscope](https://github.com/horusscope))
|
|
- Added `Ray.intersectsAxis` to translate screen to axis coordinates without checking collisions ([horusscope](https://github.com/horusscope))
|
|
|
|
|
|
### GUI
|
|
### GUI
|
|
|
|
+
|
|
- Added `xmlLoader` to load GUI layouts from XML ([null0924](https://github.com/null0924))
|
|
- Added `xmlLoader` to load GUI layouts from XML ([null0924](https://github.com/null0924))
|
|
- Added `disableMobilePrompt` option to InputText for OculusQuest(and other android base VR devices) ([shinyoshiaki](https://github.com/shinyoshiaki))
|
|
- Added `disableMobilePrompt` option to InputText for OculusQuest(and other android base VR devices) ([shinyoshiaki](https://github.com/shinyoshiaki))
|
|
- Added `Button.delegatePickingToChildren` to let buttons delegate hit testing to embedded controls ([Deltakosh](https://github.com/deltakosh/))
|
|
- Added `Button.delegatePickingToChildren` to let buttons delegate hit testing to embedded controls ([Deltakosh](https://github.com/deltakosh/))
|
|
@@ -118,20 +138,25 @@
|
|
- Added `_getSVGAttribs` functionality for loading multiple svg icons from an external svg file via icon id.([lockphase](https://github.com/lockphase/))
|
|
- Added `_getSVGAttribs` functionality for loading multiple svg icons from an external svg file via icon id.([lockphase](https://github.com/lockphase/))
|
|
|
|
|
|
### Particles
|
|
### Particles
|
|
|
|
+
|
|
- Added the feature `expandable` to the Solid Particle System ([jerome](https://github.com/jbousquie/))
|
|
- Added the feature `expandable` to the Solid Particle System ([jerome](https://github.com/jbousquie/))
|
|
- Added the feature `removeParticles()` to the Solid Particle System ([jerome](https://github.com/jbousquie/))
|
|
- Added the feature `removeParticles()` to the Solid Particle System ([jerome](https://github.com/jbousquie/))
|
|
|
|
|
|
### Navigation Mesh
|
|
### Navigation Mesh
|
|
|
|
+
|
|
- Added moveAlong function to cast a segment on mavmesh ([CedricGuillemet](https://github.com/CedricGuillemet/))
|
|
- Added moveAlong function to cast a segment on mavmesh ([CedricGuillemet](https://github.com/CedricGuillemet/))
|
|
|
|
|
|
### Node Material
|
|
### Node Material
|
|
|
|
+
|
|
- Added Light intensity output to LightInformationBlock ([Drigax](https://github.com/drigax))
|
|
- Added Light intensity output to LightInformationBlock ([Drigax](https://github.com/drigax))
|
|
|
|
|
|
### Documentation
|
|
### Documentation
|
|
|
|
+
|
|
- Added a note on shallow bounding of getBoundingInfo ([tibotiber](https://github.com/tibotiber))
|
|
- Added a note on shallow bounding of getBoundingInfo ([tibotiber](https://github.com/tibotiber))
|
|
- Added a typo fix to the ArcRotateCamera setPosition method description ([schm-dt](https://github.com/schm-dt))
|
|
- Added a typo fix to the ArcRotateCamera setPosition method description ([schm-dt](https://github.com/schm-dt))
|
|
|
|
|
|
## Bug fixes
|
|
## Bug fixes
|
|
|
|
+
|
|
- Fixed Textblock line spacing evaluation when linespacing > 0 ([Deltakosh](https://github.com/deltakosh/))
|
|
- Fixed Textblock line spacing evaluation when linespacing > 0 ([Deltakosh](https://github.com/deltakosh/))
|
|
- Fixed Xbox One gamepad controller button schemes ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Fixed Xbox One gamepad controller button schemes ([MackeyK24](https://github.com/MackeyK24/))
|
|
- Added support for `AnimationGroup` serialization ([Drigax](https://github.com/drigax/))
|
|
- Added support for `AnimationGroup` serialization ([Drigax](https://github.com/drigax/))
|
|
@@ -162,8 +187,10 @@
|
|
- Fixed missing check in sceneTreeItemComponent resulting in gizmo to not end drag ([CedricGuillemet](https://github.com/CedricGuillemet))
|
|
- Fixed missing check in sceneTreeItemComponent resulting in gizmo to not end drag ([CedricGuillemet](https://github.com/CedricGuillemet))
|
|
- Added missing callback triggers within texture loaders ([PierreLeBlond](https://github.com/PierreLeBlond))
|
|
- Added missing callback triggers within texture loaders ([PierreLeBlond](https://github.com/PierreLeBlond))
|
|
- Fixed `TextureLinkLineComponent` to no longer invert inspector-loaded textures ([Drigax](https://github.com/drigax))
|
|
- Fixed `TextureLinkLineComponent` to no longer invert inspector-loaded textures ([Drigax](https://github.com/drigax))
|
|
|
|
+- Fixed a single frame drop after leaving webxr on some devices ([RaananW](https://github.com/RaananW/))
|
|
|
|
|
|
## Breaking changes
|
|
## Breaking changes
|
|
|
|
+
|
|
- Setting mesh.scaling to a new vector will no longer automatically call forceUpdate (this should be done manually when needed) ([TrevorDev](https://github.com/TrevorDev))
|
|
- Setting mesh.scaling to a new vector will no longer automatically call forceUpdate (this should be done manually when needed) ([TrevorDev](https://github.com/TrevorDev))
|
|
- `Tools.ExtractMinAndMaxIndexed` and `Tools.ExtractMinAndMax` are now ambiant functions (available on `BABYLON.extractMinAndMaxIndexed` and `BABYLON.extractMinAndMax`) ([Deltakosh](https://github.com/deltakosh/))
|
|
- `Tools.ExtractMinAndMaxIndexed` and `Tools.ExtractMinAndMax` are now ambiant functions (available on `BABYLON.extractMinAndMaxIndexed` and `BABYLON.extractMinAndMax`) ([Deltakosh](https://github.com/deltakosh/))
|
|
- `Tools.QueueNewFrame` was removed in favor of `Engine.QueueNewFrame` ([Deltakosh](https://github.com/deltakosh/))
|
|
- `Tools.QueueNewFrame` was removed in favor of `Engine.QueueNewFrame` ([Deltakosh](https://github.com/deltakosh/))
|