Virtual model processing method and device, electronic equipment and storage medium

By extracting and projecting the set of topological points in the virtual scene and generating a coverage model, the problem of excessively smooth snow surface in the prior art is solved, and a more realistic snow effect is achieved.

CN119399339APending Publication Date: 2025-02-07NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411559455.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

When the prior art achieves snowy weather effects in game scenes, the surface of the snow is too smooth and lacks details and changes, resulting in poor results.

Method used

By determining the target virtual model in the virtual scene, obtaining its topological surface, extracting a set of topological points, and casting them based on these points, generating coverage areas and corresponding coverage models to simulate the rendering effect of the virtual coverage.

Benefits of technology

A more realistic and natural virtual covering rendering effect is achieved, highlighting the surface details of the complex structure of the target virtual model and enhancing the details and changes of the rendering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119399339A_ABST
    Figure CN119399339A_ABST
Patent Text Reader

Abstract

The invention provides a virtual model processing method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: determining a target virtual model in a virtual scene; obtaining a topological surface of the target virtual model from a specified direction in the virtual scene; extracting a topological point set based on the topological surface; acquiring a coverage area of the target virtual model according to the projection position of the topological point set on the target virtual model; and according to the attribute parameter of each projection position in the coverage area, generating a corresponding coverage model in the coverage area, so as to simulate the expression effect that the virtual coverage covers the target virtual model during rendering, thereby realizing the purpose of generating the coverage model based on the topological point set corresponding to the target virtual model. Therefore, fine coverage of the generated coverage model can be realized by using the virtual coverage, the surface details of the complex structure of the target virtual model are highlighted, and a more vivid and natural virtual coverage rendering effect is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for processing a virtual model. Background Art

[0002] In game scene design, different scene models are often built for various weather environments. In order to achieve snowy weather effects in game scenes, snow effects need to be produced.

[0003] In the prior art, traditional snow models are generally used to make snow, wherein the production process is often designed to evenly cover the snow, and the even covering is a simple one-time covering. The snow obtained in this way generally has a smooth surface, without details and lacks changes.

[0004] Therefore, existing snow production methods produce poor results and lack details. Summary of the invention

[0005] The purpose of the present application is to provide a method, device, electronic device and storage medium for processing a virtual model to address the deficiencies in the above-mentioned prior art, so as to obtain a more realistic and natural virtual covering rendering effect.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, the present invention provides a method for processing a virtual model, the method comprising:

[0008] determining a target virtual model in a virtual scene;

[0009] Acquire a topological surface of the target virtual model from a specified direction in the virtual scene;

[0010] Extracting a topological point set based on the topological surface, wherein the topological point set includes a plurality of topological points;

[0011] Based on the topological point set, projecting from the specified direction to the target virtual model;

[0012] Acquire a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model;

[0013] According to the attribute parameters of each projection position in the coverage area, a corresponding coverage model is generated in the coverage area to simulate the performance effect of the virtual coverage covering the target virtual model during rendering.

[0014] In a second aspect, the present invention provides a virtual model processing device, comprising:

[0015] A determination module, used for determining a target virtual model in a virtual scene;

[0016] A first acquisition module, used to acquire a topological surface of the target virtual model from a specified direction in the virtual scene;

[0017] An extraction module, used to extract a topological point set based on the topological surface, wherein the topological point set includes a plurality of topological points;

[0018] A projection module, used for projecting from the specified direction to the target virtual model based on the topological point set;

[0019] A second acquisition module, configured to acquire a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model;

[0020] The generation module is used to generate a corresponding coverage model in the coverage area according to the attribute parameters of each projection position in the coverage area, so as to simulate the performance effect of the virtual covering covering the target virtual model during rendering.

[0021] In a third aspect, the present invention provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the target virtual model processing method as described in any of the aforementioned implementations.

[0022] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for processing a target virtual model as described in any of the aforementioned embodiments are executed.

[0023] The beneficial effects of this application are:

[0024] The virtual model processing method, device, electronic device and storage medium provided in the embodiments of the present application include: determining a target virtual model in a virtual scene; obtaining a topological surface of the target virtual model from a specified direction in the virtual scene; extracting a topological point set based on the topological surface, the topological point set including multiple topological points; projecting to the target virtual model from a specified direction based on the topological point set; obtaining a coverage area of ​​the target virtual model according to the projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate the coverage range of a preset virtual covering on the target virtual model; generating a corresponding coverage model in the coverage area according to the attribute parameters of each projection position within the coverage area, so as to simulate the performance effect of the virtual covering covering the target virtual model during rendering, thereby realizing that a coverage model can be generated based on the topological point set corresponding to the target virtual model, and then the generated coverage model can be finely covered using the virtual covering, thereby highlighting the surface details of the complex structure of the target virtual model and obtaining a more realistic and natural virtual covering rendering effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 A snow accumulation effect of a prior art provided in an embodiment of the present application;

[0027] Figure 2 A flowchart of a method for processing a virtual model provided in an embodiment of the present application;

[0028] Figure 3 A flowchart of another method for processing a virtual model provided in an embodiment of the present application;

[0029] Figure 4 A processing schematic diagram of a virtual model provided in an embodiment of the present application;

[0030] Figure 5 A schematic diagram of processing another virtual model provided in an embodiment of the present application;

[0031] Figure 6 A flowchart of another method for processing a virtual model provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of processing another virtual model provided in an embodiment of the present application;

[0033] Figure 8 A flowchart of another method for processing a virtual model provided in an embodiment of the present application;

[0034] Fig. 9 A schematic diagram of processing another virtual model provided in an embodiment of the present application;

[0035] Fig.10 A schematic diagram of processing another virtual model provided in an embodiment of the present application;

