Costume processing methods, devices, electronic devices and storage media for character models

By using a method of synchronously modifying a baseline body model and virtual costumes during the game production process, the problem of low efficiency and poor effect in matching costumes for characters of different body types has been solved, achieving efficient and high-quality costume matching.

CN119587984BActive Publication Date: 2025-10-28NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311162842.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-08
Publication Date
2025-10-28
Estimated Expiration
2043-09-08

AI Technical Summary

Technical Problem

The current game production process is inefficient in matching costumes to characters of different body types, and the matching results are subjective, which can easily lead to undesirable placement of certain items.

Method used

By obtaining a baseline body model and the corresponding virtual costume, setting it on the baseline body model, and simultaneously modifying the baseline body model and virtual costume when the body parameters are modified, adaptive matching between the costume and each body type character is achieved.

Benefits of technology

It improves the efficiency of matching costumes for characters of different body types, ensures the overall matching effect is excellent, and reduces the need for manual adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119587984B_ABST
    Figure CN119587984B_ABST
Patent Text Reader

Abstract

This disclosure provides a method, apparatus, electronic device, and storage medium for processing costumes on character models. By setting a first virtual costume corresponding to a baseline body shape model of the character model onto the baseline body shape model, a first dressed character model corresponding to the baseline body shape model is obtained. When modifying the body shape parameters of the first dressed character model, the baseline body shape model and the first virtual costume are modified according to the body shape parameter modification operation, and finally a second dressed character model is obtained. This can improve the efficiency of matching costumes for characters of different body shapes in the game production process and improve the matching effect between costumes and characters of different body shapes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of game technology, and in particular to a method, apparatus, electronic device, and storage medium for processing costumes of character models. Background Technology

[0002] Currently, games may have characters of different body types. Matching suitable costumes to characters of different body types is an important part of the game production process. This process often requires that a set of costume resources be reused on game characters of different body types. In order to meet this requirement, the current game production process usually requires manually adjusting the costumes for each body type to match the nude models of different body types. After each costume is made, it needs to be manually matched for each body type. This operation method is relatively inefficient. Moreover, since the matching between costumes and characters of different body types relies on human visual observation, the matching results obtained by this operation method are subjective. Sometimes, there will be cases where the costume matching effect is not good in certain parts of the character. Summary of the Invention

[0003] This disclosure provides a method, apparatus, electronic device, and storage medium for processing costumes on character models, so as to improve the efficiency of matching costumes to characters of different body types in the game production process and improve the matching effect between costumes and characters of different body types.

[0004] In a first aspect, embodiments of this disclosure provide a method for processing costumes on a character model, comprising: obtaining a baseline body shape base model of the character model and a first virtual costume corresponding to the baseline body shape base model; wherein the baseline body shape base model is selected from base models of all body types made based on the bare models, tangent models, and virtual costume models of each body type of the character model according to body shape parameters representing at least one body shape dimension, and each base model is a lattice model; setting the first virtual costume on the baseline body shape base model to obtain a first dressed character model corresponding to the baseline body shape base model; wherein the tangent position and joint position of the corresponding clothing part on the baseline body shape base model are adapted to the corresponding position on the first virtual costume; in response to a body shape parameter modification operation for the first dressed character model, modifying the baseline body shape base model and the first virtual costume according to the body shape parameter modification operation to obtain a second dressed character model; wherein the second dressed character model includes a modified second body shape base model and a second virtual costume, and the tangent position and joint position of the corresponding clothing part on the second body shape base model are adapted to the corresponding position on the second virtual costume.

[0005] Secondly, embodiments of this disclosure provide a costume processing apparatus for a character model, comprising: an acquisition module, configured to acquire a baseline body shape base model of the character model and a first virtual costume corresponding to the baseline body shape base model; wherein the baseline body shape base model is selected from base models of all body types created based on the bare models, tangent models, and virtual costume models of each body type of the character model according to body type parameters characterizing at least one body type dimension, and each base model is a lattice model; and a setting module, configured to set the first virtual costume on the baseline body shape base model to obtain a first dressed character model corresponding to the baseline body shape base model. The reference body model has tangent and joint positions corresponding to the clothing parts on its base model that are adapted to the corresponding positions on the first virtual costume and the reference body model. A modification module is used to respond to a body parameter modification operation on the first costume character model, modifying the reference body model and the first virtual costume according to the body parameter modification operation to obtain a second costume character model. The second costume character model includes the modified second body model and the second virtual costume, with the tangent and joint positions corresponding to the clothing parts on the second body model adapted to the corresponding positions on the second virtual costume.

[0006] Thirdly, embodiments of this disclosure provide an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described in the first aspect above.

[0007] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method described in the first aspect above.

[0008] The embodiments disclosed herein bring the following beneficial effects:

[0009] This disclosure provides a method, apparatus, electronic device, and storage medium for processing costumes on character models. By setting a first virtual costume corresponding to a baseline body type model of the character model onto the baseline body type model, a first dressed character model corresponding to the baseline body type model is obtained. When modifying the body type parameters of the first dressed character model, the baseline body type model and the first virtual costume are modified according to the body type parameter modification operation, ultimately resulting in a second dressed character model. This method enables the synchronous modification of the baseline body type model and the first virtual costume by setting the first virtual costume onto the baseline body type model, thereby achieving adaptive matching between costumes and characters of different body types. Compared to the existing game production process of manually adjusting costumes for each body type to match the bare models of different body types, this method improves the efficiency of matching costumes for characters of different body types. Furthermore, since the baseline body type model and the first virtual costume are modified as a whole, a better overall matching result can be obtained.

[0010] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0012] Figure 1 A schematic diagram illustrating an application scenario of the fashion processing method for character models provided in this embodiment of the disclosure;

[0013] Figure 2 A flowchart illustrating a method for fashion processing of a character model provided in an embodiment of this disclosure;

[0014] Figure 3 Examples of baseline body molds and other body molds in embodiments of this disclosure;

[0015] Figure 4 This is an example diagram of the dressed character model corresponding to the base model "L" in this embodiment of the disclosure;

