| 3D drilling visualization is an important aspect of drilling design,which aims to show the internal structure of drilling more vividly,which is convenient for users’ design,and has certain practical significance.In this paper,the related theories of 3D space display are studied,and the system requirements and the main development technology of the system are analyzed in depth.It is determined to be based on the MVC development model,using the Beego framework and the Mongo DB database,and combining front-end visualization technologies such as HTML5,Web GL,and Java Script to implement system function design and interface design.The system is divided into modules of planned drilling display,actual drilling display,and multiple drilling optimization display.The drilling display needs to convert two-dimensional coordinates into three-dimensional coordinates.This paper designs a coordinate conversion algorithm based on the transformation domain.The drilling hole is used as a reference point to form a Tyson polygon(Voronoi polygon).The solid points in the Voronoi polygon are converted using the reference point.At the same time,error evaluation is performed on the converted drilling coordinates,and the drilling coordinates that passed the evaluation are stored.In order to solve the problem that the slant point of the actual drilling cannot be smooth,the three-dimensional coordinates of the actual drilling inflection point are calculated,and then the coordinates of any three control points adjacent to the inflection point are selected.These four controls are controlled using the Catmull-Rom interpolation algorithm designed in this paper.The points are drawn as a smooth three-dimensional curve.In order to obtain highly efficient rendering operations and reduce the number of faces and details of non-important object models,this article designs a 3D scene model LOD simplification(level of detail simplification)algorithm and horizon culling algorithm to optimize;the 3D scene model LOD simplification algorithm Volume and drilling models are loaded in blocks.According to the principle of human vision,objects close to the human eye have obvious details and high accuracy,while features far away from the human eye have rough details and low accuracy.The simplified algorithm reduces the scene Complexity,thereby reducing the transmission pressure of the system;the horizon culling algorithm removes occluded boreholes within the line of sight points,reducing the number of model loads.This paper realized the main functions of the system,met the user’s requirements,and tried it out in a certain mining process;the system runs stably and the interface design is friendly,which improves the work efficiency of the geological staff and achieves the expected goal of system design. |