[0036] Fig.11 A flowchart of another method for processing a virtual model provided in an embodiment of the present application;

[0037] Fig.12 A schematic diagram of processing another virtual model provided in an embodiment of the present application;

[0038] Fig.13 A schematic diagram of functional modules of a virtual model processing device provided in an embodiment of the present application;

[0039] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0041] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0042] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0043] Figure 1 This is a prior art snow production effect provided in the embodiment of the present application. In the prior art, a traditional snow model is generally used to produce snow, wherein the production process is often designed to evenly cover the snow, and even covering is a simple one-time covering, such as Figure 1As shown, the snow obtained by this method generally has a smooth surface, no details, and lacks changes.

[0044] In view of this, an embodiment of the present application provides a method for processing a virtual model. When the method is applied to produce snow, the surface of the virtual model with complex structure and rich details can be highlighted.

[0045] Figure 2 A flowchart of a method for processing a virtual model provided in an embodiment of the present application, the execution subject of the method can be a computer, server, processor or other electronic device that can process a virtual model, and the method can be applied to scenes that require virtual covering rendering, for example, it can be applied to rendering scenes of virtual coverings such as snow, mud, mucus, dust, etc. Optionally, in the specific implementation, it can be produced with the help of preset three-dimensional software, such as Houdini, 3DMAX and other three-dimensional software, which is not limited here.

[0046] like Figure 2 As shown, the method may include:

[0047] Step 101: Determine a target virtual model in a virtual scene.

[0048] The target virtual model may be any model in a virtual scene that requires virtual overlay rendering. Optionally, the target virtual model may be a virtual building, a virtual jungle, a virtual character, a virtual vehicle, virtual equipment, etc., which is not limited here.

[0049] Step 102: Acquire the topological surface of the target virtual model from a specified direction in the virtual scene.

[0050] The topological surface of the target virtual model is, that is, the topological surface that is first touched in the boundary geometric frame corresponding to the target virtual model along the specified direction.

[0051] Optionally, the specified direction may be any direction. Taking the virtual covering as snowflakes for illustration, the specified direction may be a top-down direction, for example, a direction from top to bottom and perpendicular to the upper surface of the bounding geometric box. It should be noted that the present application does not limit the minimum angle between the specified direction and the upper surface, and it may be set to any angle, such as 60°, 90°, etc., according to the actual application scenario.

[0052] Step 103: extract a topological point set based on the topological surface, where the topological point set includes a plurality of topological points.

[0053] Step 104: Projecting to the target virtual model from a specified direction based on the topological point set.

[0054] Optionally, multiple topological points can be extracted based on the topological surface, and multiple projection positions can form a topological point set. It should be noted that the present application does not limit the number of projection positions, which may vary according to actual application scenarios. When specifically extracted, it can be generated by a preset node program, which is not limited here.

[0055] Step 105: Obtain the coverage area of ​​the target virtual model according to the projection position of the topological point set on the target virtual model.

[0056] The coverage area is used to indicate the coverage range of the preset virtual covering on the target virtual model.

[0057] Optionally, during the specific projection, each projection position in the topological point set is projected along a specified direction to the surface of the target virtual model to obtain the projection position of each topological point on the surface of the target virtual model. It can be understood that the coverage area can be determined based on the projection position corresponding to each topological point, and indicates the coverage range of the preset virtual covering on the target virtual model.

[0058] In some embodiments, the virtual covering may be snow, mud, mucus, dust, etc., which is not limited here and can be flexibly selected according to the actual application scenario.

[0059] Step 106: Generate a corresponding coverage model in the coverage area according to the attribute parameters of each projection position in the coverage area, so as to simulate the performance effect of the virtual covering covering the target virtual model during rendering.

[0060] Optionally, the attribute parameters of each projection position can be calculated by a preset program, and the acquired attribute parameters may include but are not limited to: position parameter, radius parameter, preset wind direction, normal direction, etc. In some embodiments, the position parameter of the projection position may characterize: the position of the projection position in the target virtual model; the radius parameter of the projection position may characterize the size of the corresponding virtual covering particles; the preset wind direction of the projection position may characterize the wind direction parameter of the virtual scene in which it is located; the normal direction of the projection position may characterize the covering direction of the corresponding virtual covering.

[0061] After obtaining the attribute parameters of each projection position in the coverage area, each projection position can be converted into a preset virtual model (for example, a ball model), and the coverage model corresponding to the coverage area can be obtained accordingly, wherein the coverage model is also the model used for rendering the virtual cover.

[0062] Optionally, during the rendering, a virtual covering may be used to perform material rendering on the covering model to obtain a rendering effect of the target virtual model.

[0063] It can be understood that different virtual coverings can correspond to different materials. After obtaining the covering model, the virtual material corresponding to the virtual covering can be used to render the covering model. The rendering effect of the target virtual model can be obtained through material rendering. In this process, since the covering model is generated based on the topological point set corresponding to the target virtual model, the generated covering model can highlight the surface of the complex structure of the virtual model with rich details, and then based on the covering model, a more realistic, natural and detailed virtual object rendering effect can be obtained.

[0064] In summary, an embodiment of the present application provides a method for processing a virtual model, the method comprising: determining a target virtual model in a virtual scene; obtaining a topological surface of the target virtual model from a specified direction in the virtual scene; extracting a topological point set based on the topological surface, the topological point set including a plurality of topological points; projecting from a specified direction to the target virtual model based on the topological point set; obtaining a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model; generating a corresponding coverage model in the coverage area according to attribute parameters of each projection position within the coverage area, so as to simulate the performance effect of the virtual covering covering the target virtual model during rendering, thereby achieving generation of a coverage model based on a topological point set corresponding to the target virtual model, and then using the virtual covering to achieve refined coverage of the generated coverage model, highlighting the surface details of the complex structure of the target virtual model, and obtaining a more realistic and natural virtual covering rendering effect.

