摘要
当下前端技术日新月异,WebGL以其无需插件和硬件加速等特点迅速在web3D展示技术中走红,而封装了WebGL的Three.js更是为3D图形的高效展示提供了可能。基于web端的仿真软件也在蓬勃发展,针对传统的拾取方法不能很灵动直观拾取仿真过程中所需要的体、面、线、点,文章阐述了基于three.js的体、面、线、点的点选和框选的拾取研究,讲解了其设计思路和实现的方法,相对于传统的拾取方法,能更好的满足在仿真过程中的应用,尤其是非网格模型中线面的拾取。
With the rapid evolution of front-end technology,WebGL is rapidly gaining popularity in web3D display technology with its characteristics of no plug-ins and hardware acceleration,while encapsulating WebGL Three.js provides the possibility for efficient display of 3D graphics.Web-based simulation software is also booming,in view of the traditional pickup method can not be very dynamic and intuitive pick up the simulation process required body,face,line,point,this paper describes the three.js based on the body,face,line,point of the point selection and box selection of the pickup research,explained its design ideas and implementation methods,Compared with the traditional pickup method,it can better meet the application in the simulation process,especially the pickup of the midline of the non-grid model.
作者
邹建达
原力
毛力奋
蒋光南
王普勇
ZOU Jian-da;YUAN Li;MAO Li-fen;JIANG Guang-nan;WANG Pu-yong(Shanghai Suochen Information Technology Co.,Ltd.Shanghai 200231,China)
出处
《电脑与信息技术》
2019年第5期19-21,共3页
Computer and Information Technology
基金
上海市经信委工业互联网创新发展专项资金项目(项目编号:2017-GYHLM-01039)
上海市科委科研计划项目(项目编号:17511103700)
科技部“高性能计算”重大专项(项目编号:2017YFB0203703)