Error message

  • Deprecated function: Array and string offset access syntax with curly braces is deprecated in include_once() (line 20 of /home/drbiz/public/
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/drbiz/public/

Add X3D on Your Webpage

HTML5 logo from W3C - CCA V3Getting X3D to display on your webpage is very simple. The simpliest example can be accomplished in three easy steps. These are summarized as

  1. Create HTML5 web page (popup)
  2. Add X3DOM libraries to <head> (popup)
  3. Add X3D tags to <body> (popup)

Some browsers will let you display X3D content using X3DOM from your local filesystem, others will need to operate in a web server environment. This is due to slightly different interpertations of security policies by those browsers. To be sure everything works, upload all of your files (HTML, X3D models, textures, and other resources) to your web server.

Once the three steps above are done, you can add any interaction between the webpage and the X3D scene as needed.