X3DOM中动画失效(标签规范)

<X3D  showStat="true" x="0px" y="0px" width="400px" height="400px">

<scene>        

<Transform DEF="thebox" translation ="-4.0 0.0 0.0">            

<Shape><Box /></Shape>        

</Transform>        

<TimeSensor DEF="Clock" cycleInterval="5.0" loop="true"/>        

<PositionInterpolator DEF="TreePath" key=" 0.0 1.0" keyValue=" -4.0 0.0 0.0 4.0 0.0 0.0"/>        

<route fromField="fraction_changed" fromNode="Clock"      toField="set_fraction" toNode="TreePath"> </route>        

<route fromField="value_changed" fromNode="TreePath"      toField="translation" toNode="thebox"> </route>

</scene>

</X3D>

标签必须严格闭合!!!!!

posted @ 2013-10-07 17:29  StonySven  阅读(221)  评论(0编辑  收藏  举报