Google O3D: Mind-Blowing Open-Source 3D API in the Browser with JavaScript + OpenGL, DirectX
Wish granted!
Think 3D in the browser will never catch on? Think again. The folks at Google Labs have built an incredible-looking 3D API called O3D. It does just about everything you want, and then some:
- It’s multi-platform: Mac + Windows + Linux.
- It can render to both OpenGL and DirectX render pipelines.
- You can write your own vertex and pixel shaders. You have to use O3D’s own language for doing this, but that actually enhances compatibility, as frustrated shader coders may already know. (See the FAQ)
- It’s a scene graph, so managing complex 3D scenes isn’t a chore.
- It has powerful built-in functions like viewports and pickers (plus custom pickers), so you can actually get something up and running in a reasonable time.
- It has an import workflow with COLLADA, an open standard for 3D assets (and which, incidentally, has support in Google’s own SketchUp).
- You code in JavaScript, using the powerful V8 engine (developed for Chrome).
- Gears lets you run offline.








