[nodejs] Unable to run an example for node-webgl

2016-09-18 Thread Prajwal Sapare
I recently installed node-webgl in node.js server. Along with that it's dependencies node-glfw is installed automatically. I have also installed node-gyp. However, when I try to run a program of either node-webgl or node-glfw I am facing error. Below is the error message: C:\Users\z003npra>c

[nodejs] Are functions of WebGL in browser and node-webgl library same?

2016-09-19 Thread Prajwal Sapare
Hello, I am using an open-source browser based rendering program. This rendering program makes use of WebGL enabled browser functions. This can be used only at client end. However I want o use the same code at server end. But, server has no browser interaction. So it needs to be pure javascri

[nodejs] Error: canvas.toDataURL() is not a function

2016-09-22 Thread Prajwal Sapare
Currently I am trying to convert browser based client side volume rendering code to server side pure javascript based rendering. I use node-webgl at server side. My main goal is to send the canvas content of server to client, later this image data is displayed on the client. But before this I

[nodejs] Are functions of browser based inbuilt webgl and node.js based node-webgl same?

2016-09-23 Thread Prajwal Sapare
Hello, I am currently planning to use a browser based volume rendering open source implementation at the server side. For this I am using node.js server and node-webgl library. I am making some modification in the code. Are the webgl functions same at both client and server or do they differ? I