Skip to content

Headless node.js example app #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
UX3D-becher opened this issue Jan 21, 2021 · 0 comments
Closed

Headless node.js example app #288

UX3D-becher opened this issue Jan 21, 2021 · 0 comments

Comments

@UX3D-becher
Copy link
Contributor

Pull request #286 introduces an example app for headless rendering, which however at the moment is not able to produce rendered images as originally intended.

There are two node.js libraries for headless WebGL rendering, headless-gl and node-gles.

headless-gl at the moment only supports WebGL 1.0.3 contexts, while glTF-Sample-Viewer requires at least WebGL 2.0. There is an open issue for WebGL 2.0 support on the headless-gl repository.

node-gles according to the developers is still under active development and not production ready. When using the node-gles package in the headless example app, node crashes with a segfault or produces an empty image. We assume this is due to the unfinished state of node-gles. Also some required image formats are not supported by node-gles yet (namely SRGB8_ALPHA8 and RGB32F).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants