WebGL in Firefox Nightly Builds
23 Comments Published by vladimir September 18th, 2009 in Canvas 3D, Firefox, MozillaLast 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 Pingback on Sep 19th, 2009 at 8:24 pm
- 2 Pingback on Sep 20th, 2009 at 12:48 pm
- 3 Pingback on Sep 20th, 2009 at 8:53 pm
- 4 Pingback on Sep 20th, 2009 at 9:09 pm
- 5 Pingback on Sep 21st, 2009 at 1:05 am
- 6 Pingback on Sep 21st, 2009 at 1:36 am
- 7 Pingback on Sep 21st, 2009 at 2:07 am
- 8 Pingback on Sep 21st, 2009 at 3:04 am
- 9 Pingback on Sep 21st, 2009 at 3:55 am
- 10 Pingback on Sep 21st, 2009 at 5:41 am
- 11 Pingback on Sep 21st, 2009 at 6:00 am
- 12 Pingback on Sep 21st, 2009 at 7:54 am
- 13 Pingback on Sep 21st, 2009 at 8:40 am
- 14 Pingback on Sep 21st, 2009 at 9:21 am
- 15 Pingback on Sep 21st, 2009 at 11:35 am
- 16 Pingback on Sep 21st, 2009 at 1:20 pm
- 17 Pingback on Sep 21st, 2009 at 1:31 pm
- 18 Pingback on Sep 21st, 2009 at 2:19 pm
- 19 Pingback on Sep 21st, 2009 at 2:26 pm
- 20 Pingback on Sep 21st, 2009 at 3:01 pm
- 21 Pingback on Oct 28th, 2009 at 6:33 am
Is there any demo page to see this “in real life” and inspect the code ?
The concurrence between Webkit and Gecko are very impressive. It is very Good.