Virtual object rendering method and apparatus
By obtaining the initial and target grid data of the elastic fabric, determining its stretching degree, and adjusting the rendering information according to this degree, the problem of unreal rendering in the prior art is solved, and a more realistic fabric rendering effect is achieved.
Patent Information
- Application Number
- PCT/CN2023/139781
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-14
- Filing Date
- 2023-12-19
- Publication Date
- 2025-06-19
AI Technical Summary
The prior art is difficult to effectively render real elastic fabrics, resulting in unreal rendering results and the different visual effects of fabric shape changes.
By receiving the rendering request, obtaining initial and target grid data, determining the stretching degree of the fabric, and adjusting the rendering information according to the stretching degree to render the fabric.
It realizes automatic adjustment of the rendering results according to the stretching degree of the material, making the rendering effect more realistic and improving the user experience.
Smart Images

Figure CN2023139781_19062025_PF_FP_ABST
Abstract
Description
Method and device for rendering virtual objects
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on December 14, 2023, with application number 2023117271461 and invention name “Method and device for rendering virtual objects”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of this specification relate to the field of computer technology, and in particular to a method for rendering a virtual object. Background Art
[0003] As players' aesthetic level of gaming improves, their requirements for the game's artistic expression and rendering effects are also getting higher and higher. Moreover, as the materials of the fabrics and clothes worn by game characters have higher and higher effects on the overall performance of the game, players' requirements for the rendering effects of the fabrics and clothes worn by game characters are also gradually increasing.
[0004] However, due to the complex structure of real elastic fabric, current rendering results are not ideal. The rendered fabric does not look realistic and does not reflect the different visual effects of elastic fabric according to its shape changes. Therefore, a rendering method that can produce different effects according to the changes in the shape of elastic fabric is needed.
[0005] Summary of the Invention
[0006] In view of this, embodiments of this specification provide a method for rendering a virtual object. One or more embodiments of this specification also relate to a virtual object rendering apparatus, a computing device, a computer-readable storage medium, and a computer program to address technical deficiencies in the prior art.
[0007] According to a first aspect of an embodiment of this specification, a method for rendering a virtual object is provided, comprising:
[0008] Receive a rendering request for the cloth to be rendered;
[0009] In response to the rendering request, obtaining initial mesh data and target mesh data of the cloth to be rendered;
[0010] Determining a stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data;
[0011] Rendering information corresponding to the to-be-rendered cloth is determined according to the stretching degree, and the to-be-rendered cloth is rendered according to the rendering information.
[0012] According to a second aspect of an embodiment of this specification, a device for rendering a virtual object is provided, comprising:
[0013] A receiving module configured to receive a rendering request for a cloth to be rendered;
[0014] A response module is configured to obtain initial mesh data and target mesh data of the cloth to be rendered in response to the rendering request;
[0015] a determination module, configured to determine a stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data;
[0016] The rendering module is configured to determine rendering information corresponding to the cloth to be rendered according to the stretching degree, and render the cloth to be rendered according to the rendering information.
[0017] According to a third aspect of the embodiments of this specification, an augmented reality (AR) device or a virtual reality (VR) device is provided, including:
[0018] memory, processor, and display;
[0019] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the following steps are implemented:
[0020] Receive a rendering request for the cloth to be rendered;
[0021] In response to the rendering request, obtaining initial mesh data and target mesh data of the cloth to be rendered;
[0022] Determining a stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data;
[0023] Determining rendering information corresponding to the to-be-rendered cloth according to the stretching degree, and rendering the to-be-rendered cloth according to the rendering information;
[0024] The cloth to be rendered is displayed through a display of the augmented reality (AR) device or the virtual reality (VR) device.
[0025] According to a fourth aspect of the embodiments of this specification, a computing device is provided, including:
[0026] memory and processor;
[0027] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the above-mentioned virtual object rendering method are implemented.
[0028] According to a fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned virtual object rendering method are implemented.
[0029] According to a sixth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned method for rendering a virtual object.
[0030] One embodiment of the present specification implements receiving a rendering request for a cloth to be rendered; obtaining initial mesh data and target mesh data of the cloth to be rendered in response to the rendering request; determining a degree of stretching of the cloth to be rendered based on the target mesh data and the initial mesh data; determining rendering information corresponding to the cloth to be rendered based on the stretching degree, and rendering the cloth to be rendered based on the rendering information.
[0031] By applying the solution provided by the above embodiment, the rendering result can be automatically adjusted according to the stretchability of the material to present different visual effects according to the stretchability of the material, thereby making the rendering visual effect of the elastic fabric more realistic and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] FIG1 is a flowchart of a method for rendering a virtual object provided by one embodiment of this specification;
[0033] FIG2 is a schematic diagram of a cloth rendering result provided by an embodiment of this specification;
[0034] FIG3 is a schematic diagram of a cloth rendering result including edges provided by an embodiment of this specification;
[0035] FIG4 is a flowchart of a method for rendering a stocking material according to an embodiment of the present disclosure;
[0036] FIG5 is a schematic structural diagram of a virtual object rendering device provided by one embodiment of this specification;
[0037] FIG6 is a structural block diagram of a computing device provided by one embodiment of this specification. DETAILED DESCRIPTION
[0038] The following description sets forth many specific details to facilitate a thorough understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the scope of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.
[0039] The terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only and are not intended to limit one or more embodiments of this specification. The singular forms "a," "the," and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0040] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0041] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0042] First, the terms involved in one or more embodiments of this specification are explained.
[0043] UV mapping: is a core technology in the field of 3D modeling and computer graphics, which solves the problem of how to accurately apply a 2D image (texture) to the surface of a 3D model. In this process, "UV" represents the 2D texture coordinate system, where "U" and "V" correspond to the horizontal and vertical axes of the texture image, respectively, similar to "X" and "Y" in the traditional 2D coordinate system. The key to UV mapping is to create an effective "UV layout" or "UV expansion map", which is a process of flattening the surface of a 3D model into a 2D plane so that each face or polygon has a corresponding 2D area on the surface so that the texture image can be mapped onto these surfaces.
[0044] In this specification, a method for rendering a virtual object is provided. This specification also relates to a virtual object rendering device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0045] Referring to FIG. 1 , FIG. 1 shows a flow chart of a method for rendering a virtual object according to an embodiment of the present disclosure, which specifically includes the following steps.
[0046] Step 102: Receive a rendering request for cloth to be rendered.
[0047] In actual applications, the to-be-rendered fabric is used to render the visual effects of the corresponding fabric, and the to-be-rendered request is used to trigger the rendering of the to-be-rendered fabric.
[0048] Specifically, the fabric to be rendered can be understood as the data corresponding to elastic fabric during the modeling process, such as fabric simulation data corresponding to stockings or lace. A rendering request can be understood as a request to render the fabric to be rendered. This can be a request to render elastic fabric covering the target model, or a request to render again after rendering is complete due to user interaction.
[0049] Step 104: In response to the rendering request, obtain the initial mesh data and target mesh data of the cloth to be rendered.
[0050] In practical applications, the initial mesh data refers to the mesh data when the cloth to be rendered is in an initial state, and the target mesh data refers to the mesh data when the cloth to be rendered is in a target state.
[0051] Specifically, the grid data can be understood as grid-shaped data, including at least one vertex, each vertex is connected to four adjacent points, and in order to facilitate the identification of each vertex, each vertex has a corresponding identifier.
[0052] It should be noted that the cloth to be rendered being in the initial state can be understood as the state of the cloth to be rendered before the rendering request is generated, for example, the original preset state of the elastic cloth before the elastic cloth covering the target model is rendered, and the state of the elastic cloth before the user adjusts it. The cloth to be rendered being in the target state can be understood as the state of the cloth to be rendered corresponding to the rendering request, for example, when the elastic cloth covering the target model is rendered, the state of the cloth to be rendered when the target model is covered is the target state, and when the elastic cloth adjusted by the user is rendered, the state of the cloth to be rendered after the user adjusts it is the target state. The original preset state can be understood as the preset state of the cloth to be rendered before it is covered on the target model, for example, the original preset state of elastic cloth A is a cylinder, and the original preset state of elastic cloth B is a stocking shape.
[0053] The stretching degree of the cloth to be rendered can be determined by the initial network data and the target network data of the cloth to be rendered, and then the cloth to be rendered can be rendered according to the stretching degree of the cloth to be rendered, thereby improving the visual effect of rendering elastic cloth.
[0054] Furthermore, obtaining the initial mesh data and target mesh data of the cloth to be rendered includes:
[0055] Obtaining initial texture data and target texture data of the cloth to be rendered;
[0056] Generate initial mesh data of the cloth to be rendered according to the initial texture data;
[0057] Generate target mesh data of the cloth to be rendered according to the target map data.
[0058] In practical applications, the initial texture data refers to the texture data when the cloth to be rendered is in an initial state, and the target texture data refers to the texture data when the cloth to be rendered is in a target state.
[0059] Specifically, texture data can be understood as a two-dimensional representation of the fabric to be rendered. For example, texture data A is UV mapped to obtain the three-dimensional form of the fabric to be rendered. Since texture data is two-dimensional, the mesh data corresponding to the fabric to be rendered can be obtained by generating the corresponding table data based on the texture data.
[0060] Considering that rendering needs to be performed based on the target texture data, the rendering request carries the target texture data;
[0061] Furthermore, obtaining the initial texture data and target texture data of the cloth to be rendered includes:
[0062] Determining that the texture data before receiving the rendering request is the initial texture data;
[0063] Parse the rendering request and obtain target texture data.
[0064] Specifically, since the target texture data is the texture data when the fabric to be rendered is in the target state, and the rendering request is generated after the fabric to be rendered is in the target state, under normal circumstances, the rendering request carries the texture data when the fabric to be rendered is in the target state, that is, the target texture data. In addition, since the initial texture data is the texture data when the fabric to be rendered is in the initial state, and the initial state can be understood as the state of the fabric to be rendered before the rendering request is generated, for example, the original preset state of the elastic fabric before rendering the elastic fabric covering the target model, or the state of the elastic fabric before user adjustment. In the above examples, the initial state of the fabric to be rendered is before the rendering request is generated. Therefore, under normal circumstances, the texture data corresponding to the initial state of the fabric to be rendered, that is, the initial texture data of the fabric to be rendered, is the texture data before receiving the rendering request.
[0065] Step 106: Determine the stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data.
[0066] In practical applications, the degree of stretching is used to determine the rendering information of the cloth to be rendered.
[0067] Specifically, the degree of stretching can be understood as the state of deformation generated in various areas of the cloth to be rendered in the target state, as shown in Figure 2, which is a schematic diagram of a cloth rendering result provided by an embodiment of this specification. The part indicated by the arrow in Figure 2 has a smaller degree of stretching deformation than other areas, and the degree of stretching is also smaller.
[0068] It should be noted that the calculation of the degree of stretching can be obtained by obtaining two mesh data obtained when the cloth to be rendered is in the initial state and the target state. For example, the position of each vertex in the two mesh data is obtained, and the displacement of each vertex is determined according to the difference between the positions of each vertex, and then the degree of stretching is determined according to the displacement of each vertex; it can also be that elastic links are set between each vertices in the mesh data, and the elastic links corresponding to each vertex in the initial state are set to 0, and then the degree of stretching of the material to be rendered is obtained according to the change in the distance between each vertices in the mesh data for the target state and the elastic parameters preset for the material to be rendered.
[0069] By calculating the stretchability of elastic fabric, we can more effectively simulate the state of elastic fabric in the real world. The elastic fabric rendered on this basis can make the rendering result closer to the real world.
[0070] Considering that the stretching degree of the cloth to be rendered needs to be determined by the displacement information of each vertex in the mesh, the mesh data includes at least one vertex data, and each vertex data includes vertex identification and vertex position information;
[0071] Furthermore, determining the stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data includes:
[0072] Determine initial mesh vertex position information of each vertex identifier in the initial mesh data, and determine target mesh vertex position information of each vertex identifier in the target mesh data;
[0073] The stretching degree of the cloth to be rendered is determined according to the initial mesh vertex position information and the target mesh vertex position information corresponding to each vertex identifier.
[0074] In practical applications, vertex identifiers are used to distinguish each vertex, and vertex position information is used to calculate the position change of each vertex from the initial mesh data to the target mesh data.
[0075] Specifically, vertex identification can be understood as the unique identifier corresponding to each vertex, the purpose of which is to distinguish vertices in the mesh so that the displacement of each vertex from the initial to the target can be correctly calculated. Vertex position information can be understood as the actual position of the vertex in the two-dimensional mesh data. For example, when the texture data is UV converted to obtain mesh data, the point that does not belong to the mesh data and is located in the lower left of the image is determined as the origin, and a two-dimensional coordinate axis is drawn along the origin. The coordinates of the vertex in the mesh data on this coordinate axis are the vertex position information.
[0076] Determining the initial mesh vertex position information and the target mesh vertex position information corresponding to each vertex representation can ensure that the position change corresponding to each vertex is obtained, so as to facilitate the subsequent calculation of the stretch degree of the rendered cloth.
[0077] Furthermore, determining the stretching degree of the cloth to be rendered according to the initial mesh vertex position information and the target mesh vertex position information corresponding to each vertex identifier includes:
[0078] Determine a target vertex identifier, and initial mesh vertex position information and target mesh vertex position information corresponding to the target vertex identifier, wherein the target vertex identifier is any one of the vertex identifiers;
[0079] Determining displacement information corresponding to the target vertex identifier based on initial mesh vertex position information and target mesh vertex position information corresponding to the target vertex identifier;
[0080] The stretching degree of the cloth to be rendered is determined according to the displacement information corresponding to each vertex identifier.
[0081] In practical applications, displacement information is used to determine the degree of stretching of the cloth to be rendered. Specifically, displacement information can be understood as the difference between the position of each vertex in the initial mesh and the position in the target mesh.
[0082] It should be noted that there are multiple ways to confirm the degree of stretch of the cloth to be rendered through the displacement information of each vertex in the mesh data. For example, by determining the displacement of each vertex, and then directly determining the degree of stretch based on the displacement of each vertex; or by setting elastic links between each vertices in the mesh data, and setting the elastic links corresponding to each vertex in the initial state to 0, and then determining the changes in the elastic connections between the vertices based on the displacement of each vertex, and finally combining the changes in the elastic connections and the preset elastic parameters of the material to be rendered to obtain the degree of stretch of the material to be rendered.
[0083] Step 108: Determine rendering information corresponding to the to-be-rendered cloth according to the stretching degree, and render the to-be-rendered cloth according to the rendering information.
[0084] In practical applications, rendering information is used to determine the rendering results.
[0085] Specifically, the rendering information can be understood as the parameters required for rendering the fabric to be rendered, and the fabric to be rendered is rendered according to the parameters. For example, the rendering information is the diffuse reflection, specular reflection and ambient light reflection properties, which are used to define how the material reflects light according to the above rendering information during rendering; the rendering information is transparency, which is used to define the color of the material according to the transparency during rendering.
[0086] Considering that the elastic cloth is covered on the irregular object, the stretching degree of each area of the elastic cloth is different, so the cloth to be rendered includes at least one area to be rendered.
[0087] Furthermore, determining rendering information corresponding to the to-be-rendered cloth according to the stretching degree includes:
[0088] Determining a target to-rendering region stretching degree corresponding to a target to-rendering region, wherein the target to-rendering region is any one of the to-rendering regions;
[0089] Rendering information corresponding to the cloth to be rendered is determined according to the stretching degree of the to-be-rendered area corresponding to each to-be-rendered area.
[0090] In practical applications, the area to be rendered is an area of the cloth to be rendered, and the stretching degree of the area to be rendered is the stretching degree of the cloth in the area to be rendered.
[0091] Specifically, since the target model covered by the cloth to be rendered is usually irregular, as shown in Figure 2, the stretching degree of the area indicated by the arrow is smaller than that of other areas, and the stretching degree of the thigh area is greater than that of the calf area. Therefore, the cloth to be rendered is divided into multiple areas, the stretching degree of each area is calculated, and the cloth to be rendered is rendered according to the stretching degree of each area. This can effectively improve the realism of the rendering results and enhance the user experience.
[0092] Considering that adjusting the transparency of the rendering by stretching the degree can be closer to reality, the rendering information includes transparency;
[0093] Furthermore, the rendering information corresponding to the cloth to be rendered is determined according to the stretching degree of the to-be-rendered area corresponding to each to-be-rendered area, including:
[0094] When the stretching degree increases, determining that the transparency of the area corresponding to the target area to be rendered increases;
[0095] When the stretching degree is reduced, determining that the transparency of the area corresponding to the target area to be rendered is reduced;
[0096] The transparency of the cloth to be rendered is determined according to the regional transparency corresponding to each to-be-rendered area.
[0097] In practical applications, transparency is used to determine the color of the cloth in the rendering result by combining the color under the cloth to be rendered and the preset color of the cloth to be rendered.
[0098] Specifically, in reality, the more the elastic material is stretched, the greater the transparency of the elastic material becomes. As the elastic material returns to a normal state from a stretched state, the transparency of the elastic material decreases. That is to say, when the degree of stretching increases, the transparency of the area corresponding to the target area to be rendered increases, and when the degree of stretching decreases, the transparency of the area corresponding to the target area to be rendered decreases, which can more effectively improve the realism of the rendering result.
[0099] In one embodiment provided in this specification, the stretching degree corresponding to the cloth to be rendered that has not yet covered the target model is regarded as 0. After the cloth to be rendered covers the target model, the stretching degree of the cloth to be rendered in area A is calculated to be 2, the stretching degree in area B is 8, and the stretching degree in area C is 0. Then, the cloth to be rendered is rendered in combination with the flesh color of the bottom and the preset color black of the cloth to be rendered. The rendering result corresponding to the cloth to be rendered in area A is flesh color 1, the rendering result corresponding to the cloth to be rendered in area B is flesh color 2 which is darker than red 1, and the rendering result corresponding to the cloth to be rendered in area A is black.
[0100] In another embodiment provided in the present specification, following the above example, the user operates the rendered fabric so that the stretching degree of area A of the fabric to be rendered is increased by 6 to 8, the stretching degree of area A is reduced by 8 to 0, and the stretching degree of area C remains unchanged compared to the previous selection result. Then, the fabric to be rendered is rendered, and the rendering result corresponding to the fabric to be rendered in area A is flesh color 2, which is darker than flesh color 1, the rendering result corresponding to the fabric to be rendered in area B is black, and the rendering result corresponding to the fabric to be rendered in area A is black.
[0101] The transparency of the fabric to be rendered is automatically adjusted according to the degree of stretch of the material, so as to present different visual effects according to the degree of stretch of the material. This can make the rendering visual effect of the elastic fabric more realistic and improve the user experience.
[0102] Considering that users can choose the decorations on the elastic fabric according to their preferences, thereby improving the user experience, the rendering request carries the decoration map data;
[0103] Furthermore, before determining the decoration rendering information corresponding to the decoration map data according to the stretching degree, the method further includes:
[0104] A decoration generation instruction is received, and the decoration map data is generated according to the decoration generation instruction.
[0105] In actual applications, the decoration generation instruction is data carrying a decoration texture identifier, the decoration texture identifier is an identifier for selecting decoration texture data, and the decoration texture data is texture data for rendering a decorative visual effect.
[0106] Specifically, a decoration generation instruction can be understood as an instruction to start generating decorations, and the decoration generation instruction can be generated based on user selections or preset parameters. Generating decoration texture data based on the decoration generation instruction can be understood as determining the decoration texture data based on the data carried in the decoration generation instruction, for example, obtaining a decoration texture identifier corresponding to the decoration texture data carried in the decoration generation instruction, determining the decoration texture based on the decoration texture identifier, and obtaining the decoration texture data carried in the decoration generation instruction.
[0107] Furthermore, before rendering the cloth to be rendered according to the rendering information, the method further includes:
[0108] Determining decoration rendering information corresponding to the decoration map data according to the stretching degree;
[0109] The cloth to be rendered is rendered according to the decoration rendering information and rendering information corresponding to the cloth to be rendered.
[0110] In practical applications, the decoration rendering information is used to determine the visual effect of the rendering result corresponding to the decoration on the cloth to be rendered.
[0111] Specifically, since in reality, the decoration on the elastic fabric will change according to the stretching of the elastic fabric, determining the decoration rendering information corresponding to the decoration map according to the stretching degree of the elastic fabric can effectively improve the realism of the rendering result and enhance the user experience.
[0112] Considering that the user experience can be improved by enabling the user to interact with the rendering target according to the user's operation, after rendering the cloth to be rendered according to the rendering information, the method further includes:
[0113] receiving a rendering adjustment request for a cloth to be rendered, wherein the rendering adjustment request includes initial adjustment map data and target adjustment map data;
[0114] The cloth to be rendered is rendered according to the initial adjustment map data and the target adjustment map data.
[0115] In actual applications, the rendering adjustment request of the fabric to be rendered is the request for rendering the fabric to be rendered after the rendering adjustment, the initial adjustment map data is the map data when the fabric to be rendered is in the initial adjustment state, and the target adjustment map data is the map data when the fabric to be rendered is in the target adjustment state.
[0116] Specifically, the initial adjustment state of the fabric to be rendered can be understood as the state of the fabric to be rendered before the rendering adjustment request is generated, for example, the state of the elastic fabric before the user adjusts it. The target adjustment state of the fabric to be rendered can be understood as the state of the fabric to be rendered corresponding to the rendering adjustment request, for example, when rendering the elastic fabric adjusted by the user, the state of the fabric to be rendered after the user adjusts it is the target state.
[0117] As shown in Figure 3, Figure 3 is a schematic diagram of a fabric edge rendering result provided by an embodiment of the present specification. In Figure 3, the rendering result on the left is the fabric rendering result before the user adjusts it, and the rendering result on the right is the fabric rendering result after the user adjusts it. It can be seen that the user uses a sliding operation through the interactive interface or controller to generate a rendering adjustment request, so that the edge of the stockings is displaced downward by the target distance.
[0118] By re-rendering the existing fabric through rendering adjustment requests, users can generate rendering adjustment requests through interactive actions in the interactive interface or controller to adjust the rendering effect and the degree of donning and doffing of elastic materials in real time. For example, through sliders, buttons, or gestures, users can control the position of the fabric to achieve a personalized rendering effect and wearing experience.
[0119] Furthermore, rendering the cloth to be rendered according to the initial adjustment map data and the target adjustment map data includes:
[0120] determining an adjustment stretching degree corresponding to the to-be-rendered cloth based on the initial adjustment map data and the target adjustment map data, and determining first adjustment rendering information corresponding to the to-be-rendered cloth according to the adjustment stretching degree;
[0121] Determining edge information corresponding to the to-be-rendered cloth based on the target adjustment map data, and determining second adjustment rendering information corresponding to the to-be-rendered cloth according to the edge information;
[0122] The cloth to be rendered is rendered according to the first adjustment rendering information and the second adjustment rendering information.
[0123] In actual applications, the adjusted stretching degree is the stretching degree when the cloth to be rendered is in the target adjustment state, the first adjusted rendering information is the rendering information determined by adjusting the stretching degree, the edge information is the information of the edge of the cloth to be rendered, and the second adjusted rendering information is the rendering information corresponding to the edge of the cloth to be rendered.
[0124] Specifically, the first adjusted rendering information can be understood as the rendering parameters of the cloth to be rendered in the target adjusted state, determined based on the stretch level, such as transparency, diffuse reflection, specular reflection, and ambient light reflection properties. The second adjusted rendering information can be understood as the rendering parameters of the edge of the cloth to be rendered in the target adjusted state, such as edge transition width and edge indentation depth.
[0125] As shown in Figure 3, the rendering result on the left is the cloth rendering result before user adjustment, and the rendering result on the right is the cloth rendering result after user adjustment. It can be seen that there is a gradual transition effect at the edge of the rendered structure on the right and an indentation effect of contact with the target model.
[0126] The first rendering information can be used to simulate the thickness changes of the stretch material in real situations when the user puts on and takes off the material. The second rendering information can be used to achieve the transition effect of the elastic fabric at the edge, thereby improving the realism of the rendering results and enhancing the user experience.
[0127] Furthermore, determining second adjusted rendering information corresponding to the cloth to be rendered according to the edge information includes:
[0128] determining an edge indentation depth based on the edge information;
[0129] Based on the preset edge transition information and the edge indentation depth, second adjusted rendering information corresponding to the cloth to be rendered is determined.
[0130] In practical applications, the edge indentation depth is a rendering parameter for generating an indentation when the edge of the cloth to be rendered contacts the target model, and the edge transition information is a rendering parameter for the gradual change of the edge of the cloth to be rendered.
[0131] Specifically, considering that in reality, when elastic fabric is worn on a soft object such as the human body, indentations will be produced at the edges, rendering the indentations at the edges of the elastic fabric can effectively improve the realism of the rendering results. However, in reality, different indentations will appear depending on the pressure at the edge of the elastic fabric and the hardness of the attached object. Therefore, to improve the realism of the rendering results and simulate the effects that would occur in reality, the hardness of the attached object can be determined through edge information. Then, based on the above-calculated stretch degree and the preset material information of the material to be rendered, the pressure of the material to be rendered at the edge is calculated. Then, the indentation depth at the edge is calculated based on the calculated pressure and the hardness of the attached object. In addition, to reduce the resources required for calculation, different indentation depth parameters can be set for different areas of the attached object, and the indentation parameters at the current height of the fabric to be rendered can be determined based on the edge information. Finally, the indentation depth at the edge is obtained based on the indentation parameters. It should be added that, also considering the realism of the rendering results, rendering transition information of a preset width can be added to the edge of the fabric to be rendered to achieve a transition effect of the elastic fabric at the edge.
[0132] By applying the solution provided by the above embodiment, the rendering result can be automatically adjusted according to the degree of stretch of the material, so as to present different visual effects according to the degree of stretch of the material, thereby making the rendering visual effect for the elastic fabric more realistic and improving the user experience. In addition, this solution can also change the degree of stretch in real time according to the user's operation, and then adjust the rendering result according to the real-time change in the degree of stretch. It can simulate the thickness change of the stretched material in real conditions when the user puts on and takes off the fabric. In addition, the user can also select the decorative map of the fabric to be rendered according to personal preferences, and the rendering effect of the decorative map can also be adjusted in real time according to the degree of stretch of the material, thereby achieving different visual effects according to the degree of putting on and taking off the clothing, further improving the user experience.
[0133] The following further describes the virtual object rendering method provided in this specification, using the application of the virtual object rendering method provided in this specification to the rendering of stockings as an example, in conjunction with Figure 4. Figure 4 shows a flowchart of the processing process of a stockings material rendering method provided in one embodiment of this specification, which specifically includes the following steps.
[0134] Step 402: Receive a stocking rendering request generated by the user adjusting the stocking position.
[0135] Step 404: Determine the stocking texture data before user adjustment as the initial texture data, and obtain initial vertex positions A1, B1, C1, and D1 of mesh vertices A, B, C, and D in the initial texture data.
[0136] Step 406: Determine the stockings texture data adjusted by the user as the target texture data, and obtain the target vertex positions A2, B2, C2, and D2 of each vertex of the mesh in the target texture data.
[0137] Step 408: Since the distance between position A2 and the origin is smaller than the distance between position A1 and the origin, the displacement information of point A is considered to be reduced; since the distance between position C2 and the origin is larger than the distance between position C1 and the origin, the displacement information of point C is considered to be increased; similarly, the displacement information of point B is obtained to be reduced, and the displacement information of point D is obtained to be increased.
[0138] Step 410: Set point A and point B to belong to the same area α to be rendered, and point C and point D to belong to the same area β to be rendered.
[0139] Step 412: Since the displacement information of points A and B are both reduced, the stretching degree of the area to be rendered α is reduced; since the displacement information of points C and D are both increased, the stretching degree of the area to be rendered β is increased.
[0140] Step 414: Since the stretching degree of the to-be-rendered region α is decreasing, it is determined that the transparency of the to-be-rendered region α is decreasing; since the stretching degree of the to-be-rendered region β is increasing, it is determined that the transparency of the to-be-rendered region β is increasing.
[0141] Step 416: Determine the edge position E of the stocking material based on the target texture data.
[0142] Step 418: Generate a transition color γ' of preset width and preset color at the determined edge position E according to preset transition parameters.
[0143] Step 420: Generate an indentation γ`` of a preset style at the determined edge position E according to preset indentation parameters.
[0144] Step 422: Combine the transition color γ` and the indentation γ`` to generate a transition mask γ.
[0145] Step 424: Render the stocking material according to the transparency corresponding to the rendering areas α and β and the transition mask γ.
[0146] By applying the solution provided by the above embodiment, the rendering results can be automatically adjusted according to the stretchability of the stockings, thereby presenting different visual effects based on the stretchability of the stockings. This can make the rendering visual effects of the stockings more realistic and improve the user experience. In addition, this solution can also change the stretchability in real time according to user operation, and then adjust the rendering results based on the real-time change in stretchability. This can simulate the change in thickness of the stretch material in real-world conditions when the user puts on and takes off the stockings, further improving the user experience.
[0147] Corresponding to the above method embodiment, this specification also provides an embodiment of a virtual object rendering device. FIG5 shows a schematic diagram of the structure of a virtual object rendering device provided by one embodiment of this specification. As shown in FIG5, the device includes:
[0148] The receiving module 502 is configured to receive a rendering request for a cloth to be rendered;
[0149] The response module 504 is configured to obtain the initial mesh data and the target mesh data of the cloth to be rendered in response to the rendering request;
[0150] A determination module 506 is configured to determine a stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data;
[0151] The rendering module 508 is configured to determine rendering information corresponding to the cloth to be rendered according to the stretching degree, and render the cloth to be rendered according to the rendering information.
[0152] Optionally, the response module 504 is further configured to:
[0153] Obtaining initial texture data and target texture data of the cloth to be rendered;
[0154] Generate initial mesh data of the cloth to be rendered according to the initial texture data;
[0155] Generate target mesh data of the cloth to be rendered according to the target map data.
[0156] Optionally, the rendering request carries target texture data;
[0157] The response module 504 is further configured to:
[0158] Determining that the texture data before receiving the rendering request is the initial texture data;
[0159] Parse the rendering request and obtain target texture data.
[0160] Optionally, the mesh data includes at least one vertex data, and each vertex data includes vertex identification and vertex position information;
[0161] Optionally, the determining module 506 is further configured to:
[0162] Determine initial mesh vertex position information of each vertex identifier in the initial mesh data, and determine target mesh vertex position information of each vertex identifier in the target mesh data;
[0163] The stretching degree of the cloth to be rendered is determined according to the initial mesh vertex position information and the target mesh vertex position information corresponding to each vertex identifier.
[0164] Optionally, the determining module 506 is further configured to:
[0165] Determine a target vertex identifier, and initial mesh vertex position information and target mesh vertex position information corresponding to the target vertex identifier, wherein the target vertex identifier is any one of the vertex identifiers;
[0166] Determining displacement information corresponding to the target vertex identifier based on initial mesh vertex position information and target mesh vertex position information corresponding to the target vertex identifier;
[0167] The stretching degree of the cloth to be rendered is determined according to the displacement information corresponding to each vertex identifier.
[0168] Optionally, the cloth to be rendered includes at least one area to be rendered.
[0169] The rendering module 508 is further configured to:
[0170] Determining a target to-rendering region stretching degree corresponding to a target to-rendering region, wherein the target to-rendering region is any one of the to-rendering regions;
[0171] Rendering information corresponding to the cloth to be rendered is determined according to the stretching degree of the to-be-rendered area corresponding to each to-be-rendered area.
[0172] Optionally, the rendering information includes transparency;
[0173] The rendering module 508 is further configured to:
[0174] When the stretching degree increases, determining that the transparency of the area corresponding to the target area to be rendered increases;
[0175] When the stretching degree is reduced, determining that the transparency of the area corresponding to the target area to be rendered is reduced;
[0176] The transparency of the cloth to be rendered is determined according to the regional transparency corresponding to each to-be-rendered area.
[0177] Optionally, the rendering request carries decoration map data;
[0178] The virtual object rendering device further includes a decoration rendering module configured to:
[0179] Determining decoration rendering information corresponding to the decoration map data according to the stretching degree;
[0180] The cloth to be rendered is rendered according to the decoration rendering information and rendering information corresponding to the cloth to be rendered.
[0181] Optionally, the virtual object rendering device further includes a decoration generation instruction receiving module configured to:
[0182] A decoration generation instruction is received, and the decoration map data is generated according to the decoration generation instruction.
[0183] Optionally, the virtual object rendering device further includes an edge cloth rendering module configured to:
[0184] receiving a rendering adjustment request for a cloth to be rendered, wherein the rendering adjustment request includes initial adjustment map data and target adjustment map data;
[0185] The cloth to be rendered is rendered according to the initial adjustment map data and the target adjustment map data.
[0186] Optionally, the edge cloth rendering module is further configured as follows:
[0187] determining an adjustment stretching degree corresponding to the to-be-rendered cloth based on the initial adjustment map data and the target adjustment map data, and determining first adjustment rendering information corresponding to the to-be-rendered cloth according to the adjustment stretching degree;
[0188] Determining edge information corresponding to the to-be-rendered cloth based on the target adjustment map data, and determining second adjustment rendering information corresponding to the to-be-rendered cloth according to the edge information;
[0189] The cloth to be rendered is rendered according to the first adjustment rendering information and the second adjustment rendering information.
[0190] Optionally, the edge cloth rendering module is further configured as follows:
[0191] determining an edge indentation depth based on the edge information;
[0192] Based on the preset edge transition information and the edge indentation depth, second adjusted rendering information corresponding to the cloth to be rendered is determined.
[0193] The above is a schematic diagram of a virtual object rendering device according to this embodiment. It should be noted that the technical solution of this virtual object rendering device and the technical solution of the virtual object rendering method described above are based on the same concept. For details not described in detail in the technical solution of the virtual object rendering device, please refer to the description of the technical solution of the virtual object rendering method described above.
[0194] By applying the solution provided by the above embodiment, the rendering result can be automatically adjusted according to the degree of stretch of the material, so as to present different visual effects according to the degree of stretch of the material, thereby making the rendering visual effect for the elastic fabric more realistic and improving the user experience. In addition, this solution can also change the degree of stretch in real time according to the user's operation, and then adjust the rendering result according to the real-time change in the degree of stretch. It can simulate the thickness change of the stretched material in real conditions when the user puts on and takes off the fabric. In addition, the user can also select the decorative map of the fabric to be rendered according to personal preferences, and the rendering effect of the decorative map can also be adjusted in real time according to the degree of stretch of the material, thereby achieving different visual effects according to the degree of putting on and taking off the clothing, further improving the user experience.
[0195] Figure 6 shows a block diagram of a computing device 600 according to one embodiment of this specification. Components of the computing device 600 include, but are not limited to, a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and a database 650 is used to store data.
[0196] The computing device 600 also includes an access device 640 that enables the computing device 600 to communicate via one or more networks 660. Examples of such networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) whether wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, or a near field communication (NFC) interface.
[0197] In one embodiment of the present disclosure, the aforementioned components of computing device 600 and other components not shown in FIG6 may also be connected to each other, for example, via a bus. It should be understood that the block diagram of the computing device structure shown in FIG6 is for illustrative purposes only and does not limit the scope of this disclosure. Those skilled in the art may add or replace other components as needed.
[0198] Computing device 600 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, personal digital assistant, laptop computer, notebook computer, netbook computer, etc.), a mobile phone (e.g., a smartphone), a wearable computing device (e.g., a smartwatch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or personal computer (PC). Computing device 600 may also be a mobile or stationary server.
[0199] The processor 620 is configured to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the above-mentioned method for rendering a virtual object.
[0200] The above is a schematic diagram of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the aforementioned virtual object rendering method are based on the same concept. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the aforementioned virtual object rendering method.
[0201] An embodiment of this specification further provides an augmented reality (AR) device or a virtual reality (VR) device, including:
[0202] memory, processor, and display;
[0203] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the following steps are implemented:
[0204] Receive a rendering request for the cloth to be rendered;
[0205] In response to the rendering request, obtaining initial mesh data and target mesh data of the cloth to be rendered;
[0206] Determining a stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data;
[0207] Determining rendering information corresponding to the to-be-rendered cloth according to the stretching degree, and rendering the to-be-rendered cloth according to the rendering information;
[0208] The cloth to be rendered is displayed through a display of the augmented reality (AR) device or the virtual reality (VR) device.
[0209] The above is a schematic diagram of an augmented reality (AR) device or virtual reality (VR) device according to this embodiment. It should be noted that the technical solution of this augmented reality (AR) device or virtual reality (VR) device shares the same concept as the technical solution of the aforementioned virtual object rendering method. For details not described in detail in the technical solution of the augmented reality (AR) device or virtual reality (VR) device, please refer to the description of the technical solution of the aforementioned virtual object rendering method.
[0210] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned method for rendering a virtual object.
[0211] The above is a schematic diagram of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the virtual object rendering method described above are based on the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the virtual object rendering method described above.
[0212] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned method for rendering a virtual object.
[0213] The above is an illustrative embodiment of a computer program. It should be noted that the technical solution of this computer program and the technical solution of the virtual object rendering method described above are based on the same concept. For details not described in detail in the technical solution of the computer program, please refer to the description of the technical solution of the virtual object rendering method described above.
[0214] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0215] The computer instructions include computer program code, which may be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.
[0216] It should be noted that for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.
[0217] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0218] The preferred embodiments disclosed above are intended only to help illustrate this specification. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and variations can be made based on the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that those skilled in the art can better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.
Claims
1. A rendering method for virtual objects, characterized in that, including: Receiving a rendering request for the cloth to be rendered; In response to the rendering request, obtaining the initial mesh data and the target mesh data of the cloth to be rendered; Determining the stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data; Determining the rendering information corresponding to the cloth to be rendered according to the stretching degree, and rendering the cloth to be rendered according to the rendering information.
2. The method according to claim 1, characterized in that, Obtaining the initial mesh data and the target mesh data of the cloth to be rendered includes: Obtaining the initial texture data and the target texture data of the cloth to be rendered; Generating the initial mesh data of the cloth to be rendered according to the initial texture data; Generating the target mesh data of the cloth to be rendered according to the target texture data.
3. The method according to claim 2, characterized in that, The target texture data is carried in the rendering request; Obtaining the initial texture data and the target texture data of the cloth to be rendered includes: Determining the texture data before receiving the rendering request as the initial texture data; Parsing the rendering request to obtain the target texture data.
4. The method according to claim 1, characterized in that, The mesh data includes at least one vertex data, and each vertex data includes a vertex identifier and vertex position information; Determining the stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data includes: Determining the initial mesh vertex position information of each vertex identifier in the initial mesh data, and determining the target mesh vertex position information of each vertex identifier in the target mesh data; Determining the stretching degree of the cloth to be rendered according to the initial mesh vertex position information and the target mesh vertex position information corresponding to each vertex identifier.
5. The method according to claim 4, characterized in that, Determining the stretching degree of the cloth to be rendered according to the initial mesh vertex position information and the target mesh vertex position information corresponding to each vertex identifier includes: Determining a target vertex identifier, and the initial mesh vertex position information and the target mesh vertex position information corresponding to the target vertex identifier, where the target vertex identifier is any one of the vertex identifiers; Determining the displacement information corresponding to the target vertex identifier according to the initial mesh vertex position information and the target mesh vertex position information corresponding to the target vertex identifier; Determining the stretching degree of the cloth to be rendered according to the displacement information corresponding to each vertex identifier.
6. The method according to claim 1, characterized in that, The cloth to be rendered includes at least one area to be rendered, Determining the rendering information corresponding to the cloth to be rendered according to the stretching degree includes: Determining the stretching degree of the target area to be rendered corresponding to the target area to be rendered, where the target area to be rendered is any one of the areas to be rendered; Determining the rendering information corresponding to the cloth to be rendered according to the stretching degree of each area to be rendered.
7. The method according to claim 6, characterized in that, The rendering information includes transparency; Determining the rendering information corresponding to the cloth to be rendered according to the stretching degree of each area to be rendered includes: When the stretching degree is increasing, determining that the area transparency corresponding to the target area to be rendered increases; When the stretching degree is decreasing, determining that the area transparency corresponding to the target area to be rendered decreases; Determining the transparency corresponding to the cloth to be rendered according to the area transparency corresponding to each area to be rendered.
8. The method according to claim 1, characterized in that, After rendering the cloth to be rendered according to the rendering information, the method further includes: Receiving a rendering adjustment request for the cloth to be rendered, where the rendering adjustment request includes initial adjustment texture data and target adjustment texture data; Rendering the cloth to be rendered according to the initial adjustment texture data and the target adjustment texture data.
9. The method according to claim 8, wherein, Rendering the cloth to be rendered according to the initial adjustment texture data and the target adjustment texture data includes: Determining the adjustment stretching degree corresponding to the cloth to be rendered based on the initial adjustment texture data and the target adjustment texture data, and determining the first adjustment rendering information corresponding to the cloth to be rendered according to the adjustment stretching degree; Determining the edge information corresponding to the cloth to be rendered based on the target adjustment texture data, and determining the second adjustment rendering information corresponding to the cloth to be rendered according to the edge information; Rendering the cloth to be rendered according to the first adjustment rendering information and the second adjustment rendering information.
10. The method according to claim 9, wherein, Determining the second adjustment rendering information corresponding to the cloth to be rendered according to the edge information includes: Determining the edge indentation depth based on the edge information; Determining the second adjustment rendering information corresponding to the cloth to be rendered based on the preset edge transition information and the edge indentation depth.
11. The method according to claim 1, wherein, The rendering request carries decoration texture data; Before rendering the cloth to be rendered according to the rendering information, the method further includes: Determining the decoration rendering information corresponding to the decoration texture data according to the stretching degree; Rendering the cloth to be rendered according to the decoration rendering information and the rendering information corresponding to the cloth to be rendered.
12. The method according to claim 11, wherein, Before determining the decoration rendering information corresponding to the decoration texture data according to the stretching degree, the method further includes: Receiving a decoration generation instruction, and generating the decoration texture data according to the decoration generation instruction.
13. A rendering device for virtual objects, wherein, Includes: A receiving module, configured to receive a rendering request for the cloth to be rendered; A response module, configured to obtain the initial mesh data and the target mesh data of the cloth to be rendered in response to the rendering request; A determining module, configured to determine the stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data; A rendering module, configured to determine the rendering information corresponding to the cloth to be rendered according to the stretching degree, and render the cloth to be rendered according to the rendering information.
14. An augmented reality (AR) device or a virtual reality (VR) device, wherein, Includes: A memory, a processor, and a display; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the following steps are implemented: Receiving a rendering request for the cloth to be rendered; Obtaining the initial mesh data and the target mesh data of the cloth to be rendered in response to the rendering request; Determining the stretching degree of the cloth to be rendered according to the target mesh data and the initial mesh data; Determining the rendering information corresponding to the cloth to be rendered according to the stretching degree, and rendering the cloth to be rendered according to the rendering information; Displaying the cloth to be rendered through the display of the augmented reality (AR) device or the virtual reality (VR) device.
15. A computing device, wherein, Includes: A memory and a processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method according to any one of claims 1 to 12 are implemented.
16. A computer-readable storage medium, wherein, It stores computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
Cloth animation generation method and device and computer readable storage medium
CN111028320A
Model rendering method and device, electronic equipment and storage medium
CN111540024A
Cloth simulation method and system for anisotropic materials based on spring mass point model, electronic equipment and storage medium
CN113191018A
Rendering motion of objects in virtual environments
WO2022217314A1
Cited By
Road pavement simulation method, device, equipment, medium and program product
CN121327964A