摘要
为了解决项目三维漫游制作效率低、人机交互差等问题,研究设计了一种利于制作三维漫游的方法,在React框架下,采用WebGL技术在HTML5页面上开发了Web端系统,在网页端漫游场景中可通过用户自定义漫游路径,也可导入指定漫游路径方式实现漫游功能,在漫游过程中可随时暂停,对漫游场景中的三维模型进行放大、缩小、测量、批注、剖切、查看构件属性及关联文档等相关操作,并且可以在漫游路径上加载新的三维模型到漫游场景中,恢复漫游后,系统将恢复到暂停漫游前的视角继续漫游,利用该漫游方法,有效提升了漫游的灵活性和模型操作的交互性,具有良好的推广应用前景。
In order to solve the problems of low efficiency and poor human-computer interaction,this paper studies and designs a method that is conducive to making 3D roaming.Under the framework of React,we use WebGL technology to develop a web end system on HTML5 page.In the web end roaming scene,users can customize the roaming path,or import the specified roaming path to realize the roaming function.In the process of roaming,you can pause at any time to zoom in,zoom out,measure,annotate,cut,view component properties and related documents of the 3D model in the roaming scene,and you can load a new 3D model into the roaming scene on the roaming path.After the roaming is resumed,the system will resume to the perspective before the roaming is suspended and continue to roam.This method effectively improves the flexibility of roaming and the interactivity of model operation,and has a good application prospect.
作者
刘立峰
李梦
黄勇
Liu Lifeng;Li Meng;Huang Yong(Powerchina Northwest Engineering Corporation Limited,Xi’an 710065,China)
出处
《山西建筑》
2021年第20期192-195,共4页
Shanxi Architecture