Virtual object model processing method, device, computer equipment and storage medium
By generating bounding boxes in the game based on the connectivity relationships of model vertices and performing cropping processes, the problem of incomplete cropping of object models in the prior art is solved, more efficient rendering of virtual object models is achieved, and performance consumption is reduced.
Patent Information
- Application Number
- CN202410814606.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Due to deviations in the block production of the model in the current cutting method of object models in games, it is difficult to cut out fragmented objects that do not affect the performance, thus limiting the performance improvement effect.
By determining the model blocks in the target virtual object model, a connected graph is generated according to the connectivity relationship of the model vertices, the bounding box is calculated, and the target model blocks are cropped based on the bounding box to reduce unnecessary rendering workload.
Effectively crop out the parts that do not affect the display effect and reduce the rendering workload of the virtual object model, thereby reducing performance consumption and improving game performance.
Smart Images

Figure CN118379419B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment and computer-readable storage medium for processing a virtual object model. Background Art
[0002] There are many things that need to be rendered in the game. In order to improve the game performance, object models that are far away from the virtual camera in the game scene are often cropped to reduce the rendering workload.
[0003] In the related art, the method of cropping the object model mainly includes: cropping the object model according to the model block of the object model, using the bounding box data corresponding to the model block and the distance between the model block and the virtual camera. However, due to the deviation of the model block production, some fragmentary objects that do not affect the performance are included in the larger model block, so they are not easy to be cropped, and the performance improvement is still limited. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, computer device, and computer-readable storage medium for processing a virtual object model, which can reduce the rendering workload of a target virtual object model, thereby reducing performance consumption.
[0005] The present application provides a method for processing a virtual object model, including:
[0006] determining a target model block in a target virtual object model;
[0007] Determine at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein there is a connected relationship between each two of the model vertices in the same connected graph;
[0008] Based on the position information of the model vertices in each of the connected graphs, generating a bounding box corresponding to each of the connected graphs;
[0009] Determine the target bounding box corresponding to the target model block according to the bounding boxes corresponding to each of the connected graphs;
[0010] In response to a clipping event of the target virtual object model, a clipping process is performed on target model blocks in the target virtual object model based on the target bounding box.
[0011] Accordingly, an embodiment of the present application further provides a virtual object model processing device, including:
[0012] A first determining unit, used to determine a target model block in a target virtual object model;
[0013] A second determining unit is used to determine at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein there is a connected relationship between each two of the model vertices in the same connected graph;
[0014] A generating unit, configured to generate a bounding box corresponding to each of the connected graphs based on the position information of the model vertices in each of the connected graphs;
[0015] A third determining unit, configured to determine a target bounding box corresponding to the target model block according to the bounding boxes corresponding to the connected graphs;
[0016] A processing unit is used to respond to a clipping event of the target virtual object model and perform clipping processing on the target model blocks in the target virtual object model based on the target bounding box.
[0017] Correspondingly, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes any mapping processing method provided in the embodiments of the present application.
[0018] Correspondingly, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the above-mentioned mapping processing method.
[0019] The embodiment of the present application determines the target model block in the target virtual object model, determines at least one connected graph corresponding to the target model block according to the connectivity relationship of the model vertices of the target model block, and there is a connectivity relationship between the model vertices in the same connected graph. Based on the position information of the model vertices in each connected graph, the bounding box corresponding to each connected graph is generated, and then, based on the bounding box corresponding to each connected graph, the target bounding box corresponding to the target model block is determined, and in response to the clipping event of the target virtual object model, the target model block in the target virtual object model is clipped based on the target bounding box. In this way, the part of the target virtual object model that does not affect the display effect can be reasonably clipped, reducing the rendering workload of the target virtual object model, thereby reducing performance consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1A flowchart of a method for processing a virtual object model provided in an embodiment of the present application.
[0022] Figure 2 A schematic diagram of an application scenario of a method for processing a virtual object model provided in an embodiment of the present application.
[0023] Figure 3 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application.
[0024] Figure 4 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application.
[0025] Figure 5 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application.
[0026] Figure 6 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application.
[0027] Figure 7 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application.
[0028] Figure 8 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application.
[0029] Fig. 9 A structural block diagram of a virtual object model processing device provided in an embodiment of the present application.
[0030] Fig.10 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0032] The embodiments of the present application provide a method, apparatus, computer-readable storage medium and computer equipment for processing a virtual object model. Specifically, the method for processing a virtual object model of the embodiments of the present application can be executed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a personal computer (PC), a personal digital assistant (PDA), etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0033] For example, the computer device may be a terminal, which may determine a target model block in a target virtual object model; determine at least one connected graph corresponding to the target model block based on the connectivity relationship of the model vertices of the target model block, wherein a connectivity relationship exists between each pair of model vertices in the same connected graph; generate a bounding box corresponding to each connected graph based on position information of the model vertices in each connected graph; determine a target bounding box corresponding to the target model block based on the bounding boxes corresponding to each connected graph; and, in response to a clipping event of the target virtual object model, clip the target model block in the target virtual object model based on the target bounding box.
[0034] Based on the above problems, the embodiments of the present application provide a first method, apparatus, computer device and computer-readable storage medium for processing a virtual object model, which can reduce the rendering workload of the target virtual object model, thereby reducing performance consumption.
[0035] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0036] An embodiment of the present application provides a method for processing a virtual object model. The method can be executed by a terminal or a server. The embodiment of the present application takes the method for processing a virtual object model executed by a terminal as an example for explanation.
[0037] See also Figure 1 , Figure 1 A flowchart of a method for processing a virtual object model provided in an embodiment of the present application is provided. The specific flow of the method for processing a virtual object model may be as follows:
[0038] 101. Determine a target model block in a target virtual object model.
[0039] In the embodiment of the present application, the target virtual object model refers to a geometric model constructed based on the target virtual object model, which can be a three-dimensional model. Among them, the target virtual object model can be an object in a virtual scene, and the virtual scene refers to a digital scene outlined by a computer through digital communication technology. The virtual scene can be a three-dimensional space scene or a two-dimensional scene, etc. For example, the virtual scene can be a game scene, and the target virtual object model can be a game object in the game scene, etc.
[0040] Among them, the target model block refers to a part of the target virtual object model. For example, the target virtual object model can be a game character model, and the target model block can be the head model, leg model, or hand model of the game character model.
[0041] In some embodiments, in order to improve the processing efficiency of the virtual object model, the step of “determining the target model segment in the target virtual object model” may include the following operations:
[0042] Acquire a target virtual object model and block information of the target virtual object model;
[0043] The target model blocks are determined from the target virtual object model according to the block information.
[0044] The block information refers to the division information of the target virtual object model, which includes the position information of each part of the target virtual object model in the target virtual object model.
[0045] In some embodiments, the block information can be determined by the designer when making the target virtual object model. For example, when the designer makes the target virtual object model according to the target virtual object model, the designer can divide the target virtual object model into multiple parts according to actual needs, thereby obtaining the block information of the target virtual object model.
[0046] Alternatively, in some embodiments, the segmentation information may be determined by a design application. For example, a designer loads a designed target virtual object model into a design application, and the design application identifies different parts of the target virtual object model to obtain the segmentation information.
[0047] Among them, determining the target model blocks from the target virtual object model according to the block information may include: determining the model parts corresponding to each part from the target virtual object model according to the position information of each part of the target virtual object model in the target virtual object model, thereby obtaining the target model blocks.
[0048] For example, see Figure 2 , Figure 2 A schematic diagram of an application scenario of a method for processing a virtual object model provided in an embodiment of the present application. Figure 2 In the embodiment, the target virtual character model is divided into a plurality of target model blocks. For example, the plurality of target model blocks may include: a head model block, a leg model block, a body model block, and an arm model block of the target virtual character model.
[0049] 102. Determine at least one connected graph corresponding to the target model block according to the connectivity relationship of the model vertices of the target model block.
[0050] In the embodiment of the present application, the target virtual object model may be composed of multiple model faces, each model face is composed of multiple model edges, and each model edge is a line connecting model vertices. Then the target model block includes multiple model edges and multiple model vertices.
[0051] The connectivity relationship refers to the existence of a line between two model vertices, that is, the two model vertices constitute a model edge.
[0052] The connected graph is composed of at least some of the model vertices and model edges in the target model block. There is a connectivity relationship between each pair of model vertices in the same connected graph, that is, any two model vertices in the connected graph correspond to a model edge.
[0053] For example, see Figure 3 , Figure 3 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application. Figure 3 A connected graph is shown, in which there is a model edge between any two model vertices.
[0054] In some embodiments, a target model block can be divided into multiple sub-blocks according to connectivity, and each sub-block can be a complete part of the target model block, that is, the connectivity graphs corresponding to the target model block can be used as sub-blocks under the target model block.
[0055] Specifically, the connectivity relationship of the model vertices in the target model block can be obtained according to the model edges in the target model block, and then multiple connectivity graphs can be obtained from the target model block according to the model vertices with connectivity relationship.
[0056] In some embodiments, in order to accurately divide the sub-blocks in the target model block, the step of "determining at least one connected graph corresponding to the target model block according to the connectivity relationship of the model vertices of the target model block" may include the following operations:
[0057] Traverse all model edges in the target model block, and determine at least one connected vertex set according to the model vertices corresponding to each model edge;
[0058] At least one connected graph is generated based on the model vertices in each connected vertex set and the model edges corresponding to the model vertices.
[0059] First, all model edges in the target model block can be obtained, and then all model edges can be numbered. Then, each model edge can be traversed in sequence according to the number, and the model vertices corresponding to each model edge can be added to the corresponding connected vertex set.
[0060] Among them, there is a connectivity relationship between any two model vertices in the connected vertex set.
[0061] In some embodiments, in order to accurately generate a connected graph corresponding to the target model block, the step of "determining at least one connected vertex set according to the model vertices corresponding to each model edge" may include the following steps:
[0062] If the model vertex of a model edge is not in any connected vertex set, a new connected vertex set is created based on the model vertex of the model edge;
[0063] If a model vertex of a model edge is in the existing connected vertex set, then the other model vertices of the model edge are added to the existing connected vertex set;
[0064] If a model vertex of a model edge is in an existing first connected vertex set, and another model vertex of the model edge is in an existing second connected vertex set, the first connected vertex set and the second connected vertex set are merged to obtain a new connected vertex set.
[0065] In the embodiment of the present application, the specific implementation method of determining the connected vertex set according to the connectivity of the model vertices in the target model block can be as follows:
[0066] First, initialize the connected vertex set to an empty set, List={}, where List is the connected vertex set and {} represents empty.
[0067] Then, traverse all model edges in the target model block and perform different operations according to the two model vertices corresponding to the model edge in the connected vertex set, which can be as follows:
[0068] If the two model vertices of the same model edge are not in any connected vertex set, you can create a new connected vertex set Set, add the two model vertices of the model edge to the connected vertex set Set, and then put the Set into the List;
[0069] If the two model vertices of the same model edge belong to a connected vertex set Set that already exists in List, it means that the two model vertices have been determined to be model vertices in the same connected graph, and no operation is required;
[0070] If there is only one model vertex A of two model vertices on the same model edge that belongs to a connected vertex set Set that already exists in the List, it means that there is already a model vertex A in the model edge that belongs to one of the connected graphs. Since the other model vertex B of the model edge shares an edge with model vertex A, model vertex A and model vertex B are connected. In this case, model vertex B can also be placed in the same connected vertex set Set as model vertex A.
[0071] If two model vertices of the same model edge, one model vertex A belongs to a connected vertex set Set1 that already exists in the List, and the other model vertex B belongs to another connected vertex set Set2 that already exists in the List. Since model vertex A and model vertex B are connected, Set1 and Set2 are also connected, then Set1 and Set2 can be merged to form a new connected vertex set Set12, and the original Set1 and Set2 can be deleted.
[0072] Based on the above method, all connected vertex sets corresponding to the target model blocks can be obtained.
[0073] 103. Generate a bounding box corresponding to each connected graph based on the position information of the model vertices in each connected graph.
[0074] The position information of the model vertices refers to the position information of the model vertices in the object coordinate system of the target virtual object model, and may include coordinates in the object coordinate system.
[0075] The object coordinate system refers to the coordinate system corresponding to the target virtual object model, which may be a coordinate system with a certain model vertex of the target virtual object model as the coordinate origin. When the target virtual object model changes, the corresponding object coordinate system will also change accordingly.
[0076] For example, if the target virtual object model is a three-dimensional model, the object coordinate system corresponding to the target virtual object model may be a three-dimensional coordinate system, that is, including three coordinate axes, such as: an X-axis, a Y-axis, and a Z-axis.
[0077] For example, see Figure 4 , Figure 4 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application. Figure 4The object coordinate system corresponding to the target virtual object model is shown, and the coordinate axes of the object coordinate system include: X axis, Y axis and Z axis.
[0078] Among them, generating the bounding box corresponding to each connected graph based on the position information of the model vertices in each connected graph can include: calculating the bounding box corresponding to each connected graph in the object coordinate system according to the position coordinates of each model vertex in each connected graph in the object coordinate system.
[0079] Among them, the bounding box is an algorithm for solving the optimal bounding space of a discrete point set. The basic idea is to use a slightly larger geometric body with simple characteristics (called a bounding box) to approximately replace complex geometric objects. The bounding box can usually include simple geometric shapes such as cubes and spheres, which are used to quickly estimate the size and position of objects.
[0080] In the embodiment of the present application, the bounding box corresponding to the connectivity graph can be generated as a cube based on the size and position of the connectivity graph.
[0081] In some embodiments, in order to accurately calculate the size of the bounding box corresponding to each connected graph, the step of "generating the bounding box corresponding to each connected graph based on the position information of the model vertices in each connected graph" may include the following operations:
[0082] Get the position coordinates of each model vertex in the connected graph in the specified coordinate system;
[0083] Determine the maximum coordinate value and the minimum coordinate value on each coordinate axis of the specified coordinate system based on the position coordinates;
[0084] Generate a bounding box based on the maximum and minimum coordinate values on each coordinate axis.
[0085] The specified coordinate system may be an object coordinate system of the target virtual object model.
[0086] First, the position coordinates of each model vertex in each connected graph in the object coordinate system can be obtained.
[0087] Then, the maximum coordinate value and the minimum coordinate value on each coordinate axis can be found from the position coordinates of all model vertices of each connected graph.
[0088] For example, the model vertices in a connected graph may include: model vertex a, model vertex b, model vertex c, model vertex d, and model vertex e. By obtaining the position coordinates of each model vertex in the connected graph in the object coordinate system, the position coordinates of model vertex a (x1, y1, z1), the position coordinates of model vertex b (x2, y2, z2), the position coordinates of model vertex c (x3, y3, z3), the position coordinates of model vertex d (x4, y4, z4), and the position coordinates of model vertex e (x5, y5, z5) can be obtained.
[0089] Then, determine the maximum and minimum values on the X-axis from x1, x2, x3, x4, and x5, for example, the maximum value can be x2 and the minimum value can be x4; determine the maximum and minimum values on the Y-axis from y1, y2, y3, y4, and y5, for example, the maximum value can be y1 and the minimum value can be y3; determine the maximum and minimum values on the Z-axis from z1, z2, z3, z4, and z5, for example, the maximum value can be z1 and the minimum value can be z5.
[0090] Among them, generating a bounding box based on the maximum coordinate value and the minimum coordinate value on each coordinate axis can include determining the size parameters of the connected graph at each coordinate value based on the maximum coordinate value and the minimum coordinate value on each coordinate axis, and then generating a cube enclosing the connected graph based on the position of the connected graph in the object coordinate system and the various size parameters as the bounding box corresponding to the connected graph.
[0091] For example, see Figure 5 , Figure 5 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application. Figure 5 The figure shows a bounding box corresponding to a connected graph in a target model block in the object coordinate system of the target virtual object model, wherein the bounding box can represent the size of the connected graph and the position in the object coordinate system.
[0092] 104. Determine the target bounding box corresponding to the target model block according to the bounding boxes corresponding to each connected graph.
[0093] Among them, determining the target bounding box corresponding to the target model block according to the bounding boxes corresponding to each connected graph can include: determining the size parameter with the largest size on each coordinate axis from each bounding box according to the sizes of the bounding boxes corresponding to each connected graph on different coordinate axes, and then determining the bounding box with the largest volume according to the size parameter with the largest size on each coordinate axis as the target bounding box.
[0094] In some embodiments, in order to improve the processing efficiency of the virtual object model, the step of "determining the target bounding box corresponding to the target model block according to the bounding box corresponding to each connectivity graph" may include the following operations:
[0095] Get the size parameters of the bounding boxes corresponding to each connected graph on each coordinate axis;
[0096] Determine the maximum size parameter on each coordinate axis from the size parameters;
[0097] Generate the target bounding box based on the maximum size parameters on each coordinate axis.
[0098] The size parameters corresponding to the bounding boxes of each connected graph on each coordinate axis may include the size values corresponding to the bounding boxes of each connected graph on each coordinate axis.
[0099] For example, see Figure 6 , Figure 6 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application. Figure 6 It shows the bounding boxes generated corresponding to multiple connected graphs corresponding to a target model block, including: bounding box A, bounding box B and bounding box C.
[0100] Then, the size parameters corresponding to the bounding box of the connected graph on each coordinate axis can be obtained, which can be: obtaining the size value corresponding to the bounding box A on the X axis, the size value corresponding to the Y axis, and the size value corresponding to the Z axis; obtaining the size value corresponding to the bounding box B on the X axis, the size value corresponding to the Y axis, and the size value corresponding to the Z axis; obtaining the size value corresponding to the bounding box C on the X axis, the size value corresponding to the Y axis, and the size value corresponding to the Z axis. Among them, the size value of the bounding box on the X axis can be the length of the bounding box, the size value of the bounding box on the Y axis can be the width of the bounding box, and the size value of the bounding box on the Z axis can be the height of the bounding box.
[0101] Among them, determining the maximum size parameter on each coordinate axis from the size parameters may include: selecting the maximum size value from the size values of each bounding box on the X-axis, selecting the maximum size value from the size values of each bounding box on the Y-axis, and selecting the maximum size value from the size values of each bounding box on the Z-axis.
[0102] That is Figure 6In the example, the maximum size value on the X-axis determined from the size value corresponding to the bounding box A on the X-axis, the size value corresponding to the bounding box B on the X-axis, and the size value corresponding to the bounding box C on the X-axis can be: the length of the bounding box C on the X-axis; the maximum size value on the Y-axis determined from the size value corresponding to the bounding box A on the Y-axis, the size value corresponding to the bounding box B on the Y-axis, and the size value corresponding to the bounding box C on the Y-axis can be: the width of the bounding box B on the Y-axis; the maximum size value on the Z-axis determined from the size value corresponding to the bounding box A on the Z-axis, the size value corresponding to the bounding box B on the Z-axis, and the size value corresponding to the bounding box C on the Z-axis can be: the height of the bounding box B on the Z-axis.
[0103] Furthermore, according to the maximum size value on each coordinate axis, a bounding box with the largest volume is determined as the target bounding box.
[0104] For example, see Figure 7 , Figure 7 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application. Figure 7 Shown according to Figure 6 The bounding box A, bounding box B and bounding box C in the target model block determine the target bounding box D corresponding to the target model block, wherein the length of the target bounding box D on the X-axis is the same as the length of the bounding box C on the X-axis, the width of the target bounding box D on the Y-axis is the same as the width of the bounding box B on the Y-axis, and the height of the target bounding box D on the Z-axis is the same as the height of the bounding box B on the Z-axis.
[0105] 105. Perform cropping processing on the target model blocks in the target virtual object model based on the target bounding box.
[0106] The clipping event indicates that the target virtual object model needs to be clipped.
[0107] In some embodiments, the cropping event may be triggered by a change in the distance between the target virtual object model and the virtual camera during the display of the graphical user interface, for example, the distance between the target virtual object model and the virtual camera becomes farther.
[0108] The level of detail of the target virtual object model displayed on the graphical user interface may be determined according to the distance between the target virtual object model and the virtual camera.
[0109] Specifically, level of details (LOD) uses models of different complexity based on the percentage of the object in the display screen. That is, when an object is far away from the camera, a low-poly model is used, and when the object is close to the camera, a high-poly model is used, thereby saving performance overhead.
[0110] For example, different distances between the target virtual object model and the virtual camera correspond to different levels of detail, that is, different levels of detail are determined according to the distance from the camera. The farther the distance, the lower the level of detail, and vice versa, the closer the distance, the higher the level of detail. When the level of detail is low, the target virtual object model can be cropped, that is, some small parts of the target virtual object model are cropped, and the cropped small parts can be not rendered to improve performance.
[0111] In some embodiments, the step of “cutting the target model blocks in the target virtual object model based on the target bounding box” may include the following operations:
[0112] Get the distance between the target model block and the virtual camera;
[0113] If it is determined according to the distance and the target bounding box that the target model block meets the preset clipping condition, the target model block is clipped from the target virtual object model.
[0114] When the distance between the target virtual object model and the virtual camera is far, it can be determined that the displayed level of detail of the target virtual object model is low, and then the target virtual object model can be cropped.
[0115] The distance between the target model block and the virtual camera may include: the distance between the target model block of the target virtual object model and the virtual camera when the target virtual object model is displayed through the graphical user interface of the terminal device.
[0116] The preset clipping condition refers to a triggering condition for triggering clipping of a target model block in a target virtual object model.
[0117] In some embodiments, the step of “determining, based on the distance and the target bounding box, that the target model segment meets the preset clipping condition” may include the following operations:
[0118] Get the size of the bounding box;
[0119] Based on the size value and distance, calculate the cropping index value corresponding to the current target model block;
[0120] If the clipping index value is less than the preset index value, it is determined that the target model block meets the preset clipping condition.
[0121] The size value of the bounding box may include the volume of the bounding box or the longest side of the bounding box.
[0122] The clipping index value refers to an index value used to determine whether a target model block needs to be clipped.
[0123] In some embodiments, calculating the cropping index value corresponding to the target model block based on the size value and the distance may include: calculating the ratio of the size to the distance, and using the ratio as the cropping index value corresponding to the current target model block.
[0124] Furthermore, the calculated cropping index value corresponding to the current target model block is compared with the preset cropping index value. If the cropping index value is not less than the preset cropping index value, it is determined that the target model block does not meet the preset cropping conditions, that is, no cropping is required; if the cropping index value is less than the preset cropping index value, it is determined that the target model block meets the preset cropping conditions, that is, cropping is required.
[0125] Wherein, cutting off the target model block from the target virtual object model may include: cutting off the content of the target model block in the target virtual object model.
[0126] For example, see Figure 8 , Figure 8 A schematic diagram of an application scenario of another method for processing a virtual object model provided in an embodiment of the present application. Figure 8 The left side shows the initial target virtual object model. Then, the bounding box of each target model block is re-determined by the present solution. The initial target virtual object model is cropped based on the re-determined bounding box to obtain Figure 8 The target virtual object model after cropping shown on the right side shows that some small objects that do not affect the display are removed from the target virtual object model after cropping, which can reduce the rendering performance overhead while ensuring the display effect of the target virtual object model.
[0127] In some embodiments, before the target virtual object model is cropped, different bounding box sizes corresponding to different distances between the target virtual object model and the virtual camera may be set.
[0128] The sizes of the bounding boxes corresponding to different distances refer to the sizes of the bounding boxes that need to be cropped at different distances.
[0129] For example, the larger the distance, the larger the size of the corresponding bounding box that needs to be cropped.
[0130] Specifically, according to the correspondence between the preset distance and the size of the bounding box, the distance between the target virtual object model and the virtual camera in the display information and the corresponding target size are determined, and then the target model block corresponding to the target bounding box whose size is smaller than the target size can be determined from the target model block of the target virtual object model to obtain the target model block.
[0131] For example, if the distance between the target virtual object model and the virtual camera indicated in the display information is d, then according to the correspondence between the preset distance and the size of the bounding box, the target size corresponding to the distance d can be determined to be L0. The target model blocks in the target virtual object model include: a first model block, a second model block, and a third model block. The size of the bounding box corresponding to the first model block can be L1, the size of the bounding box corresponding to the second model block can be L2, and the size of the bounding box corresponding to the third model block can be L3.
[0132] Further, from the bounding boxes corresponding to the target model blocks, a bounding box with a size smaller than L0 is determined, which may include: a bounding box corresponding to the third model block. Further, the third model block may be determined as the target model block that needs to be cropped.
[0133] In some embodiments, determining the model blocks that need to be cut from the model blocks of the target virtual object model may include the following steps:
[0134] Get the target size of the bounding box that needs to be cropped at the current display size;
[0135] A target model block whose size of the bounding box matches the target size is determined from the model blocks of the target virtual object model.
[0136] Among them, when determining the model blocks that need to be cropped according to the display size of the target virtual object model, the preset condition may include that the display size of the target virtual object model is smaller than the preset display size, which means that the display ratio of the target virtual object model on the graphical user interface is small, and there is no need to show more details of the target virtual object model.
[0137] When the display size of the target virtual object model is smaller than the preset display size, it can be determined that the displayed level of detail of the target virtual object model is low, and the target virtual object model can be cropped.
[0138] In the embodiment of the present application, different bounding box sizes corresponding to different display sizes of the target virtual object model may be set.
[0139] The sizes of the bounding boxes corresponding to different display sizes refer to the sizes of the bounding boxes that need to be cropped under different displays.
[0140] For example, the smaller the display size is, the larger the size of the corresponding bounding box that needs to be cropped is.
[0141] Specifically, according to the correspondence between the preset display size and the size of the bounding box, the display size of the target virtual object model in the display information and the corresponding target size are determined, and then the target model block corresponding to the target bounding box whose size is smaller than the target size can be determined from the target model block of the target virtual object model to obtain the target model block.
[0142] For example, if the display size of the target virtual object model indicated in the display information is e, then according to the correspondence between the preset display size and the size of the bounding box, the target size corresponding to the display size e can be determined to be L0. The target model blocks in the target virtual object model include: a first model block, a second model block, and a third model block. The size of the bounding box corresponding to the first model block can be L1, the size of the bounding box corresponding to the second model block can be L2, and the size of the bounding box corresponding to the third model block can be L3.
[0143] Further, from the bounding boxes corresponding to the target model blocks, a bounding box with a size smaller than L0 is determined, which may include: a bounding box corresponding to the third model block. Further, the third model block may be determined as the target model block that needs to be cropped.
[0144] The target model block is clipped based on the target bounding box of the target model block, which may include deleting the model part included in the target bounding box, so as to obtain the clipped target virtual object model.
[0145] In some embodiments, in order to improve the energy saving performance, the method may further include the following steps:
[0146] Determine other model blocks in the target virtual object model that currently meet the preset clipping conditions;
[0147] Cut out other model blocks from the target virtual object model to obtain a cut target virtual object model;
[0148] The cropped target virtual object model is rendered and displayed.
[0149] Among them, other model blocks refer to model blocks in the target virtual object model that meet the preset clipping conditions except the target model blocks.
[0150] Among them, determining the model blocks in the target virtual object model that currently meet the preset cropping conditions can include: obtaining the distance between each model block and the virtual camera, calculating the cropping index value corresponding to each model block according to the distance corresponding to the model block and the size value of the bounding box of the model block, and then comparing the cropping index value with the preset cropping index value.
[0151] The model blocks whose pruning index values are smaller than the preset pruning index values are used as other model blocks to be pruned simultaneously with the target model blocks.
[0152] Furthermore, the target model block and other model blocks are cut out from the target virtual object model to obtain a cut target virtual object model. The cut target virtual object model can then be rendered and displayed on a graphical user interface.
[0153] Among them, the target virtual object model after the cropping process lacks a part of content compared with the initial target virtual object model, so the workload required for rendering the target virtual object model after the cropping process is reduced, thereby reducing performance overhead.
[0154] The embodiment of the present application discloses a method for processing a virtual object model, the method comprising: determining a target model block in a target virtual object model; determining at least one connected graph corresponding to the target model block according to the connectivity relationship of the model vertices of the target model block, wherein there is a connectivity relationship between model vertices in the same connected graph; generating a bounding box corresponding to each connected graph based on the position information of the model vertices in each connected graph; determining a target bounding box corresponding to the target model block according to the bounding box corresponding to each connected graph; and in response to a clipping event of the target virtual object model, clipping the target model block in the target virtual object model based on the target bounding box. In this way, the part of the target virtual object model that does not affect the display effect can be reasonably clipped, reducing the rendering workload of the target virtual object model, thereby reducing performance consumption.
[0155] In order to facilitate better implementation of the processing method of the virtual object model provided in the embodiment of the present application, the embodiment of the present application also provides a processing device for the virtual object model based on the processing method of the virtual object model. The meaning of the nouns is the same as that in the processing method of the virtual object model, and the specific implementation details can refer to the description in the method embodiment.
[0156] See also Fig. 9 , Fig. 9 A structural block diagram of a virtual object model processing device provided in an embodiment of the present application, the device comprising:
[0157] A first determining unit 301 is used to determine a target model block in a target virtual object model;
[0158] A second determining unit 302 is used to determine at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein there is a connected relationship between each two of the model vertices in the same connected graph;
[0159] A generating unit 303, configured to generate a bounding box corresponding to each of the connected graphs based on the position information of the model vertices in each of the connected graphs;
[0160] A third determining unit 304 is used to determine a target bounding box corresponding to the target model block according to the bounding boxes corresponding to the connected graphs;
[0161] The processing unit 305 is configured to respond to a clipping event of the target virtual object model and perform clipping processing on the target model blocks in the target virtual object model based on the target bounding box.
[0162] In some embodiments, the second determining unit 302 may include:
[0163] A first determining subunit is used to traverse all model edges in the target model block and determine at least one connected vertex set according to the model vertices corresponding to each model edge;
[0164] The first generating subunit is used to generate the at least one connected graph based on the model vertices in each connected vertex set and the model edges corresponding to the model vertices.
[0165] In some embodiments, the first determining subunit may be specifically used for:
[0166] If the model vertices of a model edge are not in any connected vertex set, a new connected vertex set is created based on the model vertices of the model edge;
[0167] If a model vertex of a model edge is in an existing connected vertex set, then other model vertices of the model edge are added to the existing connected vertex set;
[0168] If a model vertex of a model edge is in an existing first connected vertex set, and another model vertex of the model edge is in an existing second connected vertex set, the first connected vertex set and the second connected vertex set are merged to obtain a new connected vertex set.
[0169] In some embodiments, the generating unit 303 may include:
[0170] A first acquisition subunit is used to acquire the position coordinates of each model vertex in the connected graph in a specified coordinate system;
[0171] A second determining subunit, configured to determine a maximum coordinate value and a minimum coordinate value on each coordinate axis of the specified coordinate system based on the position coordinates;
[0172] The second generating subunit is used to generate the bounding box according to the maximum coordinate value and the minimum coordinate value on each coordinate axis.
[0173] In some embodiments, the third determining unit 304 may include:
[0174] A second acquisition subunit is used to acquire size parameters corresponding to the bounding boxes of the connected graphs on each coordinate axis;
[0175] A third determining subunit, used to determine the maximum size parameter on each coordinate axis from the size parameters;
[0176] The third generating subunit is used to generate the target bounding box based on the maximum size parameter on each coordinate axis.
[0177] In some embodiments, the first determining unit 301 may include:
[0178] A third acquisition subunit, configured to acquire the target virtual object model and block information of the target virtual object model;
[0179] The fourth determining subunit is used to determine the target model block from the target virtual object model according to the block information.
[0180] In some embodiments, the processing unit 305 may include:
[0181] A fourth acquisition subunit, used for acquiring the distance between the target model block and the virtual camera;
[0182] The processing subunit is configured to cut out the target model block from the target virtual object model if it is determined that the target model block meets a preset cutting condition according to the distance and the target bounding box.
[0183] In some embodiments, the processing subunit may be specifically configured to:
[0184] Get the size of the bounding box;
[0185] Based on the size value and the distance, calculating a clipping index value corresponding to the current target model block;
[0186] If the clipping index value is less than the preset index value, it is determined that the target model block meets the preset clipping condition.
[0187] In some embodiments, the apparatus may further include:
[0188] A fourth determining unit, configured to determine other model blocks in the target virtual object model that currently meet a preset clipping condition;
[0189] A cutting unit, used for cutting out the other model blocks from the target virtual object model to obtain a cut target virtual object model;
[0190] A rendering unit is used to render and display the cropped target virtual object model.
[0191] The embodiment of the present application discloses a processing device for a virtual object model, wherein a target model block in a target virtual object model is determined by a first determining unit 301; a second determining unit 302 determines at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein the model vertices in the same connected graph have a connected relationship with each other; a generating unit 303 generates a bounding box corresponding to each connected graph based on the position information of the model vertices in each connected graph; a third determining unit 304 determines a target bounding box corresponding to the target model block according to the bounding box corresponding to each connected graph; a processing unit 305 responds to a clipping event of the target virtual object model and clips the target model block in the target virtual object model based on the target bounding box. In this way, the part of the target virtual object model that does not affect the display effect can be reasonably clipped, reducing the rendering workload of the target virtual object model, thereby reducing the performance consumption.
[0192] Accordingly, the embodiment of the present application also provides a computer device, which may be a terminal. Fig.10 As shown, Fig.10 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 500 includes a processor 501 having one or more processing cores, a memory 502 having one or more computer-readable storage media, and a computer program stored in the memory 502 and executable on the processor. The processor 501 is electrically connected to the memory 502. It will be understood by those skilled in the art that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0193] The processor 501 is the control center of the computer device 500. It uses various interfaces and lines to connect the various parts of the entire computer device 500, executes various functions of the computer device 500 and processes data by running or loading software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, thereby monitoring the computer device 500 as a whole.
[0194] In the embodiment of the present application, the processor 501 in the computer device 500 will load instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 will run the application programs stored in the memory 502 to implement various functions:
[0195] determining a target model block in a target virtual object model;
[0196] Determine at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein there is a connected relationship between each two of the model vertices in the same connected graph;
[0197] Based on the position information of the model vertices in each connected graph, a bounding box corresponding to each connected graph is generated;
[0198] According to the bounding boxes corresponding to each connected graph, determine the target bounding box corresponding to the target model block;
[0199] In response to a clipping event of the target virtual object model, a clipping process is performed on target model blocks in the target virtual object model based on a target bounding box.
[0200] The embodiment of the present application determines the target model block in the target virtual object model, determines at least one connected graph corresponding to the target model block according to the connectivity relationship of the model vertices of the target model block, and there is a connectivity relationship between the model vertices in the same connected graph. Based on the position information of the model vertices in each connected graph, the bounding box corresponding to each connected graph is generated, and then, based on the bounding box corresponding to each connected graph, the target bounding box corresponding to the target model block is determined, and in response to the clipping event of the target virtual object model, the target model block in the target virtual object model is clipped based on the target bounding box. In this way, the part of the target virtual object model that does not affect the display effect can be reasonably clipped, reducing the rendering workload of the target virtual object model, thereby reducing performance consumption.
[0201] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0202] Optional, such as Fig.10 As shown, the computer device 500 further includes: a touch screen 503, a radio frequency circuit 504, an audio circuit 505, an input unit 506, and a power supply 507. The processor 501 is electrically connected to the touch screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507, respectively. Those skilled in the art can understand that Fig.10 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0203] The touch display screen 503 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the computer device, which can be composed of graphics, guide information, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), etc. The touch panel can be used to collect the user's touch operations on or near it (such as the user's operation on the touch panel or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute the corresponding program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 501, and can receive the command sent by the processor 501 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 501 to determine the type of touch event, and then the processor 501 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 503 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 503 can also be used as a part of the input unit 506 to realize the input function.
[0204] The radio frequency circuit 504 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer devices through wireless communication, and to send and receive signals between the network device or other computer devices.
[0205] The audio circuit 505 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 505 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and converted into audio data, and then the audio data is output to the processor 501 for processing, and then sent to another computer device through the radio frequency circuit 504, or the audio data is output to the memory 502 for further processing. The audio circuit 505 may also include an earphone jack to provide communication between an external headset and the computer device.
[0206] The input unit 506 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0207] The power supply 507 is used to supply power to various components of the computer device 500. Optionally, the power supply 507 can be logically connected to the processor 501 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 507 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0208] although Fig.10 Not shown, the computer device 500 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0209] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0210] As can be seen from the above, the computer device provided in this embodiment can determine the target model block in the target virtual object model; determine at least one connected graph corresponding to the target model block based on the connectivity relationship of the model vertices of the target model block, wherein a connectivity relationship exists between each pair of model vertices in the same connected graph; generate a bounding box corresponding to each connected graph based on the position information of the model vertices in each connected graph; determine the target bounding box corresponding to the target model block based on the bounding box corresponding to each connected graph; and in response to a clipping event of the target virtual object model, clip the target model block in the target virtual object model based on the target bounding box.
[0211] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0212] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any one of the virtual object model processing methods provided in the embodiment of the present application. For example, the computer program can execute the following steps:
[0213] determining a target model block in a target virtual object model;
[0214] Determine at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein there is a connected relationship between each two of the model vertices in the same connected graph;
[0215] Based on the position information of the model vertices in each connected graph, a bounding box corresponding to each connected graph is generated;
[0216] According to the bounding boxes corresponding to each connected graph, determine the target bounding box corresponding to the target model block;
[0217] In response to a clipping event of the target virtual object model, a clipping process is performed on target model blocks in the target virtual object model based on a target bounding box.
[0218] The embodiment of the present application determines the target model block in the target virtual object model, determines at least one connected graph corresponding to the target model block according to the connectivity relationship of the model vertices of the target model block, and there is a connectivity relationship between the model vertices in the same connected graph. Based on the position information of the model vertices in each connected graph, the bounding box corresponding to each connected graph is generated, and then, based on the bounding box corresponding to each connected graph, the target bounding box corresponding to the target model block is determined, and in response to the clipping event of the target virtual object model, the target model block in the target virtual object model is clipped based on the target bounding box. In this way, the part of the target virtual object model that does not affect the display effect can be reasonably clipped, reducing the rendering workload of the target virtual object model, thereby reducing performance consumption.
[0219] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0220] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0221] Since the computer program stored in the computer-readable storage medium can execute the steps in any one of the virtual object model processing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the virtual object model processing methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0222] The above is a detailed introduction to a processing method, device, computer-readable storage medium and computer equipment for a virtual object model provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for processing a virtual object model, characterized in that: The method comprises: determining a target model block in a target virtual object model; Determine at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein there is a connected relationship between each two of the model vertices in the same connected graph; Based on the position information of the model vertices in each of the connected graphs, generating a bounding box corresponding to each of the connected graphs; Obtaining size parameters corresponding to the bounding boxes of the connected graphs on each coordinate axis; Determine the maximum size parameter on each coordinate axis from the size parameters; Generate a target bounding box based on the maximum size parameters on each coordinate axis; The target model blocks in the target virtual object model are cropped based on the target bounding box.
2. The method according to claim 1, characterized in that The step of determining at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block comprises: Traversing all model edges in the target model block, and determining at least one connected vertex set according to the model vertices corresponding to each model edge; The at least one connected graph is generated based on the model vertices in each connected vertex set and the model edges corresponding to the model vertices.
3. The method according to claim 2, characterized in that The step of determining at least one connected vertex set according to the model vertices corresponding to each model edge includes: If the model vertices of a model edge are not in any connected vertex set, a new connected vertex set is created based on the model vertices of the model edge; If a model vertex of a model edge is in an existing connected vertex set, then other model vertices of the model edge are added to the existing connected vertex set; If a model vertex of a model edge is in an existing first connected vertex set, and another model vertex of the model edge is in an existing second connected vertex set, the first connected vertex set and the second connected vertex set are merged to obtain a new connected vertex set.
4. The method according to claim 1, characterized in that: The generating of the bounding boxes corresponding to the connected graphs based on the position information of the model vertices in the connected graphs includes: Obtaining the position coordinates of each model vertex in the connected graph in a specified coordinate system; Determine the maximum coordinate value and the minimum coordinate value on each coordinate axis of the specified coordinate system based on the position coordinates; The bounding box is generated according to the maximum coordinate value and the minimum coordinate value on each coordinate axis.
5. The method according to claim 1, characterized in that: The step of determining the target model blocks in the target virtual object model comprises: Acquire the target virtual object model and block information of the target virtual object model; The target model blocks are determined from the target virtual object model according to the block information.
6. The method according to claim 1, characterized in that The clipping process of the target model blocks in the target virtual object model based on the target bounding box includes: Obtaining the distance between the target model block and the virtual camera; If it is determined according to the distance and the target bounding box that the target model block meets the preset clipping condition, the target model block is clipped from the target virtual object model.
7. The method according to claim 6, characterized in that The determining, according to the distance and the target bounding box, that the target model block meets the preset clipping condition includes: Get the size of the bounding box; Based on the size value and the distance, calculating a clipping index value corresponding to the current target model block; If the clipping index value is less than the preset index value, it is determined that the target model block meets the preset clipping condition.
8. The method according to claim 6, characterized in that The method further comprises: Determine other model blocks in the target virtual object model that currently meet the preset clipping conditions; Cutting off the other model blocks from the target virtual object model to obtain a cut target virtual object model; The cropped target virtual object model is rendered and displayed.
9. A processing device for a virtual object model, characterized in that: The device comprises: A first determining unit, used to determine a target model block in a target virtual object model; A second determining unit is used to determine at least one connected graph corresponding to the target model block according to the connected relationship of the model vertices of the target model block, wherein there is a connected relationship between each two of the model vertices in the same connected graph; A generating unit, configured to generate a bounding box corresponding to each of the connected graphs based on the position information of the model vertices in each of the connected graphs; A third determining unit is used to obtain size parameters corresponding to the bounding boxes corresponding to the connected graphs on each coordinate axis; determine the maximum size parameter on each coordinate axis from the size parameters; and generate a target bounding box based on the maximum size parameter on each coordinate axis; A processing unit is used to perform cropping processing on the target model blocks in the target virtual object model based on the target bounding box.
10. A computer device comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein: When the processor executes the program, the method for processing a virtual object model according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the method for processing a virtual object model according to any one of claims 1 to 8.
