CN-117372662-B - Three-dimensional model light weight method based on complex equipment
Abstract
The invention provides a three-dimensional model light-weight method based on complex equipment, which is oriented to an industrial manufacturing process, supports lossless information data transmission of a complex product model based on a hierarchical bounding box algorithm, solves the problems of reduced loading speed and unsmooth browsing when the data volume of the three-dimensional model is increased, reduces the number of vertexes and triangular faces of the model while meeting error requirements, improves the rendering and displaying rate of the three-dimensional model, achieves the purposes of high-efficiency loading and smooth browsing of the three-dimensional model, and meets the requirement of collaborative real-time display of the complex product model.
Inventors
- PAN FUCHENG
- SHI HAIBO
- LI PENG
- YANG ZIHAO
- SHI ZEYU
Assignees
- 中国科学院沈阳自动化研究所
Dates
- Publication Date
- 20260512
- Application Date
- 20220701
Claims (9)
- 1. A three-dimensional model lightening method based on complex equipment is characterized in that the complex equipment is thinned into structural parts, lightening steps are carried out on each part model, and model lightening of the complex equipment is achieved, and the method is characterized by comprising the following steps: step 1, layering and merging texture picture data of a part model, and recalculating and recording texture coordinates; step 2, carrying out light weight treatment on the texture map, and filtering modeling history and characteristic definition parameters; step 3, converting the three-dimensional parameterized model of the texture map into a discretized triangular grid model through triangulation; Step 4, compressing the triangle mesh model and reconstructing model topology data; Step 5, compressing the vertex number of the triangular mesh model; And 6, simultaneously drawing a plurality of texture patches in one rendering task by adopting a batch rendering method, so that the model weight of the complex equipment is reduced.
- 2. The method of claim 1, wherein the layering merging is to merge a plurality of small texture pictures into 1 large continuous detail level texture picture by adopting an edge folding algorithm for the texture pictures in the same layer, so as to avoid boundary smoothing and texture separation.
- 3. The method of claim 2, wherein the modeling history and feature definition parameters include sketch, modeling history, and tolerance, roughness, annotation text, and annotation information.
- 4. The method of claim 1, wherein the filtering is by using a step format as an intermediate data format for the transfer, and optimizing the deletion of the build history and the feature definition parameters.
- 5. The method for lightening the complex equipment model according to claim 1, wherein in the process of converting the three-dimensional parameterized model into the discretized triangular grid model through triangulation, matching association relation between the triangulated edges and faces and parameterized edges and faces of the original precise geometric model is recorded.
- 6. The method for lightening a complex equipment model according to claim 1, wherein the compressed triangle mesh model is realized by adopting a general lossless compression coding algorithm, so as to obtain a lightweight model with smaller file.
- 7. The method of claim 6, wherein the processing step of the lossless compression encoding algorithm comprises: Reconstructing model topology data by compressing the coding width of triangular surface parameters, wherein the triangular surface parameters comprise vertex coordinates, normals, surface index and materials; writing the compressed triangular surface texture map into the glb of the Tile in a binary mode.
- 8. The method for lightening the complex equipment model according to claim 1, wherein the number of the vertexes of the compressed triangle mesh model is realized by gradually reducing the number of the vertexes of the model by using an LOD method, so as to reduce the rendering data amount of the GPU and improve the fluency of the three-dimensional scene.
- 9. The method for lightening the complex equipment model according to claim 8, wherein the batch rendering method is characterized in that texture patches with consistent rendering states are synthesized into 1 large patch, and are placed in 1 DrawCall to be drawn in 1 rendering task, so that the GPU does not need to switch the rendering states for multiple times, and the rendering efficiency is improved, and the rendering states comprise materials, maps, programmable pipelines and geometric information.
Description
Three-dimensional model light weight method based on complex equipment Technical Field The invention belongs to the field of intelligent manufacturing, and particularly relates to a three-dimensional model light-weight method suitable for complex equipment. Background With rapid development and deep application of computer aided design technology, manufacturing enterprise informatization has evolved from two-dimensional age to three-dimensional age. The aerospace enterprises are gradually advancing digital design and manufacturing modes, and models with Product Manufacturing Information (PMI) become standards of design, process and production stages, and the process and production stages are urgent to view requirements of definition (MBD) based on the models. In the digital manufacturing process, pro/E is used for browsing an original model with product manufacturing information, the original model is still in an editing state during browsing, the original model is easy to change due to misoperation, and three-dimensional modeling software installed on a field terminal has high requirements on computer hardware. Meanwhile, the satellite product has more and more complex structure and larger three-dimensional model, and a common computer cannot open a large model at all. The display, browsing and use of large models and MBD models is increasingly difficult. Therefore, the large model needs to be light-weighted, so that the large model can be displayed, browsed and used conveniently. The complex assembly model is split into a plurality of sub-assembly models in the product design stage, and is designed and completed by engineering designers of different departments, and finally, each part model and each part model are assembled into a complete total assembly model. However, different designers or engineering departments may employ different three-dimensional design software, and thus model heterogeneous problems arise. With the deep application of the light-weight technology, the light-weight file format will become a standard data format of the three-dimensional product model. The lightweight file can realize CAD data transmission and exchange among different enterprises and different departments, simplify display and approximate expression of the product model under the condition of no part loss, and greatly improve interactive communication among enterprises. Meanwhile, the three-dimensional lightweight model is small in data and convenient to operate, and is convenient for enterprise engineering designers and process designers to communicate, coordinate, browse and view with non-technical departments such as enterprise leaders, marketplaces and clients. Therefore, the lightweight technology has wide application in the aspects of quick browsing and publishing of part models and complex assembly models. Disclosure of Invention Aiming at the problems existing in the prior art, the invention provides a three-layer sub-light weight method for a model of complex equipment, which aims at the industrial manufacturing process, supports lossless transmission of complex product model assembly tree algorithm information in the processing process, solves the problems of reduced loading speed and unsmooth browsing when the data volume of a three-dimensional model is increased, reduces the number of vertexes and triangular faces of the model while meeting the error requirement, improves the rendering and displaying speed of the three-dimensional model, achieves the purposes of efficient loading and smooth browsing of the three-dimensional model, and meets the requirement of collaborative real-time display of the complex product model. In order to solve the problems, the technical scheme of the invention is as follows: a three-dimensional model light weight method based on complex equipment refines the complex equipment into structural parts, and performs light weight steps on each part model to realize the model light weight of the complex equipment, wherein the steps comprise: step 1, layering and merging texture picture data of a part model, and recalculating and recording texture coordinates; step 2, carrying out light weight treatment on the texture map, and filtering modeling history and characteristic definition parameters; step 3, converting the three-dimensional parameterized model of the texture map into a discretized triangular grid model through triangulation; Step 4, compressing the triangle mesh model and reconstructing model topology data; Step 5, compressing the vertex number of the triangular mesh model; And 6, simultaneously drawing a plurality of texture patches in one rendering task by adopting a batch rendering method, so that the model weight of the complex equipment is reduced. The layering and merging are that for texture pictures in the same layer, a side folding algorithm is adopted to merge a plurality of small texture pictures to generate 1 large continuous detail level texture picture, and bo