CN111754632A - Business service processing method, device, equipment and storage medium - Google Patents
Business service processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111754632A CN111754632A CN201910935626.4A CN201910935626A CN111754632A CN 111754632 A CN111754632 A CN 111754632A CN 201910935626 A CN201910935626 A CN 201910935626A CN 111754632 A CN111754632 A CN 111754632A
- Authority
- CN
- China
- Prior art keywords
- edge
- dimensional model
- model data
- collapse
- vertex
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/20—Finite element generation, e.g. wire-frame surface description, tesselation
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application provides a method, a device, equipment and a storage medium for processing business services, wherein the method comprises the following steps: receiving a service request sent by terminal equipment, wherein the service request comprises identification information of a product; acquiring original three-dimensional model data corresponding to the identification information according to the service request; simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data, wherein the collapse value of each edge is obtained according to the curvature value of the edge and the length of the edge; and sending the simplified three-dimensional model data of the product to the terminal equipment so as to enable the terminal equipment to carry out display processing, thereby effectively improving the efficiency of business processing.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a business service.
Background
With the continuous development of augmented reality AR technology and virtual reality VR technology, three-dimensional 3D experience type shopping has become a trend, massive 3D models are continuously created, the E-commerce 3D model standard is gradually formed, a plurality of commodities are produced by manufacturers and have high precision, millions or even thousands of surfaces are achieved, the size is very large, the number of surfaces is very high, and the requirement of rendering at a mobile end cannot be met. And significant labor costs are required if the model is re-created or modified by software on a high-level model.
In the prior art, the face of the three-dimensional model can be reduced through an edge collapse technology, but the existing face reduction mode is complex in calculation process and low in processing efficiency because the collapse value is calculated based on the symmetric error matrix of the vertex.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for processing business services, so as to overcome the defects of low processing efficiency and the like in the prior art.
A first aspect of the present application provides a method for processing a service, including:
receiving a service request sent by terminal equipment, wherein the service request comprises identification information of a product;
acquiring original three-dimensional model data corresponding to the identification information according to the service request;
simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data, wherein the collapse value of each edge is obtained according to the curvature value of the edge and the length of the edge;
and sending the simplified three-dimensional model data of the product to the terminal equipment.
Optionally, based on the collapse value of each edge in the original three-dimensional model data, performing simplified processing on the original three-dimensional model data to obtain simplified three-dimensional model data, including:
traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, wherein i is a positive integer, and the 1 st-level three-dimensional model data is the original three-dimensional model data;
determining target edges to be collapsed and collapsed vertexes corresponding to the target edges according to the collapse values of the edges;
performing collapse treatment according to target edges to be collapsed and collapsed vertexes corresponding to the target edges to obtain i + 1-level three-dimensional model data;
and iterating according to the steps until the three-dimensional model data with the number of faces within the range of the preset threshold value is obtained and used as the simplified three-dimensional model data.
Optionally, traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, including:
and for each edge of the ith-level three-dimensional model data, calculating to obtain a curvature value of the edge and the length of the edge, and calculating to obtain a collapse value of the edge according to the curvature value of the edge and the length of the edge.
Optionally, calculating to obtain the curvature value of the edge includes:
and calculating according to the normal vectors of the two surfaces to which the edge belongs to obtain the curvature value of the edge.
Optionally, traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, including:
for each edge of the ith-level three-dimensional model data, calculating to obtain a collapse value cost of the edge by adopting the following formula:
wherein u and v represent two vertexes of the edge, cost (u and v) represents a collapse value of the vertex u of the edge to v, and | u-v | represents a distance between the two vertexes, namely the length of the edge; normal, n.normal, denotes the normal vectors of the two faces f and n to which the edge belongs, f.normal · n.normal denotes the dot product of the two normal vectors, i.e. the curvature value of the edge, Tu denotes the set of triangular faces containing vertex u, and Tuv denotes the set of triangular faces containing both vertex u and vertex v.
Optionally, the collapsing processing is performed according to the target edge to be collapsed and the collapsed vertex corresponding to each target edge to obtain the (i + 1) th-level three-dimensional model data, including:
and for each target edge uv, removing the triangular surface with the target edge as the edge from the i + 1-th-level three-dimensional model data, updating the collapsed vertex u to the vertex v and removing the vertex u from other triangular surfaces.
Optionally, the collapse value of each edge comprises a first collapse value and a second collapse value, wherein the first collapse value is a collapse value of the first vertex of the edge collapsing towards the second vertex, and the second collapse value is a collapse value of the second vertex of the edge collapsing towards the first vertex;
determining target edges to be collapsed and collapsed vertexes corresponding to the target edges according to the collapse values of the edges and preset rules, wherein the steps comprise:
taking the collapse values of all the edges as the target edges according to the descending order, and taking the edges corresponding to the collapse values of the preset proportional number as the target edges;
for each target edge, if the collapse value is a collapse value of the first vertex collapsing to the second vertex, the first vertex is a collapsed vertex corresponding to the target edge.
Optionally, the method further comprises:
traversing each vertex of the ith-level three-dimensional model data to obtain the number of edges associated with each vertex;
using the vertex with the preset proportion, which is near the front number of the associated edges, as a key vertex;
before performing collapse processing according to the target edge to be collapsed and the collapsed vertex corresponding to each target edge, the method further includes:
the edge whose collapsed vertex is the key vertex is not taken as the target edge.
A second aspect of the present application provides a device for processing a business service, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a service request sent by terminal equipment, and the service request comprises identification information of a product;
the acquisition module is used for acquiring original three-dimensional model data corresponding to the identification information according to the service request;
the simplifying module is used for simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data, wherein the collapse value of each edge is obtained according to the curvature value of the edge and the length of the edge;
and the sending module is used for sending the simplified three-dimensional model data of the product to the terminal equipment.
Optionally, the simplification module is specifically configured to:
traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, wherein i is a positive integer, and the 1 st-level three-dimensional model data is the original three-dimensional model data;
determining target edges to be collapsed and collapsed vertexes corresponding to the target edges according to the collapse values of the edges;
performing collapse treatment according to target edges to be collapsed and collapsed vertexes corresponding to the target edges to obtain i + 1-level three-dimensional model data;
and iterating according to the steps until the three-dimensional model data with the number of faces within the range of the preset threshold value is obtained and used as the simplified three-dimensional model data.
Optionally, the simplification module is specifically configured to:
and for each edge of the ith-level three-dimensional model data, calculating to obtain a curvature value of the edge and the length of the edge, and calculating to obtain a collapse value of the edge according to the curvature value of the edge and the length of the edge.
Optionally, the simplification module is specifically configured to:
and calculating according to the normal vectors of the two surfaces to which the edge belongs to obtain the curvature value of the edge.
Optionally, the simplification module is specifically configured to:
for each edge of the ith-level three-dimensional model data, calculating to obtain a collapse value cost of the edge by adopting the following formula:
wherein u and v represent two vertexes of the edge, cost (u and v) represents a collapse value of the vertex u of the edge to v, and | u-v | represents a distance between the two vertexes, namely the length of the edge; normal, n.normal, denotes the normal vectors of the two faces f and n to which the edge belongs, f.normal · n.normal denotes the dot product of the two normal vectors, i.e. the curvature value of the edge, Tu denotes the set of triangular faces containing vertex u, and Tuv denotes the set of triangular faces containing both vertex u and vertex v.
Optionally, the simplification module is specifically configured to:
and for each target edge uv, removing the triangular surface with the target edge as the edge from the i + 1-th-level three-dimensional model data, updating the collapsed vertex u to the vertex v and removing the vertex u from other triangular surfaces.
Optionally, the collapse value of each edge comprises a first collapse value and a second collapse value, wherein the first collapse value is a collapse value of the first vertex of the edge collapsing towards the second vertex, and the second collapse value is a collapse value of the second vertex of the edge collapsing towards the first vertex;
the simplification module is specifically configured to:
taking the collapse values of all the edges as the target edges according to the descending order, and taking the edges corresponding to the collapse values of the preset proportional number as the target edges;
for each target edge, if the collapse value is a collapse value of the first vertex collapsing to the second vertex, the first vertex is a collapsed vertex corresponding to the target edge.
Optionally, the simplification module is further configured to: traversing each vertex of the ith-level three-dimensional model data to obtain the number of edges associated with each vertex; using the vertex with the preset proportion, which is near the front number of the associated edges, as a key vertex;
before performing collapse processing according to the target edge to be collapsed and the collapsed vertex corresponding to each target edge, the simplifying module is further configured to: the edge whose collapsed vertex is the key vertex is not taken as the target edge.
A third aspect of the present application provides a computer device comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the method as set forth in the first aspect above and in various possible designs of the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement a method as set forth in the first aspect and various possible designs of the first aspect.
According to the business service processing method, the business service processing device, the business service processing equipment and the storage medium, a user can select a product to be watched through the terminal equipment, the terminal equipment obtains identification information of the product selected by the user, the identification information of the product is carried in a service request and sent to the service equipment, the service equipment receives the service request of the terminal equipment, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on a side collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal equipment so that the terminal equipment can render and display the simplified three-dimensional model data. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a processing method of a business service according to an embodiment of the present application;
FIG. 2 is a schematic view of an edge collapse provided in accordance with an embodiment of the present application;
fig. 3 is a schematic flowchart of a processing method of a business service according to another embodiment of the present application;
FIG. 4 is a schematic illustration of edge collapse according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a processing device for business services provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms referred to in this application are explained first:
high precision die: industrial models reach millions of faces or even millions of faces, which we call high-precision models.
Edge collapse: in a three-dimensional model diagram, a plane of a triangle is used as a component of a surface of the model, if one vertex (a first vertex) of one edge is merged with another vertex (a second vertex), the edge disappears after merging, the first vertex also disappears, the second vertex replaces the first vertex, the number of triangles also decreases, and the process is called edge collapse.
The business service processing method provided by the embodiment of the application is suitable for application scenes in which industrial models need to be provided, and the specific application fields are not limited, such as AR and VR fields, and can be suitable as long as three-dimensional models need to be simplified. The business service processing method provided by the embodiment of the application is based on the following processing devices. The processing device comprises service equipment and at least one terminal equipment. The user may send a service request, which may include identification information of the product, to the service device through the terminal device. The service request may be a request for a user to view a product associated with the three-dimensional model. The identification information of the product may be information having identification such as a name, a serial number ID, and the like of the product. The terminal device may be an AR device, a VR device, etc. The method comprises the steps that a user can select a product to be watched through a terminal device, the terminal device obtains identification information of the product selected by the user, the identification information of the product is carried in a service request and sent to a service device, the service device receives the service request of the terminal device, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on a side collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal device, so that the terminal device can render and display the simplified three-dimensional model data. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved. Optionally, the service device may further perform rendering processing according to the simplified three-dimensional model data to obtain a target three-dimensional model of the product, send the target three-dimensional model to the terminal device, and after receiving the target three-dimensional model of the product, the terminal device displays the product to the user according to the target three-dimensional model.
Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following examples, "plurality" means two or more unless specifically limited otherwise.
The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Example one
The embodiment provides a business service processing method, which is used for simplifying three-dimensional model data. The execution subject of this embodiment is a processing device of the business service, and the device may be disposed on a computer device, such as a desktop computer, a notebook computer, a tablet computer, a mobile phone, and some other terminal devices.
As shown in fig. 1, a schematic flow chart of the method provided in this embodiment is shown, where the method includes:
Specifically, a processing device (hereinafter, referred to as a device) of the business service may receive a service request sent by the terminal device, where the service request may include identification information of a product.
For example, when a user performs a 3D experience through a terminal device, such as 3D experience shopping, product information to be known, such as a product name, may be selected on the terminal device, the terminal device may acquire identification information of a product selected by the user, and send the identification information of the product to the apparatus by carrying the identification information of the product in a service request, and the apparatus may receive the service request sent by the terminal device, and acquire the identification information of the product from the service request.
And 102, acquiring original three-dimensional model data corresponding to the identification information according to the service request.
Specifically, after receiving the service request, the identification information of the product is obtained from the service request, and the corresponding original three-dimensional model data is obtained according to the identification information.
And 103, simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data, wherein the collapse value of each edge is obtained according to the curvature value of the edge and the length of the edge.
Specifically, the original three-dimensional model data may be model data of a high-precision mold of a well-established product, and mainly includes vertex data, edge data, and face data, the vertex data may include vertex identification, vertex coordinates, and other related data, the edge data may include edge identification, a vertex of the edge, and other related data, the face data may include face identification, an edge of the face, a vertex of the face, and other related data, and in the three-dimensional model data, a triangle is used as a basic face unit constituting the three-dimensional model, and of course, other shapes may also be selected according to actual needs, which is not limited in this embodiment. The specific content of the specific three-dimensional model data can be set according to actual requirements, and is the prior art and is not described herein again.
When the original three-dimensional model data needs to be simplified, the original three-dimensional model data can be obtained, and the original three-dimensional model data is simplified based on the collapse values of all sides in the original three-dimensional model data, so that the simplified three-dimensional model data is obtained. The collapse value of each edge is obtained from the curvature value of the edge and the length of the edge. For example, if the number of faces of the original three-dimensional model is tens of millions of faces and needs to be simplified into hundreds of thousands of faces, the simplification is performed in the above manner until the number of faces is reduced to hundreds of thousands and below.
Illustratively, the collapse value of each edge is obtained through calculation according to the curvature value and the length of each edge, the edges which are ranked 10% of the first order are selected to be collapsed according to the sequence of the collapse values from large to small, a batch of vertexes, a batch of edges and a batch of triangular faces are reduced, and the above processes can be carried out iteratively, wherein the number of the vertexes, the batch of edges and the batch of triangular faces is reduced in one round.
Illustratively, taking the collapse of one edge as an example, as shown in fig. 2, a schematic diagram of the edge collapse is provided for this embodiment. The figure shows that the collapse is performed from the vertex u to the vertex v, that is, the side uv is a side to be collapsed, the vertex u is a collapsed vertex, when the side is collapsed, the triangle whose side is the side in the model disappears, the side disappears, the vertex u of another triangle whose vertex u is the vertex is replaced by the vertex v, and naturally, the vertex u of the side whose vertex u is the vertex is also replaced by the vertex v, so that after each side is collapsed, the other sides and other faces are affected accordingly.
For example, the calculation of the collapse value of the edge may be the product of the curvature value of the edge and the length of the edge, or the result of other calculations, such as: length (1-curvature value), or length (1-curvature value)/2, etc., and the setting can be specifically considered according to the actual requirement.
And 104, sending the simplified three-dimensional model data of the product to the terminal equipment.
Specifically, after the simplified three-dimensional model data of the product is obtained, the simplified three-dimensional model data of the product can be sent to the terminal device, the terminal device can perform rendering processing according to the simplified three-dimensional model data to obtain a target three-dimensional model of the product, and the target three-dimensional model is displayed, namely the product is displayed.
Optionally, after the simplified three-dimensional model data is obtained, the device may perform rendering processing according to the simplified three-dimensional model data to obtain a target three-dimensional model of the product, and then send the target three-dimensional model to the terminal device. After the terminal equipment obtains the target three-dimensional model, the target three-dimensional model can be displayed to a user.
In the method for processing the business service provided by this embodiment, a user may select a product to be viewed through a terminal device, the terminal device obtains identification information of the product selected by the user, carries the identification information of the product in a service request and sends the service request to a service device, the service device receives the service request of the terminal device, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on a side collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal device, so that the terminal device performs rendering and display. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved.
Example two
The present embodiment further supplements the method provided in the first embodiment.
As shown in fig. 3, a schematic flow chart of a processing method of a business service provided in this embodiment is shown.
As a practical manner, on the basis of the first embodiment, optionally, the step 103 may specifically include:
and step 1031, traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, wherein i is a positive integer, and the 1 st-level three-dimensional model data is original three-dimensional model data.
And step 1032, determining the target edge to be collapsed and the collapsed top point corresponding to each target edge according to the collapse value of each edge.
And 1033, performing collapse processing according to the target edges to be collapsed and the collapsed top points corresponding to the target edges to obtain the (i + 1) th-level three-dimensional model data.
Specifically, because the original three-dimensional model data may be a high-precision model and may have millions or even millions of surfaces, when the surface reduction processing is performed, the number of required surfaces cannot be reduced once, only part of edges can be reduced when each surface collapses, and the number of surfaces reduced each time is less than one fourth, a threshold needs to be set for iterative processing, and the number of surfaces reduced each time is reduced each time until the number of the surfaces left at last is within a preset threshold range, such as 5-10 thousands of surfaces, and the specific preset threshold range can be set according to actual requirements. And (3) taking the original three-dimensional model data as the level 1 three-dimensional model data, obtaining the level 2 three-dimensional model data through once reduction, then carrying out the level 2 reduction according to the process consistent with the reduction process of the first level three-dimensional model data based on the level 2 three-dimensional model data, repeating the process, and carrying out iteration execution, wherein whether the number of the residual faces meets the requirement can be judged after executing one round, and the iteration process is stopped until the judgment result meets the requirement.
The reduction of one round is illustrated as follows:
traversing each edge of the ith-level three-dimensional model data, calculating to obtain a collapse value of each edge, determining a target edge to be collapsed and a collapsed vertex corresponding to each target edge according to a preset rule according to the collapse value of each edge, and performing collapse processing according to the target edge to be collapsed and the collapsed vertex corresponding to each target edge to obtain the (i + 1) -level three-dimensional model data. The preset rule can be that a collapse value threshold value is set, and the edge larger than the collapse value threshold value is determined as a target edge; the preset rule may also specify a certain number or proportion of edges with the collapse value ranking top to collapse, for example, 10% of the edges with the collapse value ranking top, and the specific preset rule may be set according to actual requirements. The collapsed values of the edges include two because an edge has two vertices, and it is necessary to determine which vertex is the collapsed vertex, i.e., which vertex needs to be removed and replaced by another vertex. Then for one vertex u it may be the vertices of many triangles and thus collapse from that vertex to many other vertices v, if that vertex u is the collapsed vertex then the most suitable one of the edges uv needs to be selected for collapse. If the side with larger collapse value needs to be selected for collapse, the cost (u, v1), the cost (u, v2), the cost (u, v3) and the cost (u, v4) represent the collapse values of the 4 sides with u as a vertex from u to vi, namely if the side is the target collapse side, u is the collapsed vertex, and if the cost (u, v2) and the cost (u, v3) are all within the first 10% of the ranking, the target side is determined to be the side with the largest collapse value, for example, the cost (u, v2) > cost (u, v3), the side uv2 is the target side, and u is the collapsed vertex of the target side.
Optionally, step 1031 may specifically include: and for each edge of the ith-level three-dimensional model data, calculating to obtain a curvature value of the edge and the length of the edge, and calculating to obtain a collapse value of the edge according to the curvature value of the edge and the length of the edge.
Specifically, the calculation of the collapse value of the edge may be the product of the curvature value of the edge and the length of the edge, or the result of other calculations, such as: length (1-curvature value), or length (1-curvature value)/2, etc., and the setting can be specifically considered according to the actual requirement.
Optionally, calculating to obtain the curvature value of the edge includes: and calculating according to the normal vectors of the two surfaces to which the edge belongs to obtain the curvature value of the edge.
Alternatively, the following formula may be used to calculate the collapse value of an edge:
wherein u and v represent two vertexes of the edge, cost (u and v) represents a collapse value of the vertex u of the edge to v, and | u-v | represents a distance between the two vertexes, namely the length of the edge; normal, n.normal, denotes the normal vectors of the two faces f and n to which the edge belongs, f.normal · n.normal denotes the dot product of the two normal vectors, i.e. the curvature value of the edge, Tu denotes the set of triangular faces containing vertex u, and Tuv denotes the set of triangular faces containing both vertex u and vertex v.
Min and max in the above formula take into account that the triangle including both the vertex u and the vertex v in the model may have a large triangle composed of a plurality of basic units in addition to the triangle of the basic unit, and the triangle including the vertex u may also include a large triangle composed of a plurality of basic units in addition to the triangle of the basic unit.
If the three-dimensional model data is only embodied by triangles of basic units and does not consider a large triangle formed by a plurality of triangles, the collapse calculation formula can be as follows:
cost(u,v)=||u-v||×{(1-f.normal·n.normal)/2}
wherein the meaning of each symbol is the same as the above formula.
Balancing the curvature and size of the faces in selecting a target edge to be collapsed is also effective for the collapse of the ridged edge, which may be an acute or right angle between the two faces that the ridged edge connects. Illustratively, as shown in fig. 4, a schematic view of the edge collapse provided for this embodiment is provided. Where ORIGINAL may represent the ORIGINAL model to be simplified, B to a and B to C represent respectively vertex B in the middle of the planar area, collapsed to vertex a and vertex C, with vertex C at the corner being preserved. Collapsing vertex a to vertex B in the middle of the flat area, or collapsing vertex C to either vertex a or vertex B, severely affects the structural shape of the model, but vertex a can collapse along a ridge (AC edge) to vertex C without affecting the appearance of the model.
Optionally, step 1033 may specifically include: for each target edge uv, removing the triangular surface with the target edge as the edge from the i + 1-th-level three-dimensional model data, and for other triangular surfaces, updating the collapsed vertex u as the vertex v and removing the vertex u.
Optionally, the collapse value of each edge comprises a first collapse value and a second collapse value, wherein the first collapse value is a collapse value of the first vertex of the edge collapsing towards the second vertex, and the second collapse value is a collapse value of the second vertex of the edge collapsing towards the first vertex;
determining target edges to be collapsed and collapsed vertexes corresponding to the target edges according to the collapse values of the edges, wherein the steps of:
taking the collapse values of all sides as target sides according to the descending order, and taking the sides corresponding to the collapse values of the preset proportional number as the target sides; for each target edge, if the collapse value is a collapse value of the first vertex collapsing to the second vertex, the first vertex is a collapsed vertex corresponding to the target edge.
Illustratively, if the side with a large collapse value needs to be selected for collapse, the cost (u, v1), the cost (u, v2), the cost (u, v3) and the cost (u, v4) represent the collapse values of 4 sides with u as a vertex from u to vi, that is, if the side is a target collapse side, u is a collapsed vertex, and if the cost (u, v2) and the cost (u, v3) are within the top 10%, the target side is determined to be the one with the largest collapse value, such as cost (u, v2) > cost (u, v3), the side uv2 is a target side, and u is the collapsed vertex of the target side.
Optionally, the method further comprises:
step 2011, traversing each vertex of the ith-level three-dimensional model data to obtain the number of edges associated with each vertex;
step 2012, using the vertex with the preset proportion at the front of the associated edge number as a key vertex;
prior to step 1033, the method further comprises:
the edge whose collapsed vertex is the key vertex is not taken as the target edge.
In particular, since the final choice of collapse depends on the product of the curvature value of the edge and the edge length, two factors are combined. But the curvature of some key edges is very large, but the side length is very small, the associated vertex has the risk of being collapsed, in order to keep the overall structure of the model not to be seriously changed, the distortion rate of the model is minimum, the model needs to be protected by key points, and if the collapsed vertex of the collapsed edge is the key points, the collapse is not carried out. The specific protection manner may be to sort the number of edges associated with each vertex, for example, arrange from high to low, and select the top 5% as a key point for protection. These points are substantially in the edge region of the model, depending on the geometric properties of the model. The proportion of the selected key points can be dynamically configured according to actual requirements, and is not limited to 5%, such as 1%, 2%, 7%, and the like.
As another implementable manner, on the basis of the first embodiment, optionally, after obtaining the simplified three-dimensional model data, the rendering process of the three-dimensional model may be performed according to the simplified three-dimensional model data. The specific rendering process may be implemented in any manner in the prior art, and this embodiment is not limited.
Optionally, the device may also send the simplified three-dimensional model data to other terminals for rendering processing.
Optionally, the iterative control condition (such as the preset face number threshold) and the preset rule may be continuously adjusted to obtain the best simplification effect. For example, after the simplified three-dimensional model data is obtained, the simplified three-dimensional model display can be generated and compared with the original three-dimensional model, if the simplification effect is not ideal, the iteration control conditions and parameters in the iteration process can be adjusted, the simplification processing is performed again, and the like until the satisfactory simplified three-dimensional model data is obtained. For the adjustment of the iteration control conditions and parameters, a certain rule may be set to enable the iteration control conditions and parameters to be adjusted automatically, or may be adjusted manually, specifically, the adjustment may be set according to actual requirements, and the embodiment of the present application is not limited.
The method provided by the embodiment of the application can solve the problem of 3D high-precision mould face reduction, and a plurality of industrial models are directly applied to 3D display of an e-commerce, so that the labor cost is reduced, the 3D industry is better developed, a foundation is laid for falling to the ground of technologies such as AR and VR, and more people enjoy the pleasure of science and technology.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
In the method for processing the business service provided by this embodiment, a user may select a product to be viewed through a terminal device, the terminal device obtains identification information of the product selected by the user, carries the identification information of the product in a service request and sends the service request to a service device, the service device receives the service request of the terminal device, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on a side collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal device, so that the terminal device performs rendering and display. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved. And the key vertex protection is carried out through the number of edges associated with each vertex, so that the simplification effect is further improved.
EXAMPLE III
The present embodiment provides a processing apparatus for business services, configured to execute the method in the first embodiment.
As shown in fig. 5, a schematic structural diagram of a processing device for a business service provided in this embodiment is shown. The processing means 30 of the business service comprises a receiving module 31, an obtaining module 32, a simplifying module 33 and a sending module 34.
The receiving module is used for receiving a service request sent by terminal equipment, wherein the service request comprises identification information of a product; the acquisition module is used for acquiring original three-dimensional model data corresponding to the identification information according to the service request; the simplifying module is used for simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data, wherein the collapse value of each edge is obtained according to the curvature value of the edge and the length of the edge; and the sending module is used for sending the simplified three-dimensional model data of the product to the terminal equipment.
Optionally, the apparatus may further include a processing module, configured to perform rendering processing according to the simplified three-dimensional model data to obtain a target three-dimensional model; the sending module is further used for sending the target three-dimensional model to the terminal device for displaying.
The specific manner in which the respective modules perform operations has been described in detail in relation to the apparatus in this embodiment, and will not be elaborated upon here.
According to the processing device of the business service provided by the embodiment, a user can select a product to be watched through the terminal device, the terminal device obtains identification information of the product selected by the user, carries the identification information of the product in a service request and sends the service request to the service device, the service device receives the service request of the terminal device, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on a side collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal device so as to render and display the terminal device. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved.
Example four
The present embodiment further performs supplementary description on the processing apparatus of the business service provided by the third embodiment.
As a practical way, on the basis of the third embodiment, optionally, the module is simplified, specifically, to:
traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, wherein i is a positive integer, and the 1 st-level three-dimensional model data is original three-dimensional model data;
determining target edges to be collapsed and collapsed vertexes corresponding to the target edges according to the collapse values of the edges;
performing collapse treatment according to target edges to be collapsed and collapsed vertexes corresponding to the target edges to obtain i + 1-level three-dimensional model data;
and iterating according to the steps until the three-dimensional model data with the number of faces within the range of the preset threshold value is obtained and used as the simplified three-dimensional model data.
Optionally, the simplification module is specifically configured to:
and for each edge of the ith-level three-dimensional model data, calculating to obtain a curvature value of the edge and the length of the edge, and calculating to obtain a collapse value of the edge according to the curvature value of the edge and the length of the edge.
Optionally, the simplification module is specifically configured to:
and calculating according to the normal vectors of the two surfaces to which the edge belongs to obtain the curvature value of the edge.
Optionally, the simplification module is specifically configured to:
for each edge of the ith-level three-dimensional model data, calculating to obtain a collapse value cost of the edge by adopting the following formula:
wherein u and v represent two vertexes of the edge, cost (u and v) represents a collapse value of the vertex u of the edge to v, and | u-v | represents a distance between the two vertexes, namely the length of the edge; normal, n.normal, denotes the normal vectors of the two faces f and n to which the edge belongs, f.normal · n.normal denotes the dot product of the two normal vectors, i.e. the curvature value of the edge, Tu denotes the set of triangular faces containing vertex u, and Tuv denotes the set of triangular faces containing both vertex u and vertex v.
Optionally, the simplification module is specifically configured to:
for each target edge uv, removing the triangular surface with the target edge as the edge from the i + 1-th-level three-dimensional model data, and for other triangular surfaces, updating the collapsed vertex u as the vertex v and removing the vertex u.
Optionally, the collapse value of each edge comprises a first collapse value and a second collapse value, wherein the first collapse value is a collapse value of the first vertex of the edge collapsing towards the second vertex, and the second collapse value is a collapse value of the second vertex of the edge collapsing towards the first vertex;
the simplification module is specifically configured to:
taking the collapse values of all sides as target sides according to the descending order, and taking the sides corresponding to the collapse values of the preset proportional number as the target sides;
for each target edge, if the collapse value is a collapse value of the first vertex collapsing to the second vertex, the first vertex is a collapsed vertex corresponding to the target edge.
Optionally, the simplification module is further configured to: traversing each vertex of the ith-level three-dimensional model data to obtain the number of edges associated with each vertex; using the vertex with the preset proportion, which is near the front number of the associated edges, as a key vertex;
before performing collapse processing according to the target edge to be collapsed and the collapsed vertex corresponding to each target edge, the simplifying module is further configured to: the edge whose collapsed vertex is the key vertex is not taken as the target edge.
The specific manner in which the respective modules perform operations has been described in detail in relation to the apparatus in this embodiment, and will not be elaborated upon here.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
According to the processing device of the business service, a user can select a product to be watched through the terminal device, the terminal device obtains identification information of the product selected by the user, carries the identification information of the product in a service request and sends the identification information to the service device, the service device receives the service request of the terminal device, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on the edge collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal device so that the terminal device can render and display the simplified three-dimensional model data. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved. And the key vertex protection is carried out through the number of edges associated with each vertex, so that the simplification effect is further improved.
EXAMPLE five
The embodiment provides a computer device for executing the method provided by the embodiment.
As shown in fig. 6, a schematic structural diagram of the computer device provided in this embodiment is shown. The computer device 50 includes: at least one processor 51 and memory 52;
the memory stores a computer program; at least one processor executes the computer program stored in the memory to implement the methods provided by the above-described embodiments.
According to the computer device of the embodiment, a user can select a product to be watched through the terminal device, the terminal device obtains identification information of the product selected by the user, carries the identification information of the product in a service request and sends the identification information to the service device, the service device receives the service request of the terminal device, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on a simultaneous collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal device so that the terminal device can render and display the simplified three-dimensional model data. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved. And the key vertex protection is carried out through the number of edges associated with each vertex, so that the simplification effect is further improved.
EXAMPLE six
The present embodiment provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method provided by any one of the above embodiments is implemented.
According to the computer-readable storage medium of this embodiment, a user can select a product to be viewed through a terminal device, the terminal device obtains identification information of the product selected by the user, carries the identification information of the product in a service request and sends the service request to a service device, the service device receives the service request of the terminal device, responds to the service request, obtains original three-dimensional model data corresponding to the identification information, simplifies the original three-dimensional model data based on a side collapse technology to obtain simplified three-dimensional model data, and sends the simplified three-dimensional model data to the terminal device, so that the terminal device performs rendering and display. The efficiency of three-dimensional model face reduction processing is effectively improved, and therefore the business service processing efficiency is improved. And the key vertex protection is carried out through the number of edges associated with each vertex, so that the simplification effect is further improved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (12)
1. A method for processing a business service, comprising:
receiving a service request sent by terminal equipment, wherein the service request comprises identification information of a product;
acquiring original three-dimensional model data corresponding to the identification information according to the service request;
simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data, wherein the collapse value of each edge is obtained according to the curvature value of the edge and the length of the edge;
and sending the simplified three-dimensional model data of the product to the terminal equipment.
2. The method of claim 1, wherein the simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data comprises:
traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, wherein i is a positive integer, and the 1 st-level three-dimensional model data is the original three-dimensional model data;
determining target edges to be collapsed and collapsed vertexes corresponding to the target edges according to the collapse values of the edges;
performing collapse treatment according to target edges to be collapsed and collapsed vertexes corresponding to the target edges to obtain i + 1-level three-dimensional model data;
and iterating according to the steps until the three-dimensional model data with the number of faces within the range of the preset threshold value is obtained and used as the simplified three-dimensional model data.
3. The method of claim 2, wherein traversing each edge of the ith-level three-dimensional model data, and calculating a collapse value of each edge comprises:
and for each edge of the ith-level three-dimensional model data, calculating to obtain a curvature value of the edge and the length of the edge, and calculating to obtain a collapse value of the edge according to the curvature value of the edge and the length of the edge.
4. The method of claim 3, wherein computing the curvature value of the edge comprises:
and calculating according to the normal vectors of the two surfaces to which the edge belongs to obtain the curvature value of the edge.
5. The method of claim 2, wherein traversing each edge of the ith-level three-dimensional model data, and calculating a collapse value of each edge comprises:
for each edge of the ith-level three-dimensional model data, calculating to obtain a collapse value cost of the edge by adopting the following formula:
wherein u and v represent two vertexes of the edge, cost (u and v) represents a collapse value of the vertex u of the edge to v, and | u-v | represents a distance between the two vertexes, namely the length of the edge; normal, n.normal, denotes the normal vectors of the two faces f and n to which the edge belongs, f.normal · n.normal denotes the dot product of the two normal vectors, i.e. the curvature value of the edge, Tu denotes the set of triangular faces containing vertex u, and Tuv denotes the set of triangular faces containing both vertex u and vertex v.
6. A device for processing a business service, comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a service request sent by terminal equipment, and the service request comprises identification information of a product;
the acquisition module is used for acquiring original three-dimensional model data corresponding to the identification information according to the service request;
the simplifying module is used for simplifying the original three-dimensional model data based on the collapse value of each edge in the original three-dimensional model data to obtain simplified three-dimensional model data, wherein the collapse value of each edge is obtained according to the curvature value of the edge and the length of the edge;
and the sending module is used for sending the simplified three-dimensional model data of the product to the terminal equipment.
7. The apparatus of claim 6, wherein the simplification module is specifically configured to:
traversing each edge of the ith-level three-dimensional model data, and calculating to obtain a collapse value of each edge, wherein i is a positive integer, and the 1 st-level three-dimensional model data is the original three-dimensional model data;
determining target edges to be collapsed and collapsed vertexes corresponding to the target edges according to the collapse values of the edges;
performing collapse treatment according to target edges to be collapsed and collapsed vertexes corresponding to the target edges to obtain i + 1-level three-dimensional model data;
and iterating according to the steps until the three-dimensional model data with the number of faces within the range of the preset threshold value is obtained and used as the simplified three-dimensional model data.
8. The apparatus of claim 7, wherein the simplification module is specifically configured to:
and for each edge of the ith-level three-dimensional model data, calculating to obtain a curvature value of the edge and the length of the edge, and calculating to obtain a collapse value of the edge according to the curvature value of the edge and the length of the edge.
9. The apparatus of claim 8, wherein the simplification module is specifically configured to:
and calculating according to the normal vectors of the two surfaces to which the edge belongs to obtain the curvature value of the edge.
10. The apparatus of claim 7, wherein the simplification module is specifically configured to:
for each edge of the ith-level three-dimensional model data, calculating to obtain a collapse value cost of the edge by adopting the following formula:
wherein u and v represent two vertexes of the edge, cost (u and v) represents a collapse value of the vertex u of the edge to v, and | u-v | represents a distance between the two vertexes, namely the length of the edge; normal, n.normal, denotes the normal vectors of the two faces f and n to which the edge belongs, f.normal · n.normal denotes the dot product of the two normal vectors, i.e. the curvature value of the edge, Tu denotes the set of triangular faces containing vertex u, and Tuv denotes the set of triangular faces containing both vertex u and vertex v.
11. A computer device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-5.
12. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910935626.4A CN111754632A (en) | 2019-09-29 | 2019-09-29 | Business service processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910935626.4A CN111754632A (en) | 2019-09-29 | 2019-09-29 | Business service processing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111754632A true CN111754632A (en) | 2020-10-09 |
Family
ID=72672792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910935626.4A Pending CN111754632A (en) | 2019-09-29 | 2019-09-29 | Business service processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111754632A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112419511A (en) * | 2020-12-26 | 2021-02-26 | 董丽萍 | Three-dimensional model file processing method and device, storage medium and server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107330970A (en) * | 2017-06-15 | 2017-11-07 | 新奥泛能网络科技股份有限公司 | A kind of threedimensional model processing method, server and computer read/write memory medium |
CN107506517A (en) * | 2017-07-04 | 2017-12-22 | 网易(杭州)网络有限公司 | BUILDINGS MODELS is shown, data processing method, device, medium, equipment and system |
CN107895401A (en) * | 2017-11-23 | 2018-04-10 | 塔普翊海(上海)智能科技有限公司 | The data reduction system and its method for simplifying of threedimensional model and application |
CN108335367A (en) * | 2018-02-06 | 2018-07-27 | 杭州群核信息技术有限公司 | A kind of threedimensional model processing method for terminal display |
KR20180117499A (en) * | 2017-04-19 | 2018-10-29 | 에스케이텔레콤 주식회사 | Apparatus and method for simplification of 3D mesh data |
-
2019
- 2019-09-29 CN CN201910935626.4A patent/CN111754632A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180117499A (en) * | 2017-04-19 | 2018-10-29 | 에스케이텔레콤 주식회사 | Apparatus and method for simplification of 3D mesh data |
CN107330970A (en) * | 2017-06-15 | 2017-11-07 | 新奥泛能网络科技股份有限公司 | A kind of threedimensional model processing method, server and computer read/write memory medium |
CN107506517A (en) * | 2017-07-04 | 2017-12-22 | 网易(杭州)网络有限公司 | BUILDINGS MODELS is shown, data processing method, device, medium, equipment and system |
CN107895401A (en) * | 2017-11-23 | 2018-04-10 | 塔普翊海(上海)智能科技有限公司 | The data reduction system and its method for simplifying of threedimensional model and application |
CN108335367A (en) * | 2018-02-06 | 2018-07-27 | 杭州群核信息技术有限公司 | A kind of threedimensional model processing method for terminal display |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112419511A (en) * | 2020-12-26 | 2021-02-26 | 董丽萍 | Three-dimensional model file processing method and device, storage medium and server |
CN112419511B (en) * | 2020-12-26 | 2024-02-13 | 董丽萍 | Three-dimensional model file processing method and device, storage medium and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111815755B (en) | Method and device for determining blocked area of virtual object and terminal equipment | |
CN110368694B (en) | Game scene data processing method, device, equipment and readable storage medium | |
CN111768477B (en) | Three-dimensional facial expression base establishment method and device, storage medium and electronic equipment | |
CN107578467B (en) | Three-dimensional modeling method and device for medical instrument | |
CN114187633B (en) | Image processing method and device, and training method and device for image generation model | |
CN115409933B (en) | Multi-style texture mapping generation method and device | |
CN112784874B (en) | Binocular vision stereo matching method and device, electronic equipment and storage medium | |
CN109979013B (en) | Three-dimensional face mapping method and terminal equipment | |
CN115439607A (en) | Three-dimensional reconstruction method and device, electronic equipment and storage medium | |
CN114612600B (en) | Virtual image generation method and device, electronic equipment and storage medium | |
CN109697748B (en) | Model compression processing method, model mapping processing method, model compression processing device, and storage medium | |
CN114708374A (en) | Virtual image generation method and device, electronic equipment and storage medium | |
CN109377552B (en) | Image occlusion calculating method, device, calculating equipment and storage medium | |
CN115222879B (en) | Model face reduction processing method and device, electronic equipment and storage medium | |
CN117078790B (en) | Image generation method, device, computer equipment and storage medium | |
CN111583381A (en) | Rendering method and device of game resource map and electronic equipment | |
CN114202597B (en) | Image processing method and apparatus, device, medium and product | |
CN114792355A (en) | Virtual image generation method and device, electronic equipment and storage medium | |
CN111754632A (en) | Business service processing method, device, equipment and storage medium | |
CN113570725A (en) | Three-dimensional surface reconstruction method and device based on clustering, server and storage medium | |
CN113610958A (en) | 3D image construction method and device based on style migration and terminal | |
CN110838167B (en) | Model rendering method, device and storage medium | |
CN113256755A (en) | Image rendering method, intelligent terminal and storage device | |
CN111460937B (en) | Facial feature point positioning method and device, terminal equipment and storage medium | |
CN110751026B (en) | Video processing method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |