WebGL Helicopter update
Ok, I know videos are only so good and you probably want to try the real thing – I get it! It’s almost there! I just have to clean up a few things to make it not so frustrating because flying the helicopter in and of itself will probably most frustrating ;) If you ever played Battlefield 1942 with the Desert Combat mod and learned how to fly the helicopters there, this will be JUST like that. I loved flying the helicopters in that game – and ever since then it’s just gone down hill. They keep putting baby controls on the stupid things and it just ruins the cool factor IMO. Yeah it was hard to fly, but once you got it, you owned just about anyone and everyone in the game.
If you saw the earlier post where I had an industrial area, you’ll notice that this time the scene is completely different. I wanted to play with the different shaders and post processing affects and after playing with Goo I was inspired to recreate the scene I’d created there, here. Goo definitely makes it a million times easier to achieve this look (another post for another time). The floor is a mirror which has a nice subtle smoke / noise map and the only effect I applied was a vignette. The performance so far is good at 60fps, but after adding the skyscrapers it’s starting to show signs of hitting the performance cap.
At this point, my overall impression of WebGL development is both inspiring and disappointing and somewhat cruel. Documentation is probably my biggest gripe. For Ammo, I had to go to Bullet’s API and docs and for examples, I just had to search the web for anyone who might have used Threejs with Ammo. Thankfully, there was just enough to answer the basic questions, but it was tedious to say the VERY least. Don’t get me started about browser issues and simple things like locking the mouse – I mean geez, really?? is that so much to ask a browser to do? I have it working, but was astonished to find this wasn’t something supported up until recently and even then it’s only the main browsers (shocker, I thought I’d left all this crap back in the late 90’s? – why people are anti-plugin is beyond me, talk about wasted hours in QA?! oye!)
Ok, I’ll rant later and rave as well. There’s good and bad of course, but the bottom line is, I at least enjoyed myself and the challenge has taken me back to the days when Papervision3D was just starting and we had no idea how to do many of the things we developed. So that part is really very cool ;)
I promise – I’ll get the link up soon for you guys to try!