[0016] Figure 5 This is one example image of the body shape parameter page in an embodiment of this disclosure;

[0017] Figure 6 This is another example image of the body shape parameter page in an embodiment of this disclosure;

[0018] Figure 7 This is an example diagram of the dressed character model corresponding to the base model "D" in this embodiment of the disclosure;

[0019] Figure 8 This is a comparison example of the dressed character model and the corresponding naked model in an embodiment of this disclosure;

[0020] Figure 9 A schematic diagram of the structure of a costume processing device for a character model provided in an embodiment of this disclosure;

[0021] Figure 10 A structural schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0023] The terms “comprising” and “having”, and any variations thereof, used in the embodiments of this disclosure are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or devices.

[0024] Currently, games may feature characters of different body types. Matching suitable costumes to each body type is a crucial part of the game development process. This process often requires reusing a single costume resource across different body types. To meet this need, the current game development process typically involves manually adjusting costumes for each body type to match the character's base model. After each costume is created, manual matching is performed for each body type. For example, a costume copy is first roughly matched to each body type, and then more precise matching is achieved by dragging points or adjusting grids to manually match details in specific areas. This method requires manual costume matching even when the base model has few detailed features, resulting in a large workload and low efficiency. Furthermore, since the matching between costumes and character body types relies on visual observation, the matching results are subjective, sometimes leading to poor matching in specific areas of the character.

[0025] Based on this, the present disclosure provides a method for processing costumes for character models. This method can improve the efficiency of matching costumes for characters of different body types in the game production process and improve the matching effect between costumes and characters of different body types.

[0026] In one embodiment of this disclosure, the costume processing method for character models can run on a local terminal device or a server. When the costume processing method for character models runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0027] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of character model costume processing methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses game screen data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0028] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.

[0029] In one possible implementation, this disclosure provides a fashion processing method for a character model, which provides a graphical user interface through a terminal device. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system.

[0030] For example, such as Figure 1 As shown, Figure 1This diagram illustrates an application scenario of the fashion processing method for character models provided in this embodiment. The application scenario may include a touch terminal (e.g., mobile phone 102) and a server 101. The touch terminal can communicate with the server 101 via a wired or wireless network. The touch terminal runs a virtual desktop, through which it can interact with the server 101 to edit content on the server 101.

[0031] Figure 2 This is a flowchart illustrating a method for processing costumes on a character model, provided in an embodiment of this disclosure. This method can be applied to a terminal device capable of displaying a graphical user interface. It can be used to accurately match the same costume resource to characters of different body types, thereby reducing the amount of costume resources required to be produced. Figure 2 As shown, the method may include:

[0032] Step S202: Obtain the baseline body model of the character model and the first virtual costume corresponding to the baseline body model.

[0033] Both the baseline body model and the first virtual costume are pre-made. The first virtual costume can be a virtual costume that adorns one or more clothing parts of the baseline body model. It should be noted that a baseline model (each baseline model is a lattice model) for each body type needs to be pre-made based on the bare model, tangent model, and virtual costume model of each body type of the character model. The baseline body model is then selected from all the baseline models of the created body types according to the body type parameters that represent at least one body type dimension. This avoids poor matching results (such as unnecessary distortion) in local positions when matching the baseline body model with different types of virtual costumes. Body shape dimensions can include height, weight, etc., without limitation; correspondingly, when creating the base model, the body shape parameters configured for each body shape can be of multiple types, and different types of body shape parameters can be used to represent different body shape dimensions; when selecting the baseline body shape base model, the maximum, minimum, and average values ​​of the body shape parameters of all body shapes can be statistically calculated under the same body shape dimension, so that the base model whose body shape parameter size is relatively close to the corresponding average value under at least one specified body shape dimension (such as satisfying the custom condition that the absolute value of the difference between the body shape parameter and the corresponding average value is less than a preset threshold) is selected as the baseline body shape base model.

[0034] For example, Figure 3 This shows the base model corresponding to each of the five body types in the game, and how it was created. Figure 3After using the leftmost base model as the baseline body type, base models for other body types can be obtained by deforming the positions on the baseline body type base model that fit the corresponding virtual fashion model. In addition to considering the tangent models and human joints of the corresponding body type's nude model for each type of virtual fashion, the creation of the base model usually also requires consideration of the reasonable relative positions of the virtual fashion items within a set, and whether the topology of the base model matches the structural lines of the character model. Specific considerations can be customized according to the actual project requirements and are not limited in this regard.

[0035] Step S204: Set the first virtual costume on the baseline body model to obtain the first dressed character model corresponding to the baseline body model.

[0036] Among them, the tangent positions and joint positions of the corresponding clothing parts (such as head, neck, hands, torso, etc.) on the base body model are adapted to the corresponding positions on the base body model.

[0037] For example, in this step, a virtual fashion model of a hat type can be set at the tangent position and joint position of the head of the baseline body model to obtain the character model after dressing.

[0038] Step S206: In response to the body shape parameter modification operation for the first dressed character model, modify the base body shape model and the first virtual costume according to the body shape parameter modification operation to obtain the second dressed character model.

[0039] The second costumed character model may include a modified second body model and a second virtual costume. The tangent and joint positions of the corresponding clothing parts on the second body model are adapted to the corresponding positions on the second virtual costume.

[0040] For example, in this step, after setting the corresponding virtual fashion models of each type to the tangent and joint positions of each clothing part of the baseline body model, a binding relationship between the virtual fashion model and the clothing part is established. That is, when the first key position of a certain clothing part of the baseline body model deforms, the second key position on the virtual fashion model of that clothing part that matches the first key position of that clothing part will also deform to the same extent.

[0041] This disclosure discloses a method for processing character models' fashion items. By setting a first virtual fashion item corresponding to a baseline body type model of the character model onto the baseline body type model, a first dressed character model corresponding to the baseline body type model is obtained. When modifying the body type parameters of the first dressed character model, the baseline body type model and the first virtual fashion item are modified according to the body type parameter modification operation, ultimately resulting in a second dressed character model. This method enables the synchronous modification of the baseline body type model and the first virtual fashion item by setting the first virtual fashion item onto the baseline body type model, thereby achieving adaptive matching between fashion items and characters of different body types. Compared to the existing game production process of manually adjusting fashion items for each body type to match the bare models of different body types, this method improves the efficiency of matching fashion items for each body type character. Furthermore, since the baseline body type model and the first virtual fashion item are modified as a whole, a better overall matching result can be obtained.

