| In recent years,neurosurgery training system is one of the most important research areas in virtual reality,it is mainly used in teaching,training,diagnosis and preoperative planning.Hemorrhage is the most common phenomenon in clinical surgery and is a problem that must be faced in virtual surgery,so blood simulation is an important part of virtual surgical training system.However,the authenticity of bleed simulation is a huge challenge in the virtual surgical training system;In addition,bleeding during surgery is often accompanied by other surgical procedures,improvements are included in this paper for blood simulation,the concrete contents are as follows:1)Aiming at authenticity of the blood simulation,this paper used an improved marching cube algorithm to render the surface of fluid.The marching cube algorithm extracts the cube close to the liquid surface by calculating the value of the isosurface,and finds the vertex position of the triangular piece which needs to be rendered by the linear interpolation method.In order to ensure that the rendered fluid surface is closer to the fluid surface,we uses the PN triangular method to subdivide the triangular meshes of the surface and obtain a dense triangular mesh,which makes the surface more smooth and improve the authenticity of the training system.2)In this paper,we designed and realized the endoscopic function,the vampire function of the bipolar coagulation,the tissue cutting and other modules in the neurosurgical training system,and built a simple scene of the neurosurgical training system,combining these modules with the bleeding module.It meet the different simulation requirements for neurosurgical training.The experimental results show that the surface reconstruction algorithm has a realistic effect,which makes the blood surface more smooth.In addition,the design of the blood module and other modules to simulate the real operation of the process,meet the requirements of medical training... |