节点文献
基于WebGL的钻浸计划系统的设计与实现
Design and Implementation of Drilling and Dipping System Based on WebGL
【作者】 王颖;
【作者基本信息】 天津大学 , 软件工程(专业学位), 2017, 硕士
【摘要】 目前地质工作者大多采用CAD制图方式展示矿体形态,但由于C/S架构自身局限性,使得彼此之间不能进行协同工作,而B/S架构有效解决了系统资源共享。所以本文运用计算机图形学技术,构建一个基于B/S架构的钻浸计划系统。本文以MVC为主要开发架构,结合WebGL、JavaScript等技术,设计实现了基于WebGL的钻浸计划系统。具体研究内容如下:首先,分析国内外三维系统的现状以及目前地质工作人员工作环境和工作方式,提出基于WebGL的钻浸计划系统。其次,对地浸计划系统进行用例分析、功能需求分析、非功能需求分析,并介绍该系统的业务流程。最后,按照功能需求制定每一个模块的设计以及实现方法。其中详细介绍了CAD图形导入,钻孔自动布局以及计划钻孔与三维物体的交点问题,提出使用4-交模型作为理论基础,小平面法作为算法基础,将不规则的物体规则化,从而确定相交的问题。论文实现了基于WebGL的钻浸计划系统,提供了以CAD图形导入的方式来构建三维场景的方法。系统界面友好,功能稳定,使用方便,基本满足了用户的需求。
【Abstract】 Now most of the geological workers display of ore bodies through CAD,however because of the limitation of information sharing between each other,geological workers can’t work together.But the B/S system can effectively solve the resource sharing problem.At the same time,the application based on two-dimensional graphics is gradually reduced,and more and more application based on three-dimensional has occupied the market.So in this paper,we use computer graphics technology to build a three-dimensional drilling and dipping system based on WebGL.In this paper,MVC is used as the main development framework,and it is combined with WebGL,JavaScript and other technologies,we design and implement a WebGL-based drilling and dipping system.The main contents are as follows: First of all,we analyzed the present situation of 3D system at home and abroad,as well as the work environment and working methods of the geological staff,and a drilling and dipping planning system based on WebGL is proposed.Secondly,use case analysis,function requirement analysis and non-functional requirement analysis are introduced,and the business process of the system is introduced.Finally,according to the functional requirements,we design and implement methods of each module.This paper introduces the CAD drawing import,the automatic drilling layout and the intersection of the drilling and the 3D objects,it is proposed to use the 4-cross model as the theoretical basis,the facet method as the basis of the algorithm,and the regularization of irregular objects to determine the intersecting problem.This paper realizes the system of drilling and dipping planning based on WebGL,and provides a method of constructing 3D scene by means of CAD graphics import.System has friendly interface,stable function,and it is easy to use and basically meet the needs of users.