Fashionable dress processing method and device of role model, electronic equipment and storage medium

By obtaining and setting the base body model and virtual fashion of the character model, and synchronously modifying the body shape parameters when modifying the body shape parameters, the problem of low efficiency and subjective matching results for different body shape characters in the prior art is solved, and efficient and overall effect-optimized fashion matching is achieved.

CN119587984AActive Publication Date: 2025-03-11NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing game production process, the efficiency of matching fashion for different body types is low, and the matching results are subjective, which is prone to poor matching effect of local position fashion.

Method used

By obtaining the reference body shape base model and the corresponding virtual fashion of the character model, set up the virtual fashion on the reference body shape base model to form a dress character model, and synchronously modify the base model and fashion when the body shape parameters are modified to achieve adaptive matching between fashion and body shape characters.

Benefits of technology

It improves the efficiency of matching fashion for each body type character, improves the matching effect between fashion and body type character, and ensures the optimization of the overall matching results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119587984A_ABST
    Figure CN119587984A_ABST
Patent Text Reader

Abstract

The invention provides a fashion processing method and device for a role model, electronic equipment and a storage medium, and the method comprises the steps: setting a first virtual fashion corresponding to a reference body type bottom mold of the role model on the reference body type bottom mold, and obtaining a first dressing role model corresponding to the reference body type bottom mold; when body shape parameter modification operation is carried out on the first dressing role model, the reference body shape bottom model and the first virtual fashion are modified according to the body shape parameter modification operation, and finally a second dressing role model is obtained; the efficiency of matching the fashion for each body type role in the game making process can be improved, and the matching effect between the fashion and each body type role is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of game technology, and in particular to a method, device, electronic device and storage medium for processing fashion of a role model. Background Art

[0002] At present, there may be characters of different body shapes in the game, and matching appropriate costumes for characters of different body shapes is an important part of the game production process. This part often requires a set of costume resources to be reused on game characters of different body shapes. In order to meet this demand, the operation method of this part in the existing game production process usually requires manual adjustment of the costumes for each body shape to match the nude models of characters of different body shapes. After each costume is produced, it needs to be manually matched for each body shape. This operation method is relatively inefficient, and because the matching between the costumes and the characters of different body shapes depends on manual observation with the naked eye, the matching results obtained by this operation method are subjective, and sometimes the costume matching effect of the local position of the character is poor. Summary of the invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for processing fashion of a character model, so as to improve the efficiency of matching fashion for characters of different body shapes in the game production process and improve the matching effect between fashion and characters of different body shapes.

[0004] In a first aspect, an embodiment of the present disclosure provides a method for processing fashion of a role model, comprising: obtaining a reference body shape base model of a role model and a first virtual fashion corresponding to the reference body shape base model; wherein the reference body shape base model is selected from base models of all body shapes made based on nude models, tangent models and virtual fashion models of various body shapes of the role 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 fashion on the reference body shape base model to obtain a first dressed role model corresponding to the reference body shape base model; wherein the tangent position and joint position of the corresponding dressing part on the reference body shape base model are adapted to the corresponding position on the first virtual fashion model; in response to a body shape parameter modification operation for the first dressed role model, modifying the reference body shape base model and the first virtual fashion according to the body shape parameter modification operation to obtain a second dressed role model; wherein the second dressed role model includes a second body shape base model and a second virtual fashion obtained after modification, and the tangent position and joint position of the corresponding dressing part on the second body shape base model are adapted to the corresponding position on the second virtual fashion model.

[0005] In a second aspect, an embodiment of the present disclosure provides a fashion processing device for a character model, comprising: an acquisition module, used to acquire a reference body shape base model of a character model and a first virtual fashion corresponding to the reference body shape base model; wherein the reference body shape base model is selected from base models of all body shapes made based on nude models, tangent models and virtual fashion models of various body shapes of the character model according to body shape parameters representing at least one body shape dimension, and each base model is a lattice model; a setting module, used to set the first virtual fashion on the reference body shape base model to obtain a first dressed character model corresponding to the reference body shape base model ; wherein the tangent positions and joint positions of the corresponding dressing parts on the reference body shape base model are adapted to the corresponding positions on the first virtual fashion and on the reference body shape base model; a modification module is used to respond to the body parameter modification operation for the first dressing character model, modify the reference body shape base model and the first virtual fashion according to the body parameter modification operation, and obtain a second dressing character model; wherein the second dressing character model includes the modified second body shape base model and the second virtual fashion, and the tangent positions and joint positions of the corresponding dressing parts on the second body shape base model are adapted to the corresponding positions on the second virtual fashion.

[0006] In a third aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0007] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method described in the first aspect.

[0008] The embodiments of the present disclosure bring the following beneficial effects:

