Jump to content

fateriddle

Members
  • Content Count

    63
  • Joined

  • Last visited

Posts posted by fateriddle

  1. So I followed https://doc.babylonjs.com/how_to/how_to_start and https://doc.babylonjs.com/how_to/workloads 

    question 1. Basically I clone the project, cd into Gulp folder, then run 'npm install'  & 'gulp --max-old-space-size=8192'

    1343694564_babylonjsbuild.thumb.png.89c745dc4f091a64c0ece9c3ab4ebe32.png

    I don't understand why because I haven't even try to customize yet.
    question2: Then I figured may be the file is built, just tests failed. So I changed currentConfig from "all" to "minimal", and run 'gulp --max-old-space-size=8192' again to build the supposedly minimal bundle

    similar error pops: 
     

    ➜  Gulp git:(master) ✗ gulp --max-old-space-size=8192
    [20:28:53] Node flags detected: --max-old-space-size=8192
    [20:28:53] Respawned to PID: 37248
    [20:28:55] Using gulpfile ~/code/github/Babylon.js/Tools/Gulp/gulpfile.js
    [20:28:55] Starting 'default'...
    [20:28:55] Starting 'tsLint'...
    [20:28:55] Starting 'typescript-tsLint'...
    [20:29:00] Finished 'typescript-tsLint' after 4.67 s
    [20:29:00] Starting 'typescript-libraries-tsLint'...
    [20:29:00] Starting 'materialsLibrary-tsLint'...
    [20:29:00] Finished 'materialsLibrary-tsLint' after 157 ms
    [20:29:00] Starting 'postProcessesLibrary-tsLint'...
    [20:29:00] Finished 'postProcessesLibrary-tsLint' after 18 ms
    [20:29:00] Starting 'proceduralTexturesLibrary-tsLint'...
    [20:29:00] Finished 'proceduralTexturesLibrary-tsLint' after 49 ms
    [20:29:00] Starting 'loaders-tsLint'...
    [20:29:01] Finished 'loaders-tsLint' after 652 ms
    [20:29:01] Starting 'serializers-tsLint'...
    [20:29:01] Finished 'serializers-tsLint' after 158 ms
    [20:29:01] Starting 'gui-tsLint'...
    [20:29:02] Finished 'gui-tsLint' after 432 ms
    [20:29:02] Starting 'inspector-tsLint'...
    [20:29:02] Finished 'inspector-tsLint' after 45 ms
    [20:29:02] Starting 'viewer-tsLint'...
    [20:29:02] Finished 'viewer-tsLint' after 320 ms
    [20:29:02] Starting 'viewer-assets-tsLint'...
    [20:29:02] Finished 'viewer-assets-tsLint' after 276 ms
    [20:29:02] Finished 'typescript-libraries-tsLint' after 2.11 s
    [20:29:02] Finished 'tsLint' after 6.78 s
    [20:29:02] Starting 'typescript-all'...
    [20:29:02] Starting 'typescript'...
    [20:29:02] Starting 'typescript-compile'...
    [20:29:19] Finished 'typescript-compile' after 17 s
    [20:29:19] Starting 'mainBuild'...
    [20:29:19] Starting 'buildWorker'...
    [20:29:19] Starting 'workers'...
    [20:29:19] Starting 'shaders'...
    [20:29:19] Finished 'workers' after 4.3 ms
    [20:29:19] Starting 'includeShaders'...
    [20:29:19] Finished 'includeShaders' after 11 ms
    [20:29:19] Starting '<anonymous>'...
    [20:29:19] Finished '<anonymous>' after 2.41 ms
    [20:29:19] Finished 'shaders' after 18 ms
    [20:29:19] Starting '<anonymous>'...
    [20:29:21] Tested 5 tests, 5 passes, 0 failures: PASS
    [20:29:21] Tested 5 tests, 5 passes, 0 failures: PASS
    [20:29:21] Tested 40 tests, 40 passes, 0 failures: PASS
    [20:29:21] Tested 68 tests, 68 passes, 0 failures: PASS
    [20:29:29] Finished '<anonymous>' after 10 s
    [20:29:29] Finished 'buildWorker' after 10 s
    [20:29:29] Starting 'build'...
    [20:29:29] Starting 'shaders'...
    [20:29:29] Starting 'includeShaders'...
    [20:29:29] Finished 'includeShaders' after 4.72 ms
    [20:29:29] Starting '<anonymous>'...
    [20:29:29] Finished '<anonymous>' after 1.22 ms
    [20:29:29] Finished 'shaders' after 6.2 ms
    [20:29:29] Starting 'build'...
    [20:29:30] Tested 5 tests, 5 passes, 0 failures: PASS
    [20:29:30] Tested 40 tests, 40 passes, 0 failures: PASS
    [20:29:30] Tested 68 tests, 68 passes, 0 failures: PASS
    [20:29:37] Finished 'build' after 7.61 s
    [20:29:37] Finished 'build' after 7.62 s
    [20:29:37] Finished 'mainBuild' after 18 s
    [20:29:37] Finished 'typescript' after 35 s
    [20:29:37] Starting 'typescript-libraries'...
    [20:29:37] Starting 'materialsLibrary'...
    [20:30:01] Finished 'materialsLibrary' after 24 s
    [20:30:01] Starting 'postProcessesLibrary'...
    [20:30:05] Finished 'postProcessesLibrary' after 3.71 s
    [20:30:05] Starting 'proceduralTexturesLibrary'...
    [20:30:18] Finished 'proceduralTexturesLibrary' after 14 s
    [20:30:18] Starting 'loaders'...
    [20:30:33] Finished 'loaders' after 15 s
    [20:30:33] Starting 'serializers'...
    [20:30:40] Finished 'serializers' after 6.84 s
    [20:30:40] Starting 'gui'...
    clean-webpack-plugin: /Users/nasa/code/github/Babylon.js/gui/src/**/*.js has been removed.
    clean-webpack-plugin: /Users/nasa/code/github/Babylon.js/gui/src/**/*.map has been removed.
    [20:30:49] Version: webpack 4.28.2
    Built at: 2018-12-26 20:30:49
                                                      Asset       Size  Chunks             Chunk Names
                                         babylon.gui.min.js    230 KiB       0  [emitted]  babylonjs-gui
                                     babylon.gui.min.js.map    702 KiB       0  [emitted]  babylonjs-gui
                           build/2D/adtInstrumentation.d.ts   1.52 KiB          [emitted]
                       build/2D/advancedDynamicTexture.d.ts   12.3 KiB          [emitted]
                              build/2D/controls/button.d.ts   2.89 KiB          [emitted]
                            build/2D/controls/checkbox.d.ts   1.56 KiB          [emitted]
                         build/2D/controls/colorpicker.d.ts   2.04 KiB          [emitted]
                           build/2D/controls/container.d.ts   3.71 KiB          [emitted]
                             build/2D/controls/control.d.ts   20.3 KiB          [emitted]
                         build/2D/controls/displayGrid.d.ts   1.66 KiB          [emitted]
                             build/2D/controls/ellipse.d.ts  712 bytes          [emitted]
                                build/2D/controls/grid.d.ts   4.61 KiB          [emitted]
                               build/2D/controls/image.d.ts   3.84 KiB          [emitted]
                               build/2D/controls/index.d.ts  734 bytes          [emitted]
                       build/2D/controls/inputPassword.d.ts  204 bytes          [emitted]
                           build/2D/controls/inputText.d.ts   5.52 KiB          [emitted]
                                build/2D/controls/line.d.ts   2.14 KiB          [emitted]
                           build/2D/controls/multiLine.d.ts   2.31 KiB          [emitted]
                         build/2D/controls/radioButton.d.ts   1.76 KiB          [emitted]
                           build/2D/controls/rectangle.d.ts  845 bytes          [emitted]
          build/2D/controls/scrollViewers/scrollViewer.d.ts   2.54 KiB          [emitted]
    build/2D/controls/scrollViewers/scrollViewerWindow.d.ts  603 bytes          [emitted]
                            build/2D/controls/selector.d.ts   8.07 KiB          [emitted]
                  build/2D/controls/sliders/baseSlider.d.ts   2.47 KiB          [emitted]
            build/2D/controls/sliders/imageBasedSlider.d.ts  900 bytes          [emitted]
                   build/2D/controls/sliders/scrollBar.d.ts  972 bytes          [emitted]
                      build/2D/controls/sliders/slider.d.ts  863 bytes          [emitted]
                          build/2D/controls/stackPanel.d.ts   1.19 KiB          [emitted]
                             build/2D/controls/statics.d.ts  120 bytes          [emitted]
                           build/2D/controls/textBlock.d.ts    4.2 KiB          [emitted]
                     build/2D/controls/virtualKeyboard.d.ts   3.11 KiB          [emitted]
                                        build/2D/index.d.ts  252 bytes          [emitted]
                                       build/2D/math2D.d.ts   4.38 KiB          [emitted]
                                      build/2D/measure.d.ts   1.49 KiB          [emitted]
                               build/2D/multiLinePoint.d.ts    1.2 KiB          [emitted]
                                        build/2D/style.d.ts   1.16 KiB          [emitted]
                                 build/2D/valueAndUnit.d.ts   2.68 KiB          [emitted]
                    build/3D/controls/abstractButton3D.d.ts  412 bytes          [emitted]
                            build/3D/controls/button3D.d.ts   1.59 KiB          [emitted]
                         build/3D/controls/container3D.d.ts   2.51 KiB          [emitted]
                           build/3D/controls/control3D.d.ts   5.36 KiB          [emitted]
                       build/3D/controls/cylinderPanel.d.ts  546 bytes          [emitted]
                   build/3D/controls/holographicButton.d.ts   2.19 KiB          [emitted]
                               build/3D/controls/index.d.ts  387 bytes          [emitted]
                        build/3D/controls/meshButton3D.d.ts  681 bytes          [emitted]
                          build/3D/controls/planePanel.d.ts  356 bytes          [emitted]
                        build/3D/controls/scatterPanel.d.ts  595 bytes          [emitted]
                         build/3D/controls/spherePanel.d.ts  538 bytes          [emitted]
                        build/3D/controls/stackPanel3D.d.ts  579 bytes          [emitted]
                    build/3D/controls/volumeBasedPanel.d.ts   2.15 KiB          [emitted]
                                 build/3D/gui3DManager.d.ts   2.12 KiB          [emitted]
                                        build/3D/index.d.ts  124 bytes          [emitted]
                     build/3D/materials/fluentMaterial.d.ts   2.79 KiB          [emitted]
                              build/3D/materials/index.d.ts   34 bytes          [emitted]
                     build/3D/materials/shaders/fluent.d.ts  133 bytes          [emitted]
                              build/3D/vector3WithInfo.d.ts  531 bytes          [emitted]
                                           build/index.d.ts   44 bytes          [emitted]
                                          build/legacy.d.ts   25 bytes          [emitted]
    Entrypoint babylonjs-gui = babylon.gui.min.js babylon.gui.min.js.map
    [20:30:49] Finished 'gui' after 9.15 s
    [20:30:49] Starting 'inspector'...
    clean-webpack-plugin: /Users/nasa/code/github/Babylon.js/inspector/src/**/*.js has been removed.
    clean-webpack-plugin: /Users/nasa/code/github/Babylon.js/inspector/src/**/*.map has been removed.
    [20:31:01] Version: webpack 4.28.2
    Built at: 2018-12-26 20:31:01
                                                                                                               Asset        Size  Chunks                    Chunk Names
                                                                                         babylon.inspector.bundle.js     430 KiB       0  [emitted]  [big]  babylonjs-inspector
                                                                                     babylon.inspector.bundle.js.map    1.75 MiB       0  [emitted]         babylonjs-inspector
                                                                build/components/actionTabs/actionTabsComponent.d.ts   905 bytes          [emitted]
                                                             build/components/actionTabs/lineContainerComponent.d.ts   470 bytes          [emitted]
                                                         build/components/actionTabs/lines/booleanLineComponent.d.ts   296 bytes          [emitted]
                                                          build/components/actionTabs/lines/buttonLineComponent.d.ts   297 bytes          [emitted]
                                                        build/components/actionTabs/lines/checkBoxLineComponent.d.ts   833 bytes          [emitted]
                                                          build/components/actionTabs/lines/color3LineComponent.d.ts   962 bytes          [emitted]
                                                      build/components/actionTabs/lines/fileButtonLineComponent.d.ts   377 bytes          [emitted]
                                                           build/components/actionTabs/lines/floatLineComponent.d.ts    1.03 KiB          [emitted]
                                                         build/components/actionTabs/lines/messageLineComponent.d.ts   382 bytes          [emitted]
                                                        build/components/actionTabs/lines/numericInputComponent.d.ts   544 bytes          [emitted]
                                                         build/components/actionTabs/lines/optionsLineComponent.d.ts   957 bytes          [emitted]
                                                      build/components/actionTabs/lines/quaternionLineComponent.d.ts    1.02 KiB          [emitted]
                                                           build/components/actionTabs/lines/radioLineComponent.d.ts   624 bytes          [emitted]
                                                          build/components/actionTabs/lines/sliderLineComponent.d.ts   909 bytes          [emitted]
                                                       build/components/actionTabs/lines/textInputLineComponent.d.ts   981 bytes          [emitted]
                                                            build/components/actionTabs/lines/textLineComponent.d.ts   411 bytes          [emitted]
                                                         build/components/actionTabs/lines/textureLineComponent.d.ts   907 bytes          [emitted]
                                                     build/components/actionTabs/lines/textureLinkLineComponent.d.ts   741 bytes          [emitted]
                                                           build/components/actionTabs/lines/valueLineComponent.d.ts   360 bytes          [emitted]
                                                         build/components/actionTabs/lines/vector3LineComponent.d.ts   981 bytes          [emitted]
                                                                      build/components/actionTabs/paneComponent.d.ts   727 bytes          [emitted]
                                                             build/components/actionTabs/tabs/debugTabComponent.d.ts   485 bytes          [emitted]
                                                      build/components/actionTabs/tabs/propertyGridTabComponent.d.ts   401 bytes          [emitted]
                             build/components/actionTabs/tabs/propertyGrids/animationGroupPropertyGridComponent.d.ts    1.16 KiB          [emitted]
                    build/components/actionTabs/tabs/propertyGrids/cameras/arcRotateCameraPropertyGridComponent.d.ts   624 bytes          [emitted]
                       build/components/actionTabs/tabs/propertyGrids/cameras/commonCameraPropertyGridComponent.d.ts   617 bytes          [emitted]
                         build/components/actionTabs/tabs/propertyGrids/cameras/freeCameraPropertyGridComponent.d.ts   594 bytes          [emitted]
                                        build/components/actionTabs/tabs/propertyGrids/fogPropertyGridComponent.d.ts   574 bytes          [emitted]
                               build/components/actionTabs/tabs/propertyGrids/gui/checkboxPropertyGridComponent.d.ts   616 bytes          [emitted]
                            build/components/actionTabs/tabs/propertyGrids/gui/colorPickerPropertyGridComponent.d.ts   661 bytes          [emitted]
                          build/components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.d.ts   702 bytes          [emitted]
                                build/components/actionTabs/tabs/propertyGrids/gui/controlPropertyGridComponent.d.ts   629 bytes          [emitted]
                                build/components/actionTabs/tabs/propertyGrids/gui/ellipsePropertyGridComponent.d.ts   609 bytes          [emitted]
                                   build/components/actionTabs/tabs/propertyGrids/gui/gridPropertyGridComponent.d.ts   674 bytes          [emitted]
                       build/components/actionTabs/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent.d.ts   672 bytes          [emitted]
                                  build/components/actionTabs/tabs/propertyGrids/gui/imagePropertyGridComponent.d.ts   595 bytes          [emitted]
                              build/components/actionTabs/tabs/propertyGrids/gui/inputTextPropertyGridComponent.d.ts   623 bytes          [emitted]
                                   build/components/actionTabs/tabs/propertyGrids/gui/linePropertyGridComponent.d.ts   627 bytes          [emitted]
                            build/components/actionTabs/tabs/propertyGrids/gui/radioButtonPropertyGridComponent.d.ts   637 bytes          [emitted]
                              build/components/actionTabs/tabs/propertyGrids/gui/rectanglePropertyGridComponent.d.ts   623 bytes          [emitted]
                           build/components/actionTabs/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent.d.ts   644 bytes          [emitted]
                                 build/components/actionTabs/tabs/propertyGrids/gui/sliderPropertyGridComponent.d.ts   602 bytes          [emitted]
                             build/components/actionTabs/tabs/propertyGrids/gui/stackPanelPropertyGridComponent.d.ts   630 bytes          [emitted]
                              build/components/actionTabs/tabs/propertyGrids/gui/textBlockPropertyGridComponent.d.ts   623 bytes          [emitted]
                         build/components/actionTabs/tabs/propertyGrids/lights/commonLightPropertyGridComponent.d.ts   587 bytes          [emitted]
                   build/components/actionTabs/tabs/propertyGrids/lights/commonShadowLightPropertyGridComponent.d.ts   625 bytes          [emitted]
                    build/components/actionTabs/tabs/propertyGrids/lights/directionalLightPropertyGridComponent.d.ts   629 bytes          [emitted]
                    build/components/actionTabs/tabs/propertyGrids/lights/hemisphericLightPropertyGridComponent.d.ts   629 bytes          [emitted]
                          build/components/actionTabs/tabs/propertyGrids/lights/pointLightPropertyGridComponent.d.ts   593 bytes          [emitted]
                           build/components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.d.ts   587 bytes          [emitted]
                                                      build/components/actionTabs/tabs/propertyGrids/lockObject.d.ts   161 bytes          [emitted]
               build/components/actionTabs/tabs/propertyGrids/materials/backgroundMaterialPropertyGridComponent.d.ts   731 bytes          [emitted]
                   build/components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.d.ts   608 bytes          [emitted]
                         build/components/actionTabs/tabs/propertyGrids/materials/materialPropertyGridComponent.d.ts   584 bytes          [emitted]
                      build/components/actionTabs/tabs/propertyGrids/materials/pbrMaterialPropertyGridComponent.d.ts   696 bytes          [emitted]
     build/components/actionTabs/tabs/propertyGrids/materials/pbrMetallicRoughnessMaterialPropertyGridComponent.d.ts   798 bytes          [emitted]
    build/components/actionTabs/tabs/propertyGrids/materials/pbrSpecularGlossinessMaterialPropertyGridComponent.d.ts   804 bytes          [emitted]
                 build/components/actionTabs/tabs/propertyGrids/materials/standardMaterialPropertyGridComponent.d.ts   726 bytes          [emitted]
                          build/components/actionTabs/tabs/propertyGrids/materials/texturePropertyGridComponent.d.ts   805 bytes          [emitted]
                                      build/components/actionTabs/tabs/propertyGrids/meshes/axesViewerComponent.d.ts   381 bytes          [emitted]
                                build/components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.d.ts   807 bytes          [emitted]
                       build/components/actionTabs/tabs/propertyGrids/meshes/transformNodePropertyGridComponent.d.ts   619 bytes          [emitted]
                                 build/components/actionTabs/tabs/propertyGrids/renderGridPropertyGridComponent.d.ts   471 bytes          [emitted]
                                      build/components/actionTabs/tabs/propertyGrids/scenePropertyGridComponent.d.ts   926 bytes          [emitted]
                                                        build/components/actionTabs/tabs/statisticsTabComponent.d.ts   419 bytes          [emitted]
                                                           build/components/actionTabs/tabs/tools/gltfComponent.d.ts   502 bytes          [emitted]
                                                             build/components/actionTabs/tabs/toolsTabComponent.d.ts   578 bytes          [emitted]
                                                                      build/components/actionTabs/tabsComponent.d.ts   484 bytes          [emitted]
                                                                  build/components/embedHost/embedHostComponent.d.ts   595 bytes          [emitted]
                                                                                   build/components/globalState.d.ts    1.03 KiB          [emitted]
                                                                               build/components/headerComponent.d.ts   718 bytes          [emitted]
                                                                          build/components/propertyChangedEvent.d.ts   124 bytes          [emitted]
                                        build/components/sceneExplorer/entities/animationGroupTreeItemComponent.d.ts   480 bytes          [emitted]
                                                build/components/sceneExplorer/entities/cameraTreeItemComponent.d.ts   594 bytes          [emitted]
                            build/components/sceneExplorer/entities/gui/advancedDynamicTextureTreeItemComponent.d.ts   767 bytes          [emitted]
                                           build/components/sceneExplorer/entities/gui/controlTreeItemComponent.d.ts   584 bytes          [emitted]
                                                 build/components/sceneExplorer/entities/lightTreeItemComponent.d.ts   570 bytes          [emitted]
                                              build/components/sceneExplorer/entities/materialTreeItemComponent.d.ts   454 bytes          [emitted]
                                                  build/components/sceneExplorer/entities/meshTreeItemComponent.d.ts   554 bytes          [emitted]
                                                 build/components/sceneExplorer/entities/sceneTreeItemComponent.d.ts  1020 bytes          [emitted]
                                               build/components/sceneExplorer/entities/textureTreeItemComponent.d.ts   447 bytes          [emitted]
                                         build/components/sceneExplorer/entities/transformNodeTreeItemComponent.d.ts   473 bytes          [emitted]
                                                             build/components/sceneExplorer/extensionsComponent.d.ts   533 bytes          [emitted]
                                                          build/components/sceneExplorer/sceneExplorerComponent.d.ts    1.57 KiB          [emitted]
                                                               build/components/sceneExplorer/treeItemComponent.d.ts   833 bytes          [emitted]
                                                          build/components/sceneExplorer/treeItemLabelComponent.d.ts   448 bytes          [emitted]
                                                     build/components/sceneExplorer/treeItemSelectableComponent.d.ts    1.02 KiB          [emitted]
                                                    build/components/sceneExplorer/treeItemSpecializedComponent.d.ts   567 bytes          [emitted]
                                                                                                    build/index.d.ts    29 bytes          [emitted]
                                                                                                build/inspector.d.ts     1.2 KiB          [emitted]
                                                                                                   build/legacy.d.ts    25 bytes          [emitted]
                                                                                                    build/tools.d.ts   221 bytes          [emitted]
    Entrypoint babylonjs-inspector [big] = babylon.inspector.bundle.js babylon.inspector.bundle.js.map
    [20:31:01] Finished 'inspector' after 12 s
    [20:31:01] Starting 'viewer'...
    [20:31:12] Version: webpack 4.28.2
    Built at: 2018-12-26 20:31:12
                                                                            Asset       Size  Chunks             Chunk Names
                                                          795bc5980e32fac87bcb.js   3.43 MiB    main  [emitted]  main
                                                       build/src/assets/font.d.ts   39 bytes          [emitted]
                                                        build/src/assets/img.d.ts  183 bytes          [emitted]
                                                      build/src/assets/index.d.ts   76 bytes          [emitted]
                                                  build/src/assets/templates.d.ts  333 bytes          [emitted]
                                       build/src/configuration/configuration.d.ts   3.03 KiB          [emitted]
                          build/src/configuration/configurationCompatibility.d.ts  381 bytes          [emitted]
                              build/src/configuration/configurationContainer.d.ts  279 bytes          [emitted]
                                             build/src/configuration/globals.d.ts  179 bytes          [emitted]
                                               build/src/configuration/index.d.ts   63 bytes          [emitted]
                      build/src/configuration/interfaces/cameraConfiguration.d.ts  704 bytes          [emitted]
                build/src/configuration/interfaces/colorGradingConfiguration.d.ts      2 KiB          [emitted]
    build/src/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts  655 bytes          [emitted]
              build/src/configuration/interfaces/environmentMapConfiguration.d.ts  489 bytes          [emitted]
                      build/src/configuration/interfaces/groundConfiguration.d.ts  532 bytes          [emitted]
             build/src/configuration/interfaces/imageProcessingConfiguration.d.ts   1.21 KiB          [emitted]
                                    build/src/configuration/interfaces/index.d.ts  640 bytes          [emitted]
                       build/src/configuration/interfaces/lightConfiguration.d.ts    1.3 KiB          [emitted]
              build/src/configuration/interfaces/modelAnimationConfiguration.d.ts  537 bytes          [emitted]
                       build/src/configuration/interfaces/modelConfiguration.d.ts   1.47 KiB          [emitted]
                   build/src/configuration/interfaces/observersConfiguration.d.ts  126 bytes          [emitted]
                       build/src/configuration/interfaces/sceneConfiguration.d.ts    1.5 KiB          [emitted]
              build/src/configuration/interfaces/sceneOptimizerConfiguration.d.ts  746 bytes          [emitted]
                      build/src/configuration/interfaces/skyboxConfiguration.d.ts  540 bytes          [emitted]
                    build/src/configuration/interfaces/templateConfiguration.d.ts   1.92 KiB          [emitted]
                          build/src/configuration/interfaces/vrConfiguration.d.ts  470 bytes          [emitted]
                                              build/src/configuration/loader.d.ts   1.51 KiB          [emitted]
                                             build/src/configuration/mappers.d.ts   1.52 KiB          [emitted]
                                       build/src/configuration/types/default.d.ts  360 bytes          [emitted]
                                build/src/configuration/types/environmentMap.d.ts  174 bytes          [emitted]
                                      build/src/configuration/types/extended.d.ts  273 bytes          [emitted]
                                         build/src/configuration/types/index.d.ts  719 bytes          [emitted]
                                       build/src/configuration/types/minimal.d.ts  257 bytes          [emitted]
                                   build/src/configuration/types/shadowLight.d.ts  370 bytes          [emitted]
                                                      build/src/helper/index.d.ts  900 bytes          [emitted]
                                                             build/src/index.d.ts   1.42 KiB          [emitted]
                                                       build/src/initializer.d.ts  438 bytes          [emitted]
                                                        build/src/interfaces.d.ts  101 bytes          [emitted]
                                        build/src/labs/environmentSerializer.d.ts   3.77 KiB          [emitted]
                                                      build/src/labs/texture.d.ts   5.85 KiB          [emitted]
                                                   build/src/labs/viewerLabs.d.ts   2.71 KiB          [emitted]
                                                build/src/loader/modelLoader.d.ts    1.7 KiB          [emitted]
                                build/src/loader/plugins/applyMaterialConfig.d.ts  503 bytes          [emitted]
                       build/src/loader/plugins/extendedMaterialLoaderPlugin.d.ts  392 bytes          [emitted]
                                              build/src/loader/plugins/index.d.ts  782 bytes          [emitted]
                                       build/src/loader/plugins/loaderPlugin.d.ts   1.07 KiB          [emitted]
                                build/src/loader/plugins/msftLodLoaderPlugin.d.ts  547 bytes          [emitted]
                              build/src/loader/plugins/telemetryLoaderPlugin.d.ts  522 bytes          [emitted]
                                       build/src/managers/observablesManager.d.ts   2.05 KiB          [emitted]
                                             build/src/managers/sceneManager.d.ts   9.46 KiB          [emitted]
                                         build/src/managers/telemetryManager.d.ts    1.7 KiB          [emitted]
                                              build/src/model/modelAnimation.d.ts   5.19 KiB          [emitted]
                                                 build/src/model/viewerModel.d.ts   8.07 KiB          [emitted]
                                         build/src/optimizer/custom/extended.d.ts  472 bytes          [emitted]
                                            build/src/optimizer/custom/index.d.ts  474 bytes          [emitted]
                                           build/src/templating/eventManager.d.ts   1.55 KiB          [emitted]
                                 build/src/templating/plugins/hdButtonPlugin.d.ts  403 bytes          [emitted]
                                    build/src/templating/plugins/printButton.d.ts  436 bytes          [emitted]
                                        build/src/templating/templateManager.d.ts   6.93 KiB          [emitted]
                                   build/src/templating/viewerTemplatePlugin.d.ts  965 bytes          [emitted]
                                              build/src/viewer/defaultViewer.d.ts   4.17 KiB          [emitted]
                                                     build/src/viewer/viewer.d.ts   9.63 KiB          [emitted]
                                              build/src/viewer/viewerManager.d.ts   2.01 KiB          [emitted]
                                                    build/tests/commons/boot.d.ts  132 bytes          [emitted]
                                                  build/tests/commons/helper.d.ts   1.58 KiB          [emitted]
                                               build/tests/commons/mockWebGL.d.ts  144 bytes          [emitted]
                                   build/tests/unit/src/configuration/loader.d.ts   33 bytes          [emitted]
                                  build/tests/unit/src/configuration/mappers.d.ts   33 bytes          [emitted]
                      build/tests/unit/src/configuration/updateConfiguration.d.ts   33 bytes          [emitted]
                                                 build/tests/unit/src/helper.d.ts   33 bytes          [emitted]
                                                  build/tests/unit/src/index.d.ts  253 bytes          [emitted]
                                    build/tests/unit/src/viewer/sceneManager.d.ts   33 bytes          [emitted]
                                          build/tests/unit/src/viewer/viewer.d.ts   33 bytes          [emitted]
                                   build/tests/unit/src/viewer/viewerManager.d.ts   33 bytes          [emitted]
                                        build/tests/unit/src/viewerReference.d.ts  408 bytes          [emitted]
    Entrypoint main = 795bc5980e32fac87bcb.js
    [20:31:25] Version: webpack 4.28.2
    Built at: 2018-12-26 20:31:25
                                                                            Asset       Size  Chunks                    Chunk Names
                                                          66486ab20117b8614068.js   1.19 MiB       0  [emitted]  [big]  main
                                                       build/src/assets/font.d.ts   39 bytes          [emitted]
                                                        build/src/assets/img.d.ts  183 bytes          [emitted]
                                                      build/src/assets/index.d.ts   76 bytes          [emitted]
                                                  build/src/assets/templates.d.ts  333 bytes          [emitted]
                                       build/src/configuration/configuration.d.ts   3.03 KiB          [emitted]
                          build/src/configuration/configurationCompatibility.d.ts  381 bytes          [emitted]
                              build/src/configuration/configurationContainer.d.ts  279 bytes          [emitted]
                                             build/src/configuration/globals.d.ts  179 bytes          [emitted]
                                               build/src/configuration/index.d.ts   63 bytes          [emitted]
                      build/src/configuration/interfaces/cameraConfiguration.d.ts  704 bytes          [emitted]
                build/src/configuration/interfaces/colorGradingConfiguration.d.ts      2 KiB          [emitted]
    build/src/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts  655 bytes          [emitted]
              build/src/configuration/interfaces/environmentMapConfiguration.d.ts  489 bytes          [emitted]
                      build/src/configuration/interfaces/groundConfiguration.d.ts  532 bytes          [emitted]
             build/src/configuration/interfaces/imageProcessingConfiguration.d.ts   1.21 KiB          [emitted]
                                    build/src/configuration/interfaces/index.d.ts  640 bytes          [emitted]
                       build/src/configuration/interfaces/lightConfiguration.d.ts    1.3 KiB          [emitted]
              build/src/configuration/interfaces/modelAnimationConfiguration.d.ts  537 bytes          [emitted]
                       build/src/configuration/interfaces/modelConfiguration.d.ts   1.47 KiB          [emitted]
                   build/src/configuration/interfaces/observersConfiguration.d.ts  126 bytes          [emitted]
                       build/src/configuration/interfaces/sceneConfiguration.d.ts    1.5 KiB          [emitted]
              build/src/configuration/interfaces/sceneOptimizerConfiguration.d.ts  746 bytes          [emitted]
                      build/src/configuration/interfaces/skyboxConfiguration.d.ts  540 bytes          [emitted]
                    build/src/configuration/interfaces/templateConfiguration.d.ts   1.92 KiB          [emitted]
                          build/src/configuration/interfaces/vrConfiguration.d.ts  470 bytes          [emitted]
                                              build/src/configuration/loader.d.ts   1.51 KiB          [emitted]
                                             build/src/configuration/mappers.d.ts   1.52 KiB          [emitted]
                                       build/src/configuration/types/default.d.ts  360 bytes          [emitted]
                                build/src/configuration/types/environmentMap.d.ts  174 bytes          [emitted]
                                      build/src/configuration/types/extended.d.ts  273 bytes          [emitted]
                                         build/src/configuration/types/index.d.ts  719 bytes          [emitted]
                                       build/src/configuration/types/minimal.d.ts  257 bytes          [emitted]
                                   build/src/configuration/types/shadowLight.d.ts  370 bytes          [emitted]
                                                      build/src/helper/index.d.ts  900 bytes          [emitted]
                                                             build/src/index.d.ts   1.42 KiB          [emitted]
                                                       build/src/initializer.d.ts  438 bytes          [emitted]
                                                        build/src/interfaces.d.ts  101 bytes          [emitted]
                                        build/src/labs/environmentSerializer.d.ts   3.77 KiB          [emitted]
                                                      build/src/labs/texture.d.ts   5.85 KiB          [emitted]
                                                   build/src/labs/viewerLabs.d.ts   2.71 KiB          [emitted]
                                                build/src/loader/modelLoader.d.ts    1.7 KiB          [emitted]
                                build/src/loader/plugins/applyMaterialConfig.d.ts  503 bytes          [emitted]
                       build/src/loader/plugins/extendedMaterialLoaderPlugin.d.ts  392 bytes          [emitted]
                                              build/src/loader/plugins/index.d.ts  782 bytes          [emitted]
                                       build/src/loader/plugins/loaderPlugin.d.ts   1.07 KiB          [emitted]
                                build/src/loader/plugins/msftLodLoaderPlugin.d.ts  547 bytes          [emitted]
                              build/src/loader/plugins/telemetryLoaderPlugin.d.ts  522 bytes          [emitted]
                                       build/src/managers/observablesManager.d.ts   2.05 KiB          [emitted]
                                             build/src/managers/sceneManager.d.ts   9.46 KiB          [emitted]
                                         build/src/managers/telemetryManager.d.ts    1.7 KiB          [emitted]
                                              build/src/model/modelAnimation.d.ts   5.19 KiB          [emitted]
                                                 build/src/model/viewerModel.d.ts   8.07 KiB          [emitted]
                                         build/src/optimizer/custom/extended.d.ts  472 bytes          [emitted]
                                            build/src/optimizer/custom/index.d.ts  474 bytes          [emitted]
                                           build/src/templating/eventManager.d.ts   1.55 KiB          [emitted]
                                 build/src/templating/plugins/hdButtonPlugin.d.ts  403 bytes          [emitted]
                                    build/src/templating/plugins/printButton.d.ts  436 bytes          [emitted]
                                        build/src/templating/templateManager.d.ts   6.93 KiB          [emitted]
                                   build/src/templating/viewerTemplatePlugin.d.ts  965 bytes          [emitted]
                                              build/src/viewer/defaultViewer.d.ts   4.17 KiB          [emitted]
                                                     build/src/viewer/viewer.d.ts   9.63 KiB          [emitted]
                                              build/src/viewer/viewerManager.d.ts   2.01 KiB          [emitted]
                                                    build/tests/commons/boot.d.ts  132 bytes          [emitted]
                                                  build/tests/commons/helper.d.ts   1.58 KiB          [emitted]
                                               build/tests/commons/mockWebGL.d.ts  144 bytes          [emitted]
                                   build/tests/unit/src/configuration/loader.d.ts   33 bytes          [emitted]
                                  build/tests/unit/src/configuration/mappers.d.ts   33 bytes          [emitted]
                      build/tests/unit/src/configuration/updateConfiguration.d.ts   33 bytes          [emitted]
                                                 build/tests/unit/src/helper.d.ts   33 bytes          [emitted]
                                                  build/tests/unit/src/index.d.ts  253 bytes          [emitted]
                                    build/tests/unit/src/viewer/sceneManager.d.ts   33 bytes          [emitted]
                                          build/tests/unit/src/viewer/viewer.d.ts   33 bytes          [emitted]
                                   build/tests/unit/src/viewer/viewerManager.d.ts   33 bytes          [emitted]
                                        build/tests/unit/src/viewerReference.d.ts  408 bytes          [emitted]
    Entrypoint main [big] = 66486ab20117b8614068.js
    
    WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
    This can impact web performance.
    Assets:
      66486ab20117b8614068.js (1.19 MiB)
    
    WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
    Entrypoints:
      main (1.19 MiB)
          66486ab20117b8614068.js
    
    
    WARNING in webpack performance recommendations:
    You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
    For more info visit https://webpack.js.org/guides/code-splitting/
    [20:31:25] Finished 'viewer' after 24 s
    [20:31:25] Starting 'viewer-assets'...
    [20:31:27] Version: webpack 4.28.2
    Built at: 2018-12-26 20:31:27
                                                                            Asset       Size  Chunks             Chunk Names
                                                          211e708259de916ccfd5.js    119 KiB       0  [emitted]  main
                                                       build/src/assets/font.d.ts   39 bytes          [emitted]
                                                        build/src/assets/img.d.ts  183 bytes          [emitted]
                                                      build/src/assets/index.d.ts   76 bytes          [emitted]
                                                  build/src/assets/templates.d.ts  333 bytes          [emitted]
                                       build/src/configuration/configuration.d.ts   3.03 KiB          [emitted]
                          build/src/configuration/configurationCompatibility.d.ts  381 bytes          [emitted]
                              build/src/configuration/configurationContainer.d.ts  279 bytes          [emitted]
                                             build/src/configuration/globals.d.ts  179 bytes          [emitted]
                                               build/src/configuration/index.d.ts   63 bytes          [emitted]
                      build/src/configuration/interfaces/cameraConfiguration.d.ts  704 bytes          [emitted]
                build/src/configuration/interfaces/colorGradingConfiguration.d.ts      2 KiB          [emitted]
    build/src/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts  655 bytes          [emitted]
              build/src/configuration/interfaces/environmentMapConfiguration.d.ts  489 bytes          [emitted]
                      build/src/configuration/interfaces/groundConfiguration.d.ts  532 bytes          [emitted]
             build/src/configuration/interfaces/imageProcessingConfiguration.d.ts   1.21 KiB          [emitted]
                                    build/src/configuration/interfaces/index.d.ts  640 bytes          [emitted]
                       build/src/configuration/interfaces/lightConfiguration.d.ts    1.3 KiB          [emitted]
              build/src/configuration/interfaces/modelAnimationConfiguration.d.ts  537 bytes          [emitted]
                       build/src/configuration/interfaces/modelConfiguration.d.ts   1.47 KiB          [emitted]
                   build/src/configuration/interfaces/observersConfiguration.d.ts  126 bytes          [emitted]
                       build/src/configuration/interfaces/sceneConfiguration.d.ts    1.5 KiB          [emitted]
              build/src/configuration/interfaces/sceneOptimizerConfiguration.d.ts  746 bytes          [emitted]
                      build/src/configuration/interfaces/skyboxConfiguration.d.ts  540 bytes          [emitted]
                    build/src/configuration/interfaces/templateConfiguration.d.ts   1.92 KiB          [emitted]
                          build/src/configuration/interfaces/vrConfiguration.d.ts  470 bytes          [emitted]
                                              build/src/configuration/loader.d.ts   1.51 KiB          [emitted]
                                             build/src/configuration/mappers.d.ts   1.52 KiB          [emitted]
                                       build/src/configuration/types/default.d.ts  360 bytes          [emitted]
                                build/src/configuration/types/environmentMap.d.ts  174 bytes          [emitted]
                                      build/src/configuration/types/extended.d.ts  273 bytes          [emitted]
                                         build/src/configuration/types/index.d.ts  719 bytes          [emitted]
                                       build/src/configuration/types/minimal.d.ts  257 bytes          [emitted]
                                   build/src/configuration/types/shadowLight.d.ts  370 bytes          [emitted]
                                                      build/src/helper/index.d.ts  900 bytes          [emitted]
                                                             build/src/index.d.ts   1.42 KiB          [emitted]
                                                       build/src/initializer.d.ts  438 bytes          [emitted]
                                                        build/src/interfaces.d.ts  101 bytes          [emitted]
                                        build/src/labs/environmentSerializer.d.ts   3.77 KiB          [emitted]
                                                      build/src/labs/texture.d.ts   5.85 KiB          [emitted]
                                                   build/src/labs/viewerLabs.d.ts   2.71 KiB          [emitted]
                                                build/src/loader/modelLoader.d.ts    1.7 KiB          [emitted]
                                build/src/loader/plugins/applyMaterialConfig.d.ts  503 bytes          [emitted]
                       build/src/loader/plugins/extendedMaterialLoaderPlugin.d.ts  392 bytes          [emitted]
                                              build/src/loader/plugins/index.d.ts  782 bytes          [emitted]
                                       build/src/loader/plugins/loaderPlugin.d.ts   1.07 KiB          [emitted]
                                build/src/loader/plugins/msftLodLoaderPlugin.d.ts  547 bytes          [emitted]
                              build/src/loader/plugins/telemetryLoaderPlugin.d.ts  522 bytes          [emitted]
                                       build/src/managers/observablesManager.d.ts   2.05 KiB          [emitted]
                                             build/src/managers/sceneManager.d.ts   9.46 KiB          [emitted]
                                         build/src/managers/telemetryManager.d.ts    1.7 KiB          [emitted]
                                              build/src/model/modelAnimation.d.ts   5.19 KiB          [emitted]
                                                 build/src/model/viewerModel.d.ts   8.07 KiB          [emitted]
                                         build/src/optimizer/custom/extended.d.ts  472 bytes          [emitted]
                                            build/src/optimizer/custom/index.d.ts  503 bytes          [emitted]
                                           build/src/templating/eventManager.d.ts   1.55 KiB          [emitted]
                                 build/src/templating/plugins/hdButtonPlugin.d.ts  403 bytes          [emitted]
                                    build/src/templating/plugins/printButton.d.ts  436 bytes          [emitted]
                                        build/src/templating/templateManager.d.ts   6.93 KiB          [emitted]
                                   build/src/templating/viewerTemplatePlugin.d.ts  965 bytes          [emitted]
                                              build/src/viewer/defaultViewer.d.ts   4.17 KiB          [emitted]
                                                     build/src/viewer/viewer.d.ts   9.63 KiB          [emitted]
                                              build/src/viewer/viewerManager.d.ts   2.01 KiB          [emitted]
    Entrypoint main = 211e708259de916ccfd5.js
    [20:31:27] Finished 'viewer-assets' after 2.06 s
    [20:31:27] Finished 'typescript-libraries' after 1.83 min
    [20:31:27] Starting 'netlify-cleanup'...
    [20:31:27] Finished 'netlify-cleanup' after 275 μs
    [20:31:27] Finished 'typescript-all' after 2.42 min
    [20:31:27] Starting 'intellisense'...
    [20:31:28] Finished 'intellisense' after 230 ms
    [20:31:28] Starting 'typedoc-all'...
    [20:31:28] Starting 'typedoc-generate'...
    [20:32:50] Finished 'typedoc-generate' after 1.37 min
    [20:32:50] Starting 'typedoc-validate'...
    [20:32:50] All formatting check passed successfully during the validation !
    [20:32:50] Finished 'typedoc-validate' after 613 ms
    [20:32:50] Starting 'typedoc-generateValidationBaseline'...
    [20:32:51] All formatting check passed successfully during the baseline generation !
    [20:32:51] Finished 'typedoc-generateValidationBaseline' after 627 ms
    [20:32:51] Finished 'typedoc-all' after 1.38 min
    [20:32:51] Starting 'tests-unit'...
    [20:32:51] Starting 'tests-babylon-unit'...
    [20:32:51] Starting 'tests-unit-transpile'...
    [20:32:54] Finished 'tests-unit-transpile' after 2.98 s
    [20:32:54] Starting '<anonymous>'...
    26 12 2018 20:32:54.399:WARN [config]: urlRoot normalized to "/karma/"
    26 12 2018 20:32:54.574:WARN [watcher]: Pattern "/Users/nasa/code/github/Babylon.js/!./**/*.d.ts" does not match any file.
    26 12 2018 20:32:57.990:INFO [karma-server]: Karma v3.1.4 server started at http://0.0.0.0:3000/karma/
    26 12 2018 20:32:57.991:INFO [launcher]: Launching browsers PhantomJS with concurrency 1
    26 12 2018 20:32:58.000:INFO [launcher]: Starting browser PhantomJS
    26 12 2018 20:32:59.417:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket ks8_hpXsHWf9hLUDAAAA with id 38413278
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Example "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon position and rotation "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon glTF Serializer "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon Node "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon Animation Group "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon Scene Loader "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon Scene Loader "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon Material "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon Geometry "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'e.prototype') (http://localhost:3000/dist/preview%20release/gui/babylon.gui.min.js:1)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon Mesh Vertex Data "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0) Babylon.Promise "before all" hook FAILED
    	TypeError: undefined is not an object (evaluating 'b.prototype') (http://localhost:3000/dist/preview%20release/materialsLibrary/babylon.shadowOnlyMaterial.js:12)
    PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 11 of 65 (11 FAILED) ERROR (0.39 secs / NaN secs)
    [20:32:59] '<anonymous>' errored after 5.6 s
    [20:32:59] Error: 1
        at formatError (/usr/local/lib/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/format-error.js:20:10)
        at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/log/events.js:31:15)
        at emitOne (events.js:121:20)
        at Gulp.emit (events.js:211:7)
        at Object.error (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/undertaker/lib/helpers/createExtensions.js:61:10)
        at handler (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/now-and-later/lib/mapSeries.js:43:14)
        at f (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/once/once.js:25:25)
        at f (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/once/once.js:25:25)
        at tryCatch (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/async-done/index.js:24:15)
        at done (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/async-done/index.js:40:12)
        at removeAllListeners (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/karma/lib/server.js:354:9)
        at webServer.close (/Users/nasa/code/github/Babylon.js/Tools/Gulp/node_modules/karma/lib/server.js:365:13)
        at Server.close (net.js:1608:9)
        at Object.onceWrapper (events.js:313:30)
        at emitNone (events.js:111:20)
        at Server.emit (events.js:208:7)
        at emitCloseNT (net.js:1659:8)
        at _combinedTickCallback (internal/process/next_tick.js:135:11)
        at process._tickDomainCallback (internal/process/next_tick.js:218:9)
    [20:32:59] 'tests-babylon-unit' errored after 8.57 s
    [20:32:59] 'tests-unit' errored after 8.58 s
    [20:32:59] 'default' errored after 4.07 min

    And the babylon.js file inside dist is still 2.1m big.

    How do I properly build my customized version?

  2. On 11/14/2018 at 5:20 PM, JohnK said:

    You can build your own custom version. The only way I could do it I will describe below. Others may know alternatives

    You build from a local version of the BabylonJS/Babylon.js github repository.

    Read https://doc.babylonjs.com/how_to/how_to_start and rather than creating your own fork and cloning from that just clone directly to your local computer. Before doing the build part read https://doc.babylonjs.com/how_to/workloads to see which workloads to select and place in the `buildConfigurations` and set the `currentConfig` to this. The do the build part with gulp --max-old-space-size=8192 and you build of javascript files will be in the dist folder.

    I got this error (see attach). Basically I clone the project, cd into Gulp folder, then run 'npm install' & 'gulp --max-old-space-size=8192'
    Everything seems fine, till the very end, I got this error. Haven't change anything, not trying to customize yet.

    babylonjs build错误.png

  3. Is there any plan to extract a light weight core of babylon.js for mobile? 

    Currently, I downloaded the babylon.js file from mdn and size is around 2.1 M. That's way too big for me to run some simple game on smart phone.

    Can we extract a lighter version that only contains the core functionalities? And maybe then add everything else back onto the core using plugins / npm packages?

    I build a game to play on phone, and share it (qr code) internally in our company, the performance is not impressive to say the least, and we are considering switching to something lighter right now. 

    But I actually like babylon.js so it feels like a shame. Just asking.

  4. 2 hours ago, DylanD said:

    hasObservers would be at least 2 observers where as hasObserver is singular which means it has at least one.

     

    Or did you mean it does not line up with the code?

    I didn't read the source, but the api documentation doesn't mention hasObserver at all, so I assumed it was a typo and reported it.

  5. This is a straight forward question, how do I get the transformNode under root mesh?

    The asset has a root mesh with id '__root__', putting it in sandbox, I see a transformNode 'node-0' under it, with 3 subMeshes under that transformNode 'node-0'.

    So I want to get that transformNode, how?
     

    ImportMesh will return all meshes, and I can get access to the root with 

    const obj = newMeshes[0]

    How do I find that transformNode then?

  6. 9 hours ago, Deltakosh said:

    isVisible only works for meshes and I suspect that your root is a transformNode. You can use setEnabled(false) for transform nodes

    Thanks, I didn't notice the difference.

    Btw, the assets are all using a transformNode as the parent of all meshes (and it makes sense), if I createIntance of that node, it seems nothing will be copied. If I use .clone that node, things will be fine. But I have performance concern using clone instead of createInstance, should I be worried?

  7. I'm coding using babylonjs + reactjs. And I suspect there's memory leak somewhere in the code as stuff gets laggy over time.

    So what's the 101 list that I should check? 

    I've imported a few assets, then created instance of them, also I'm creating new mesh as bullet everytime user click shoot button. 
    In componentWillUnmount, I dispose every asset, and that's all I did. Is there something missing?

  8. 3 hours ago, MarianG said:

    Hi.

    You are already doing this on line 22, where you apply scaling to the root. If you want to perform a transform to the whole object, then root object is the way.

    Hey, thanks, scaling seems to work, but isVisible is not working on root. I'm trying to createInstance of it and set the original one invisible.

     

    btw, is .clone() simply creating a new mesh rather than creating an instance? So for performance wise, we should use createInstance() right? But then, createInstance won't copy children as explained here 

    So the use case of createInstance is very limited? Because for any assets that consist of more than one child, you can't use createInstance?

  9. So some assets I downloaded has a structure of __root__ ---->  node-0, I can find that single child with id node-0, and perform rotation/scaling/isVisible to control the whole object.

    But some assets like in https://www.babylonjs-playground.com/#JUKXQD#52, has mutiple children meshes, then I don't know how to scale the whole thing, or make it invisible. Please help, many thanks!

  10. 3 hours ago, brianzinn said:

    Here is how to rotate that model.... I think if you see this PG you can hopefully get the answer to your second question:
    https://www.babylonjs-playground.com/#WGZLGJ#369
    hint: You need to change the animation type :)

    Thanks.

    1. Could you explain a bit why trying to change 'rotation.y' will result in such weird manner?

    2. And when do I have to use rotationQuaternion to do the job? I see use case of 'rotation.y' here in this PG, and it works fine https://www.babylonjs-playground.com/#2L26P1#8 

  11. I import a mesh of animation girl, and trying to rotate her then move her in sequence.

    But the animation goes wild as girl rotate like 10 circles before she stays at the final key. Any reason for that and how do I fix?

    https://www.babylonjs-playground.com/#WGZLGJ#367

     

    btw, I always wanna ask, how do you animate a mesh's scaling? Do you have to make 3 animations for scaling.x, scaling.y, scaling.z?

  12. I'm pretty confused right now. 

    1. Is camera.cameraDirection a vector of where camera is pointing?

    2. Then setTarget/getTarget is doing the same thing? to point the camera to the direction of the target?

    3. And to rotate a camera is also trying to point a camera to some direction, no?

    So what is the difference?

    btw, I'm trying to add customized input to camera.inputs to control which direction it is pointing for a shooter game.

     

×
×
  • Create New...