WebGL slips into Chrome, too, for 3D Web
When it comes to built-in support for hardware-accelerated 3D graphics, WebGL is being built into Firefox and the browser project behind Safari, and now Chrome is following suit.
"Preliminary WebGL support is now being compiled into Chrome," said Kenneth Russell a Wednesday message to a Chrome mailing list. But, he warned, WebGL itself is still under development and that new versions of the WebKit browser technology on which Chrome is based might cause incompatibilities for now.
WebGL can be used in the latest Chrome developer preview version--but only if "--enable-webgl" and "--no-sandbox" command-line switches are added when Chrome launches. The latest versions are Chrome 4.0.221.6 for Windows and 4.0.221.8 for Mac OS X and Linux.
WebGL began at Mozilla and Khronos Group, the organization that oversees the OpenGL 3D graphics interface. WebGL lets programmers creating Web sites issue commands for drawing 3D graphics, but the standard is still under development. The general idea is important for advanced Web sites and for Web-based applications, which although steadily getting more sophisticated don't yet match their analogs that run natively on computers.
Google supports WebGL but also is working on a separate, higher-level 3D interface for browsers called O3D.
Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank. 





The more access to all these things, the better.
It will all converge down the line at some point.
1. it makes it easy for developers, to begin experimenting/prototyping with them (no searching/installing plugins, etc.).
2. it facilitates early developer feedback, accelerating the maturation period, for the technology.
3. if facilitates mashups, between the different technologies.
4. it unifies the Chrome build system & process, for all of the components.
5. it allows the technology to be integrated into development & debugging tools.
6. it allows curious users to view websites & demos of the technology.
7. it provides a reference platform, for other browser vendors to emulate.
- by gpjt October 15, 2009 5:43 PM PDT
- This is great news, but I've not been able to get it to work. I'm using Chrome v4.0.222.12, which is definitely a recent dev release, and I've put --enable-webgl --no-sandbox on the command line, but when my JavaScript code calls
- Like this Reply to this comment
-
-
- by gpjt October 18, 2009 5:56 PM PDT
- Ah -- looks like they've had to pull it from the build: http://src.chromium.org/viewvc/chrome/trunk/src/build/features_override.gypi?view=log#rev28707
- Like this
-
(6 Comments)canvas.getContext("webkit-3d")
or, just in case,
canvas.getContext("moz-webgl")
...I get nothing back from either. I tried just "3d" as well, to no avail. Has anyone else managed to get WebGL to work in Chrome?