[0009] The embodiments of the present disclosure provide a method, device, electronic device and storage medium for processing fashion of a character model. The method sets a first virtual fashion corresponding to a reference body shape base model of the character model on the reference body shape base model to obtain a first dressed character model corresponding to the reference body shape base model. When a body shape parameter modification operation is performed on the first dressed character model, the reference body shape base model and the first virtual fashion are modified according to the body shape parameter modification operation to finally obtain a second dressed character model. The method sets the first virtual fashion on the reference body shape base model to achieve subsequent synchronous modification of the reference body shape base model and the first virtual fashion, thereby achieving adaptive matching between fashion and characters of various body shapes. Compared with the operation method of manually adjusting fashion for each body shape to match the nude models of characters of different body shapes in the existing game production process, the efficiency of matching fashion for characters of various body shapes is improved. Moreover, since the reference body shape base model and the first virtual fashion are modified as a whole, a matching result with a better overall effect can be obtained.

[0010] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0012] Figure 1 A schematic diagram of an application scenario of the method for processing the fashion of a role model provided by an embodiment of the present disclosure;

[0013] Figure 2 A flow chart of a method for processing a costume of a role model provided by an embodiment of the present disclosure;

[0014] Figure 3 It is an example diagram of a reference body shape bottom mold and other body shape bottom molds in the embodiment of the present disclosure;

[0015] Figure 4 An example diagram of a dressed character model corresponding to the bottom mold "L" in the embodiment of the present disclosure;

[0016] Figure 5 This is one of the example diagrams of the body shape parameter page in the embodiment of the present disclosure;

[0017] Figure 6 Another example diagram of a body shape parameter page in an embodiment of the present disclosure;

[0018] Figure 7 An example diagram of a dressed character model corresponding to the base model "D" in the embodiment of the present disclosure;

[0019] Figure 8 is a comparative example diagram of a dressed character model and a corresponding nude model in an embodiment of the present disclosure;

[0020] Fig. 9 A schematic diagram of the structure of a fashion processing device for a role model provided by an embodiment of the present disclosure;

[0021] Fig.10 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0023] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present disclosure are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0024] At present, there may be characters of different body types in the game. Matching appropriate fashions for characters of different body types is an important part of the game production process. This part often requires a set of fashion resources to be reused on game characters of different body types. In order to meet this demand, the operation method of this part in the existing game production process usually requires manual adjustment of fashions for each body type to match the nude models of characters of different body types. After each fashion is produced, it is necessary to manually match each body type. For example, first copy the fashion copy to roughly match each body type, and then manually match the details of the corresponding position of each body type by dragging points or adjusting the lattice for a more accurate match. This operation method still requires manual fashion matching even when there are fewer detailed features of the nude model, so the workload of fashion matching is large and the efficiency of fashion matching is relatively low; and because the matching between fashions and characters of different body types depends on manual naked eye observation, the matching results obtained by this operation method are subjective, and sometimes the fashion matching effect of the local position of the character is not good.

[0025] Based on this, an embodiment of the present disclosure provides a method for processing fashion of a character model, by which the efficiency of matching fashion for characters of various body shapes in the game production process can be improved, and the matching effect between fashion and characters of various body shapes can be improved.

[0026] In one embodiment of the present disclosure, the method for processing the fashion of the role model can be run on a local terminal device or a server. When the method for processing the fashion of the role model is run 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 can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the costume processing method of the role model are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0028] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0029] In a possible implementation, an embodiment of the present disclosure provides a method for processing fashion of a role model, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.

[0030] For example, Figure 1 As shown, Figure 1Schematic diagram of an application scenario of the method for processing the fashion of a role model provided by an embodiment of the present disclosure. The application scenario may include a touch terminal (e.g., a mobile phone 102) and a server 101, and the touch terminal may communicate with the server 101 via a wired network or a wireless network. The touch terminal is used to run a virtual desktop, through which the virtual desktop can interact with the server 101 to edit the content in the server 101.

[0031] Figure 2 A flowchart of a method for processing the fashion of a character model provided by an embodiment of the present disclosure. The method can be applied to a terminal device that can present a graphical user interface, and the method can be used to accurately match the same fashion resource to characters of various body types, thereby reducing the fashion resources required for production. Figure 2 As shown, the method may include:

[0032] Step S202, obtaining a reference body shape base model of the character model and a first virtual fashion corresponding to the reference body shape base model.

[0033] The reference body model and the first virtual fashion are both pre-made, and the first virtual fashion can be a virtual fashion that dresses one or more dressing parts of the reference body model. It should be noted that it is necessary to pre-make a base model of each body type based on the nude model, tangent model and virtual fashion model of each body type of the character model (each base model is a lattice model), and select the reference body model from the base models of all the body types produced according to the body parameters representing at least one body dimension, so as to avoid poor matching effect of local positions (such as unnecessary distortion, etc.) when matching the reference body model with different types of virtual fashions. Body shape dimensions may include height, weight, etc., and there is no limitation on this; accordingly, when making a base mold, there may be multiple types of body shape parameters configured for the base mold of each body type, and different types of body shape parameters may be used to characterize different body shape dimensions; when selecting a reference body shape base mold, the maximum, minimum, average, etc. of the body shape parameters of the base molds of all body types may be counted under the same body shape dimension, so that the base mold whose body shape parameter size is relatively close to the corresponding average value under at least one specified body shape dimension (such as satisfying custom conditions such as the absolute value of the difference with the corresponding average value being less than a preset threshold) is selected as the reference body shape base mold.

