Przeglądaj źródła

Merge branch 'master' into vr-obserables-fix

Atulya Ravishankar 7 lat temu
rodzic
commit
d80a9d099f
100 zmienionych plików z 23332 dodań i 22410 usunięć
  1. 0 3
      .gitmodules
  2. 9315 9271
      Playground/babylon.d.txt
  3. BIN
      Playground/textures/test2D.dds
  4. 8 3
      Tools/Gulp/config.json
  5. 1 1
      Tools/Gulp/package.json
  6. 1 1
      Tools/Publisher/package.json
  7. 1 1
      Viewer/assets/templates/default/navbar.html
  8. 1 1
      Viewer/package.json
  9. 20 8
      contributing.md
  10. 1 1
      dist/inspector/readme.md
  11. 10697 10474
      dist/preview release/babylon.d.ts
  12. 1 1
      dist/preview release/babylon.js
  13. 941 584
      dist/preview release/babylon.max.js
  14. 941 584
      dist/preview release/babylon.no-module.max.js
  15. 1 1
      dist/preview release/babylon.worker.js
  16. 943 586
      dist/preview release/es6.js
  17. 1 1
      dist/preview release/glTF2Interface/package.json
  18. 7 205
      dist/preview release/gui/babylon.gui.d.ts
  19. 1 1
      dist/preview release/gui/babylon.gui.js
  20. 1 1
      dist/preview release/gui/babylon.gui.min.js
  21. 1 1
      dist/preview release/gui/babylon.gui.min.js.map
  22. 14 428
      dist/preview release/gui/babylon.gui.module.d.ts
  23. 1 1
      dist/preview release/gui/package.json
  24. 1 1
      dist/preview release/inspector/babylon.inspector.bundle.js
  25. 1 1
      dist/preview release/inspector/babylon.inspector.bundle.js.map
  26. 1 1
      dist/preview release/inspector/babylon.inspector.d.ts
  27. 2 2
      dist/preview release/inspector/babylon.inspector.module.d.ts
  28. 1 1
      dist/preview release/inspector/package.json
  29. 13 7
      dist/preview release/loaders/babylon.glTF1FileLoader.js
  30. 1 1
      dist/preview release/loaders/babylon.glTF1FileLoader.min.js
  31. 13 7
      dist/preview release/loaders/babylon.glTFFileLoader.js
  32. 1 1
      dist/preview release/loaders/babylon.glTFFileLoader.min.js
  33. 1 1
      dist/preview release/loaders/babylonjs.loaders.js
  34. 1 1
      dist/preview release/loaders/babylonjs.loaders.min.js
  35. 2 2
      dist/preview release/loaders/package.json
  36. 10 4
      dist/preview release/materialsLibrary/babylon.cellMaterial.js
  37. 1 1
      dist/preview release/materialsLibrary/babylon.cellMaterial.min.js
  38. 6 3
      dist/preview release/materialsLibrary/babylon.customMaterial.js
  39. 1 1
      dist/preview release/materialsLibrary/babylon.customMaterial.min.js
  40. 11 8
      dist/preview release/materialsLibrary/babylon.fireMaterial.js
  41. 1 1
      dist/preview release/materialsLibrary/babylon.fireMaterial.min.js
  42. 10 4
      dist/preview release/materialsLibrary/babylon.furMaterial.js
  43. 1 1
      dist/preview release/materialsLibrary/babylon.furMaterial.min.js
  44. 10 4
      dist/preview release/materialsLibrary/babylon.gradientMaterial.js
  45. 1 1
      dist/preview release/materialsLibrary/babylon.gradientMaterial.min.js
  46. 6 3
      dist/preview release/materialsLibrary/babylon.gridMaterial.js
  47. 1 1
      dist/preview release/materialsLibrary/babylon.gridMaterial.min.js
  48. 10 4
      dist/preview release/materialsLibrary/babylon.lavaMaterial.js
  49. 1 1
      dist/preview release/materialsLibrary/babylon.lavaMaterial.min.js
  50. 12 6
      dist/preview release/materialsLibrary/babylon.mixMaterial.js
  51. 1 1
      dist/preview release/materialsLibrary/babylon.mixMaterial.min.js
  52. 10 4
      dist/preview release/materialsLibrary/babylon.normalMaterial.js
  53. 1 1
      dist/preview release/materialsLibrary/babylon.normalMaterial.min.js
  54. 10 4
      dist/preview release/materialsLibrary/babylon.shadowOnlyMaterial.js
  55. 1 1
      dist/preview release/materialsLibrary/babylon.shadowOnlyMaterial.min.js
  56. 10 4
      dist/preview release/materialsLibrary/babylon.simpleMaterial.js
  57. 1 1
      dist/preview release/materialsLibrary/babylon.simpleMaterial.min.js
  58. 11 9
      dist/preview release/materialsLibrary/babylon.skyMaterial.js
  59. 1 1
      dist/preview release/materialsLibrary/babylon.skyMaterial.min.js
  60. 12 6
      dist/preview release/materialsLibrary/babylon.terrainMaterial.js
  61. 1 1
      dist/preview release/materialsLibrary/babylon.terrainMaterial.min.js
  62. 10 4
      dist/preview release/materialsLibrary/babylon.triPlanarMaterial.js
  63. 1 1
      dist/preview release/materialsLibrary/babylon.triPlanarMaterial.min.js
  64. 10 4
      dist/preview release/materialsLibrary/babylon.waterMaterial.js
  65. 1 1
      dist/preview release/materialsLibrary/babylon.waterMaterial.min.js
  66. 58 26
      dist/preview release/materialsLibrary/babylonjs.materials.js
  67. 1 1
      dist/preview release/materialsLibrary/babylonjs.materials.min.js
  68. 1 1
      dist/preview release/materialsLibrary/package.json
  69. 6 3
      dist/preview release/postProcessesLibrary/babylon.asciiArtPostProcess.js
  70. 1 1
      dist/preview release/postProcessesLibrary/babylon.asciiArtPostProcess.min.js
  71. 6 3
      dist/preview release/postProcessesLibrary/babylon.digitalRainPostProcess.js
  72. 1 1
      dist/preview release/postProcessesLibrary/babylon.digitalRainPostProcess.min.js
  73. 1 1
      dist/preview release/postProcessesLibrary/package.json
  74. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.brickProceduralTexture.js
  75. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.brickProceduralTexture.min.js
  76. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.cloudProceduralTexture.js
  77. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.cloudProceduralTexture.min.js
  78. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.fireProceduralTexture.js
  79. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.fireProceduralTexture.min.js
  80. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.grassProceduralTexture.js
  81. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.grassProceduralTexture.min.js
  82. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.marbleProceduralTexture.js
  83. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.marbleProceduralTexture.min.js
  84. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.normalMapProceduralTexture.js
  85. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.normalMapProceduralTexture.min.js
  86. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.perlinNoiseProceduralTexture.js
  87. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.perlinNoiseProceduralTexture.min.js
  88. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.roadProceduralTexture.js
  89. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.roadProceduralTexture.min.js
  90. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.starfieldProceduralTexture.js
  91. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.starfieldProceduralTexture.min.js
  92. 6 3
      dist/preview release/proceduralTexturesLibrary/babylon.woodProceduralTexture.js
  93. 1 1
      dist/preview release/proceduralTexturesLibrary/babylon.woodProceduralTexture.min.js
  94. 1 1
      dist/preview release/proceduralTexturesLibrary/package.json
  95. 2 2
      dist/preview release/serializers/package.json
  96. 52 41
      dist/preview release/typedocValidationBaseline.json
  97. 21 7
      dist/preview release/viewer/babylon.viewer.d.ts
  98. 3 3
      dist/preview release/viewer/babylon.viewer.js
  99. 9 9
      dist/preview release/viewer/babylon.viewer.max.js
  100. 0 0
      dist/preview release/viewer/babylon.viewer.module.d.ts

+ 0 - 3
.gitmodules

@@ -1,3 +0,0 @@
-[submodule "Exporters/XNA - OBJ/BabylonExport.Core/Exporters/ThroughXNA/DAE/ColladaXna"]
-	path = Exporters/XNA - OBJ/BabylonExport.Core/Exporters/ThroughXNA/DAE/ColladaXna
-	url = https://github.com/gwenael-hagenmuller/ColladaXna.git

Plik diff jest za duży
+ 9315 - 9271
Playground/babylon.d.txt


BIN
Playground/textures/test2D.dds


+ 8 - 3
Tools/Gulp/config.json

