XML : X3D simple Protoypes

I'm trying to get a simple X3D-prototype-example working in Firefox (45.0):

  <html>      <head>       <meta http-equiv="X-UA-Compatible" content="IE=edge"/>        <title>Prototypes</title>        <script type='text/javascript' src='http://www.x3dom.org/download/x3dom.js'> </script>        <link rel='stylesheet' type='text/css' href='http://www.x3dom.org/download/x3dom.css'></link>      </head>      <body>           <x3d width='1000px' height='700px'>        <scene>          <ProtoDeclare name="Cyll">            <ProtoInterface></ProtoInterface>            <ProtoBody>                           <shape>                <appearance>                   <material diffuseColor='1 0 0'></material>                </appearance>                       <cylinder height="3.0"></cylinder>               </shape>             </ProtoBody>          </ProtoDeclare>              <ProtoInstance name="Cyll"></ProtoInstance>        </scene>       </x3d>      </body>   </html>     

The cylinder-shape alone is perfectly working, but if I try here to prototype it, it just does not work.

Firefox is not throwing any errors.

What am I doing wrong?

No comments:

Post a Comment