Incremental loading problem-tool can not be installed

I have a max which include 300+ geometries, trees,plants,stones,paths,pools,etc.
to load into the scene incrementally, i tried to use incremental loading, but sorry to install the tool.

npm install babylonjs-make-incremental -g

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path C:\Users\Administrator\AppData\Roaming\npm\node_modules\babylonjs-make-incremental\cli.js
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, chmod ‘C:\Users\Administrator\AppData\Roaming\npm\node_modules\babylonjs-make-incremental\cli.js’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2020-04-29T18_41_16_325Z-debug.log

and https://github.com/BabylonJS/Babylon.js/tree/master/Tools/MakeIncremental shows erorr 404
can anybody suggest an idea?
thanks very much.

Let s take @bghgary to chime in and explain how it could be done with gltf. I guess this might be easier :slight_smile:

Quick search results in GitHub - evolution-gaming/babylonjs-make-incremental: Node version of babylonjs make incremental script which you probably already found, but I have no idea what that tool is. Perhaps we had something like this before?

For glTF, check out this thread?

Thanks anyway,
I’ll check it.

thanks anyway

I am getting error bellow, please help me,

babylonjs-make-incremental --src=./src/scenes/mainScene --excludedMeshes=“^car-,^box-,^building”

‘babylonjs-make-incremental’ is not recognized as an internal or external command,
operable program or batch file.

Did you install the package globally?

Also please not we now recommend to rely on gltf for this incremental loading. The tool is still around mostly for back compat.

1 Like