基于Unity3D的煤矿三维Web引擎关键技术

    Key technologies of 3D Web engine for coal mine based on Unity3D

    • 摘要: 针对基于Unity3D开发煤矿三维可视化业务系统难度大的问题,在分析Unity3D框架和底层技术的基础上,从资产打包和下载、三维场景加载和卸载、场景编辑、场景交互、Web接口功能通信这5个角度出发设计和封装了三维Web引擎。研究了资产包打包与下载,解决数据的来源问题;使用异步加载技术在浏览器中加载资产包,实现数据的加载和三维场景的构建;对Unity3D中常用的编辑功能进行封装,可以快速进行场景编辑;对Unity3D中的鼠标交互和相机控制进行封装,在浏览器三维场景中进行重复应用;根据Web接口通信原理,实现开发者使用主流的JavaScript语言调用封装好的煤炭业务功能接口,解决开发者开发煤矿三维应用的难度大的问题。结果表明:基于该三维Web引擎开发煤矿三维可视化业务系统达到了降低开发难度,场景可视化效果逼真的目的。

       

      Abstract: Aiming at the difficulty of developing a coal mine 3D visualization business system based on Unity3D, based on the analysis of the Unity3D framework and underlying technology, the 3D Web engine is designed and packaged from five perspectives: asset packaging and downloading, 3D scene loading and unloading, scene editing, scene interaction, and Web interface function communication. The asset package packaging and download are studied to solve the problem of data source; using asynchronous loading technology to load the asset package in the browser, realize the data loading and 3D scene construction; encapsulating the commonly used editing functions in Unity3D to enable quick scene editing; encapsulating the mouse interaction and camera control in Unity3D and reuse it in browser 3D scene; according to the principle of Web interface communication, developers can use the mainstream JavaScript language to call the encapsulated coal business function interface, so as to solve the difficult problem of developers developing 3D applications in coal mines. The results show that the development of the mine 3D visualization business system based on the 3D Web engine can reduce the difficulty of development and achieve the purpose of realistic scene visualization.

       

    /

    返回文章
    返回