WebGL is whispering to me from the shadows

I mentioned earlier that I am going to do a 7drl with C++ and OpenGL (probably testing out Qt toolkit’s OpenGL module), but now WebGL, the JavaScript OpenGL ES bindings for use inside a web browser, has started to taunt me increasingly. I am no expert with JavaScript and I usually prefer compiled, statically typed languages for games and stuff, but with the rise of HTML5, increasing my JS knowledge could come in handy.

WebGL also has the advantage that it is a well-defined and contained set of OpenGL functionality, contrary to the desktop version where there are many different versions, each deprecating something etc, so that it becomes hard and confusing to figure out what functionality should be used (e.g. doing stuff in a deprecated way to maintain compatibility with older hardware or coding “the right, modern way” that’ll probably break many bad drivers).

So, looks like I might be leaning towards WebGL, but need to read a couple of more tutorials and run some tests before I can say for sure.

Leave a Reply