[0065] Figure 3 A flowchart of another virtual model processing method provided in an embodiment of the present application. Figure 4 A processing diagram of a virtual model provided in an embodiment of the present application. In an optional implementation manner, as Figure 3 As shown, the above method of obtaining the topological surface of the target virtual model and extracting the topological point set based on the topological surface includes:

[0066] Step 201 : Acquire a topological surface of a target virtual model based on a boundary geometric frame corresponding to the target virtual model along a specified direction.

[0067] The bounding geometric box corresponding to the target virtual model, that is, the bounding box corresponding to the target virtual model, can be optionally as follows: Figure 4 As shown, the boundary geometric box can be a rectangular hexahedron, but is not limited thereto.

[0068] Based on the specified direction setting, the topology face can be the first face in the bounding geometry box that is touched along the specified direction. For example, it can be the top topology face in the bounding geometry box.

[0069] Optionally, the extracting of a topological point set based on a topological surface includes:

[0070] Step 202: Based on the topological surface, extract multiple topological points to obtain a topological point set.

[0071] Optionally, the extraction of multiple projection positions can be generated based on a preset node program, for example, it can be generated by a node program (for example, a scatter node program) of a preset 3D software (for example, Houdini). Of course, the specific extraction method is not limited to this, and other algorithms can be selected according to actual application scenarios.

[0072] It should be noted that the present application does not limit the number of projection positions in the topological point set, and may include thousands of points or tens of thousands of points according to actual application scenarios.

[0073] Figure 5 A schematic diagram of another processing of a virtual model provided in an embodiment of the present application. In an optional implementation, the above-mentioned projecting from a specified direction to a target virtual model based on a topological point set includes:

[0074] Project each topological point in the topological point set onto the surface of the target virtual model along the specified direction.

[0075] Optionally, the obtaining of the coverage area of ​​the target virtual model according to the projection position of the topological point set on the target virtual model includes:

[0076] The coverage area is obtained according to the projection position of each topological point in the topological point set on the surface of the target virtual model.

[0077] The specified direction is also the covering direction of the virtual covering. For each topological point, each topological point can be projected onto the surface of the target virtual model along the specified direction to obtain each projection position. According to each projection position, the coverage area can be determined. Figure 5 As shown, the area where each projection position on the target virtual model surface is located is the coverage area.

[0078] It should be noted that the present application does not limit the shape of the coverage area, and it can be any shape according to the actual application scenario. Of course, after the projection operation is performed, the topological points that are not successfully projected in the topological surface can be deleted.

[0079] Figure 6 A flowchart of another method for processing a virtual model provided in an embodiment of the present application is provided. Figure 7 A processing diagram of another virtual model provided in an embodiment of the present application. In an optional implementation, as Figure 7As shown, the above-mentioned acquisition of the coverage model corresponding to the coverage area according to the attribute parameters of each projection position in the coverage area includes:

[0080] Step 301: Obtain a coverage point cloud according to attribute parameters of each projection position in the coverage area, wherein the coverage point cloud includes: ball models corresponding to multiple projection positions and / or ball models corresponding to multiple newly added surface projection positions generated according to each projection position.

[0081] Among them, the coverage point cloud has a certain volume range. Optionally, the coverage point cloud may include ball models corresponding to multiple projection positions and / or ball models corresponding to multiple newly added surface projection positions generated according to each projection position, wherein each newly added surface projection position is a projection point of each newly added projection position on the surface of the target virtual model, and each newly added projection position can be obtained by randomly offsetting each projection position.

[0082] It can be understood that if the coverage point cloud includes ball models corresponding to multiple projection positions and ball models corresponding to multiple newly added surface projection positions generated according to the projection positions, the coverage point cloud will have a more dense and sparse hierarchy.

[0083] For example, when the virtual cover is snow, Figure 7 As shown, by applying the embodiment of the present application, after material rendering is performed on the covering model, a snow particle can be transformed into a group of snowflakes, giving the visual result a stronger sense of accumulation.

[0084] Here, taking the ball model corresponding to each projection position as an example, it should be noted that the size, ball center position, etc. of the ball model corresponding to each projection position can be determined according to the attribute parameters of each projection position.

[0085] Step 302: Generate a package topology based on the coverage point cloud and generate a corresponding coverage model in the coverage area.

[0086] Among them, considering that if each projection position is set to correspond to a spherical model and each newly added surface projection position is set to correspond to a spherical model, there will be multiple overlapping spherical models in the areas where the projection positions and the newly added surface projection positions are dense, affecting the modeling performance and rendering effect. Therefore, the covering point cloud can be converted to obtain an one-piece wrapped model, so as to improve the modeling performance and rendering effect of the target virtual model, among which the wrapped model is also the wrapped topology, and at this time the wrapped topology can be regarded as the covering model corresponding to the covered area.

[0087] Optionally, when the virtual cover is snow, the following can be obtained: Figure 7 Coverage model for the white area shown.

[0088] Figure 8 A flowchart of another virtual model processing method provided in an embodiment of the present application. In an optional implementation, as Figure 8 As shown, the above-mentioned acquisition of the coverage point cloud based on the attribute parameters of each projection position in the coverage area includes:

[0089] Step 401: Based on the attribute parameters of each projection position in the coverage area, a multiplication operation is performed on each projection position to obtain a set of newly added projection positions corresponding to each projection position.

