WebGL around the net, 5 Feb 2010

Some interesting new projects today!

  • In the earliest WebGL demos, Vladimir Vukićević used the Sylvester library for vector and matrix maths; it’s convenient, well-written, well-documented, and open source. Pretty much everyone else followed suit. However, its very general-purpose nature means that it can’t be as fast as a specialised library focusing on the specific kinds of calculations we need for 3D graphics. So, he’s started a new project called mjs, to provide just the really simple vector and matrix maths we need, and to do it really quickly. He’s getting pretty encouraging results on his benchmarks, with JITed calculations being more than ten times as quick, and un-JITed at least twice as fast. [UPDATE I've tried porting the upcoming lesson 14 to it, and it works fine. No performance figures yet, though.]
  • Another important part of building 3D scenes is getting models designed in 3D graphics programs into your JavaScript code. People are working on tools to import existing 3D graphics formats like 3DS, but an alternative route is to get the 3D modelling tool to output JSON or some other format you can easily read. Paul Brunt’s GLGE has some support for doing this from Blender, but Dennis Ippel has just announced a project that makes exporting from Blender to WebGL code its main focus. So far it exports to SceneJS, but a generic WebGL version is on its way. It’s not ready to download yet, but will be soon.
  • Another 3D library for WebGL, this one with its own editor! CopperLicht is definitely worth a look.
You can leave a response, or trackback from your own site.

Leave a Reply

Subscribe to RSS Feed Follow Learning WebGL on Twitter