Question

I'm trying to get started with emscripten but I don't seem to be able to find all that much information about it. I have followed the tutorial, and got a simple hello world working. From what I gather the normal GL calls automatically get translated into WebGL, but what I'm wondering about is how to set up the rendering target, context and all that without SDL or GLUT or anything along those lines.

Is there a way to use WebGL on emscripten without SDL\GLUT (including mouse/keyboard input, etc)? Where can I get some more info, examples, etc about emscripten?

Was it helpful?

Solution

I suggest you use Cheerp - an alternative to emscripten - Cheerp has a working WebGL demo, it also has much more coherent/updated docs/examples

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top