Vladimir Vukićević — Words
 



Last night, I checked in some more work from Mark Steele (who’s focusing on the Firefox WebGL implementation), and along with that, enabled WebGL in trunk nightlies.  (Finally!)

If you’re not familiar with WebGL, it’s the evolution of work that Mozilla started a few years ago with experiments called Canvas 3D — essentially a way of accessing OpenGL from within the browser, through the HTML5 canvas tag.  Earlier this year, we started a standardization effort within the Khronos Group which oversees OpenGL, and have made very rapid progress.

Along with the Firefox implementation, a WebGL implementation landed in WebKit fairly recently.  All of these implementations are going to have some interoperability issues for the next little while, as the spec is still in flux and we’re tracking it at different rates, but will hopefully start to stabilize over the next few months.

If you’d like to experiment with WebGL with a trunk nightly build (starting from Friday, September 18th), all you have to do is flip a pref: load about:config, search for “webgl“, and double-click “webgl.enabled_for_all_sites” to change the value from false to true.  You’ll currently have the most luck on MacOS X machines or Windows machines with up-to-date OpenGL drivers.

We still have some ways to go, as there are issues in shader security and portability, not to mention figuring out what to do on platforms where OpenGL is not available.  (The latter is an interesting problem; we’re trying to ensure that the API can be implementable on top of a non-GL native 3D API, such as Direct3D, so that might be one option.)  But progress is being quickly made.

When paired with high-performance JavaScript, such as what we’ve seen come from both Firefox and other browsers, should allow for some exciting fully 3D-enabled web applications.  We’ll have some simple demos linked for you soon, both here and on Mark’s blog.

Edit: new post up, with some samples!


23 Comments to “WebGL in Firefox Nightly Builds”  

  1. 1 Jblanche

    Is there any demo page to see this “in real life” and inspect the code ?

  2. 2 truffo

    The concurrence between Webkit and Gecko are very impressive. It is very Good.

  1. 1 Raph’s Website » WebGL in Firefox & Webkit
  2. 2 winandmac.com » New Firefox 3.7 beta adds OpenGL 3D power (a.k.a WebGL)
  3. 3 winandmac 香港版 | Firefox 3.7新測試版加入OpenGL 3D引擎
  4. 4 Firefox gets WebGL support: 3D hardware acceleration - Mozilla Links
  5. 5 WebGL Makes Its Way into Firefox 3.7 - Partytow
  6. 6 upCenter 2.1 » Höchste Zeit für’s Web3D
  7. 7 Firefox 3.7 Mula Mengintegrasikan WebGL | aMaNz
  8. 8 Ajaxian » WebGL available in Firefox Nightly
  9. 9 WebGL llegará en Firefox 3.7 « Tecnologia, Actualidad,y mucho mas….
  10. 10 WebGL in Firefox 3.7 Minfield nightly builds
  11. 11 Linkpost | 9.21.2009 | L&C Tech Talk
  12. 12 Suporte à WebGL chega ao Firefox integrado aos builds da futura versão 3.7 | MacMagazine
  13. 13 WebGL support makes first appearance in latest Firefox 3.7 nightly builds | Technology you can trust here...
  14. 14 Firefox añade soporte para Gráficos 3D con WebGL | SwordFishCode
  15. 15 Firefox Implements WebGL For High-Powered Web Graphics | Lifehacker Australia
  16. 16 Firefox ya puede con WebGL : Blogografia
  17. 17 The Cheap Computer Geek » Blog Archive » Firefox gets an early taste of 3D Web standard
  18. 18 Thai Brothers’ Sharing Blog » Blog Archive » Firefox gets an early taste of 3D Web standard
  19. 19 WebGL Samples/Demos and other bits at Vladimir Vukićević
  20. 20 Firefox ya puede con WebGL | Ricón de Ocio
  21. 21 Lesson 0: Getting started - Learning WebGL