[0034] For example, Figure 3 The base molds corresponding to the five characters in the game are shown. Figure 3After the leftmost base mold is used as the base mold for the reference body shape, base molds for other body shapes can be obtained by deforming the positions on the base mold for the reference body shape that match the corresponding virtual costume model. In addition to considering the tangent models and human joints of the nude models of the corresponding body shapes corresponding to each type of virtual costume, the production of the base mold usually also needs to consider whether the relative position relationship between the virtual costumes in a set of virtual costumes is reasonable and whether the wiring of the base mold is consistent with the structural lines of the character model. The specific considerations can be customized according to the actual project requirements and are not limited to this.

[0035] Step S204, setting the first virtual fashion on the reference body model to obtain a first dressed character model corresponding to the reference 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 reference body shape base mold are adapted to the corresponding positions on the reference body shape base mold.

[0037] For example, in this step, a hat-type virtual fashion model can be set at the tangent position and joint position of the head of the reference body base model, thereby obtaining a dressed character model.

[0038] Step S206, in response to the body parameter modification operation for the first dressed character model, modify the reference body base model and the first virtual fashion according to the body parameter modification operation to obtain a second dressed character model.

[0039] The second dressed character model may include a modified second body shape base model and a second virtual fashion, and the tangent positions and joint positions of the corresponding dressing parts on the second body shape base model are adapted to the corresponding positions on the second virtual fashion.

[0040] For example, in this step, after each type of virtual fashion model is set corresponding to the tangent position and joint position of each dressing part of the reference body shape base model, a binding relationship between the virtual fashion model and the dressing part is established, that is, when the first key position of a dressing part of the reference body shape base model is deformed, the second key position of the virtual fashion model of the dressing part that is adapted to the first key position of the dressing part will also be deformed to the same extent.

[0041] A method for processing fashion for a character model in an embodiment of the present disclosure sets a first virtual fashion corresponding to a reference body shape base model of the character model on the reference body shape base model to obtain a first dressed character model corresponding to the reference body shape base model, and when performing a body parameter modification operation on the first dressed character model, modifies the reference body shape base model and the first virtual fashion according to the body parameter modification operation to finally obtain a second dressed character model, and can achieve subsequent synchronous modification of the reference body shape base model and the first virtual fashion by setting the first virtual fashion on the reference body shape base model, thereby achieving adaptive matching between fashion and characters of various body shapes, and compared with the existing game production process in which fashion is manually adjusted for each body shape to match the nude models of characters of different body shapes, the efficiency of matching fashion for characters of various body shapes is improved, and because the reference body shape base model and the first virtual fashion are modified as a whole, a matching result with a better overall effect can be obtained.

[0042] As a possible implementation, in response to the body parameter modification operation on the first dressed character model in step S206, modifying the reference body base model and the first virtual fashion according to the body parameter modification operation may include:

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

[0044] Among them, the body parameter page can include the deformation interval corresponding to the body parameter of each body type, the deformation interval is used to characterize the setting range of the body parameter value, and the deformation interval corresponding to the body parameter of each body type represents the degree of change of the body of the first dressed character model in the corresponding aspect.

[0045] Exemplarily, the display content of the above-mentioned 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, which is not limited to this.

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

[0047] The body parameters of the target body types corresponding to the second body base model and the second virtual fashion respectively obtained after deformation are adapted.

[0048] Exemplarily, the operation method of the above-mentioned modification operation depends on the display content of the above-mentioned body shape parameter page. For example, a body shape parameter page is provided through a terminal device, and the display content of the body shape parameter page includes input boxes corresponding to the body parameters of each body type. When the user needs to modify the body parameters of a specified body 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 reference body shape base mold and the first virtual fashion to deform simultaneously, and the degree of deformation depends on the modified value in the input box.

[0049] By adopting the above-mentioned operation mode of providing a body parameter page for modifying corresponding body parameters, users can easily modify body parameters on the body parameter page to obtain matching results of fashions with different body types, thereby improving the efficiency of matching fashions with body types.

[0050] As a possible implementation manner, the body shape parameters corresponding to the modified target body shape type may include a first key position of the reference body shape base model and a second key position of the first virtual fashion model, respectively corresponding to the fusion deformation parameters of the second body shape base model, the first key position of the reference body shape base model may refer to the tangent position and joint position of the dressing part on the reference body shape base model, and the second key position of the first virtual fashion model may refer to the position on the first virtual fashion model that matches the tangent position and joint position of the corresponding dressing part on the reference body shape base model; based on this, the step of deforming the reference body shape base model and the first virtual fashion model according to the body shape parameters corresponding to the modified target body shape type may include: applying the first key position and the second key position, respectively corresponding to the fusion deformation parameters of the second body shape base model, to fuse and deform the reference body shape base model and the first virtual fashion model.

