Re:Building a pure CSS 3D City
by Hovertruck on Tuesday July 12, 2011 @10:49AM
(#2754899)
IE9 has hardware-accelerated canvas. It's a work-in-progress in most major browsers I believe.
Re:Building a pure CSS 3D City
by ineedtosleep on Tuesday July 12, 2011 @11:46AM
(#2755140)
Chrome also has a GPU-accelerated 2D canvas, but you have to enable it in the about:flags page.
Canvas is still 2D though, so unless they develop a 3D drawingContext for canvas, you won't be able to do what's in this article with the same kind of hardware acceleration. With canvas you'd still need to run all your own poly drawing routines, while I imagine Webkit is able to take 3D CSS properties and map <div>'s straight to polys that render with hardware T&L pipelines. (Which makes me wonder, how the heck are they dealing with Z-order?)
There already is a hardware accelerated 3D context that uses the canvas element... WebGL!
How long will it be before canvas gets hardware-accelerated? Is there a technical hurdle that needs to be overcome in getting (for example) V8 to talk directly to GPUs?