[0090] Each newly added projection position set includes multiple newly added projection positions, and each newly added projection position has different attribute parameters. For the successfully projected topological points, that is, each projection position in the coverage area, each projection position can be multiplied based on the attribute parameters of each projection position according to a preset multiplication parameter (for example, 10 times, 15 times, 20 times, etc.), to obtain multiple newly added projection positions with sparse and dense levels corresponding to each projection position, and the multiple newly added projection positions can be regarded as the newly added projection position set corresponding to the projection position.

[0091] It should be noted that when performing the multiplication operation, at least part of the attribute parameters of each projection position can be adjusted with reference to the preset attribute setting range to obtain multiple newly added projection positions with different attribute parameters. For example, the preset multiplication parameter is 10, and the attribute parameters of each projection position include: a position parameter, and optionally, the position parameter can be randomly offset by an arbitrary displacement in the x, y, and z directions of the three-dimensional coordinate system to obtain 10 newly added projection positions with different position parameters corresponding to the projection position, wherein the arbitrary displacement can be any value within the preset displacement range, which is not limited here.

[0092] Step 402: Obtain a coverage point cloud according to each projection position and each newly added projection position.

[0093] Among them, for each projection position, a sphere model corresponding to each projection position can be generated according to the attribute parameters corresponding to each projection position; for each newly added projection position, a sphere model corresponding to each newly added projection position can be generated according to the attribute parameters corresponding to each newly added projection position; further, according to the sphere model corresponding to each projection position and the sphere model corresponding to each newly added projection position, the coverage point cloud can be obtained.

[0094] In an optional implementation manner, the above-mentioned obtaining the coverage point cloud according to each projection position and each newly added projection position includes:

[0095] Along the specified direction, each newly added projection position in the coverage point cloud is projected onto the surface of the target virtual model to obtain a newly added surface projection position corresponding to each newly added projection position; and the coverage point cloud is obtained according to each projection position and each newly added surface projection position.

[0096] Among them, based on the foregoing description, it can be understood that due to the position offset operation in the multiplication operation, the generated newly added projection positions may not be attached to the surface of the target virtual model. Therefore, each newly added projection position in the coverage point cloud can be projected to the surface of the target virtual model along the specified direction to obtain a newly added surface projection position corresponding to each newly added projection position. It can be understood that through this projection operation, the newly added surface projection position can be made to fit the surface of the target virtual model more closely, and the density levels of the newly added surface projection positions are more obvious.

[0097] After the projection positions of each newly added surface are obtained, a spherical model corresponding to each projection position and a spherical model corresponding to each newly added surface projection position can be generated, and a coverage point cloud can be obtained accordingly.

[0098] Fig. 9 A flowchart of another virtual model processing method provided in an embodiment of the present application. In an optional implementation, as Fig. 9 As shown, the above-mentioned generation of package topology based on the coverage point cloud and the generation of the corresponding coverage model in the coverage area include:

[0099] Step 501: Obtain edge density parameters of the coverage point cloud.

[0100] Step 502: Linearly interpolate the edge density parameters of the coverage point cloud to obtain an interpolated coverage point cloud.

[0101] Step 503: Generate a wrapping topology for the interpolated coverage point cloud and generate a corresponding coverage model in the coverage area.

[0102] Among them, the edge density parameter of the coverage point cloud can be determined according to the number of points in the edge area of ​​the coverage point cloud; based on the edge density parameter, linear interpolation can be performed to adjust the edge range of the coverage point cloud to obtain the interpolated coverage point cloud.

[0103] For the interpolated coverage point cloud, refer to the above instructions to generate the corresponding package topology and generate the corresponding coverage model in the coverage area.

[0104] It should be noted that, in some embodiments, a boundary line can be constructed based on the edge density parameters of the coverage point cloud, and the boundary line can be smoothed to adjust the boundary attenuation of the coverage point cloud. In some embodiments, through adjustment, a smaller radius parameter can be set for the edge points of the coverage point cloud, so that the virtual covering of the target virtual model on the edge looks smoother and more natural from a visual perspective.

[0105] Optionally, by applying the linear interpolation operation, for example, in a melting snow scene, the snow on the target virtual model can be made to look like a portion of the edges have melted; for another example, in a heavy snow scene, a visual effect can be obtained where the boundary volume is larger and a heavy snowfall has just ended.

[0106] In summary, by applying the embodiments of the present application, the coverage edge of the target virtual model can be flexibly adjusted according to the actual application scenario, so that the edge coverage is richer and more realistic, showing the effect of semi-exposed coverage.

[0107] Fig.10 A schematic diagram of another virtual model processing provided by an embodiment of the present application. In an optional implementation, the above-mentioned generating a package topology based on the coverage point cloud and generating a corresponding coverage model in the coverage area includes:

[0108] Generate the parcel topology according to the coverage point cloud, mix the preset noise with the parcel topology, and generate the corresponding coverage model in the coverage area.

[0109] In order to display the covering effect with vortex shape, noise details can be added to the generated wrapping topology. For example, a layer of curlnoise superimposed with a procedural texture can be mixed to add vortex shape to the wrapping topology, making the rendering of the virtual covering in the target virtual model more realistic and natural.

[0110] Optionally, when the virtual cover is snow, refer to Fig.10 As shown, it can be seen that Figure 7 As shown in the figure, a more realistic and natural snow covering effect can be obtained by applying the embodiment of the present application.

[0111] Fig.11 A flowchart of another virtual model processing method provided in an embodiment of the present application. In an optional implementation, as Fig.11 As shown, the above-mentioned generation of parcel topology based on the coverage point cloud includes:

[0112] Step 601: Obtain attribute parameters of each projection position and / or each newly added surface projection position in the coverage point cloud.