[0051] The above-mentioned fusion deformation parameters can be taken within a preset range from the first deformation boundary parameter value to the second deformation boundary parameter value, wherein the first deformation boundary parameter value and the second deformation boundary parameter value are the lower limit and the upper limit of the preset range, respectively. For example, the fusion deformation parameter can usually be set to 0 at the minimum and 1 at the maximum. After the fusion deformation parameters of a certain dressing part on the reference body shape base model and the part adapted to the dressing part on the fashion model of the dressing part are preset, each corresponding to the target body shape (i.e., other body shapes that need to match the fashion), when the user modifies the body shape parameters of the target body type on the body shape parameter page provided by the terminal device, the terminal device will respond to the modification operation and cause the reference body shape base model and the virtual fashion of the dressing part to undergo fusion deformation at the same time according to the values ​​of the two fusion deformation parameters.

[0052] The above-mentioned operation mode of performing fusion deformation by fusion deformation parameters can provide a convenient and feasible synchronous deformation mechanism for matching fashion with various body types, thereby improving the operability of matching fashion with various body types.

[0053] As a possible implementation, the above-mentioned fashion processing method of the character model may also include: obtaining nude models, tangent models and virtual fashion models of various body shapes of the character model; making a base mold for each body shape based on the obtained nude models, tangent models and virtual fashion models; and determining a reference body shape base mold from the base molds of all body shapes obtained.

[0054] Exemplarily, after making various types of virtual fashion models, nude models of various body types of the character model can be obtained, and the tangent models and human joints of the nude models of each body type corresponding to various types of virtual fashion models can be counted from existing data resources. Then, the tangent model and human joint data of the corresponding body type and the virtual fashion model of the corresponding body type are obtained according to the statistical results, and the base mold wiring of the corresponding body type is performed according to the obtained tangent model, human joint data and virtual fashion model, so as to construct a base mold for each body type that is adapted to the corresponding virtual fashion model, and the base mold of the body type that is intuitively relatively moderate can be used as the benchmark body type base mold.

[0055] For ease of understanding, the method for making the above-mentioned reference body bottom mold is described as follows. The method for making the above-mentioned reference body bottom mold mainly includes:

[0056] The first step is to obtain nude models of various body types of the character model.

