This demo is from Hans Schmucker, who has made a large number of interesting demos using Firefox 3.5 features. Tomorrow we’ll also have another neat demo from him as well.
Hans has used the CSS filter property and an SVG filter to do something really interesting – rendering a 3D perspective from Voxel data. Hans’ comment at the bottom of the demo is quite flattering:
Frankly, I didn’t expect this to work, primarily because the filter is very, very long. It needs to process around 30 operations to generate each frame (4 operations for each of the 5 layers + 5 for the texture + 3 for the texture transformation), and that’s with a 768×512 surface. It’s not very difficult to understand, but there’s simply a lot of processing needed and the speed at which Firefox renders this is nothing short of amazing.
If you’re interested in background also make sure to check out Hans’ post Perspective texture with 6 lines of SVG where he explains how to use filters to create this effect. Anyway, have a look at the demo – it’s very interesting.



These filters seem to break when full colour management is enabled (gfx.color_management.mode=1)
With it set to the defaults, it’s very nice though (and very fast)
/me scratches head. Looks the same to me, but I’m using the Win7 default profile anyway.
It really shouldn’t make any difference unless the color profile changes the alpha channel and I have no idea why it should do that.
It looks like map of war craft. maybe years later, the game can run in browser?
Multiplayer would probably be tricky as the network protocols used by a browser are not really optimized for fast response times.
But for the game itself: It already could run in a browser… maybe not with 3D backgrounds, but it could. The problem here is less the technology (at least as far as anything but InternetExplorer is concerned), but that it takes a huge investment to produce such a game.
Yeah works well for me too. Amazing to think of all the incredibly inventive websites that we are going to see using technology like this.