WebGL Framework

I plan to write a 3D FPS game based on WebGL.

  • Should I use some WebGL environment?
  • What is the most active and popular WebGL library today? Does it support LOD, Heightmaps, COLLADA and some material system?

Thank.

+10
html5 frameworks 3d webgl
Oct 08 2018-10-10
source share
8 answers

Surprised no one mentioned Three.js . It has a strong community that adds new features on a regular basis. You can try and play with him on the WebGL playground:

http://webglplayground.net/

There is a Three.js template for new projects.

+14
Jan 21 '12 at 19:10
source share

Yes, you should definitely use the WebGL framework, this will save you a lot of work.

The WebGL ecosystem is currently in such a rapid state of change that it is quite difficult to choose a specific library. However, of all the libraries I've seen, I would suggest Copperlicht, as it seems to target FPS games in particular. There are so few published WebGL games that it’s hard to say which library is popular.

+4
Oct 08 2018-10-10
source share

You can also take a look at GLGE and SceneJS. As Liam says, there are no established leaders yet, but from what I saw, the two and Copperlicht are the most talked about. SceneJS in particular has a very active mailing list.

+3
Oct. 14 '10 at 19:02
source share

I recently looked at various WebGL libraries.

SceneJS is the one I've already experimented with. It is lightweight and focused solely on creating and manipulating the scene graph. The objects and scene graph data are defined in JSON, which I enjoyed working with. Graph nodes are later discovered by the identifier and can be managed by them.

Comprehensive documentation is provided, although there are some bright holes. Good community support through the Google group.

Compared to GLGE and Copperlicht, this is very short on features. No skeletal animation, no collision detection, no particle system, no ambient light!

In the future I will look at GLGE, C3DL and the WebGL port CubicVR.

+3
Feb 12 2018-11-12T00:
source share

About a year has passed since you asked, and WebGL now ships in firefox and chrome and firefox for Android.

If I thought about it now, I think that I will go with GLGE for beginners in OpenGL, SpiderGL , if you already know OpenGL, and maybe look at PhiloGL if you are an ExtJS / Sencha developer and how this style of work works. Sencha Touch will make more sense for a 3D application when the built-in web kit on mobile devices comes with WebGL.

+2
Oct 05 '11 at 17:32
source share

Several new options arose after this question was first asked.

For games, Turbulenz has a very good library: http://biz.turbulenz.com/developers

Playcanvas seems to be good too: https://playcanvas.com/

Depending on your needs regarding download size, Unity may also be a good choice. With it, you can export your game to almost any platform. The only drawback is the relatively large files that it produces. http://docs.unity3d.com/Manual/webgl-gettingstarted.html

0
04 Sep '15 at 21:04
source share

There is a WebGL library dedicated to the development and implementation of web games called Babylon.js. http://www.babylonjs.com

Its strong advantage is that it provides many rendering effects in the library, and you can simply call these functions.

Of course, Three.js is the fundamental library for WebGL, and all things can be implemented by it, it just may take a lot of time to develop games. But I suggest you start with Three.js to familiarize yourself with WebGL, and then use Babylon.js for your game.

0
Apr 02 '16 at 3:04 on
source share

Depending on your platform, if your FPS game runs on a PC browser with a powerful graphics card and processor, unit3D is the best option for you.

If your game is aimed at a mobile phone, perhaps you can try THREE.js or SceneJS.

And if your time is limited and your game is a bit complicated, I recommend you LAYABOX, for its complete ecosystem and complete tools that could save a lot of work. Hope this helps.

0
Sep 26 '17 at 3:14
source share



All Articles