[0113] The attribute parameters include at least one of the following: position parameter, radius parameter, preset wind direction, normal direction, wherein the radius parameter is determined according to the preset wind direction, the normal direction and the specified direction. For the description of each attribute parameter, please refer to the above-mentioned related content, which will not be repeated here.

[0114] Among them, taking the projection position as an example, the radius parameter corresponding to each projection position can be determined according to the preset wind direction, the normal direction and the mixing angle of the specified direction, wherein the mixing angle can characterize the position of the projection position in the coverage model. It should be noted that the normal direction of each projection position can be determined by extracting the normal direction of the basic unit face of the model where each projection position is located. Among them, the basic unit face of the model can be a triangular face or a quadrilateral face, etc., which is not limited here, and multiple model basic faces can constitute the target virtual model.

[0115] Optionally, if the projection position is determined according to the blending angle to be located on the upper surface of the coverage model, the radius parameter of the projection position can be set to a first radius parameter; if the projection position is determined according to the blending angle to be located on the side of the coverage model, the radius parameter of the projection position can be set to a second radius parameter; if the projection position is determined according to the blending angle to be located inside the coverage model, the radius parameter of the projection position can be set to 0, wherein the first radius parameter is greater than the second radius parameter.

[0116] Optionally, when the virtual covering is snow, applying the embodiments of the present application can make the snow accumulated on the upper surface of the target virtual model appear to be more, and the snow accumulated on the sides appear to be less, and the accumulation of snow is more realistic and natural.

[0117] Step 602: Obtain a ball model corresponding to each projection position and / or a ball model corresponding to each newly added surface projection position according to attribute parameters of each projection position and / or each newly added surface projection position.

[0118] Here, taking the projection position as an example, the center position of the ball model corresponding to the projection position can be determined according to the position parameters of the projection position, and the size parameters of the corresponding ball model can be determined according to the radius parameters of the projection position.

[0119] It should be noted that the spherical model may be a perfect sphere model or an ellipsoidal sphere model, which is not limited here.

[0120] In addition, regarding the generation process of the ball model corresponding to the projection position of the newly added surface, please refer to the generation process of the ball model corresponding to the projection position, which will not be repeated here.

[0121] Step 603: Obtain volume data corresponding to the coverage point cloud according to the spherical model corresponding to each projection position and / or the spherical model corresponding to each newly added surface projection position.

[0122] Step 604: Smoothing the volume data corresponding to the coverage point cloud to obtain the parcel topology corresponding to the coverage point cloud.

[0123] Among them, the coverage point cloud can be obtained according to the ball model corresponding to each projection position and / or the ball model corresponding to each newly added surface projection position. For the coverage point cloud, optionally, a volume conversion program (for example, VDB frompolygon node program) can be used to convert the ball models accumulated in the coverage point cloud into volume data, and then a model conversion program (for example, VDB Convert node program) can be used to smooth the volume data corresponding to the coverage point cloud to obtain the wrapping topology corresponding to the coverage point cloud.

[0124] By applying the embodiments of the present application, there will not be too many overlapping surfaces in the generated wrapping topology, which will lead to loss of modeling performance, thereby improving the applicability of the method of the present application.

[0125] It should be noted that if it is necessary to produce virtual covering effects for other virtual models in the future, the above-mentioned target virtual model can be updated, which has the characteristics of flexible and simple modification; in addition, according to the actual application scenario, the attribute parameters of each projection position and / or each newly added surface projection position can also be adjusted multiple times, so that the preset production expectations can be met through adjustments.

[0126] Fig.12 Another processing diagram of a virtual model provided in an embodiment of the present application. In order to better understand the present application, the target virtual model is a virtual building and the virtual covering is snow. In the present application, the stacking effect of the virtual covering can be more closely matched with the target virtual model based on the topological position information of the refined covering model, so that some tiny corner structures can also produce virtual coverings that conform to the topological details of the model. The following is obtained by using the method of the present application: Fig.12 From the rendering effect shown, it can be seen that compared with the prior art, the surfaces, edges and side structures in the virtual building of the present application can present rich details, especially for some tiny structural details, which can present a fine falling snow effect with a strong sense of layering.

[0127] Fig.13 This is a functional module diagram of a virtual model processing device provided in an embodiment of the present application. The basic principle and technical effects of the device are the same as those of the corresponding method embodiment described above. For the sake of brief description, the parts not mentioned in this embodiment can be referred to the corresponding contents in the method embodiment. Fig.13 As shown, the processing device 100 includes:

[0128] A determination module 110 is used to determine a target virtual model in a virtual scene;

[0129] A first acquisition module 120, configured to acquire a topological surface of the target virtual model from a specified direction in the virtual scene;

[0130] An extraction module 130, configured to extract a topological point set based on the topological surface, wherein the topological point set includes a plurality of topological points;

[0131] A projection module 140, configured to project from the specified direction to the target virtual model based on the topological point set;

[0132] A second acquisition module 150 is used to acquire a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model;

[0133] The generating module 160 is used to generate a corresponding covering model in the covering area according to the attribute parameters of each projection position in the covering area, so as to simulate the performance effect of the virtual covering covering the target virtual model during rendering.

[0134] In an optional implementation, the first acquisition module 120 is specifically configured to acquire the topological surface of the target virtual model based on a boundary geometric frame corresponding to the target virtual model along the specified direction.

[0135] In an optional implementation, the projection module 140 is specifically configured to project each topological point in the topological point set onto the surface of the target virtual model along the specified direction;

[0136] The second acquisition module 150 is specifically configured to acquire the coverage area according to the projection position of each topological point in the topological point set on the surface of the target virtual model.