[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 nude model of each body shape.

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

[0060] In actual application, since nude models of different body shapes have different body parameters, in order to ensure accurate matching of virtual fashion with body shape, it is necessary to select corresponding virtual fashion models for each nude model of each body shape, that is, virtual fashion models corresponding to each body shape in the same part are used to construct the base mold of each body shape.

[0061] The fourth step is to use the obtained nude model, tangent model and virtual fashion model to make base models of various body types.

[0062] For each body type, a lattice model (composed of a plurality of lattice points and lattice lines between the lattice points) can be created according to the human joint position information of the nude model of the body type and the tangent model of the body type, and the lattice model can be used as the initial base mold of the body type. Then, the virtual fashion model corresponding to the body type is set on the initial base mold of the body type at the position corresponding to the tangent model and the human joint of the corresponding clothing part, so as to determine whether there are abnormal lattice points on the initial base mold of the body type that are not compatible with the corresponding virtual fashion model, tangent model and human joint; for the abnormal lattice points on the initial base mold of each body type, each abnormal lattice point can be used as the center point to calculate the abnormal lattice points. The distance between the center point and other lattice points is calculated, and the displacement of each center point and other lattice points around it is calculated using the pre-established correspondence between the displacement of the lattice point and the distance. This allows each abnormal lattice point and other lattice points around it to be displaced according to the calculated displacement, so that the initial bottom mold of each body shape is fine-tuned. Since the fine-tuning is aimed at the lattice points, the deformation of the lattice model caused by the fine-tuning is relatively smooth, which can avoid the problem of excessive displacement of local points and excessive offset of the local position of the bottom mold. After the initial bottom molds of all body shapes are fine-tuned, the bottom molds of each body shape are obtained.

[0063] The fifth step is to determine the base mold of the reference body shape from the base molds of various body shapes that have been prepared.

[0064] A relatively moderate body type base model can be selected from all body type base models as a reference body type base model, so as to control the degree of adaptation between the existing virtual fashion model and the base model to be above a certain level as much as possible. Figure 3 , in producing Figure 3 After the base models corresponding to the five body types are obtained, the body parameters of the five base models in the two body dimensions of height and fatness can be counted. Figure 3 The leftmost base model is determined as the base model with body parameters closest to the corresponding average values ​​in the two body shape dimensions of height and fatness (that is, the base model of relatively moderate body shape), and this base model is selected as the benchmark body shape base model.

[0065] After the new virtual fashion model is produced, the new virtual fashion model can be set on the reference body base mold at a position corresponding to the tangent model of the corresponding clothing part and the human body joints, and return to the fifth step to fine-tune the reference body base mold so that there are no abnormal lattice points on the base mold after fine-tuning.

[0066] By adopting the above-mentioned operation method of constructing a reference body shape base mold, the constructed reference body shape base mold 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 is conducive to improving the user's gaming experience.

[0067] As a possible implementation, setting the first virtual fashion on the reference body shape base mold in the above step S204 may include: based on the matching relationship between the preset second key position and the first key position, wrapping the first key position of the reference body shape base mold with the second key position of the first virtual fashion.

[0068] The adaptation relationship between the above-mentioned second key position and the first key position may mean that the first key position of each dressing part on the reference body shape base model is adapted to the second key position on the corresponding virtual fashion model, and the deformation degree of the first key position of each dressing part and the second key position adapted to the position on the corresponding virtual fashion model is the same.

[0069] For example, after obtaining a virtual fashion model of a certain dressing part on a pre-made reference body shape base mold, the relevant interface of the 3D modeling software (such as Maya, etc.) can be called to make the second key position corresponding to the first key position of the dressing part on the virtual fashion model and the first key position of the dressing part on the reference body shape base mold undergo wrapping deformation at the same time, thereby achieving the goal of wrapping the first key position of the dressing part on the reference body shape base mold with the second key position corresponding to the first key position of the dressing part on the virtual fashion model.

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

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

[0072] By comparing the second dressed character model with the second body nude model to determine whether there are abnormal points on the second dressed character model that do not match the second body nude model, a user confirmation link can be provided for the matching of fashion with each body type, which is conducive to ensuring that the results of matching fashion with each body type meet the game design requirements.

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

[0074] Exemplarily, continuing with the previous example, when the user compares the dressed model with the corresponding nude model through a terminal device to determine whether there are any abnormal points on the dressed model that do not match the nude model, if there are abnormal points on the dressed model that do not match the nude 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 nude 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 on the second dressed 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 is conducive to ensuring that the results of matching fashion with each body type meet the game design requirements.

[0076] As a possible implementation, the costume processing method of the character model may further include: in response to a cancel modification operation of the body parameters of the target body type on the body parameter page, canceling the fusion deformation performed on the reference body base and the first virtual costume. This operation mode can isolate the matching work of the costume and different body types at the user level, thereby avoiding mutual influence between the matching results of the costume and different body types.

[0077] For ease of understanding, the operation of the above-mentioned method for processing the fashion of the role model is described as follows by taking a specific application as an example.

[0078] After the base body model, variants of the base body model (i.e. other body model) and virtual fashion models of various clothing parts of the base body model are prepared in advance, the fashion processing method of the above-mentioned character model can be performed in the following manner:

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

[0080] like Figure 3 As shown, the definition Figure 3 The base models corresponding to the five body types of characters in the game are represented by "L", "D", "J", "M" and "S" from left to right, with the base model "L" as the base model for the basic body type, and the base models "D", "J", "M" and "S" as four different variations of the basic body type base model.

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

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

[0083] (2) The relative position relationship between virtual costumes in a set of virtual costumes should be reasonable when changing clothes. For example, the relative position relationship between the collar, cuffs, gloves, shoes, tops, pants, etc. should be consistent with the wearing situation of real costumes as much as possible.

[0084] (3) The tangent positions and human joints involved in the dressing requirements. That is, the production of the base model needs to consider the basic form of the nude model of the corresponding body type, and specifically needs to consider the tangent model and human joints of the nude model corresponding to each virtual costume.

[0085] (4) Comply with standards that do not affect other aspects of the game production process. For example, make the wiring of the base model consistent with 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 on the reference body base model to obtain and save the dressed character model corresponding to the reference body base model.

[0087] like Figure 4 As shown, the virtual fashion model of the dressing part corresponding to the base model "L" is wrapped on the base model "L" through the "Wrap" command of the 3D modeling software Maya, so as to obtain the dressed character model corresponding to the base model "L", and then save the dressed character model 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 parameter page, the modified fusion deformation parameter of the specified clothing part is applied to fuse the virtual fashion model of the baseline body base and the specified clothing part to obtain the dressed character model corresponding to the other body base.

[0089] like Figure 5 As shown, a body parameter page is provided through the terminal device, and the clothing parts include the head, upper body, hands, lower body, and feet. The content displayed on the body parameter page includes a slider control for setting the fusion deformation parameter range of each clothing part and a slider control for setting the fusion deformation parameter value of each clothing part corresponding to each other body base mold. Figure 5, the user has slid the slider of the fusion deformation parameter range setting slider control of each clothing part to the far right through the terminal device, thereby setting the fusion deformation parameter range of each clothing part (i.e., the value range of the fusion deformation parameter) 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 fusion deformation parameter range are 0 and 1 respectively; the larger the fusion 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 fusion deformation parameter value, the smaller the degree of deformation of the corresponding clothing part relative to the reference shape; a fusion deformation parameter value of 0 reflects that the corresponding clothing part has not been deformed relative to the reference shape, and a fusion deformation parameter value of 1 reflects that the shape of the corresponding clothing part after deformation relative to the reference shape is the same as the design shape of the corresponding part on the corresponding other body shape base mold. The user has used the terminal device to slide the slider of the slider control to the far left to set the fusion deformation parameter value of each clothing part corresponding to each other body type base model to 0. At this time, the fusion deformation parameter value of each clothing part fashion model corresponding to each other body type base model is also 0. Figure 6 As shown, Figure 6 In the embodiment, the user slides the slider of the slider control of the fusion deformation parameter value setting of each clothing part corresponding to the bottom model "D" to the far right through the terminal device, thereby changing the fusion deformation parameter value of each clothing part corresponding to the bottom model "D" from 0 to 1. At this time, the fusion deformation parameter value of the fashion model of each clothing part corresponding to the bottom model "D" is also changed from 0 to 1. In response to the modification operation, the terminal device applies the modified fusion deformation parameter value of each clothing part and the fashion model wrapped by the clothing part corresponding to the bottom model "D" to perform fusion deformation on each clothing part and the virtual fashion model wrapped by the clothing part, thereby obtaining the dressed character model corresponding to the bottom model "D" (such as Figure 7 shown).

[0090] Step 4, obtaining nude models of other body types, and comparing the dressed character models corresponding to each other body type with the corresponding nude model to determine whether there are abnormal points on the dressed character models corresponding to each other body type that do not match the corresponding nude model.

[0091] like Figure 8As shown, the user can obtain the nude models corresponding to the base models "D", "J", "M", and "S" through the terminal device for display, and then move the dressed character models corresponding to the base models "D", "J", "M", and "S" to the positions displayed by the corresponding nude models through the terminal device for comparison to 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 nude models, so that the user can fine-tune the abnormal points on the dressed character models with abnormal points or save the dressed character models without abnormal points.

[0092] In addition, for ease of operation, the above steps 3 and 4 can be split into separate operations corresponding to each other body type. After the user saves a dressed character model corresponding to another body type base model, the user slides the slider of the slider control for setting the fusion deformation parameter value of each dressing part corresponding to the base model to the far left through the terminal device, thereby restoring the fusion deformation parameter value of each dressing part corresponding to the base model from 1 to 0. At this time, the fusion deformation parameter value of the fashion model of each dressing part corresponding to the base model is also restored from 1 to 0. In response to the modification operation, the terminal device will restore the dressed character model corresponding to the base model to the dressed character model corresponding to the baseline body type base model, so as to repeat the above steps 3 and 4 for the next other body type in the separate operation, and finally save the dressed character models corresponding to all other body type base models to complete the matching of fashion and all body types.

[0093] Fig. 9 A schematic diagram of a fashion processing device for a role model is provided. The device can be applied to a terminal device such as Fig. 9 As shown, the fashion processing device 900 for the role model may include:

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

[0095] A 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 dressing part on the reference body model are adapted to the corresponding position on the first virtual fashion item;

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

[0097] A fashion processing device for a character model in an embodiment of the present disclosure sets a first virtual fashion corresponding to a reference body shape base model of the character model on the reference body shape base model to obtain a first dressed character model corresponding to the reference body shape base model, and when performing a body parameter modification operation on the first dressed character model, modifies the reference body shape base model and the first virtual fashion according to the body parameter modification operation to finally obtain a second dressed character model. The device can set the first virtual fashion on the reference body shape base model to achieve subsequent synchronous modification of the reference body shape base model and the first virtual fashion, thereby achieving adaptive matching between fashion and characters of various body shapes. Compared with the operation method of manually adjusting fashion for each body shape to match the nude models of characters of different body shapes in the existing game production process, the efficiency of matching fashion for characters of various body shapes is improved, and because the reference body shape base model and the first virtual fashion are modified as a whole, a matching result with better overall effect can be obtained.

[0098] In a feasible implementation scheme, the modification module 903 is also used to: provide a body parameter page for the first dressed character model; wherein the body parameter page includes deformation intervals corresponding to the body parameters of each body type; in response to a modification operation on the body parameters of the target body type on the body parameter page, deform the reference body base model and the first virtual fashion according to the modified body parameters corresponding to the target body type; wherein the second body base model and the second virtual fashion obtained after deformation are adapted to the body parameters of the target body type respectively corresponding to them.

[0099] In a feasible implementation scheme, the modified body parameters corresponding to the target body type include the first key position of the reference body model and the second key position of the first virtual fashion respectively corresponding to the fusion deformation parameters of the second body model, the first key position is the tangent position and joint position of the dressing part on the reference body 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 dressing part on the reference body model; the above-mentioned modification module 903 is also used to: apply the first key position and the second key position respectively corresponding to the fusion deformation parameters of the second body model, to fuse and deform the reference body model and the first virtual fashion.

[0100] In a feasible implementation manner, the setting module 902 is further used to: wrap the first key position of the reference body shape base mold with the second key position of the first virtual fashion based on the preset matching relationship between the second key position and the first key position.

[0101] In a feasible implementation scheme, the fashion processing device 900 of the character model may further include a production module 904, which is used to: obtain nude models, tangent models and virtual fashion models of various body types of the character model; produce a base mold for each body type based on the obtained nude models, tangent models and virtual fashion models; and determine the reference body type base mold from the base molds of all body types produced.

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

[0103] In a feasible embodiment, the fashion processing device 900 of the character model may also include a fine-tuning module 906, which is used to: in response to the presence of abnormal points on the second dressed character model that do not match the second body shape nude model, fine-tune the abnormal points so that the third dressed character model obtained after fine-tuning does not have abnormal points that do not match the second body shape nude model.

[0104] In a feasible embodiment, the fashion processing device 900 of the character model may also include a cancellation module 907, which is used to: in response to a cancellation modification operation of the body parameters of the target body type on the body parameter page, cancel the fusion deformation of the reference body base and the first virtual fashion.

[0105] The fashion processing device for a character model provided in the embodiment of the present disclosure has the same technical features as the fashion processing method for a character model provided in the above-mentioned embodiment, and therefore can solve the same technical problems and achieve the same technical effects.

[0106] Fig.10A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown, including: a processor 1001, a memory 1002 and a bus 1003, wherein the memory 1002 stores computer executable instructions that can be executed by the processor 1001. When the electronic device runs a fashion processing method for a role model in the embodiment, the processor 1001 communicates with the memory 1002 through the bus 1003. When the processor 1001 executes the computer executable instructions, the fashion processing method for the role model is implemented. The processor 1001 specifically performs the following steps:

[0107] Obtaining a reference body base model of the character model and a first virtual fashion model corresponding to the reference body base model; wherein the reference body base model is selected from base models of all body shapes produced based on nude models, tangent models and virtual fashion models of various body shapes of the character model according to body shape parameters representing at least one body shape dimension, and each base model is a lattice model;

[0108] The first virtual fashion is set 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 dressing part on the reference body model are adapted to the corresponding position on the first virtual fashion;

[0109] In response to a body parameter modification operation on the first dressed character model, the reference body model and the first virtual fashion are modified according to the body parameter modification operation to obtain a second dressed character model; wherein the second dressed character model includes the modified second body model and the second virtual fashion, and the tangent positions and joint positions of the corresponding dressing parts on the second body model are adapted to the corresponding positions on the second virtual fashion.

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

[0111] In a feasible implementation scheme, the body shape parameters corresponding to the modified target body shape type include a first key position of the reference body shape base model and a second key position of the first virtual fashion model, which respectively correspond to the fusion deformation parameters of the second body shape base model, the first key position being the tangent position and the joint position of the dressing part on the reference body shape base model, and the second key position being the position on the first virtual fashion model that matches the tangent position and the joint position of the corresponding dressing part on the reference body shape base model; when the processor 1001 executes the deformation of the reference body shape base model and the first virtual fashion model according to the body shape parameters corresponding to the modified target type, it is specifically used to: apply the first key position and the second key position, which respectively correspond to the fusion deformation parameters of the second body shape base model, to fuse and deform the reference body shape base model and the first virtual fashion model.

[0112] In a feasible implementation scheme, the processor 1001 is also used to: obtain the nude models, tangent models and virtual fashion models of each body type of the character model; make a base mold for each body type based on the obtained nude models, tangent models and virtual fashion models; and determine the reference body type base mold from the base molds of all body types.

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

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

[0115] In a feasible implementation manner, the processor 1001 is further used for: in response to the presence of abnormal points on the second dressed character model that do not match the second body shape nude model, fine-tuning the abnormal points so that the third dressed character model obtained after fine-tuning does not have any abnormal points that do not match the second body shape nude model.

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

[0117] An electronic device provided by an embodiment of the present disclosure can achieve synchronous modification of subsequent reference body shape base models and the first virtual fashion by setting the first virtual fashion on the reference body shape base model, thereby achieving adaptive matching between the fashion and characters of various body shapes. Compared with the operation method of manually adjusting the fashion for each body shape to match the nude models of characters of different body shapes in the existing game production process, the efficiency of matching fashion for characters of various body shapes is improved, and because the reference body shape base model and the first virtual fashion are modified as a whole, a matching result with better overall effect can be obtained.

[0118] The embodiment of the present disclosure further provides a computer-readable storage medium, on which computer-executable instructions are stored. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned fashion processing method for the role model, and the processor specifically performs the following steps:

[0119] Obtaining a reference body base model of the character model and a first virtual fashion model corresponding to the reference body base model; wherein the reference body base model is selected from base models of all body shapes produced based on nude models, tangent models and virtual fashion models of various body shapes of the character model according to body shape parameters representing at least one body shape dimension, and each base model is a lattice model;

[0120] The first virtual fashion is set 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 dressing part on the reference body model are adapted to the corresponding position on the first virtual fashion;

[0121] In response to a body parameter modification operation on the first dressed character model, the reference body model and the first virtual fashion are modified according to the body parameter modification operation to obtain a second dressed character model; wherein the second dressed character model includes the modified second body model and the second virtual fashion, and the tangent positions and joint positions of the corresponding dressing parts on the second body model are adapted to the corresponding positions on the second virtual fashion.

[0122] In a feasible implementation scheme, when the processor executes a body parameter modification operation in response to the first dressed character model and modifies the reference body model and the first virtual fashion according to the body parameter modification operation, it is specifically used to: provide a body parameter page for the first dressed character model; wherein the body parameter page includes deformation intervals corresponding to the body parameters of each body type; in response to a modification operation on the body parameters of a target body type on the body parameter page, deform the reference body model and the first virtual fashion according to the modified body parameters corresponding to the target body type; wherein the second body model and the second virtual fashion obtained after the deformation are adapted to the body parameters of the target body type respectively corresponding to them.

[0123] In a feasible implementation scheme, the body shape parameters corresponding to the modified target body shape type include a first key position of the reference body shape base model and a second key position of the first virtual fashion model, which respectively correspond to the fusion deformation parameters of the second body shape base model, the first key position being the tangent position and the joint position of the dressing part on the reference body shape base model, and the second key position being the position on the first virtual fashion model that matches the tangent position and the joint position of the corresponding dressing part on the reference body shape base model; when the processor executes the deformation of the reference body shape base model and the first virtual fashion model according to the body shape parameters corresponding to the modified target body shape type, it is specifically used to: apply the first key position and the second key position, which respectively correspond to the fusion deformation parameters of the second body shape base model, to fuse and deform the reference body shape base model and the first virtual fashion model.

[0124] In a feasible embodiment, the processor is also used to: obtain the nude model, tangent model and virtual fashion model of each body type of the character model; make a base mold for each body type based on the obtained nude model, tangent model and virtual fashion model; and determine the reference body type base mold from the base molds of all body types.

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

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

[0127] In a feasible embodiment, the processor is also used to: in response to the presence of abnormal points on the second dressed character model that do not match the second body shape nude model, fine-tune the abnormal points so that there are no abnormal points on the third dressed character model obtained after fine-tuning that do not match the second body shape nude model.

[0128] In a feasible implementation manner, the processor is further configured to: in response to a cancel modification operation on the body parameters of the target body type on the body parameter page, cancel the fusion deformation performed on the reference body base and the first virtual fashion.

[0129] A computer-readable storage medium provided by an embodiment of the present disclosure can achieve synchronous modification of subsequent reference body shape base models and the first virtual fashion by setting the first virtual fashion on the reference body shape base model, thereby achieving adaptive matching between the fashion and characters of various body shapes. Compared with the operation method of manually adjusting the fashion for each body shape to match the nude models of characters of different body shapes in the existing game production process, the efficiency of matching fashion for characters of various body shapes is improved, and because the reference body shape base model and the first virtual fashion are modified as a whole, a matching result with better overall effect can be obtained.

[0130] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the fashion processing method of the role model described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0131] It should be noted that similar numbers and letters represent similar items in the following figures. 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 only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0132] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present disclosure. They should all be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be based on the protection scope of the claims.