[0042] As one possible implementation, step S206 above, in response to the body shape parameter modification operation for the first dressed character model, modifying the baseline body shape model and the first virtual costume according to the body shape parameter modification operation may include:

[0043] (11) Provide a page for the body shape parameters of the first dressed character model.

[0044] The body shape parameter page can include the deformation range corresponding to the body shape parameter for each body shape type. The deformation range is used to characterize the setting range of the body shape parameter value. The deformation range corresponding to the body shape parameter for each body shape type represents the range of changes in the body shape of the first dressed character model in the corresponding aspect.

[0045] For example, the content displayed on the body shape parameter page may include input controls, selection controls, drop-down menus, etc., corresponding to the body shape parameters of each body shape type, without limitation.

[0046] (12) In response to the modification operation of the body shape parameters of the target body shape type on the body shape parameter page, deform the base body shape model and the first virtual fashion according to the body shape parameters corresponding to the modified target body shape type.

[0047] Among them, the body shape parameters of the target body shape type are adapted to the second body shape base model and the second virtual fashion after deformation.

[0048] For example, the operation method of the above modification depends on the display content of the body shape parameter page. For instance, a body shape parameter page is provided through a terminal device. The display content of the body shape parameter page includes input boxes corresponding to the body shape parameters of each body shape type. When a user needs to modify the body shape parameters of a specified body shape type, the user can find the corresponding input box on the body shape parameter page and modify the existing value in the input box. After responding to the user's operation, the terminal device causes the baseline body shape model and the first virtual fashion outfit to deform simultaneously. The degree of deformation depends on the modified value in the input box.

[0049] By providing a body shape parameter page to modify the corresponding body shape parameters, users can easily modify the body shape parameters on the body shape parameter page to obtain matching results between fashion and different body shapes, thus improving the efficiency of fashion matching body shapes.

[0050] As one possible implementation, the body shape parameters corresponding to the modified target body shape type may include the first key position of the base body shape model and the second key position of the first virtual fashion item, which respectively correspond to the fusion deformation parameters of the second body shape model. The first key position of the base body shape model may refer to the tangent position and joint position of the clothing part on the base body shape model, and the second key position of the first virtual fashion item may refer to the position on the first virtual fashion item that matches the tangent position and joint position of the corresponding clothing part on the base body shape model. Based on this, the step of deforming the base body shape model and the first virtual fashion item according to the body shape parameters corresponding to the modified target body shape type may include: applying the fusion deformation parameters of the first key position and the second key position corresponding to the second body shape model to perform fusion deformation on the base body shape model and the first virtual fashion item.

[0051] The aforementioned fusion deformation parameters can take values ​​within a preset range from the first deformation boundary parameter value to the second deformation boundary parameter value, where the first and second deformation boundary parameter values ​​are the lower and upper limits of the preset range, respectively. For example, the fusion deformation parameters can typically be set to a minimum of 0 and a maximum of 1. After pre-setting the fusion deformation parameters for a certain clothing part on the baseline body model and the part of the fashion model that matches that clothing part, respectively, corresponding to the target body type (i.e., other body types that need to match the fashion), when the user modifies the body type parameters of the target body type on the body type parameter page provided by the terminal device, the terminal device, in response to the modification operation, will cause the baseline body model and the virtual fashion of that clothing part to undergo fusion deformation simultaneously according to the values ​​of these two fusion deformation parameters.

[0052] By adopting the above-mentioned operation method that facilitates the fusion deformation parameters, a convenient and feasible synchronous deformation mechanism can be provided for matching fashion with various body types, thereby improving the operability of matching fashion with various body types.

[0053] As one possible implementation method, the above-mentioned fashion processing method for character models may further include: obtaining nude models, tangent models, and virtual fashion models for each body type of the character model; creating a base model for each body type based on the obtained nude models, tangent models, and virtual fashion models; and determining a baseline body type base model from the base models of all body types created.

[0054] For example, after creating various types of virtual fashion models, the nude models of each body type of the character model can be obtained, and the tangent model and human joints of each body type corresponding to the nude model can be counted from the existing data resources. Then, based on the statistical results, the tangent model and human joint data of the corresponding body type and the virtual fashion model of the corresponding body type can be obtained. Based on the obtained tangent model, human joint data and virtual fashion model, the bottom model wiring of the corresponding body type can be performed, thereby constructing a bottom model that fits each body type with the corresponding virtual fashion model. The bottom model that is relatively suitable for the body type can be used as the reference body type bottom model.

[0055] For ease of understanding, the method for fabricating the aforementioned baseline model mold is described below as an example. The method for fabricating the aforementioned baseline model mold mainly includes:

[0056] The first step is to obtain the nude models of each body type of the character.

[0057] Each nude model has its own human joint data (including human joint position information).

[0058] The second step is to obtain the tangent model corresponding to each body type's bare model.

[0059] The third step is to obtain the virtual fashion model corresponding to each body type of nude model.

[0060] In practical applications, since the body parameters of nude models of different body types are different, in order to ensure that the virtual fashion matches the body type accurately, it is necessary to select the corresponding virtual fashion model for each body type nude model. That is, the virtual fashion model corresponding to each body type for the same part is used to construct the base model of each body type.

[0061] The fourth step is to use the obtained nude models, tangent models, and virtual fashion models to create base models for each body type.

