Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emscripten without SDL

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?

like image 402
Edward A Avatar asked Mar 19 '14 09:03

Edward A


Video Answer


1 Answers

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

like image 121
Scott Stensland Avatar answered Oct 24 '22 01:10

Scott Stensland