@@ -719,7 +719,8 @@
         },
         "depthRenderer": {
             "files": [
-                "../../src/Rendering/babylon.depthRenderer.js"
+                "../../src/Rendering/babylon.depthRenderer.js",
+                "../../src/Rendering/babylon.depthRendererSceneComponent.js"
             ],
             "dependUpon": [
                 "core"
@@ -732,7 +733,8 @@
         },
         "geometryBufferRenderer": {
             "files": [
-                "../../src/Rendering/babylon.geometryBufferRenderer.js"
+                "../../src/Rendering/babylon.geometryBufferRenderer.js",
+                "../../src/Rendering/babylon.geometryBufferRendererSceneComponent.js"
             ],
             "dependUpon": [
                 "core"
@@ -972,6 +974,7 @@
         "renderingPipeline": {
             "files": [
                 "../../src/PostProcess/RenderPipeline/babylon.postProcessRenderPipelineManager.js",
+                "../../src/PostProcess/RenderPipeline/babylon.postProcessRenderPipelineManagerSceneComponent.js",
                 "../../src/PostProcess/RenderPipeline/babylon.postProcessRenderEffect.js",
                 "../../src/PostProcess/RenderPipeline/babylon.postProcessRenderPipeline.js"
             ],
@@ -988,7 +991,8 @@
             ],
             "dependUpon": [
                 "renderingPipeline",
-                "depthRenderer"
+                "depthRenderer",
+                "geometryBufferRenderer"
             ],
             "shaders": [
                 "ssao.fragment",
@@ -1269,6 +1273,7 @@
         "optimizations": {
             "files": [
                 "../../src/Mesh/babylon.meshSimplification.js",
+                "../../src/Mesh/babylon.meshSimplificationSceneComponent.js",
                 "../../src/Mesh/babylon.meshLODLevel.js",
                 "../../src/Tools/babylon.sceneOptimizer.js"
             ],

+ 1 - 1
Tools/Gulp/package.json

@@ -43,7 +43,7 @@
         "through2": "~2.0.3",
         "ts-loader": "^4.4.2",
         "typedoc": "^0.11.0",
-        "typescript": "^2.9.2",
+        "typescript": "^3.0.1",
         "webpack": "^4.16.3",
         "webpack-stream": "5.0.0"
     },

+ 1 - 1
Tools/Publisher/package.json

@@ -12,7 +12,7 @@
         "fs-extra": "^5.0.0",
         "prompt": "^1.0.0",
         "shelljs": "^0.7.8",
-        "typescript": "^2.9.2"
+        "typescript": "^3.0.1"
     },
     "devDependencies": {
         "gulp": "^4.0.0"

+ 1 - 1
Viewer/assets/templates/default/navbar.html

@@ -502,7 +502,7 @@
             <span class="icon help-icon"></span>
         </button>
         {{/unless}} {{#unless hideFullscreen}}
-        <button class="fullscreen fullscreen-button" title="{{text.fullscreenButton}} ">
+        <button class="fullscreen fullscreen-button" title="{{text.fullscreenButton}} " name="fullscreenToggle">
             <span class="icon fullscreen-icon"></span>
         </button>
         {{/unless}}

+ 1 - 1
Viewer/package.json

@@ -33,7 +33,7 @@
         "html-loader": "^0.5.5",
         "json-loader": "^0.5.7",
         "ts-loader": "^4.4.0",
-        "typescript": "^2.9.2",
+        "typescript": "^3.0.1",
         "uglifyjs-webpack-plugin": "^1.2.2",
         "webpack": "^4.16.0",
         "webpack-cli": "^3.0.8",

+ 20 - 8
contributing.md

@@ -15,7 +15,7 @@ That's why many of the guidelines of this document are obvious and serve only on
 Since the very beginning, Babylon.js relies on a great forum and a tremendous community: http://www.html5gamedevs.com/forum/16-babylonjs/.
 Please use the forum for **ANY questions you may have**.
 
-Please use the Github issues **only** for:
+Please use the Github issues (after discussing them on the forum) **only** for:
 - Bugs
 - Feature requests
 
@@ -24,10 +24,22 @@ We will try to enforce these rules as we consider the forum is a better place fo
 ## Pull requests
 
 We are not complicated people, but we still have some [coding guidelines](http://doc.babylonjs.com/how_to/approved_naming_conventions)
-Before submitting your PR, just check that everything goes well by [creating the minified version](http://doc.babylonjs.com/generals/Creating_the_Mini-fied_Version)
-
-Need help contributing, here are some links:
-  - [Gulp](https://github.com/BabylonJS/Babylon.js/tree/master/Tools/Gulp) to build from command line.
-  - [VSCode Editor](https://code.visualstudio.com/), Microsoft Code editor, see [Julian Chenard's post](http://pixelcodr.com/tutos/contribute/contribute.html) a Microsoft code editor.
-  - [Visual Studio](http://doc.babylonjs.com/generals/setup_visualStudio), Microsoft's IDE.
-  - [Forum thread](http://www.html5gamedevs.com/topic/20456-contributing-on-babylonjs/) for assistance from our very helpful family.
+Before submitting your PR, just check that everything goes well by [creating the minified version](http://doc.babylonjs.com/resources/creating_the_mini-fied_version)
+
+You should read the [how to contribute documentation](http://doc.babylonjs.com/how_to/how_to_start) before working on your PR.
+We also have a [forum thread](http://www.html5gamedevs.com/topic/20456-contributing-on-babylonjs/) for assistance from our very helpful family.
+  
+To validate your PR, please follow these steps:
+- Run "gulp" locally and make sure that no error is generated
+- Make sure that all public functions and classes are commented using JSDoc syntax
+- Make sure to add a line about your PR in the [what's new](https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview%20release/what's%20new.md)
+  
+ ## What should go where?
+
+In order to not bloat the core engine with unwanted or unnecessary features (that we will need to maintain forever), here is a list of questions you could ask yourself before submitting a new feature (or feature request) for Babylon.js core engine:
+- Does my feature belong to a framework library?
+- Can my feature be used by multiple different applications?
+- Is there a general use case for this feature?
+- Does this feature already exist in a similar framework?
+
+If your PR is does not fall into the core category you can consider using our [Extensions repo](https://github.com/BabylonJS/Extensions) for more high level features.

+ 1 - 1
dist/inspector/readme.md

@@ -13,7 +13,7 @@ If you wish however to use a different version of the inspector or host it on yo
 
 The latest compiled js file is offered on our public CDN here:
 
-* https://preview.babylonjs.com/inspector/babylonjs.inspector.bundle.js
+* https://preview.babylonjs.com/inspector/babylon.inspector.bundle.js
 
 ## NPM
 

Plik diff jest za duży
+ 10697 - 10474
dist/preview release/babylon.d.ts


Plik diff jest za duży
+ 1 - 1
dist/preview release/babylon.js


Plik diff jest za duży
+ 941 - 584
dist/preview release/babylon.max.js


Plik diff jest za duży
+ 941 - 584
dist/preview release/babylon.no-module.max.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/babylon.worker.js


Plik diff jest za duży
+ 943 - 586
dist/preview release/es6.js


+ 1 - 1
dist/preview release/glTF2Interface/package.json

@@ -1,7 +1,7 @@
 {
     "name": "babylonjs-gltf2interface",
     "description": "A typescript declaration of babylon's gltf2 inteface.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 7 - 205
dist/preview release/gui/babylon.gui.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS GUI*/
 // Dependencies for this module:
-//   ../../../../Tools/gulp/babylonjs
+//   ../../../../Tools/Gulp/babylonjs
 declare module BABYLON.GUI {
 }
 declare module BABYLON.GUI {
@@ -156,6 +156,8 @@ declare module BABYLON.GUI {
                 */
             getProjectedPosition(position: BABYLON.Vector3, worldMatrix: BABYLON.Matrix): BABYLON.Vector2;
             /** @hidden */
+            _changeCursor(cursor: string): void;
+            /** @hidden */
             _cleanControlAfterRemovalFromList(list: {
                     [pointerId: number]: Control;
             }, control: Control): void;
@@ -485,8 +487,6 @@ declare module BABYLON.GUI {
 declare module BABYLON.GUI {
 }
 declare module BABYLON.GUI {
-}
-declare module BABYLON.GUI {
     /**
         * Class used to manage 3D user interface
         * @see http://doc.babylonjs.com/how_to/gui3d
@@ -849,6 +849,8 @@ declare module BABYLON.GUI {
             shadowBlur: number;
             /** Gets or sets a value indicating the color of the shadow (black by default ie. "#000") */
             shadowColor: string;
+            /** Gets or sets the cursor to use when the control is hovered */
+            hoverCursor: string;
             /** @hidden */
             protected _linkOffsetX: ValueAndUnit;
             /** @hidden */
@@ -1283,7 +1285,7 @@ declare module BABYLON.GUI {
     /**
         * Class used to create 2D images
         */
-    class GUIImage extends Control {
+    export class Image extends Control {
             name?: string | undefined;
             /**
                 * Gets or sets the left coordinate in the source image
@@ -2363,6 +2365,7 @@ declare module BABYLON.GUI {
                 * Gets or sets the hover light position in world space (default is BABYLON.Vector3.Zero())
                 */
             hoverPosition: BABYLON.Vector3;
+            /** Gets or sets the texture to use for albedo color */
             albedoTexture: BABYLON.Nullable<BABYLON.BaseTexture>;
             /**
                 * Creates a new Fluent material
@@ -2383,205 +2386,4 @@ declare module BABYLON.GUI {
             getClassName(): string;
             static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentMaterial;
     }
-}
-declare module BABYLON.GUI {
-    /**
-        * Class used to store data to display
-        * @see http://doc.babylonjs.com/how_to/chart3d
-        */
-    export class DataSeries {
-            /** Gets or sets the label of the series */
-            label: string;
-            /** Gets or sets the color associated with the series */
-            color: BABYLON.Color3;
-            /** Gets or sets the list of dimensions (used to filter data) */
-            dimensions: Array<string>;
-            /** Gets or sets the list of values (data to display) */
-            data: Array<any>;
-            /**
-                * Apply a list of filters to the data and return a list
-                * @param filters defines the filters to apply
-                * @returns an array containing the filtered data
-                */
-            getFilteredData(filters: {
-                    [key: string]: string;
-            }): Array<any>;
-            /**
-                * Get the different values of a dimension
-                * @param key defines the dimension name
-                * @returns An array of values
-                */
-            getDimensionValues(key: string): Array<any>;
-            /**
-                * Create a new DataSeries containing testing values
-                * @returns the new DataSeries
-                */
-            static CreateFakeData(): DataSeries;
-            /**
-                * Create a new DataSeries containing testing spatial values
-                * @returns the new DataSeries
-                */
-            static CreateFakeSpatialData(): DataSeries;
-    }
-}
-declare module BABYLON.GUI {
-    /**
-        * Base class for all chart controls
-        * @see http://doc.babylonjs.com/how_to/chart3d#charts
-        */
-    export abstract class Chart {
-            protected _dataSource: BABYLON.Nullable<DataSeries>;
-            protected _rootNode: BABYLON.TransformNode;
-            protected _dataFilters: {
-                    [key: string]: string;
-            };
-            protected _scene: BABYLON.Scene;
-            protected _blockRefresh: boolean;
-            protected _elementWidth: number;
-            protected _defaultMaterial: BABYLON.Nullable<BABYLON.Material>;
-            /** BABYLON.Observable raised when a refresh was done */
-            onRefreshObservable: BABYLON.Observable<Chart>;
-            /** BABYLON.Observable raised when a new element is created */
-            onElementCreatedObservable: BABYLON.Observable<BABYLON.Mesh>;
-            /**
-                * BABYLON.Observable raised when the point picked by the pointer events changed
-                */
-            onPickedPointChangedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector3>>;
-            /**
-                * BABYLON.Observable raised when the pointer enters an element of the chart
-             */
-            onElementEnterObservable: BABYLON.Observable<BABYLON.AbstractMesh>;
-            /**
-                * BABYLON.Observable raised when the pointer leaves an element of the chart
-                */
-            onElementOutObservable: BABYLON.Observable<BABYLON.AbstractMesh>;
-            /** User defined callback used to create labels */
-            labelCreationFunction: BABYLON.Nullable<(label: string, width: number, includeBackground: boolean) => BABYLON.Mesh>;
-            /** User defined callback used to apply specific setup to hover labels */
-            updateHoverLabel: BABYLON.Nullable<(meshLabel: BABYLON.Mesh) => void>;
-            /** Gets or sets the width of each element */
-            elementWidth: number;
-            /** Gets or sets the rotation of the entire chart */
-            rotation: BABYLON.Vector3;
-            /** Gets or sets the position of the entire chart */
-            position: BABYLON.Vector3;
-            /** Gets or sets the scaling of the entire chart */
-            scaling: BABYLON.Vector3;
-            /** Gets or sets the data source used by the graph */
-            dataSource: BABYLON.Nullable<DataSeries>;
-            /** Gets or sets the filters applied to data source */
-            dataFilters: {
-                    [key: string]: string;
-            };
-            /** Gets the root node associated with this graph */
-            readonly rootNode: BABYLON.TransformNode;
-            /** Gets or sets a value indicating if refresh function should be executed (useful when multiple changes will happen and you want to run refresh only at the end) */
-            blockRefresh: boolean;
-            /** Gets or sets the material used by element meshes */
-            defaultMaterial: BABYLON.Nullable<BABYLON.Material>;
-            /** Gets or sets a boolean indicating if labels must be displayed */
-            displayLabels: boolean;
-            /** Gets or sets the dimension used for the labels */
-            labelDimension: string;
-            /** Gets or sets a boolean indicating if glow should be used to highlight element hovering */
-            glowHover: boolean;
-            /** Gets or sets the name of the graph */
-            name: string;
-            /**
-                * Creates a new Chart
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, scene?: BABYLON.Nullable<BABYLON.Scene>);
-            protected _createDefaultMaterial(scene: BABYLON.Scene): BABYLON.Material;
-            /**
-                * Function called by the chart objects when they need a label. Could be user defined if you set this.labelCreationFunction to a custom callback
-                * @param label defines the text of the label
-                * @param width defines the expected width (height is supposed to be 1)
-                * @param includeBackground defines if a background rectangle must be added (default is true)
-                * @returns a mesh used to host the label
-                */
-            protected _addLabel(label: string, width: number, includeBackground?: boolean): BABYLON.Mesh;
-            /**
-                * Remove specific label mesh
-                * @param label defines the label mesh to remove
-                */
-            protected _removeLabel(label: BABYLON.Mesh): void;
-            /** Remove all created labels */
-            protected _removeLabels(): void;
-            /**
-                * Force the chart to redraw itself
-                * @returns the current chart
-             */
-            abstract refresh(): Chart;
-            /** Release all associated resources */
-            dispose(): void;
-            protected _clean(): void;
-    }
-}
-declare module BABYLON.GUI {
-    /**
-        * Class used to render bar graphs
-        * @see http://doc.babylonjs.com/how_to/chart3d#bargraph
-        */
-    export class BarGraph extends Chart {
-            /** Gets or sets a boolean indicating if the background must be displayed */
-            displayBackground: boolean;
-            /** Gets or sets the margin between bars */
-            margin: number;
-            /** Gets or sets the maximum height of a bar */
-            maxBarHeight: number;
-            /**
-                * Creates a new BarGraph
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, scene?: BABYLON.Nullable<BABYLON.Scene>);
-            /**
-                * Children class can override this function to provide a new mesh (as long as it stays inside a 1x1x1 box)
-                * @param name defines the mesh name
-                * @param scene defines the hosting scene
-                * @returns a new mesh used to represent the current bar
-                */
-            protected _createBarMesh(name: string, scene: BABYLON.Scene): BABYLON.Mesh;
-            /**
-                * Force the graph to redraw itself
-                * @returns the current BarGraph
-             */
-            refresh(): BarGraph;
-            protected _clean(): void;
-    }
-}
-declare module BABYLON.GUI {
-    /**
-        * Class used to render bar graphs
-        * @see http://doc.babylonjs.com/how_to/chart3d#mapgraph
-        */
-    export class MapGraph extends Chart {
-            /** Gets or sets the offset (in world unit) on X axis to apply to all elements */
-            xOffset: number;
-            /** Gets or sets the offset (in world unit) on Y axis to apply to all elements */
-            yOffset: number;
-            /** Gets or sets the tesselation used to build the cylinders */
-            cylinderTesselation: number;
-            /** Gets or sets the size of the world map (this will define the width) */
-            worldMapSize: number;
-            updateHoverLabel: (meshLabel: BABYLON.Mesh) => void;
-            /**
-                * Gets the material used to render the world map
-                */
-            readonly worldMapMaterial: BABYLON.Nullable<BABYLON.Material>;
-            /** Sets the texture url to use for the world map */
-            worldMapUrl: string;
-            /**
-                * Creates a new MapGraph
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, mapUrl: string, scene?: BABYLON.Nullable<BABYLON.Scene>);
-            protected _createCylinderMesh(name: string, scene: BABYLON.Scene): BABYLON.Mesh;
-            refresh(): MapGraph;
-            protected _clean(): void;
-            dispose(): void;
-    }
 }

Plik diff jest za duży
+ 1 - 1
dist/preview release/gui/babylon.gui.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js.map


+ 14 - 428
dist/preview release/gui/babylon.gui.module.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS GUI*/
 // Dependencies for this module:
-//   ../../../../Tools/gulp/babylonjs
+//   ../../../../Tools/Gulp/babylonjs
 
 declare module 'babylonjs-gui' {
     export * from "babylonjs-gui/2D";
@@ -20,7 +20,6 @@ declare module 'babylonjs-gui/2D' {
 declare module 'babylonjs-gui/3D' {
     export * from "babylonjs-gui/3D/controls";
     export * from "babylonjs-gui/3D/materials";
-    export * from "babylonjs-gui/3D/charting";
     export * from "babylonjs-gui/3D/gui3DManager";
     export * from "babylonjs-gui/3D/vector3WithInfo";
 }
@@ -199,6 +198,8 @@ declare module 'babylonjs-gui/2D/advancedDynamicTexture' {
                 */
             getProjectedPosition(position: Vector3, worldMatrix: Matrix): Vector2;
             /** @hidden */
+            _changeCursor(cursor: string): void;
+            /** @hidden */
             _cleanControlAfterRemovalFromList(list: {
                     [pointerId: number]: Control;
             }, control: Control): void;
@@ -556,13 +557,6 @@ declare module 'babylonjs-gui/3D/materials' {
     export * from "babylonjs-gui/3D/materials/fluentMaterial";
 }
 
-declare module 'babylonjs-gui/3D/charting' {
-    export * from "babylonjs-gui/3D/charting/dataSeries";
-    export * from "babylonjs-gui/3D/charting/chart";
-    export * from "babylonjs-gui/3D/charting/barGraph";
-    export * from "babylonjs-gui/3D/charting/mapGraph";
-}
-
 declare module 'babylonjs-gui/3D/gui3DManager' {
     import { IDisposable, Scene, Nullable, UtilityLayerRenderer, Observable, Vector3, Material } from "babylonjs";
     import { Container3D } from "babylonjs-gui/3D/controls/container3D";
@@ -957,6 +951,8 @@ declare module 'babylonjs-gui/2D/controls/control' {
             shadowBlur: number;
             /** Gets or sets a value indicating the color of the shadow (black by default ie. "#000") */
             shadowColor: string;
+            /** Gets or sets the cursor to use when the control is hovered */
+            hoverCursor: string;
             /** @hidden */
             protected _linkOffsetX: ValueAndUnit;
             /** @hidden */
@@ -1402,7 +1398,7 @@ declare module 'babylonjs-gui/2D/controls/image' {
     /**
         * Class used to create 2D images
         */
-    class GUIImage extends Control {
+    export class Image extends Control {
             name?: string | undefined;
             /**
                 * Gets or sets the left coordinate in the source image
@@ -1469,7 +1465,6 @@ declare module 'babylonjs-gui/2D/controls/image' {
             /** STRETCH_EXTEND */
             static readonly STRETCH_EXTEND: number;
     }
-    export { GUIImage as Image };
 }
 
 declare module 'babylonjs-gui/2D/controls/inputText' {
@@ -2575,6 +2570,7 @@ declare module 'babylonjs-gui/3D/materials/fluentMaterial' {
                 * Gets or sets the hover light position in world space (default is Vector3.Zero())
                 */
             hoverPosition: Vector3;
+            /** Gets or sets the texture to use for albedo color */
             albedoTexture: Nullable<BaseTexture>;
             /**
                 * Creates a new Fluent material
@@ -2597,222 +2593,10 @@ declare module 'babylonjs-gui/3D/materials/fluentMaterial' {
     }
 }
 
-declare module 'babylonjs-gui/3D/charting/dataSeries' {
-    import { Color3 } from "babylonjs";
-    /**
-        * Class used to store data to display
-        * @see http://doc.babylonjs.com/how_to/chart3d
-        */
-    export class DataSeries {
-            /** Gets or sets the label of the series */
-            label: string;
-            /** Gets or sets the color associated with the series */
-            color: Color3;
-            /** Gets or sets the list of dimensions (used to filter data) */
-            dimensions: Array<string>;
-            /** Gets or sets the list of values (data to display) */
-            data: Array<any>;
-            /**
-                * Apply a list of filters to the data and return a list
-                * @param filters defines the filters to apply
-                * @returns an array containing the filtered data
-                */
-            getFilteredData(filters: {
-                    [key: string]: string;
-            }): Array<any>;
-            /**
-                * Get the different values of a dimension
-                * @param key defines the dimension name
-                * @returns An array of values
-                */
-            getDimensionValues(key: string): Array<any>;
-            /**
-                * Create a new DataSeries containing testing values
-                * @returns the new DataSeries
-                */
-            static CreateFakeData(): DataSeries;
-            /**
-                * Create a new DataSeries containing testing spatial values
-                * @returns the new DataSeries
-                */
-            static CreateFakeSpatialData(): DataSeries;
-    }
-}
-
-declare module 'babylonjs-gui/3D/charting/chart' {
-    import { Nullable, TransformNode, Scene, Vector3, Observable, Mesh, AbstractMesh, Material } from "babylonjs";
-    import { DataSeries } from "babylonjs-gui/3D/charting";
-    /**
-        * Base class for all chart controls
-        * @see http://doc.babylonjs.com/how_to/chart3d#charts
-        */
-    export abstract class Chart {
-            protected _dataSource: Nullable<DataSeries>;
-            protected _rootNode: TransformNode;
-            protected _dataFilters: {
-                    [key: string]: string;
-            };
-            protected _scene: Scene;
-            protected _blockRefresh: boolean;
-            protected _elementWidth: number;
-            protected _defaultMaterial: Nullable<Material>;
-            /** Observable raised when a refresh was done */
-            onRefreshObservable: Observable<Chart>;
-            /** Observable raised when a new element is created */
-            onElementCreatedObservable: Observable<Mesh>;
-            /**
-                * Observable raised when the point picked by the pointer events changed
-                */
-            onPickedPointChangedObservable: Observable<Nullable<Vector3>>;
-            /**
-                * Observable raised when the pointer enters an element of the chart
-             */
-            onElementEnterObservable: Observable<AbstractMesh>;
-            /**
-                * Observable raised when the pointer leaves an element of the chart
-                */
-            onElementOutObservable: Observable<AbstractMesh>;
-            /** User defined callback used to create labels */
-            labelCreationFunction: Nullable<(label: string, width: number, includeBackground: boolean) => Mesh>;
-            /** User defined callback used to apply specific setup to hover labels */
-            updateHoverLabel: Nullable<(meshLabel: Mesh) => void>;
-            /** Gets or sets the width of each element */
-            elementWidth: number;
-            /** Gets or sets the rotation of the entire chart */
-            rotation: Vector3;
-            /** Gets or sets the position of the entire chart */
-            position: Vector3;
-            /** Gets or sets the scaling of the entire chart */
-            scaling: Vector3;
-            /** Gets or sets the data source used by the graph */
-            dataSource: Nullable<DataSeries>;
-            /** Gets or sets the filters applied to data source */
-            dataFilters: {
-                    [key: string]: string;
-            };
-            /** Gets the root node associated with this graph */
-            readonly rootNode: TransformNode;
-            /** Gets or sets a value indicating if refresh function should be executed (useful when multiple changes will happen and you want to run refresh only at the end) */
-            blockRefresh: boolean;
-            /** Gets or sets the material used by element meshes */
-            defaultMaterial: Nullable<Material>;
-            /** Gets or sets a boolean indicating if labels must be displayed */
-            displayLabels: boolean;
-            /** Gets or sets the dimension used for the labels */
-            labelDimension: string;
-            /** Gets or sets a boolean indicating if glow should be used to highlight element hovering */
-            glowHover: boolean;
-            /** Gets or sets the name of the graph */
-            name: string;
-            /**
-                * Creates a new Chart
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, scene?: Nullable<Scene>);
-            protected _createDefaultMaterial(scene: Scene): Material;
-            /**
-                * Function called by the chart objects when they need a label. Could be user defined if you set this.labelCreationFunction to a custom callback
-                * @param label defines the text of the label
-                * @param width defines the expected width (height is supposed to be 1)
-                * @param includeBackground defines if a background rectangle must be added (default is true)
-                * @returns a mesh used to host the label
-                */
-            protected _addLabel(label: string, width: number, includeBackground?: boolean): Mesh;
-            /**
-                * Remove specific label mesh
-                * @param label defines the label mesh to remove
-                */
-            protected _removeLabel(label: Mesh): void;
-            /** Remove all created labels */
-            protected _removeLabels(): void;
-            /**
-                * Force the chart to redraw itself
-                * @returns the current chart
-             */
-            abstract refresh(): Chart;
-            /** Release all associated resources */
-            dispose(): void;
-            protected _clean(): void;
-    }
-}
-
-declare module 'babylonjs-gui/3D/charting/barGraph' {
-    import { Nullable, Scene, Mesh } from "babylonjs";
-    import { Chart } from "babylonjs-gui/3D/charting";
-    /**
-        * Class used to render bar graphs
-        * @see http://doc.babylonjs.com/how_to/chart3d#bargraph
-        */
-    export class BarGraph extends Chart {
-            /** Gets or sets a boolean indicating if the background must be displayed */
-            displayBackground: boolean;
-            /** Gets or sets the margin between bars */
-            margin: number;
-            /** Gets or sets the maximum height of a bar */
-            maxBarHeight: number;
-            /**
-                * Creates a new BarGraph
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, scene?: Nullable<Scene>);
-            /**
-                * Children class can override this function to provide a new mesh (as long as it stays inside a 1x1x1 box)
-                * @param name defines the mesh name
-                * @param scene defines the hosting scene
-                * @returns a new mesh used to represent the current bar
-                */
-            protected _createBarMesh(name: string, scene: Scene): Mesh;
-            /**
-                * Force the graph to redraw itself
-                * @returns the current BarGraph
-             */
-            refresh(): BarGraph;
-            protected _clean(): void;
-    }
-}
-
-declare module 'babylonjs-gui/3D/charting/mapGraph' {
-    import { Chart } from "babylonjs-gui/3D/charting";
-    import { Scene, Nullable, Mesh, Material } from "babylonjs";
-    /**
-        * Class used to render bar graphs
-        * @see http://doc.babylonjs.com/how_to/chart3d#mapgraph
-        */
-    export class MapGraph extends Chart {
-            /** Gets or sets the offset (in world unit) on X axis to apply to all elements */
-            xOffset: number;
-            /** Gets or sets the offset (in world unit) on Y axis to apply to all elements */
-            yOffset: number;
-            /** Gets or sets the tesselation used to build the cylinders */
-            cylinderTesselation: number;
-            /** Gets or sets the size of the world map (this will define the width) */
-            worldMapSize: number;
-            updateHoverLabel: (meshLabel: Mesh) => void;
-            /**
-                * Gets the material used to render the world map
-                */
-            readonly worldMapMaterial: Nullable<Material>;
-            /** Sets the texture url to use for the world map */
-            worldMapUrl: string;
-            /**
-                * Creates a new MapGraph
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, mapUrl: string, scene?: Nullable<Scene>);
-            protected _createCylinderMesh(name: string, scene: Scene): Mesh;
-            refresh(): MapGraph;
-            protected _clean(): void;
-            dispose(): void;
-    }
-}
-
 
 /*BabylonJS GUI*/
 // Dependencies for this module:
-//   ../../../../Tools/gulp/babylonjs
+//   ../../../../Tools/Gulp/babylonjs
 declare module BABYLON.GUI {
 }
 declare module BABYLON.GUI {
@@ -2968,6 +2752,8 @@ declare module BABYLON.GUI {
                 */
             getProjectedPosition(position: BABYLON.Vector3, worldMatrix: BABYLON.Matrix): BABYLON.Vector2;
             /** @hidden */
+            _changeCursor(cursor: string): void;
+            /** @hidden */
             _cleanControlAfterRemovalFromList(list: {
                     [pointerId: number]: Control;
             }, control: Control): void;
@@ -3297,8 +3083,6 @@ declare module BABYLON.GUI {
 declare module BABYLON.GUI {
 }
 declare module BABYLON.GUI {
-}
-declare module BABYLON.GUI {
     /**
         * Class used to manage 3D user interface
         * @see http://doc.babylonjs.com/how_to/gui3d
@@ -3661,6 +3445,8 @@ declare module BABYLON.GUI {
             shadowBlur: number;
             /** Gets or sets a value indicating the color of the shadow (black by default ie. "#000") */
             shadowColor: string;
+            /** Gets or sets the cursor to use when the control is hovered */
+            hoverCursor: string;
             /** @hidden */
             protected _linkOffsetX: ValueAndUnit;
             /** @hidden */
@@ -4095,7 +3881,7 @@ declare module BABYLON.GUI {
     /**
         * Class used to create 2D images
         */
-    class GUIImage extends Control {
+    export class Image extends Control {
             name?: string | undefined;
             /**
                 * Gets or sets the left coordinate in the source image
@@ -5175,6 +4961,7 @@ declare module BABYLON.GUI {
                 * Gets or sets the hover light position in world space (default is BABYLON.Vector3.Zero())
                 */
             hoverPosition: BABYLON.Vector3;
+            /** Gets or sets the texture to use for albedo color */
             albedoTexture: BABYLON.Nullable<BABYLON.BaseTexture>;
             /**
                 * Creates a new Fluent material
@@ -5195,205 +4982,4 @@ declare module BABYLON.GUI {
             getClassName(): string;
             static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentMaterial;
     }
-}
-declare module BABYLON.GUI {
-    /**
-        * Class used to store data to display
-        * @see http://doc.babylonjs.com/how_to/chart3d
-        */
-    export class DataSeries {
-            /** Gets or sets the label of the series */
-            label: string;
-            /** Gets or sets the color associated with the series */
-            color: BABYLON.Color3;
-            /** Gets or sets the list of dimensions (used to filter data) */
-            dimensions: Array<string>;
-            /** Gets or sets the list of values (data to display) */
-            data: Array<any>;
-            /**
-                * Apply a list of filters to the data and return a list
-                * @param filters defines the filters to apply
-                * @returns an array containing the filtered data
-                */
-            getFilteredData(filters: {
-                    [key: string]: string;
-            }): Array<any>;
-            /**
-                * Get the different values of a dimension
-                * @param key defines the dimension name
-                * @returns An array of values
-                */
-            getDimensionValues(key: string): Array<any>;
-            /**
-                * Create a new DataSeries containing testing values
-                * @returns the new DataSeries
-                */
-            static CreateFakeData(): DataSeries;
-            /**
-                * Create a new DataSeries containing testing spatial values
-                * @returns the new DataSeries
-                */
-            static CreateFakeSpatialData(): DataSeries;
-    }
-}
-declare module BABYLON.GUI {
-    /**
-        * Base class for all chart controls
-        * @see http://doc.babylonjs.com/how_to/chart3d#charts
-        */
-    export abstract class Chart {
-            protected _dataSource: BABYLON.Nullable<DataSeries>;
-            protected _rootNode: BABYLON.TransformNode;
-            protected _dataFilters: {
-                    [key: string]: string;
-            };
-            protected _scene: BABYLON.Scene;
-            protected _blockRefresh: boolean;
-            protected _elementWidth: number;
-            protected _defaultMaterial: BABYLON.Nullable<BABYLON.Material>;
-            /** BABYLON.Observable raised when a refresh was done */
-            onRefreshObservable: BABYLON.Observable<Chart>;
-            /** BABYLON.Observable raised when a new element is created */
-            onElementCreatedObservable: BABYLON.Observable<BABYLON.Mesh>;
-            /**
-                * BABYLON.Observable raised when the point picked by the pointer events changed
-                */
-            onPickedPointChangedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector3>>;
-            /**
-                * BABYLON.Observable raised when the pointer enters an element of the chart
-             */
-            onElementEnterObservable: BABYLON.Observable<BABYLON.AbstractMesh>;
-            /**
-                * BABYLON.Observable raised when the pointer leaves an element of the chart
-                */
-            onElementOutObservable: BABYLON.Observable<BABYLON.AbstractMesh>;
-            /** User defined callback used to create labels */
-            labelCreationFunction: BABYLON.Nullable<(label: string, width: number, includeBackground: boolean) => BABYLON.Mesh>;
-            /** User defined callback used to apply specific setup to hover labels */
-            updateHoverLabel: BABYLON.Nullable<(meshLabel: BABYLON.Mesh) => void>;
-            /** Gets or sets the width of each element */
-            elementWidth: number;
-            /** Gets or sets the rotation of the entire chart */
-            rotation: BABYLON.Vector3;
-            /** Gets or sets the position of the entire chart */
-            position: BABYLON.Vector3;
-            /** Gets or sets the scaling of the entire chart */
-            scaling: BABYLON.Vector3;
-            /** Gets or sets the data source used by the graph */
-            dataSource: BABYLON.Nullable<DataSeries>;
-            /** Gets or sets the filters applied to data source */
-            dataFilters: {
-                    [key: string]: string;
-            };
-            /** Gets the root node associated with this graph */
-            readonly rootNode: BABYLON.TransformNode;
-            /** Gets or sets a value indicating if refresh function should be executed (useful when multiple changes will happen and you want to run refresh only at the end) */
-            blockRefresh: boolean;
-            /** Gets or sets the material used by element meshes */
-            defaultMaterial: BABYLON.Nullable<BABYLON.Material>;
-            /** Gets or sets a boolean indicating if labels must be displayed */
-            displayLabels: boolean;
-            /** Gets or sets the dimension used for the labels */
-            labelDimension: string;
-            /** Gets or sets a boolean indicating if glow should be used to highlight element hovering */
-            glowHover: boolean;
-            /** Gets or sets the name of the graph */
-            name: string;
-            /**
-                * Creates a new Chart
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, scene?: BABYLON.Nullable<BABYLON.Scene>);
-            protected _createDefaultMaterial(scene: BABYLON.Scene): BABYLON.Material;
-            /**
-                * Function called by the chart objects when they need a label. Could be user defined if you set this.labelCreationFunction to a custom callback
-                * @param label defines the text of the label
-                * @param width defines the expected width (height is supposed to be 1)
-                * @param includeBackground defines if a background rectangle must be added (default is true)
-                * @returns a mesh used to host the label
-                */
-            protected _addLabel(label: string, width: number, includeBackground?: boolean): BABYLON.Mesh;
-            /**
-                * Remove specific label mesh
-                * @param label defines the label mesh to remove
-                */
-            protected _removeLabel(label: BABYLON.Mesh): void;
-            /** Remove all created labels */
-            protected _removeLabels(): void;
-            /**
-                * Force the chart to redraw itself
-                * @returns the current chart
-             */
-            abstract refresh(): Chart;
-            /** Release all associated resources */
-            dispose(): void;
-            protected _clean(): void;
-    }
-}
-declare module BABYLON.GUI {
-    /**
-        * Class used to render bar graphs
-        * @see http://doc.babylonjs.com/how_to/chart3d#bargraph
-        */
-    export class BarGraph extends Chart {
-            /** Gets or sets a boolean indicating if the background must be displayed */
-            displayBackground: boolean;
-            /** Gets or sets the margin between bars */
-            margin: number;
-            /** Gets or sets the maximum height of a bar */
-            maxBarHeight: number;
-            /**
-                * Creates a new BarGraph
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, scene?: BABYLON.Nullable<BABYLON.Scene>);
-            /**
-                * Children class can override this function to provide a new mesh (as long as it stays inside a 1x1x1 box)
-                * @param name defines the mesh name
-                * @param scene defines the hosting scene
-                * @returns a new mesh used to represent the current bar
-                */
-            protected _createBarMesh(name: string, scene: BABYLON.Scene): BABYLON.Mesh;
-            /**
-                * Force the graph to redraw itself
-                * @returns the current BarGraph
-             */
-            refresh(): BarGraph;
-            protected _clean(): void;
-    }
-}
-declare module BABYLON.GUI {
-    /**
-        * Class used to render bar graphs
-        * @see http://doc.babylonjs.com/how_to/chart3d#mapgraph
-        */
-    export class MapGraph extends Chart {
-            /** Gets or sets the offset (in world unit) on X axis to apply to all elements */
-            xOffset: number;
-            /** Gets or sets the offset (in world unit) on Y axis to apply to all elements */
-            yOffset: number;
-            /** Gets or sets the tesselation used to build the cylinders */
-            cylinderTesselation: number;
-            /** Gets or sets the size of the world map (this will define the width) */
-            worldMapSize: number;
-            updateHoverLabel: (meshLabel: BABYLON.Mesh) => void;
-            /**
-                * Gets the material used to render the world map
-                */
-            readonly worldMapMaterial: BABYLON.Nullable<BABYLON.Material>;
-            /** Sets the texture url to use for the world map */
-            worldMapUrl: string;
-            /**
-                * Creates a new MapGraph
-                * @param name defines the name of the graph
-                * @param scene defines the hosting scene
-                */
-            constructor(name: string, mapUrl: string, scene?: BABYLON.Nullable<BABYLON.Scene>);
-            protected _createCylinderMesh(name: string, scene: BABYLON.Scene): BABYLON.Mesh;
-            refresh(): MapGraph;
-            protected _clean(): void;
-            dispose(): void;
-    }
 }

+ 1 - 1
dist/preview release/gui/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-gui",
     "description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

Plik diff jest za duży
+ 1 - 1
dist/preview release/inspector/babylon.inspector.bundle.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/inspector/babylon.inspector.bundle.js.map


+ 1 - 1
dist/preview release/inspector/babylon.inspector.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS Inspector*/
 // Dependencies for this module:
-//   ../../../../Tools/gulp/babylonjs
+//   ../../../../Tools/Gulp/babylonjs
 declare module INSPECTOR {
 }
 declare module INSPECTOR {

+ 2 - 2
dist/preview release/inspector/babylon.inspector.module.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS Inspector*/
 // Dependencies for this module:
-//   ../../../../Tools/gulp/babylonjs
+//   ../../../../Tools/Gulp/babylonjs
 
 declare module 'babylonjs-inspector' {
     export * from 'babylonjs-inspector/adapters';
@@ -1331,7 +1331,7 @@ declare module 'babylonjs-inspector/treetools/SoundInteractions' {
 
 /*BabylonJS Inspector*/
 // Dependencies for this module:
-//   ../../../../Tools/gulp/babylonjs
+//   ../../../../Tools/Gulp/babylonjs
 declare module INSPECTOR {
 }
 declare module INSPECTOR {

+ 1 - 1
dist/preview release/inspector/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-inspector",
     "description": "The Babylon.js inspector.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 13 - 7
dist/preview release/loaders/babylon.glTF1FileLoader.js

@@ -1901,7 +1901,7 @@ var BABYLON;
                     (sampler.minFilter === GLTF1.ETextureFilterType.LINEAR_MIPMAP_NEAREST) ||
                     (sampler.minFilter === GLTF1.ETextureFilterType.LINEAR_MIPMAP_LINEAR);
                 var samplingMode = BABYLON.Texture.BILINEAR_SAMPLINGMODE;
-                var blob = new Blob([buffer]);
+                var blob = buffer == null ? new Blob() : new Blob([buffer]);
                 var blobURL = URL.createObjectURL(blob);
                 var revokeBlobURL = function () { return URL.revokeObjectURL(blobURL); };
                 var newTexture = new BABYLON.Texture(blobURL, gltfRuntime.scene, !createMipMaps, true, samplingMode, revokeBlobURL, revokeBlobURL);
@@ -2680,9 +2680,12 @@ var BABYLON;
 
 /// <reference path="../../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -2757,9 +2760,12 @@ var BABYLON;
 
 /// <reference path="../../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/loaders/babylon.glTF1FileLoader.min.js


+ 13 - 7
dist/preview release/loaders/babylon.glTFFileLoader.js

@@ -1901,7 +1901,7 @@ var BABYLON;
                     (sampler.minFilter === GLTF1.ETextureFilterType.LINEAR_MIPMAP_NEAREST) ||
                     (sampler.minFilter === GLTF1.ETextureFilterType.LINEAR_MIPMAP_LINEAR);
                 var samplingMode = BABYLON.Texture.BILINEAR_SAMPLINGMODE;
-                var blob = new Blob([buffer]);
+                var blob = buffer == null ? new Blob() : new Blob([buffer]);
                 var blobURL = URL.createObjectURL(blob);
                 var revokeBlobURL = function () { return URL.revokeObjectURL(blobURL); };
                 var newTexture = new BABYLON.Texture(blobURL, gltfRuntime.scene, !createMipMaps, true, samplingMode, revokeBlobURL, revokeBlobURL);
@@ -2680,9 +2680,12 @@ var BABYLON;
 
 /// <reference path="../../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -2757,9 +2760,12 @@ var BABYLON;
 
 /// <reference path="../../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/loaders/babylon.glTFFileLoader.min.js


+ 1 - 1
dist/preview release/loaders/babylonjs.loaders.js

@@ -2956,7 +2956,7 @@ var BABYLON;
                     (sampler.minFilter === GLTF1.ETextureFilterType.LINEAR_MIPMAP_NEAREST) ||
                     (sampler.minFilter === GLTF1.ETextureFilterType.LINEAR_MIPMAP_LINEAR);
                 var samplingMode = BABYLON.Texture.BILINEAR_SAMPLINGMODE;
-                var blob = new Blob([buffer]);
+                var blob = buffer == null ? new Blob() : new Blob([buffer]);
                 var blobURL = URL.createObjectURL(blob);
                 var revokeBlobURL = function () { return URL.revokeObjectURL(blobURL); };
                 var newTexture = new BABYLON.Texture(blobURL, gltfRuntime.scene, !createMipMaps, true, samplingMode, revokeBlobURL, revokeBlobURL);

Plik diff jest za duży
+ 1 - 1
dist/preview release/loaders/babylonjs.loaders.min.js


+ 2 - 2
dist/preview release/loaders/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-loaders",
     "description": "The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -27,7 +27,7 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs-gltf2interface": "3.3.0-alpha.14"
+        "babylonjs-gltf2interface": "3.3.0-beta.1"
     },
     "peerDependencies": {
         "babylonjs": ">=3.2.0-alpha"

+ 10 - 4
dist/preview release/materialsLibrary/babylon.cellMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -23,6 +26,9 @@ var BABYLON;
             var _this = _super.call(this) || this;
             _this.DIFFUSE = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.POINTSIZE = false;
             _this.FOG = false;
@@ -140,7 +146,7 @@ var BABYLON;
                     "vFogInfos", "vFogColor", "pointSize",
                     "vDiffuseInfos",
                     "mBones",
-                    "vClipPlane", "diffuseMatrix"
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "diffuseMatrix"
                 ];
                 var samplers = ["diffuseSampler"];
                 var uniformBuffers = new Array();

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.cellMaterial.min.js


+ 6 - 3
dist/preview release/materialsLibrary/babylon.customMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.customMaterial.min.js


+ 11 - 8
dist/preview release/materialsLibrary/babylon.fireMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -23,6 +26,9 @@ var BABYLON;
             var _this = _super.call(this) || this;
             _this.DIFFUSE = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -129,7 +135,7 @@ var BABYLON;
                         "vFogInfos", "vFogColor", "pointSize",
                         "vDiffuseInfos",
                         "mBones",
-                        "vClipPlane", "diffuseMatrix",
+                        "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "diffuseMatrix",
                         // Fire
                         "time", "speed"
                     ],
@@ -180,10 +186,7 @@ var BABYLON;
                     this._activeEffect.setTexture("opacitySampler", this._opacityTexture);
                 }
                 // Clip plane
-                if (scene.clipPlane) {
-                    var clipPlane = scene.clipPlane;
-                    this._activeEffect.setFloat4("vClipPlane", clipPlane.normal.x, clipPlane.normal.y, clipPlane.normal.z, clipPlane.d);
-                }
+                BABYLON.MaterialHelper.BindClipPlane(this._activeEffect, scene);
                 // Point size
                 if (this.pointsCloud) {
                     this._activeEffect.setFloat("pointSize", this.pointSize);

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.fireMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.furMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -24,6 +27,9 @@ var BABYLON;
             _this.DIFFUSE = false;
             _this.HEIGHTMAP = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -187,7 +193,7 @@ var BABYLON;
                     "vFogInfos", "vFogColor", "pointSize",
                     "vDiffuseInfos",
                     "mBones",
-                    "vClipPlane", "diffuseMatrix",
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "diffuseMatrix",
                     "furLength", "furAngle", "furColor", "furOffset", "furGravity", "furTime", "furSpacing", "furDensity", "furOcclusion"
                 ];
                 var samplers = ["diffuseSampler",

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.furMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.gradientMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -23,6 +26,9 @@ var BABYLON;
             var _this = _super.call(this) || this;
             _this.DIFFUSE = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -168,7 +174,7 @@ var BABYLON;
                     "vFogInfos", "vFogColor", "pointSize",
                     "vDiffuseInfos",
                     "mBones",
-                    "vClipPlane", "diffuseMatrix",
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "diffuseMatrix",
                     "topColor", "bottomColor", "offset", "smoothness", "scale"
                 ];
                 var samplers = ["diffuseSampler"];

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.gradientMaterial.min.js


+ 6 - 3
dist/preview release/materialsLibrary/babylon.gridMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.gridMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.lavaMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -23,6 +26,9 @@ var BABYLON;
             var _this = _super.call(this) || this;
             _this.DIFFUSE = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -182,7 +188,7 @@ var BABYLON;
                     "vFogInfos", "vFogColor", "pointSize",
                     "vDiffuseInfos",
                     "mBones",
-                    "vClipPlane", "diffuseMatrix",
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "diffuseMatrix",
                     "time", "speed", "movingSpeed",
                     "fogColor", "fogDensity", "lowFrequencySpeed"
                 ];

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.lavaMaterial.min.js


Plik diff jest za duży
+ 12 - 6
dist/preview release/materialsLibrary/babylon.mixMaterial.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.mixMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.normalMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -23,6 +26,9 @@ var BABYLON;
             var _this = _super.call(this) || this;
             _this.DIFFUSE = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -175,7 +181,7 @@ var BABYLON;
                     "vFogInfos", "vFogColor", "pointSize",
                     "vDiffuseInfos",
                     "mBones",
-                    "vClipPlane", "diffuseMatrix"
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "diffuseMatrix"
                 ];
                 var samplers = ["diffuseSampler"];
                 var uniformBuffers = new Array();

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.normalMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.shadowOnlyMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -16,6 +19,9 @@ var BABYLON;
         function ShadowOnlyMaterialDefines() {
             var _this = _super.call(this) || this;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.POINTSIZE = false;
             _this.FOG = false;
             _this.NORMAL = false;
@@ -118,7 +124,7 @@ var BABYLON;
                 var uniforms = ["world", "view", "viewProjection", "vEyePosition", "vLightsType",
                     "vFogInfos", "vFogColor", "pointSize", "alpha", "shadowColor",
                     "mBones",
-                    "vClipPlane"
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4"
                 ];
                 var samplers = new Array();
                 var uniformBuffers = new Array();

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.shadowOnlyMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.simpleMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -23,6 +26,9 @@ var BABYLON;
             var _this = _super.call(this) || this;
             _this.DIFFUSE = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -134,7 +140,7 @@ var BABYLON;
                     "vFogInfos", "vFogColor", "pointSize",
                     "vDiffuseInfos",
                     "mBones",
-                    "vClipPlane", "diffuseMatrix"
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "diffuseMatrix"
                 ];
                 var samplers = ["diffuseSampler"];
                 var uniformBuffers = new Array();

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.simpleMaterial.min.js


+ 11 - 9
dist/preview release/materialsLibrary/babylon.skyMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -22,6 +25,9 @@ var BABYLON;
         function SkyMaterialDefines() {
             var _this = _super.call(this) || this;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.POINTSIZE = false;
             _this.FOG = false;
             _this.VERTEXCOLOR = false;
@@ -96,7 +102,7 @@ var BABYLON;
                 var shaderName = "sky";
                 var join = defines.toString();
                 subMesh.setEffect(scene.getEngine().createEffect(shaderName, attribs, ["world", "viewProjection", "view",
-                    "vFogInfos", "vFogColor", "pointSize", "vClipPlane",
+                    "vFogInfos", "vFogColor", "pointSize", "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4",
                     "luminance", "turbidity", "rayleigh", "mieCoefficient", "mieDirectionalG", "sunPosition",
                     "cameraPosition"
                 ], [], join, fallbacks, this.onCompiled, this.onError), defines);
@@ -123,11 +129,7 @@ var BABYLON;
             this.bindOnlyWorldMatrix(world);
             this._activeEffect.setMatrix("viewProjection", scene.getTransformMatrix());
             if (this._mustRebind(scene, effect)) {
-                // Clip plane
-                if (scene.clipPlane) {
-                    var clipPlane = scene.clipPlane;
-                    this._activeEffect.setFloat4("vClipPlane", clipPlane.normal.x, clipPlane.normal.y, clipPlane.normal.z, clipPlane.d);
-                }
+                BABYLON.MaterialHelper.BindClipPlane(this._activeEffect, scene);
                 // Point size
                 if (this.pointsCloud) {
                     this._activeEffect.setFloat("pointSize", this.pointSize);

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.skyMaterial.min.js


Plik diff jest za duży
+ 12 - 6
dist/preview release/materialsLibrary/babylon.terrainMaterial.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.terrainMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.triPlanarMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -28,6 +31,9 @@ var BABYLON;
             _this.BUMPY = false;
             _this.BUMPZ = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -153,7 +159,7 @@ var BABYLON;
                 var uniforms = ["world", "view", "viewProjection", "vEyePosition", "vLightsType", "vDiffuseColor", "vSpecularColor",
                     "vFogInfos", "vFogColor", "pointSize",
                     "mBones",
-                    "vClipPlane",
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4",
                     "tileSize"
                 ];
                 var samplers = ["diffuseSamplerX", "diffuseSamplerY", "diffuseSamplerZ",

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.triPlanarMaterial.min.js


+ 10 - 4
dist/preview release/materialsLibrary/babylon.waterMaterial.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }
@@ -24,6 +27,9 @@ var BABYLON;
             _this.BUMP = false;
             _this.REFLECTION = false;
             _this.CLIPPLANE = false;
+            _this.CLIPPLANE2 = false;
+            _this.CLIPPLANE3 = false;
+            _this.CLIPPLANE4 = false;
             _this.ALPHATEST = false;
             _this.DEPTHPREPASS = false;
             _this.POINTSIZE = false;
@@ -292,7 +298,7 @@ var BABYLON;
                     "vFogInfos", "vFogColor", "pointSize",
                     "vNormalInfos",
                     "mBones",
-                    "vClipPlane", "normalMatrix",
+                    "vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "normalMatrix",
                     "logarithmicDepthConstant",
                     // Water
                     "worldReflectionViewProjection", "windDirection", "waveLength", "time", "windForce",

Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylon.waterMaterial.min.js


Plik diff jest za duży
+ 58 - 26
dist/preview release/materialsLibrary/babylonjs.materials.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/materialsLibrary/babylonjs.materials.min.js


+ 1 - 1
dist/preview release/materialsLibrary/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-materials",
     "description": "The Babylon.js materials library is a collection of advanced materials to be used in a Babylon.js scene.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 6 - 3
dist/preview release/postProcessesLibrary/babylon.asciiArtPostProcess.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/postProcessesLibrary/babylon.asciiArtPostProcess.min.js


+ 6 - 3
dist/preview release/postProcessesLibrary/babylon.digitalRainPostProcess.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/postProcessesLibrary/babylon.digitalRainPostProcess.min.js


+ 1 - 1
dist/preview release/postProcessesLibrary/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-post-process",
     "description": "The Babylon.js materials library is a collection of advanced materials to be used in a Babylon.js scene.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.brickProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.brickProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.cloudProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.cloudProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.fireProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.fireProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.grassProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.grassProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.marbleProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.marbleProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.normalMapProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.normalMapProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.perlinNoiseProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.perlinNoiseProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.roadProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.roadProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.starfieldProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.starfieldProceduralTexture.min.js


+ 6 - 3
dist/preview release/proceduralTexturesLibrary/babylon.woodProceduralTexture.js

@@ -1,8 +1,11 @@
 /// <reference path="../../../dist/preview release/babylon.d.ts"/>
 var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    }
     return function (d, b) {
         extendStatics(d, b);
         function __() { this.constructor = d; }

Plik diff jest za duży
+ 1 - 1
dist/preview release/proceduralTexturesLibrary/babylon.woodProceduralTexture.min.js


+ 1 - 1
dist/preview release/proceduralTexturesLibrary/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-procedural-textures",
     "description": "The Babylon.js materials library is a collection of advanced materials to be used in a Babylon.js scene.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 2 - 2
dist/preview release/serializers/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-serializers",
     "description": "The Babylon.js serializers library is an extension you can use to serialize Babylon scenes.",
-    "version": "3.3.0-alpha.14",
+    "version": "3.3.0-beta.1",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -27,7 +27,7 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs-gltf2interface": "3.3.0-alpha.14"
+        "babylonjs-gltf2interface": "3.3.0-beta.1"
     },
     "peerDependencies": {
         "babylonjs": ">=3.2.0-alpha"

+ 52 - 41
dist/preview release/typedocValidationBaseline.json

@@ -1,7 +1,7 @@
 {
-  "errors": 4023,
+  "errors": 4026,
   "babylon.typedoc.json": {
-    "errors": 4023,
+    "errors": 4026,
     "AbstractMesh": {
       "Property": {
         "showBoundingBox": {
@@ -2037,18 +2037,6 @@
             }
           }
         },
-        "isInFrustum": {
-          "Comments": {
-            "MissingText": true
-          },
-          "Parameter": {
-            "frustumPlanes": {
-              "Comments": {
-                "MissingText": true
-              }
-            }
-          }
-        },
         "update": {
           "Comments": {
             "MissingText": true
@@ -7779,18 +7767,6 @@
             }
           }
         },
-        "simplify": {
-          "Comments": {
-            "MissingReturn": true
-          },
-          "Parameter": {
-            "simplificationType": {
-              "Comments": {
-                "MissingText": true
-              }
-            }
-          }
-        },
         "subdivide": {
           "Comments": {
             "MissingText": true
@@ -8836,6 +8812,21 @@
               }
             }
           }
+        },
+        "simplify": {
+          "Naming": {
+            "NotPascalCase": true
+          },
+          "Comments": {
+            "MissingReturn": true
+          },
+          "Parameter": {
+            "simplificationType": {
+              "Comments": {
+                "MissingText": true
+              }
+            }
+          }
         }
       }
     },
@@ -14283,9 +14274,44 @@
           "Naming": {
             "NotPascalCase": true
           }
+        },
+        "geometryBufferRenderer": {
+          "Naming": {
+            "NotPascalCase": true
+          }
+        },
+        "postProcessRenderPipelineManager": {
+          "Naming": {
+            "NotPascalCase": true
+          }
+        },
+        "simplificationQueue": {
+          "Naming": {
+            "NotPascalCase": true
+          }
         }
       },
       "Method": {
+        "disableDepthRenderer": {
+          "Naming": {
+            "NotPascalCase": true
+          }
+        },
+        "disableGeometryBufferRenderer": {
+          "Naming": {
+            "NotPascalCase": true
+          }
+        },
+        "enableDepthRenderer": {
+          "Naming": {
+            "NotPascalCase": true
+          }
+        },
+        "enableGeometryBufferRenderer": {
+          "Naming": {
+            "NotPascalCase": true
+          }
+        },
         "getBoundingBoxRenderer": {
           "Naming": {
             "NotPascalCase": true
@@ -17865,9 +17891,6 @@
       },
       "Method": {
         "updateSamplingMode": {
-          "Comments": {
-            "MissingText": true
-          },
           "Parameter": {
             "samplingMode": {
               "Comments": {
@@ -21212,18 +21235,6 @@
     },
     "IGetSetVerticesData": {
       "Method": {
-        "getIndices": {
-          "Comments": {
-            "MissingText": true
-          },
-          "Parameter": {
-            "copyWhenShared": {
-              "Comments": {
-                "MissingText": true
-              }
-            }
-          }
-        },
         "getVerticesData": {
           "Comments": {
             "MissingText": true

+ 21 - 7
dist/preview release/viewer/babylon.viewer.d.ts

@@ -4,8 +4,8 @@
 declare module "babylonjs-loaders"{ export=BABYLON;}
 // Generated by dts-bundle v0.7.3
 // Dependencies for this module:
-//   ../../../../../Tools/gulp/babylonjs
-//   ../../../../../Tools/gulp/babylonjs-loaders
+//   ../../../../../Tools/Gulp/babylonjs
+//   ../../../../../Tools/Gulp/babylonjs-loaders
 declare module BabylonViewer {
     /**
         * BabylonJS Viewer
@@ -168,11 +168,11 @@ declare module BabylonViewer {
                 * Mainly used for help and errors
                 * @param subScreen the name of the subScreen. Those can be defined in the configuration object
                 */
-            showOverlayScreen(subScreen: string): Promise<string> | Promise<Template>;
+            showOverlayScreen(subScreen: string): Promise<Template> | Promise<string>;
             /**
                 * Hide the overlay screen.
                 */
-            hideOverlayScreen(): Promise<string> | Promise<Template>;
+            hideOverlayScreen(): Promise<Template> | Promise<string>;
             /**
                 * show the viewer (in case it was hidden)
                 *
@@ -189,11 +189,11 @@ declare module BabylonViewer {
                 * Show the loading screen.
                 * The loading screen can be configured using the configuration object
                 */
-            showLoadingScreen(): Promise<string> | Promise<Template>;
+            showLoadingScreen(): Promise<Template> | Promise<string>;
             /**
                 * Hide the loading screen
                 */
-            hideLoadingScreen(): Promise<string> | Promise<Template>;
+            hideLoadingScreen(): Promise<Template> | Promise<string>;
             dispose(): void;
             protected _onConfigurationLoaded(configuration: ViewerConfiguration): void;
     }
@@ -916,7 +916,7 @@ declare module BabylonViewer {
       * @param name the name of the custom optimizer configuration
       * @param upgrade set to true if you want to upgrade optimizer and false if you want to degrade
       */
-    export function getCustomOptimizerByName(name: string, upgrade?: boolean): (sceneManager: SceneManager) => boolean;
+    export function getCustomOptimizerByName(name: string, upgrade?: boolean): typeof extendedUpgrade;
     export function registerCustomOptimizer(name: string, optimizer: (sceneManager: SceneManager) => boolean): void;
 }
 declare module BabylonViewer {
@@ -1542,6 +1542,20 @@ declare module BabylonViewer {
     export function addLoaderPlugin(name: string, plugin: ILoaderPlugin): void;
 }
 declare module BabylonViewer {
+    /**
+        * A custom upgrade-oriented function configuration for the scene optimizer.
+        *
+        * @param viewer the viewer to optimize
+        */
+    export function extendedUpgrade(sceneManager: SceneManager): boolean;
+    /**
+        * A custom degrade-oriented function configuration for the scene optimizer.
+        *
+        * @param viewer the viewer to optimize
+        */
+    export function extendedDegrade(sceneManager: SceneManager): boolean;
+}
+declare module BabylonViewer {
 }
 declare module BabylonViewer {
     export interface IEnvironmentMapConfiguration {

Plik diff jest za duży
+ 3 - 3
dist/preview release/viewer/babylon.viewer.js


Plik diff jest za duży
+ 9 - 9
dist/preview release/viewer/babylon.viewer.max.js


+ 0 - 0
dist/preview release/viewer/babylon.viewer.module.d.ts


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików