摘要
本文采用JavaScript编程实现这种功能,结合创建的虚拟示波器实验,讨论VRML中Script节点的应用,给出利用传感器组节点以及JavaScript语句实现部件联动和生成动画功能的方法。
VRML can not be achieved complex interaction,to construct complex three-dimensional virtual instruments with VRML usually needs adopt a component of controlling other parts of the movement.Therefore,how to achieve three-dimensional objects linkage was crucial.Adjustment for the complex interaction apparatus can not only carry out by VRML.In order to achieve the complex interactions between the created virtual space itself and collaborators,it needs to take the advantage of the specific application interfaces between Virtual space and collaborative environment to achieve its interaction with the user,JavaScript programming was used to achieve this function.Combined a virtual oscilloscope experiment created,the application of the Script node in VRML was discussed.The methods of realizing Components linkage and generation of animated feature Using of sensor nodes and the group of JavaScript statements were studied.
出处
《大学物理实验》
2011年第1期29-31,34,共4页
Physical Experiment of College