[X3D-Public] Prototype
Joe Lewis
jlewis at suitefactory.com
Sun Oct 5 06:32:51 PDT 2014
I have tried the following code and I can't get it to work? I'm I doing
something wrong?
<html>
<head>
<script type='text/javascript'
src='http://www.x3dom.org/download/dev/x3dom.js'> </script>
<link rel='stylesheet' type='text/css'
href='http://www.x3dom.org/download/x3dom.css'/>
</head>
<body>
<X3D width="800px" height="600px" >
<Scene>
<ProtoDeclare name='box'>
<ProtoInstance>
</ProtoInstance>
<ProtoBody>
<Transform>
<Shape >
<Appearance >
<Material ambientIntensity="1.0" transparency="0.0" shininess="0.145"
diffuseColor="0.588 0.588 0.588"/>
</Appearance>
<Box size="2.438 2.895 13.716" />
</Shape>
</Transform>
</ProtoBody>
</ProtoDeclare>
<!--
==================== -->
<ProtoInstance name='box' >
</ProtoInstance>
</Scene>
</X3D>
</body>
</html>
Regards,
Joseph B. Lewis
CCI
3 Bessom ST.
#212
Marblehead, MA 01945
Phone: 1-781-933-9500
Fax: 1-781-494-9585
Email: jlewis at suitefactory.com
Website: http://www.suitefactory.com <http://www.suitefactory.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20141005/6a069a7d/attachment.html>
More information about the X3D-Public
mailing list