[0137] In an optional embodiment, the generating module 160 is specifically used to obtain a coverage point cloud according to the attribute parameters of each projection position in the coverage area, and the coverage point cloud includes: ball models corresponding to multiple projection positions and / or ball models corresponding to multiple newly added surface projection positions generated according to the projection positions;

[0138] A package topology is generated according to the coverage point cloud, and a corresponding coverage model is generated in the coverage area.

[0139] In an optional implementation, the generating module 160 is specifically configured to perform a multiplication operation on each projection position based on the attribute parameters of each projection position in the coverage area to obtain a newly added projection position set corresponding to each projection position, wherein each newly added projection position set includes multiple newly added projection positions, and the attribute parameters of each newly added projection position are different;

[0140] The coverage point cloud is obtained according to each of the projection positions and each of the newly added projection positions.

[0141] In an optional implementation, the generating module 160 is specifically configured to project each of the newly added projection positions in the coverage point cloud onto the surface of the target virtual model along the specified direction, and obtain a newly added surface projection position corresponding to each of the newly added projection positions;

[0142] The coverage point cloud is obtained according to each of the projection positions and each of the newly added surface projection positions.

[0143] In an optional implementation, the generating module 160 is specifically used to obtain edge density parameters of the coverage point cloud;

[0144] Performing linear interpolation on edge density parameters of the coverage point cloud to obtain an interpolated coverage point cloud;

[0145] A wrapping topology is generated for the interpolated coverage point cloud, and a corresponding coverage model is generated in the coverage area.

[0146] In an optional implementation, the generating module 160 is specifically configured to generate a wrapping topology according to the coverage point cloud, mix a preset noise with the wrapping topology, and generate a corresponding coverage model in the coverage area.

[0147] In an optional implementation, the generating module 160 is specifically used to obtain attribute parameters of each projection position and / or each newly added surface projection position in the coverage point cloud, wherein the attribute parameters include at least one of the following: a position parameter, a radius parameter, a preset wind direction, and a normal direction, wherein the radius parameter is determined according to the preset wind direction, the normal direction, and the specified direction;

[0148] According to the attribute parameters of each of the projection positions and / or each of the newly added surface projection positions, a ball model corresponding to each of the projection positions and / or a ball model corresponding to each of the newly added surface projection positions is obtained;

[0149] Acquire volume data corresponding to the coverage point cloud according to the spherical model corresponding to each of the projection positions and / or the spherical model corresponding to each of the newly added surface projection positions;

[0150] A smoothing operation is performed on the volume data corresponding to the coverage point cloud to obtain a wrapping topology corresponding to the coverage point cloud.

[0151] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0152] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0153] Fig.14 The following is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device can be integrated into the processing device of the virtual model. Fig.14 As shown, the electronic device may include: a processor 210, a storage medium 220 and a bus 230, the storage medium 220 stores machine-readable instructions executable by the processor 210, when the electronic device is running, the processor 210 and the storage medium 220 communicate through the bus 230, the processor 210 executes the machine-readable instructions to perform the steps of the following method embodiment:

[0154] determining a target virtual model in a virtual scene;

[0155] Acquire a topological surface of the target virtual model from a specified direction in the virtual scene;

[0156] Extracting a topological point set based on the topological surface, wherein the topological point set includes a plurality of topological points;

[0157] Based on the topological point set, projecting from the specified direction to the target virtual model;

[0158] Acquire a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model;

[0159] According to the attribute parameters of each projection position in the coverage area, a corresponding coverage model is generated in the coverage area to simulate the performance effect of the virtual coverage covering the target virtual model during rendering.

[0160] In an optional implementation manner, the acquiring the topological surface of the target virtual model from a specified direction in the virtual scene includes:

[0161] Acquire a topological surface of the target virtual model based on a boundary geometric frame corresponding to the target virtual model along the specified direction.

[0162] In an optional implementation, the projecting from the specified direction to the target virtual model based on the topological point set includes:

[0163] Projecting each topological point in the topological point set onto the surface of the target virtual model along the specified direction;

[0164] The step of acquiring the coverage area of ​​the target virtual model according to the projection position of the topological point set on the target virtual model comprises:

[0165] The coverage area is acquired according to the projection position of each topological point in the topological point set on the surface of the target virtual model.

[0166] In an optional implementation manner, generating a corresponding coverage model in the coverage area according to the attribute parameters of each projection position in the coverage area includes:

[0167] Acquire a coverage point cloud according to the attribute parameters of each projection position in the coverage area, wherein the coverage point cloud includes: ball models corresponding to a plurality of projection positions and / or ball models corresponding to a plurality of newly added surface projection positions generated according to the projection positions;

[0168] A package topology is generated according to the coverage point cloud, and a corresponding coverage model is generated in the coverage area.

[0169] In an optional implementation manner, acquiring a coverage point cloud according to attribute parameters of each projection position in the coverage area includes:

[0170] Based on the attribute parameters of each projection position in the coverage area, a multiplication operation is performed on each projection position to obtain a set of newly added projection positions corresponding to each projection position, wherein each set of newly added projection positions includes multiple newly added projection positions, and the attribute parameters of each newly added projection position are different;

[0171] The coverage point cloud is obtained according to each of the projection positions and each of the newly added projection positions.

[0172] In an optional implementation manner, acquiring the coverage point cloud according to each of the projection positions and each of the newly added projection positions includes:

[0173] Projecting each of the newly added projection positions in the coverage point cloud onto the surface of the target virtual model along the specified direction, and obtaining a newly added surface projection position corresponding to each of the newly added projection positions;

[0174] The coverage point cloud is obtained according to each of the projection positions and each of the newly added surface projection positions.

[0175] In an optional implementation, generating a package topology according to the coverage point cloud and generating a corresponding coverage model in the coverage area includes:

