What is GLGE?

GLGE is a javascript library intended to ease the use of WebGL; which is basically a native browser javascript API giving direct access to openGL ES2, allowing for the use of hardware accelerated 2D/3D applications without having to download any plugins.

The aim of GLGE is to mask the involved nature of WebGL from the web developer, who can then spend his/her time creating richer content for the web.

Get GLGE v0.9

Fork me on GitHub

Text Rendering Demo

January 31st, 2010

This weeks big new feature is the addition of text rendering. I’ve also added a billboard option that will point the z-axis of any object towards the camera or any other object.

See the live demo

Video:

There has also been lots of changes behind the scenes. The animation system has been fixed and improved. It’s now posible to animate using linear intoperlation(finally) as well as animate discrete steps and set non-numeric values. This may well be the last big update for the next couple of weeks as I’m off on a family holiday next weekend.

Fog now supported

January 24th, 2010

I’ve finally added the long promised fog. As it was a quick and easy addition, I’ve also done a lot of optimisations including replacing Sylvester with GLGE optimised math functions. Guesstimate is that performance gains this week are ~20%. I was hoping to add some frustum culling of objects as well but there just aren’t enough hours in the day, but I’m sure I’ll get it done soon. Hopefully, I’ll be getting the animation system up to scratch this coming week.

Try the live fog demo

Heres the video: