mikeseven / node-webgl

WebGL bindings to desktop OpenGL
398 stars 60 forks source link

Is possible binding WebGL with Android OpenGL? like gles.js #50

Open jdnichollsc opened 8 years ago

jdnichollsc commented 8 years ago

Hi man,

Is possible binding WebGL with OpenGL to improve the performance in a hybrid mobile app using Cordova?

Regards, Nicholls

mikeseven commented 8 years ago

No it isn't dead, I'm just super busy.

--mike

On Sun, May 15, 2016 at 5:56 PM -0700, "Dillybob92" notifications@github.com<mailto:notifications@github.com> wrote:

Project is dead, main dev doesn't bother to respond to shit.

You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHubhttps://github.com/mikeseven/node-webgl/issues/50#issuecomment-219326891

mikeseven commented 8 years ago

Sorry for the late reply. I definitely missed your question. In theory, there is nothing stopping binding to gl es since that's what is webgl. Now regarding Android, I know nodejs works on it but I never tried. Node-webgl relies on glfw and glew for desktop cross platform. I suppose we would need to remove glfw, glew, AntTweakBar (already asked in other questions) and write a jni binding to gles.

But would that work with Cordova? I dont know Cordova details enough to answer. If Cordova cam be modified to generate apps that use this special binding, and node runtine, then it could work. But if it generates webgl code to run through a web view, then this special binding won't be used.

Hope it helps.

ghost commented 8 years ago

@mikeseven I am sorry, I thought I was in a different repository! You have helped answered my questions before in this sub and once I realized I deleted my post :P