[0176] Obtaining edge density parameters of the coverage point cloud;

[0177] Performing linear interpolation on edge density parameters of the coverage point cloud to obtain an interpolated coverage point cloud;

[0178] A wrapping topology is generated for the interpolated coverage point cloud, and a corresponding coverage model is generated in the coverage area.

[0179] In an optional implementation, generating a package topology according to the coverage point cloud and generating a corresponding coverage model in the coverage area includes:

[0180] A wrapping topology is generated according to the coverage point cloud, a preset noise is mixed with the wrapping topology, and a corresponding coverage model is generated in the coverage area.

[0181] In an optional implementation, generating a package topology according to the coverage point cloud includes:

[0182] Acquire attribute parameters of each projection position and / or each newly added surface projection position in the coverage point cloud, wherein the attribute parameters include at least one of the following: a position parameter, a radius parameter, a preset wind direction, and a normal direction, wherein the radius parameter is determined according to the preset wind direction, the normal direction, and the specified direction;

[0183] According to the attribute parameters of each of the projection positions and / or each of the newly added surface projection positions, a ball model corresponding to each of the projection positions and / or a ball model corresponding to each of the newly added surface projection positions is obtained;

[0184] Acquire volume data corresponding to the coverage point cloud according to the spherical model corresponding to each of the projection positions and / or the spherical model corresponding to each of the newly added surface projection positions;

[0185] A smoothing operation is performed on the volume data corresponding to the coverage point cloud to obtain a wrapping topology corresponding to the coverage point cloud.

[0186] The specific implementation methods and technical effects of the above steps are similar to those mentioned above and will not be repeated here.

[0187] Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the following method embodiment are executed:

[0188] determining a target virtual model in a virtual scene;

[0189] Acquire a topological surface of the target virtual model from a specified direction in the virtual scene;

[0190] Extracting a topological point set based on the topological surface, wherein the topological point set includes a plurality of topological points;

[0191] Based on the topological point set, projecting from the specified direction to the target virtual model;

[0192] Acquire a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model;

[0193] According to the attribute parameters of each projection position in the coverage area, a corresponding coverage model is generated in the coverage area to simulate the performance effect of the virtual coverage covering the target virtual model during rendering.

[0194] In an optional implementation manner, the acquiring the topological surface of the target virtual model from a specified direction in the virtual scene includes:

[0195] Acquire a topological surface of the target virtual model based on a boundary geometric frame corresponding to the target virtual model along the specified direction.

[0196] In an optional implementation, the projecting from the specified direction to the target virtual model based on the topological point set includes:

[0197] Projecting each topological point in the topological point set onto the surface of the target virtual model along the specified direction;

[0198] The step of acquiring the coverage area of ​​the target virtual model according to the projection position of the topological point set on the target virtual model comprises:

[0199] The coverage area is acquired according to the projection position of each topological point in the topological point set on the surface of the target virtual model.

[0200] In an optional implementation manner, generating a corresponding coverage model in the coverage area according to the attribute parameters of each projection position in the coverage area includes:

[0201] Acquire a coverage point cloud according to the attribute parameters of each projection position in the coverage area, wherein the coverage point cloud includes: ball models corresponding to a plurality of projection positions and / or ball models corresponding to a plurality of newly added surface projection positions generated according to the projection positions;

[0202] A package topology is generated according to the coverage point cloud, and a corresponding coverage model is generated in the coverage area.

[0203] In an optional implementation manner, acquiring a coverage point cloud according to attribute parameters of each projection position in the coverage area includes:

[0204] Based on the attribute parameters of each projection position in the coverage area, a multiplication operation is performed on each projection position to obtain a set of newly added projection positions corresponding to each projection position, wherein each set of newly added projection positions includes multiple newly added projection positions, and the attribute parameters of each newly added projection position are different;

[0205] The coverage point cloud is obtained according to each of the projection positions and each of the newly added projection positions.

[0206] In an optional implementation manner, acquiring the coverage point cloud according to each of the projection positions and each of the newly added projection positions includes:

[0207] Projecting each of the newly added projection positions in the coverage point cloud onto the surface of the target virtual model along the specified direction, and obtaining a newly added surface projection position corresponding to each of the newly added projection positions;

[0208] The coverage point cloud is obtained according to each of the projection positions and each of the newly added surface projection positions.

[0209] In an optional implementation, generating a package topology according to the coverage point cloud and generating a corresponding coverage model in the coverage area includes:

[0210] Obtaining edge density parameters of the coverage point cloud;

[0211] Performing linear interpolation on edge density parameters of the coverage point cloud to obtain an interpolated coverage point cloud;

[0212] A wrapping topology is generated for the interpolated coverage point cloud, and a corresponding coverage model is generated in the coverage area.

[0213] In an optional implementation, generating a package topology according to the coverage point cloud and generating a corresponding coverage model in the coverage area includes:

[0214] A wrapping topology is generated according to the coverage point cloud, a preset noise is mixed with the wrapping topology, and a corresponding coverage model is generated in the coverage area.

[0215] In an optional implementation, generating a package topology according to the coverage point cloud includes:

[0216] Acquire attribute parameters of each projection position and / or each newly added surface projection position in the coverage point cloud, wherein the attribute parameters include at least one of the following: a position parameter, a radius parameter, a preset wind direction, and a normal direction, wherein the radius parameter is determined according to the preset wind direction, the normal direction, and the specified direction;

[0217] According to the attribute parameters of each of the projection positions and / or each of the newly added surface projection positions, a ball model corresponding to each of the projection positions and / or a ball model corresponding to each of the newly added surface projection positions is obtained;

