-
Notifications
You must be signed in to change notification settings - Fork 171
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
Headless Without binary bindings? #148
Comments
headless-gl is very tied to nodejs and Angle as bindings are required to communicate with your gl driver/implementation. Unfortunately, I can’t think of a way you could use gl with js, that doesn’t involve the node runtime or a browser. |
@dhritzkiv I think I found my solution, TinyGL, It converts the webGL buffer to a typed array, which is exactly what I was looking for. I just have to strip canvas context-2d from the project. |
@dhritzkiv with this project is it possible to at least make it platform independent so you can manually specify driver in your code instead of the npm module? Like in the fatfs node module example where the block driver is passed to the npm module’s api by the user? Also instead of a .node file can it be a minified js file? |
@adminy Making this library platform independent is a massive undertaking. It was already difficult to integrate many parts of angle. Please see this issue: #116 It cannot be just a minified js file as bindings to native binaries are required (achieved through .node) |
Can this run without any bindings or dependencies?
I am trying to run it on an independent platform which has just vanilla js without node or browser sugars.
How tied is this to ANGLE ? I got just a buffer in the graphics card which I could write to,
could I use gl features with just that? Thanks.
The text was updated successfully, but these errors were encountered: