This tools is used with the glTF-Asset-Generator to generate screenshots.
How to build: Run these commands:
npm install --save [email protected] [email protected]
npm install --save-dev [email protected]
npm install --save-dev [email protected]
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