<!doctype html> <html> <head> <title>Simplest X3DOM</title> <meta encoding="utf-8"> <script src="http://x3dom.org/release/x3dom.js"></script> <link rel="stylesheet" href="http://x3dom.org/release/x3dom.css"> </head> <body> <x3d id='model' showStat='true' showLog='false' x='0px' y='0px' width='512px' height='420px'> <Scene> <Shape> <Appearance> <Material diffuseColor='.7 0 1'></Material> </Appearance> <Box></Box> </Shape> </Scene> </x3d> </body> </html>
HTTP request sends headers
Host: <server-name of desired content> Origin: <protocol://server-name of requestor>
Access-Control-Allow-Origin <value>
Header set Access-Control-Allow-Origin *
<iframe src='/x3d-models/Globe/globe-home.html' width='192' height='160' style='margin:0; padding:0;' border='0' frameborder='0'></iframe>
http://www.web3d.org
http://realism.com/models
/