Archive for the ‘Upcoming lessons’ Category

Retrospective bugfixes for the lessons

Don’t worry, the lessons will continue shortly! Things have been a little hectic with my day job recently, but I hope to be able to write up lesson 16 over the weekend.
In the meantime, some bugfixes to the older lessons, in particular those after lesson 11:

Chromium expert Ken Russell writes to point out that [...]

Some particle effects

I found myself at home unexpectedly this evening, so what better way to pass the time than learning about particle effects? These are what you use to show explosions, flames, smoke, and other useful things; Google have put together an excellent WebGL demo (actually ported over from O3D) showing a number of different things [...]

Upcoming lesson 16

I’ve completed the first cut of the WebGL code for lesson 16; its code still needs significant tidying before I write it up, but I think it looks pretty much right. If you have a WebGL browser (here’s how to get one), click the link in the last sentence, and if you don’t, here’s [...]

Next steps for the lessons, and a demo

I’m wondering what I should cover next in the lessons. The longer-term plan I’m working to right now is to put together something a bit larger than my lessons have been so far; a complete scene demonstrating most of what I’ve covered, but also showing more about program structure. I’ll aim to build [...]

A bundle of retrospective changes

I’ve got quite a large list of things I wanted to fix in the lessons, but I’ve just made it three items shorter…

murphy pointed out that modern browsers have built-in JSON libraries, so lesson 14 doesn’t need to import one. So that’s gone.
The code that loaded textures was pretty ugly, creating separate globals for [...]

WebGL around the net, 2 Feb 2010

It looks like WebGL is going to get a bit of a push at the Game Developers’ Conference in San Francisco in March: there are three sessions highlighting it, one from Barthold Lichtenbelt of NVIDIA on OpenGL — Featuring WebGL, one from Tom Olson of Khronos on Khronos Mobile — Featuring WebGL, and one from [...]

Retrospective changes to the lessons: 1TBS

Once again, I’ve been through the previous posts and made a number of changes. Most of them are cosmetic in nature, but one looks cosmetic but isn’t.
A good way to start a violent argument between developers is to start talking about indentation styles. When you have an “if” statement or a [...]

Upcoming lesson 11

Lesson 11 is ready to go; it introduces code to draw spheres, per-object rotation matrices, and mouse control! Here’s the WebGL page, and here’s a video showing what it looks like:

I was originally planning to do a follow-up to lesson 10 to introduce lighting, but unfortunately it wound up being messier than I [...]

First cut at WebGL Lesson 10.5 – cameras and lighting

I’ve got the first working version of the code for lesson 10.5 done. It’s 10.5 because all it adds to lesson 10 is lighting, which I think is a minor but worthwhile digression… Anyway, here it is!

A very early version of lesson 10…

…is ready to play with. The code is not quite ready for prime time, so please don’t base anything on it :-) It works for me in Chrome, but for some reason with Firefox it works from a local disk but not from the site. Odd. I’ll debug that over the [...]

Subscribe to RSS Feed Follow me on Twitter!