instantreality 1.0



Logo IGD

About

X3DOM (pronounced X-Freedom) is an experimental open-source framework and runtime to support the ongoing discussion in the Web3D and W3C communities how an integration of HTML5 and declarative 3D content could look like. It tries to fulfill the current HTML5 specification for declarative 3D content and allows including X3D elements as part of any HTML5 DOM tree.

SVG, canvas, WebGL and X3DOM relation

SVG, canvas, WebGL and X3DOM relation

The goal here is to have a live X3D scene in your HTML DOM, which allows you to manipulate the 3D content by only adding, removing, or changing DOM elements. No specific plugin or plugin interface (like the X3D-specific SAI) is needed. It also supports most of the HTML events (like “onclick”) on 3D objects. The whole integration model is still evolving and open for discussion.

We hope to trigger a process similar to how the SVG in HTML5 integration evolved:

  • Provide a vision and runtime today to experiment with and develop an integration model for declarative 3D in HTML5
  • Get the discussion in the HTML5 and X3D communites going and evolve the system and integration model
  • Finally it would be part of the HTML5 standard and supported by every major browser natively

More architectural and background information can be found in the X3DOM papers (published at the annual Web3D conferences from 2009 to 2012):

There are also two articles about the project in the German iX magazine, one in the November issue 2010 and one in the December issue 2010.

Alternatively you, as Web developer, can also just utilize the system today to build Web pages and applications, which include declarative (X)3D content that will be rendered hardware accelerated (thanks to WebGL) without the need for using any plugin.

Besides the standard documentation, you can find some additional help on internal shader and math functionality here. There is also a little tutorial for download here:

Fork me on GitHub