Claims

1. A method for processing a character model's fashion, characterized in that: include: Obtaining a reference body base model of the character model and a first virtual fashion model corresponding to the reference body base model; wherein the reference body base model is selected from base models of all body shapes produced based on nude models, tangent models and virtual fashion models of various body shapes of the character model according to body shape parameters representing at least one body shape dimension, and each base model is a lattice model; The first virtual fashion is set 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 dressing part on the reference body model are adapted to the corresponding position on the first virtual fashion; In response to a body parameter modification operation on the first dressed character model, the reference body model and the first virtual fashion are modified according to the body parameter modification operation to obtain a second dressed character model; wherein the second dressed character model includes the modified second body model and the second virtual fashion, and the tangent positions and joint positions of the corresponding dressing parts on the second body model are adapted to the corresponding positions on the second virtual fashion.

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

3. The method according to claim 2, characterized in that The modified body shape parameters corresponding to the target body shape type include a first key position of the reference body shape base model and a second key position of the first virtual fashion model, which respectively correspond to the fusion deformation parameters of the second body shape base model, the first key position being a tangent position and a joint position of a dressing part on the reference body shape base model, and the second key position being a position on the first virtual fashion model that matches the tangent position and the joint position of a corresponding dressing part on the reference body shape base model; Deforming the reference body type base mold and the first virtual fashion according to the modified body type parameters corresponding to the target body type includes: The first key position and the second key position are applied to the fusion deformation parameters of the second body shape base respectively corresponding to each other, so as to perform fusion deformation on the reference body shape base and the first virtual fashion.