[0062] For each body type, a lattice model (composed of multiple lattice points and lattice lines between them) can be created based on the joint position information of the naked model of that body type and the tangent model of that body type. This lattice model is then used as the initial base model for that body type. Next, the virtual fashion model corresponding to that body type is placed on the initial base model at the positions corresponding to the tangent model and joints of the corresponding clothing parts. This determines whether there are any abnormal lattice points on the initial base model that are incompatible with the corresponding virtual fashion model, tangent model, and joints. For each abnormal lattice point on the initial base model of each body type, each abnormal lattice point can be used as a center point for calculation. The distance between the center point and other lattice points is calculated. Using the pre-established correspondence between the displacement of lattice points and the distance, the displacement of each center point and its surrounding lattice points is calculated. By causing each abnormal lattice point and its surrounding lattice points to shift according to the calculated displacement, the initial base mold of each body shape is fine-tuned. Since the fine-tuning is applied to lattice points, the deformation of the lattice model caused by the fine-tuning is relatively smooth. This avoids the problem of excessive local displacement of the base mold, which would cause excessive local position offset. After the initial base molds of all body shapes are fine-tuned, the base molds of each body shape are obtained.

[0063] The fifth step is to determine the baseline body shape base model from the base models of the various body shapes that have been made.

[0064] A relatively suitable body type can be selected from all body type models as the baseline body type model, thereby controlling the compatibility between the existing virtual fashion model and this baseline model to a certain level. For example Figure 3 In the production Figure 3 After identifying the base models for each of the five body types, the body shape parameters of these five base models in the dimensions of height and weight can be statistically analyzed to determine the body type. Figure 3 The leftmost base model is determined to be the base model whose body parameters are closest to the corresponding average values ​​in the two body shape dimensions of height and weight (i.e., the base model of a relatively moderate body shape), and this base model is selected as the benchmark body shape base model.

[0065] After creating the new virtual fashion model, the new virtual fashion model can be set on the baseline body model at the position corresponding to the tangent model of the corresponding clothing part and the human joint. Then, return to step five to fine-tune the baseline body model so that there are no abnormal lattice points on the base model after fine-tuning.

[0066] By using the above-described method for constructing a baseline model, the constructed baseline model can meet the design standards of the entire game production process, and can also match the animation lines of each joint of the character, which helps to improve the user's gaming experience.

[0067] As one possible implementation, setting the first virtual fashion item on the baseline body model in step S204 may include: based on the preset adaptation relationship between the second key position and the first key position, wrapping the first key position of the baseline body model with the second key position of the first virtual fashion item.

[0068] The adaptation relationship between the second key position and the first key position mentioned above can refer to the following: the first key position of each clothing part on the baseline body model has a corresponding second key position on the virtual fashion model that is adapted to it, and the deformation degree of the first key position of each clothing part and the corresponding second key position on the virtual fashion model that is adapted to that position is the same.

[0069] For example, after obtaining a virtual fashion model of a certain clothing part on a pre-made baseline body shape model, the relevant interface of 3D modeling software (such as Maya) can be called to make the second key position on the virtual fashion model corresponding to the first key position of the clothing part and the first key position of the clothing part on the baseline body shape model simultaneously undergo wrapping deformation, thereby realizing that the second key position on the virtual fashion model corresponding to the first key position of the clothing part wraps the first key position of the clothing part on the baseline body shape model.

[0070] As one possible implementation method, the above-mentioned fashion processing method for character models may further include: obtaining the second body type nude model corresponding to the second body type base model; comparing the second dressed character model and the second body type nude model, and determining whether there are any abnormal points on the second dressed character model that do not match the second body type nude model based on the comparison result.

[0071] For example, after obtaining the dressed model of the target body type character (i.e., the second dressed character model, including the modified base model and the virtual fashion model) by simultaneously modifying the baseline body type model and the corresponding virtual fashion model, the user can obtain the naked model of the target body type character through the terminal device and display it on the terminal device's screen. Then, the user can move the dressed model to the position displayed by the naked model through the terminal device for comparison to determine whether there are any abnormal points on the dressed model that do not match the naked model, so that the user can confirm the positional matching between the dressed model and the naked model and perform subsequent operations.

[0072] The above-mentioned method of comparing the second-clothed character model with the second-body-type nude model to determine whether there are any abnormal points on the second-clothed character model that do not match the second-body-type nude model provides a user confirmation step for matching fashion with each body type, which helps to ensure that the matching results of fashion with each body type meet the game design requirements.

[0073] As one possible implementation, the above-mentioned fashion processing method for character models may further include: in response to the existence of anomalies on the second dressed character model that do not match the second body type nude model, fine-tuning the anomalies so that the third dressed character model obtained after fine-tuning does not have any anomalies that do not match the second body type nude model.

[0074] For example, continuing from the previous example, when a user compares the dressed model and the corresponding bare model through a terminal device to determine whether there are any abnormal points on the dressed model that do not match the bare model, if there are abnormal points on the dressed model that do not match the bare model, these abnormal points can be fine-tuned through the terminal device. If there are no abnormal points on the dressed model that do not match the bare model, the dressed model can be saved through the terminal device.

[0075] By adopting the above-mentioned operation method of fine-tuning the abnormal points when there are abnormal points in the second clothing character model that do not match the second body type nude model, a user adjustment link can be provided for the matching of fashion with each body type, which helps to ensure that the matching results of fashion with each body type meet the game design requirements.

[0076] As one possible implementation, the above-mentioned costume processing method for character models may further include: in response to a cancellation modification operation on the body shape parameters of the target body shape type on the body shape parameter page, canceling the fusion deformation performed on the baseline body shape model and the first virtual costume. This operation method can isolate the matching work between costumes and different body shapes at the user level, thereby avoiding mutual interference between the matching results of costumes and different body shapes.

[0077] To facilitate understanding, the operation method of the above-mentioned character model fashion processing method is described below using a specific application as an example.

[0078] After pre-creating the baseline body model, variations of the baseline body model (i.e., other body model models), and virtual fashion models of each clothing part of the baseline body model, the fashion processing of the above character models can be carried out as follows:

[0079] Step 1: Provide a body shape parameter page through the terminal device.

[0080] like Figure 3 As shown, the definition Figure 3 In the game, the base models of the five body types are represented by "L", "D", "J", "M" and "S" from left to right. Base model "L" is used as the base body model, and base models "D", "J", "M" and "S" are four different variations of the base body model.

[0081] The standards for making base molds mainly include the following aspects:

[0082] (1) Maintain maximum compatibility to suit any virtual fashion required by the project. That is, the base model needs to be compatible with every virtual fashion required by the project, so that the base model of the corresponding body type can meet the dressing requirements of any virtual fashion required by the project. This aspect takes into account the most conservative dressing requirements of each virtual fashion (i.e., the case where the surface area of ​​each virtual fashion in contact with the base model is the largest when dressing) and the most exaggerated dressing requirements (i.e., the case where the surface area of ​​each virtual fashion in contact with the base model is the smallest when dressing).

[0083] (2) It conforms to the reasonableness of the relative positional relationship between the virtual items in a set of virtual outfits when changing clothes. For example, it is necessary to make the relative positional relationship between the collar, cuffs, gloves, shoes, top, pants, etc. as consistent as possible with the actual wearing of the outfit.

[0084] (3) Meets the tangent positions and human joints involved in the costume change requirements. That is, the production of the base model needs to take into account the basic shape of the nude model of the corresponding body type, and specifically needs to take into account the tangent model and human joints of the nude model corresponding to each virtual costume.

[0085] (4) It meets the standards that do not affect other stages of the game production process. For example, the topology of the base model should match the structural lines of the character model (including animation lines, joint lines, etc.).

[0086] Step 2: Wrap the virtual fashion model corresponding to the clothing part over the base body model to obtain and save the dressed character model corresponding to the base body model.

[0087] like Figure 4 As shown, the virtual fashion model corresponding to the clothing part of the base model "L" is wrapped around the base model "L" using the "Wrap" command of the 3D modeling software, thereby obtaining the dressed character model corresponding to the base model "L", and then the dressed character model is saved to the specified storage location.

[0088] Step 3: In response to the modification operation of the fusion deformation parameter value of the specified clothing part on the body shape parameter page, apply the modified fusion deformation parameter of the specified clothing part to the base body shape base model and the virtual fashion model of the specified clothing part to perform fusion deformation, and obtain the dressed character model corresponding to other body shape base models.

[0089] like Figure 5 As shown, a body shape parameter page is provided through the terminal device. The clothing parts include the head, upper body, hands, lower body, and feet. The body shape parameter page displays the following content: a slider control for setting the blending deformation parameter range for each clothing part, and a slider control for setting the blending deformation parameter value for each clothing part corresponding to each other body shape base model. Figure 5In this process, the user has used the terminal device to slide the slider of the blending deformation parameter range setting slider control for each clothing part to the far right, thereby setting the blending deformation parameter range (i.e., the value range of the blending deformation parameter) for each clothing part to [0,1]. At this time, the lower limit (i.e., the first deformation boundary parameter value) and the upper limit (i.e., the second deformation boundary parameter value) of the blending deformation parameter range are 0 and 1, respectively. The larger the blending deformation parameter value, the greater the degree of deformation of the corresponding clothing part relative to the reference shape (i.e., the shape of the corresponding clothing part corresponding to the reference body shape base mold). The smaller the blending deformation parameter value, the smaller the degree of deformation of the corresponding clothing part relative to the reference shape. A blending deformation parameter value of 0 indicates that the corresponding clothing part has not deformed relative to the reference shape, and a blending deformation parameter value of 1 indicates that after the corresponding clothing part deforms relative to the reference shape, its shape is the same as the design shape of the corresponding part on the corresponding body shape base mold. The user has used the terminal device to set the blending deformation parameter values ​​for each clothing part corresponding to each other body type base model. All sliders in the slider control are moved to the far left, thus setting the blending deformation parameter value for each clothing part to 0. At this point, the blending deformation parameter value for each clothing part's fashion model corresponding to each other body type base model is also 0. For example... Figure 6 As shown, Figure 6 In this process, the user, through a terminal device, slides all the sliders of the blending deformation parameter settings for each clothing part corresponding to the base model "D" to the far right, thus changing the blending deformation parameter value of each clothing part corresponding to the base model "D" from 0 to 1. At this time, the blending deformation parameter value of each clothing part's fashion model corresponding to the base model "D" also changes from 0 to 1. In response to this modification, the terminal device applies the modified blending deformation parameter values ​​of each clothing part and the fashion model it encloses to the base model "D" to perform blending deformation on each clothing part and the virtual fashion model it encloses, thereby obtaining the dressed character model corresponding to the base model "D" (e.g., ...). Figure 7 (As shown).

[0090] Step 4: Obtain the nude models of each other body type, and compare the dressed character model of each other body type with the corresponding nude model to determine whether there are any anomalies on the dressed character model of each other body type that do not match the corresponding nude model.

[0091] like Figure 8As shown, users can obtain and display the bare models corresponding to the base models "D", "J", "M", and "S" through their terminal devices. Then, they can move the dressed character models corresponding to the base models "D", "J", "M", and "S" to the positions displayed by the corresponding bare models to compare them and determine whether there are any abnormal points on the dressed character models corresponding to "D", "J", "M", and "S" that do not match the corresponding bare models. This allows users to fine-tune the dressed character models with abnormal points or save the dressed character models without abnormal points.

[0092] Furthermore, for ease of operation, steps 3 and 4 above can be broken down into separate operations corresponding to each other body type. After saving the dressed character model corresponding to each other body type base model, the user uses the terminal device to slide the slider of the blending deformation parameter setting slider control for each clothing part corresponding to the base model to the far left, thereby restoring the blending deformation parameter value of each clothing part corresponding to the base model from 1 to 0. At this time, the blending deformation parameter value of each clothing part fashion model corresponding to the base model is also restored from 1 to 0. After responding to this modification operation, the terminal device will restore the dressed character model corresponding to the base model to the dressed character model corresponding to the base body type base model, so that the separate operations corresponding to the next other body type in steps 3 and 4 above can be repeated. Finally, all dressed character models corresponding to the base models of other body types are saved, thereby completing the matching of fashion with all body types.

[0093] Figure 9 A schematic diagram of a costume processing device for a character model is provided. This device can be applied to terminal devices, such as... Figure 9 As shown, the costume processing device 900 for the character model may include:

[0094] The acquisition module 901 is used to acquire the baseline body shape base model of the character model and the first virtual fashion corresponding to the baseline body shape base model; wherein, the baseline body shape base model is selected from the base models of all body shapes made based on the bare model, tangent model and virtual fashion model of each body shape of the character model according to the body shape parameters representing at least one body shape dimension, and each base model is a lattice model.

[0095] Setting module 902 is used to set the first virtual fashion item on the reference body model to obtain a first dressed character model corresponding to the reference body model; wherein, the tangent position and joint position of the corresponding clothing part on the reference body model are adapted to the corresponding position on the first virtual fashion item.

[0096] Modification module 903 is used to respond to the body shape parameter modification operation of the first dressed character model, modify the base body shape model and the first virtual costume according to the body shape parameter modification operation to obtain a second dressed character model; wherein, the second dressed character model includes the modified second body shape model and the second virtual costume, and the tangent position and joint position of the corresponding clothing part on the second body shape model are adapted to the corresponding position on the second virtual costume.

[0097] This disclosure discloses a costume processing device for a character model. By setting a first virtual costume corresponding to a baseline body shape base model of the character model onto the baseline body shape base model, a first dressed character model corresponding to the baseline body shape base model is obtained. When modifying the body shape parameters of the first dressed character model, the baseline body shape base model and the first virtual costume are modified according to the body shape parameter modification operation, and finally a second dressed character model is obtained. By setting the first virtual costume onto the baseline body shape base model, subsequent synchronous modifications of the baseline body shape base model and the first virtual costume can be achieved, thereby realizing adaptive matching between costumes and characters of various body shapes. Compared with the existing game production process of manually adjusting costumes one by one to match the naked models of different body shapes, the efficiency of matching costumes for characters of various body shapes is improved. Furthermore, since the baseline body shape base model and the first virtual costume are modified as a whole, a better overall matching result can be obtained.

[0098] In a feasible implementation, the modification module 903 is further configured to: provide a body shape parameter page for the first dressed character model; wherein the body shape parameter page includes a deformation range corresponding to the body shape parameters of each body shape type; in response to a modification operation on the body shape parameters of a target body shape type on the body shape parameter page, deform the baseline body shape model and the first virtual costume according to the modified body shape parameters corresponding to the target body shape type; wherein the second body shape model and the second virtual costume obtained after deformation are adapted to the body shape parameters of the target body shape type respectively.

[0099] In a feasible implementation, the modified body shape parameters corresponding to the target body shape type include the first key position of the reference body shape base model and the second key position of the first virtual fashion item, which respectively correspond to the fusion deformation parameters of the second body shape base model. The first key position is the tangent position and joint position of the clothing part on the reference body shape base model, and the second key position is the position on the first virtual fashion item that matches the tangent position and joint position of the corresponding clothing part on the reference body shape base model. The modification module 903 is further used to: apply the fusion deformation parameters of the first key position and the second key position corresponding to the second body shape base model to perform fusion deformation on the reference body shape base model and the first virtual fashion item.

[0100] In one feasible implementation, the setting module 902 is further configured to: based on the preset adaptation relationship between the second key position and the first key position, wrap the first key position of the reference body shape base model with the second key position of the first virtual fashion.

[0101] In one feasible implementation, the costume processing device 900 for the character model may further include a production module 904 for: acquiring nude models, tangent models, and virtual costume models of each body type of the character model; producing a base model for each body type based on the acquired nude models, tangent models, and virtual costume models; and determining the reference body type base model from the base models of all body types produced.

[0102] In one feasible implementation, the costume processing device 900 for the character model may further include a comparison module 905, used to: obtain a second body shape nude model corresponding to the second body shape base model; compare the second dressed character model and the second body shape nude model, and determine, based on the comparison result, whether there are any abnormal points on the second dressed character model that do not match the second body shape nude model.

[0103] In one feasible implementation, the costume processing device 900 for the character model may further include a fine-tuning module 906 for: in response to the presence of anomalies on the second dressed character model that do not match the second body shape nude model, fine-tuning the anomalies so that the third dressed character model obtained after fine-tuning does not have any anomalies that do not match the second body shape nude model.

[0104] In one feasible implementation, the costume processing device 900 for the character model may further include a cancellation module 907 for: canceling the fusion deformation of the base body model and the first virtual costume in response to a cancellation modification operation of the body parameters of the target body type on the body parameter page.

[0105] The costume processing apparatus for character models provided in this embodiment has the same technical features as the costume processing method for character models provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.

[0106] Figure 10The diagram illustrates the structure of an electronic device according to an embodiment of this disclosure, including a processor 1001, a memory 1002, and a bus 1003. The memory 1002 stores computer-executable instructions that can be executed by the processor 1001. When the electronic device runs a costume processing method for a character model as described in the embodiment, the processor 1001 communicates with the memory 1002 via the bus 1003. When the processor 1001 executes the computer-executable instructions, it implements the aforementioned costume processing method for the character model. Specifically, the processor 1001 performs the following steps:

[0107] Obtain the baseline body shape base model of the character model and the first virtual costume corresponding to the baseline body shape base model; wherein, the baseline body shape base model is selected from the base models of all body types made based on the bare model, tangent model and virtual costume model of each body type of the character model according to the body type parameters representing at least one body type dimension, and each base model is a lattice model;

[0108] The first virtual costume is set on the baseline body model to obtain the first dressed character model corresponding to the baseline body model; wherein, the tangent position and joint position of the corresponding clothing part on the baseline body model are adapted to the corresponding position on the first virtual costume;

[0109] In response to the body shape parameter modification operation for the first dressed character model, the baseline body shape base model and the first virtual costume are modified according to the body shape parameter modification operation to obtain a second dressed character model; wherein, the second dressed character model includes the modified second body shape base model and the second virtual costume, and the tangent position and joint position of the corresponding clothing part on the second body shape base model are adapted to the corresponding position on the second virtual costume.

