An Example of How WebGL is supposed to Work

In This Earlier Posting, I described how I had recompiled the Atomic Game Engine, to act as a platform running on my Linux laptop ‘Klystron’, from which among other things, I should be able to create games, and export those into ‘WebGL Format’.

WebGL is an ‘HTML5′ specification, which not all browsers support fully, but which essentially allow for hardware-accelerated 3D graphics to run on the browser, as propagated from a Web-server. It has the same gist that the now-deprecated ‘VRML’ used to have, with the exception of being in binary – partially – and being more powerful.

Atomic Game Engine comes with numerous Demos, that are designed to help users like me, learn how to use their system for creating games, and to test their platform.

The following is not a game I created, instead being a simple game delivered through the installation of Atomic Game Engine to my laptop. So this is something which the developers of Atomic Game Engine created, but which I am able to deploy as well, just because I installed Atomic Game Engine. And it may not work on every browser. I hear that Firefox supports WebGL particularly well. And, it is slow to load, because after everything has been said and done, WebGL is still a less efficient platform for 3D content, than actual ‘OpenGL’, or ‘DirectX’ applications would be.

If you load this on some browsers, they will display a message box, stating that ‘A Script is Taking Very Long To Run – Do You Wish To Continue?’ Because we know that this script is supposed to contain a 3D game, presumably we would allow it to keep running. But even when we do, we need to have a fairly strong graphics chip-set, in order for this to render properly. It renders correctly on my laptop ‘Klystron’ – over a network – but not on my server-box ‘Phoenix’, even though both have the same browser version, presumably because of the weak GPU on ‘Phoenix’. And building Atomic Game Engine, did not require me to install any special modules to my system, as a plausible answer to why that laptop is able to play the animation.

On ‘Phoenix’, this content eventually loads, but only displays a black window. And that is correct, even though I am the publisher and code-maintainer for this little project.

Link To An Atomic Game Engine Sample