4. The method according to claim 1, characterized in that: The method further comprises: Obtaining nude models, tangent models and virtual fashion models of various body types of the character model; Based on the acquired nude model, tangent model and virtual fashion model, a base model of each body type is produced; The reference body shape bottom mold is determined from the bottom molds of all body shapes produced.

5. The method according to claim 3, characterized in that: The step of setting the first virtual fashion on the reference body shape base mold comprises: Based on the preset matching relationship between the second key position and the first key position, the first key position of the reference body shape base mold is wrapped with the second key position of the first virtual fashion.

6. The method according to claim 3, characterized in that The method further comprises: Obtaining a second body shape nude mold corresponding to the second body shape bottom mold; The second dressed character model is compared with the second nude body model, and it is determined whether there are abnormal points on the second dressed character model that do not match the second nude body model according to the comparison result.

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

8. The method according to claim 3, characterized in that The method further comprises: In response to a cancel modification operation on the body parameters of the target body type on the body parameter page, the fusion deformation performed on the reference body base and the first virtual costume is canceled.

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

10. An electronic device, comprising a memory and a processor, wherein the memory stores computer executable instructions that can be executed by the processor, characterized in that: When the processor executes the computer executable instructions, the method according to any one of claims 1 to 8 is implemented.

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

Citation Information

Patent Citations

  • method and device for virtual clothes generation

    CN102750438A

  • Animation model processing method and device, electronic equipment and readable storage medium

    CN111951360A

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

    CN112206527A

  • Clothing model adaptive driving method and device and storage medium

    CN114119906A

  • Clothing model driving method and device and storage medium

    CN114119908A