[0110] In a feasible implementation, when the processor 1001 performs a body shape parameter modification operation in response to the first dressed character model, and modifies the baseline body shape model and the first virtual costume according to the body shape parameter modification operation, it is specifically configured to: provide a body shape parameter page for the first dressed character model; wherein the body shape parameter page includes a deformation range corresponding to the body shape parameters of each body shape type; in response to a modification operation on the body shape parameters of a target body shape type on the body shape parameter page, deform the baseline body shape model and the first virtual costume according to the modified body shape parameters corresponding to the target body shape type; wherein the deformed baseline body shape model and the first virtual costume are adapted to the body shape parameters of the target body shape type respectively.

[0111] In a feasible implementation, the modified body shape parameters corresponding to the target body shape type include the first key position of the reference body shape base model and the second key position of the first virtual fashion item, which respectively correspond to the fusion deformation parameters of the second body shape base model. The first key position is the tangent position and joint position of the clothing part on the reference body shape base model, and the second key position is the position on the first virtual fashion item that matches the tangent position and joint position of the corresponding clothing part on the reference body shape base model. When the processor 1001 performs deformation on the reference body shape base model and the first virtual fashion item according to the modified body shape parameters corresponding to the target type, it is specifically used to: apply the fusion deformation parameters of the first key position and the second key position corresponding to the second body shape base model to perform fusion deformation on the reference body shape base model and the first virtual fashion item.

[0112] In one feasible implementation, the processor 1001 is further configured to: acquire nude models, tangent models, and virtual fashion models of each body type of the character model; create a base model for each body type based on the acquired nude models, tangent models, and virtual fashion models; and determine the baseline body type base model from the base models of all body types created.

[0113] In one feasible implementation, when the processor 1001 executes the action of setting the first virtual fashion item on the reference body shape base model, it is specifically used to: based on the preset adaptation relationship between the second key position and the first key position, wrap the first key position of the reference body shape base model with the second key position of the first virtual fashion item.

[0114] In a feasible implementation, the processor 1001 is further configured to: obtain the second body shape bare model corresponding to the second body shape base model; compare the second dressed character model and the second body shape bare model, and determine, based on the comparison result, whether there are any abnormal points on the second dressed character model that do not match the second body shape bare model.

[0115] In one feasible implementation, the processor 1001 is further configured to: in response to the existence of anomalies on the second dressed character model that do not match the second body model, fine-tune the anomalies so that the third dressed character model obtained after fine-tuning does not have any anomalies that do not match the second body model.

[0116] In one feasible implementation, the processor 1001 is further configured to: in response to a cancellation modification operation on the body shape parameters of the target body shape type on the body shape parameter page, cancel the fusion deformation performed on the baseline body shape model and the first virtual fashion outfit.

[0117] The electronic device provided in this disclosure can achieve synchronous modification of the base body model and the first virtual costume by setting the first virtual costume on the base body model. This enables adaptive matching between the costume and characters of different body types. Compared with the existing game production process of manually adjusting the costume to match the naked model of characters of different body types, this improves the efficiency of matching costumes for characters of different body types. Furthermore, since the base body model and the first virtual costume are modified as a whole, a better overall matching result can be obtained.

[0118] This disclosure also provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are invoked and executed by a processor, they cause the processor to implement the aforementioned costume processing method for the character model. Specifically, the processor performs the following steps:

[0119] Obtain the baseline body shape base model of the character model and the first virtual costume corresponding to the baseline body shape base model; wherein, the baseline body shape base model is selected from the base models of all body types made based on the bare model, tangent model and virtual costume model of each body type of the character model according to the body type parameters representing at least one body type dimension, and each base model is a lattice model;

[0120] The first virtual costume is set on the baseline body model to obtain the first dressed character model corresponding to the baseline body model; wherein, the tangent position and joint position of the corresponding clothing part on the baseline body model are adapted to the corresponding position on the first virtual costume;

[0121] In response to the body shape parameter modification operation for the first dressed character model, the baseline body shape base model and the first virtual costume are modified according to the body shape parameter modification operation to obtain a second dressed character model; wherein, the second dressed character model includes the modified second body shape base model and the second virtual costume, and the tangent position and joint position of the corresponding clothing part on the second body shape base model are adapted to the corresponding position on the second virtual costume.

[0122] In one feasible implementation, when the processor performs a body shape parameter modification operation in response to the first dressed character model, and modifies the baseline body shape model and the first virtual costume according to the body shape parameter modification operation, it is specifically configured to: provide a body shape parameter page for the first dressed character model; wherein the body shape parameter page includes a deformation range corresponding to the body shape parameters of each body shape type; in response to a modification operation on the body shape parameters of a target body shape type on the body shape parameter page, deform the baseline body shape model and the first virtual costume according to the modified body shape parameters corresponding to the target body shape type; wherein the second body shape model and the second virtual costume obtained after deformation are adapted to the body shape parameters of the target body shape type respectively.

[0123] In a feasible implementation, the modified body shape parameters corresponding to the target body shape type include the first key position of the baseline body shape base model and the second key position of the first virtual fashion item, which respectively correspond to the fusion deformation parameters of the second body shape base model. The first key position is the tangent position and joint position of the clothing part on the baseline body shape base model, and the second key position is the position on the first virtual fashion item that matches the tangent position and joint position of the corresponding clothing part on the baseline body shape base model. When the processor performs deformation of the baseline body shape base model and the first virtual fashion item according to the modified body shape parameters corresponding to the target body shape type, it is specifically used to: apply the fusion deformation parameters of the first key position and the second key position corresponding to the second body shape base model to perform fusion deformation of the baseline body shape base model and the first virtual fashion item.

[0124] In one feasible implementation, the processor is further configured to: acquire nude models, tangent models, and virtual fashion models of each body type of the character model; create a base model for each body type based on the acquired nude models, tangent models, and virtual fashion models; and determine the baseline body type base model from the base models of all body types created.

[0125] In one feasible implementation, when the processor sets the first virtual fashion item on the reference body shape base model, it is specifically used to: based on the preset adaptation relationship between the second key position and the first key position, wrap the first key position of the reference body shape base model with the second key position of the first virtual fashion item.

