This tools is used with the glTF-Asset-Generator to generate screenshots.

How to build: Run these commands:

npm install --save babylonjs@3.3.0-alpha.9 babylonjs-loaders@3.3.0-alpha.9
npm install --save-dev typescript@2.9.2
npm install --save-dev electron@2.0.2

To build the generator:

npm run build

To execute the generator in interactive mode:

Interactive Mode

npm start

Drag or use the arrow keys to reposition the camera

L key - loads a new glTF/glb model S - takes a screenshot and saves to disk

Headless Mode

npm start -- headless=true manifest=../path/to/manifest/file outputDirectory=../path/to/save/screenshots