摘要
针对虚拟战场仿真系统运行环境安装与配置复杂的问题,提出了一种轻量级分布交互式虚拟海战场仿真框架。首先,分析了WebGL、WebSocket等新一代互联网技术。接着,采用Blender工具对3D模型进行轻量化处理并存储到Web服务器中。然后,在客户端采用Ajax技术对Web服务器执行异步调用的方式加载3D模型对象,实现局部更新,且整个虚拟海战场渲染是通过Three. js引擎完成的。最后,采用全双工通信机制的WebSocket协议实现分布式交互操作。结果表明,采用该框架构建的虚拟海洋战场渲染速度快,逼真度高,沉浸感强。
A lightweight and distributed interactive simulation framework is proposed for the complex installation and configuration problems of working environment of virtual sea battlefield simulation system. Firstly,we analyze advanced internet technologies such as WebGL,WebSocket and so on.Secondly,the 3 D models is converted into JSON format by Blender tool and stored on the Web server.Then,the clients can load the 3 D models by Ajax to the Web server,and the pages have implemented a local update.The whole virtual sea battlefield rendering is done through the Three.js engine. Finally,the implementation of distributed interaction by WebSocket with full duplex communication mechanism.The experimental results show that the lightweight and cross platform distributed interactive sea battlefield simulation system has high rendering speed and high fidelity.
作者
徐建华
顾浩
汪小东
曾艳阳
XU Jianhua;GU Hao;WANG Xiaodong;ZENG Yanyang(Northwestern Polytechnical University,Xi’an 710072,China;Sanjiang University,Nanjing 210012,China;Henan Polytechnic University,Jiaozuo 454000,China)
出处
《系统仿真技术》
2020年第3期162-165,共4页
System Simulation Technology
基金
国家自然科学基金(61503124)
江苏高校“青蓝工程”(2017)