[0126] In a feasible implementation, the processor is further configured to: obtain a second body model corresponding to the second body model base model; compare the second dressed character model and the second body model base model, and determine, based on the comparison result, whether there are any abnormal points on the second dressed character model that do not match the second body model base model.

[0127] In one feasible implementation, the processor is further configured to: in response to the existence of anomalies on the second dressed character model that do not match the second body model, fine-tune the anomalies so that the third dressed character model obtained after fine-tuning does not have any anomalies that do not match the second body model.

[0128] In one feasible implementation, the processor is further configured to: in response to a cancel modification operation on the body shape parameters of the target body shape type on the body shape parameter page, cancel the fusion deformation of the baseline body shape model and the first virtual fashion outfit.

[0129] This disclosure provides a computer-readable storage medium that enables the synchronous modification of the baseline body model and the first virtual costume by setting the first virtual costume on the baseline body model. This achieves adaptive matching between the costume and characters of different body types. Compared to the existing game production process of manually adjusting costumes one by one to match the nude models of characters of different body types, this improves the efficiency of matching costumes for characters of different body types. Furthermore, since the baseline body model and the first virtual costume are modified as a whole, a better overall matching result can be obtained.

[0130] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the costume processing method for the character model described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0131] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0132] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this disclosure. All should be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.

Claims

1. A method for processing costumes on a character model, characterized in that, include: Obtain the baseline body shape base model of the character model and the first virtual costume corresponding to the baseline body shape base model; wherein, the baseline body shape base model is selected from the base models of all body types made based on the bare model, tangent model and virtual costume model of each body type of the character model according to the body type parameters representing at least one body type dimension, and each base model is a lattice model; The first virtual costume is set on the baseline body model to obtain the first dressed character model corresponding to the baseline body model; wherein, the tangent position and joint position of the corresponding clothing part on the baseline body model are adapted to the corresponding position on the first virtual costume; In response to the body shape parameter modification operation for the first dressed character model, the baseline body shape base model and the first virtual costume are modified according to the body shape parameter modification operation to obtain a second dressed character model; wherein, the second dressed character model includes the modified second body shape base model and the second virtual costume, and the tangent position and joint position of the corresponding clothing part on the second body shape base model are adapted to the corresponding position on the second virtual costume.

2. The method according to claim 1, characterized in that, In response to a body shape parameter modification operation on the first dressed character model, modifying the baseline body shape model and the first virtual costume according to the body shape parameter modification operation includes: Provide a body shape parameter page for the first dressed character model; wherein, the body shape parameter page includes the deformation range corresponding to the body shape parameters for each body shape type; In response to a modification operation on the body shape parameters of the target body shape type on the body shape parameter page, the baseline body shape model and the first virtual costume are deformed according to the modified body shape parameters corresponding to the target body shape type; wherein, the second body shape model and the second virtual costume obtained after deformation are adapted to the body shape parameters of the target body shape type.

3. The method according to claim 2, characterized in that, The modified body shape parameters corresponding to the target body shape type include the first key position of the base body shape model and the second key position of the first virtual fashion, which respectively correspond to the fusion deformation parameters of the second body shape model. The first key position is the tangent position and joint position of the clothing part on the base body shape model, and the second key position is the position on the first virtual fashion that matches the tangent position and joint position of the corresponding clothing part on the base body shape model. Deformation of the baseline body model and the first virtual costume based on the modified body parameters corresponding to the target body type includes: By applying the fusion deformation parameters of the first key position and the second key position corresponding to the second body shape base model, the reference body shape base model and the first virtual fashion are fused and deformed.

4. The method according to claim 1, characterized in that, The method further includes: Obtain the nude model, tangent model, and virtual fashion model of each body type of the character model; Based on the acquired nude model, tangent model, and virtual fashion model, create the base model for each body type; The baseline body shape base mold is determined from the base molds of all the body shapes produced.

5. The method according to claim 3, characterized in that, Setting the first virtual fashion item onto the baseline body model includes: Based on the preset adaptation relationship between the second key position and the first key position, the second key position of the first virtual fashion item is used to wrap the first key position of the reference body shape base model.

6. The method according to claim 3, characterized in that, The method further includes: Obtain the bare mold of the second body shape corresponding to the bottom mold of the second body shape; Compare the second dressed character model with the second body type nude model, and determine whether there are any abnormalities on the second dressed character model that do not match the second body type nude model based on the comparison results.

7. The method according to claim 6, characterized in that, The method further includes: In response to the presence of anomalies on the second dressed character model that do not match the second body type nude model, the anomalies are fine-tuned so that the third dressed character model obtained after fine-tuning does not have any anomalies that do not match the second body type nude model.

8. The method according to claim 3, characterized in that, The method further includes: In response to the cancellation modification operation of the body shape parameters of the target body shape type on the body shape parameter page, the fusion deformation of the baseline body shape model and the first virtual costume is cancelled.

9. A costume processing device for a character model, characterized in that, include: The acquisition module is used to acquire the baseline body shape base model of the character model and the first virtual costume corresponding to the baseline body shape base model; wherein, the baseline body shape base model is selected from the base models of all body shapes made based on the bare model, tangent model and virtual costume model of each body shape of the character model according to the body shape parameters representing at least one body shape dimension, and each base model is a lattice model; The setting module is used to set the first virtual fashion item on the reference body model to obtain a first dressed character model corresponding to the reference body model; wherein, the tangent position and joint position of the corresponding clothing part on the reference body model are adapted to the corresponding positions on the first virtual fashion item and the reference body model. The modification module is used to respond to the body shape parameter modification operation of the first dressed character model, modify the base body shape model and the first virtual costume according to the body shape parameter modification operation to obtain a second dressed character model; wherein, the second dressed character model includes the modified second body shape model and the second virtual costume, and the tangent position and joint position of the corresponding clothing part on the second body shape model are adapted to the corresponding position on the second virtual costume.

10. An electronic device comprising a memory and a processor, wherein the memory stores computer-executable instructions executable by the processor, characterized in that, When the processor executes the computer-executable instructions, it implements the method described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • method and device for virtual clothes generation

    CN102750438A

  • Game role different body type garment generation and changing method and system

    CN112206527A