[0218] Acquire volume data corresponding to the coverage point cloud according to the spherical model corresponding to each of the projection positions and / or the spherical model corresponding to each of the newly added surface projection positions;

[0219] A smoothing operation is performed on the volume data corresponding to the coverage point cloud to obtain a wrapping topology corresponding to the coverage point cloud.

[0220] The specific implementation methods and technical effects of the above steps are similar to those mentioned above and will not be repeated here.

[0221] Optionally, the present application also provides a computer program product, which includes instructions, and when the instructions are executed on an electronic device, the electronic device implements the steps of the above method embodiment.

[0222] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0223] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0224] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0225] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

[0226] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0227] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for processing a virtual model, characterized in that: The method comprises: determining a target virtual model in a virtual scene; Acquire a topological surface of the target virtual model from a specified direction in the virtual scene; Extracting a topological point set based on the topological surface, wherein the topological point set includes a plurality of topological points; Based on the topological point set, projecting from the specified direction to the target virtual model; Acquire a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model; According to the attribute parameters of each projection position in the coverage area, a corresponding coverage model is generated in the coverage area to simulate the performance effect of the virtual coverage covering the target virtual model during rendering.

2. The method according to claim 1, characterized in that The step of acquiring the topological surface of the target virtual model from a specified direction in the virtual scene includes: Acquire a topological surface of the target virtual model based on a boundary geometric frame corresponding to the target virtual model along the specified direction.

3. The method according to claim 1, characterized in that The projecting from the specified direction to the target virtual model based on the topological point set includes: Projecting each topological point in the topological point set onto the surface of the target virtual model along the specified direction; The step of acquiring the coverage area of ​​the target virtual model according to the projection position of the topological point set on the target virtual model comprises: The coverage area is acquired according to the projection position of each topological point in the topological point set on the surface of the target virtual model.

4. The method according to claim 1, characterized in that: Generating a corresponding coverage model in the coverage area according to the attribute parameters of each projection position in the coverage area includes: Acquire a coverage point cloud according to the attribute parameters of each projection position in the coverage area, wherein the coverage point cloud includes: ball models corresponding to a plurality of projection positions and / or ball models corresponding to a plurality of newly added surface projection positions generated according to the projection positions; A package topology is generated according to the coverage point cloud, and a corresponding coverage model is generated in the coverage area.

5. The method according to claim 4, characterized in that The obtaining of a coverage point cloud according to the attribute parameters of each projection position in the coverage area includes: Based on the attribute parameters of each projection position in the coverage area, a multiplication operation is performed on each projection position to obtain a set of newly added projection positions corresponding to each projection position, wherein each set of newly added projection positions includes multiple newly added projection positions, and the attribute parameters of each newly added projection position are different; The coverage point cloud is obtained according to each of the projection positions and each of the newly added projection positions.

6. The method according to claim 5, characterized in that The acquiring the coverage point cloud according to each of the projection positions and each of the newly added projection positions includes: Projecting each of the newly added projection positions in the coverage point cloud onto the surface of the target virtual model along the specified direction, and obtaining a newly added surface projection position corresponding to each of the newly added projection positions; The coverage point cloud is obtained according to each of the projection positions and each of the newly added surface projection positions.

7. The method according to any one of claims 4 to 6, characterized in that: The generating of a package topology according to the coverage point cloud and generating a corresponding coverage model in the coverage area includes: Obtaining edge density parameters of the coverage point cloud; Linear interpolation is performed on edge density parameters of the coverage point cloud to obtain an interpolated coverage point cloud; a wrapping topology is generated for the interpolated coverage point cloud, and a corresponding coverage model is generated in the coverage area.

8. The method according to any one of claims 4 to 6, characterized in that: The generating of a package topology according to the coverage point cloud and generating a corresponding coverage model in the coverage area includes: A wrapping topology is generated according to the coverage point cloud, a preset noise is mixed with the wrapping topology, and a corresponding coverage model is generated in the coverage area.

9. The method according to any one of claims 4 to 6, characterized in that: Generating a package topology according to the coverage point cloud includes: Acquire attribute parameters of each projection position and / or each newly added surface projection position in the coverage point cloud, wherein the attribute parameters include at least one of the following: a position parameter, a radius parameter, a preset wind direction, and a normal direction, wherein the radius parameter is determined according to the preset wind direction, the normal direction, and the specified direction; According to the attribute parameters of each of the projection positions and / or each of the newly added surface projection positions, a ball model corresponding to each of the projection positions and / or a ball model corresponding to each of the newly added surface projection positions is obtained; Acquire volume data corresponding to the coverage point cloud according to the spherical model corresponding to each of the projection positions and / or the spherical model corresponding to each of the newly added surface projection positions; A smoothing operation is performed on the volume data corresponding to the coverage point cloud to obtain a wrapping topology corresponding to the coverage point cloud.

10. A virtual model processing device, characterized in that: include: A determination module, used for determining a target virtual model in a virtual scene; A first acquisition module, used to acquire a topological surface of the target virtual model from a specified direction in the virtual scene; An extraction module, used to extract a topological point set based on the topological surface, wherein the topological point set includes a plurality of topological points; A projection module, used for projecting from the specified direction to the target virtual model based on the topological point set; A second acquisition module, configured to acquire a coverage area of ​​the target virtual model according to a projection position of the topological point set on the target virtual model, wherein the coverage area is used to indicate a coverage range of a preset virtual covering on the target virtual model; The generation module is used to generate a corresponding coverage model in the coverage area according to the attribute parameters of each projection position in the coverage area, so as to simulate the performance effect of the virtual covering covering the target virtual model during rendering.

11. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for processing the target virtual model as described in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for processing the target virtual model as claimed in any one of claims 1 to 9 are executed.