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

By determining the virtual skeleton set required for the target virtual clothing from the bone information of the virtual object of the specified body type, and determining the corresponding virtual skeleton set from the virtual objects of other body type based on these skeleton sets, and then determining the clothing skeleton information based on the shared bone information, the virtual object models of different body types can be adapted to the same virtual fashion, solving the cumbersome and time-consuming problem of virtual fashion production in the existing technology, and improving the production efficiency.

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

Patent Information

Application Number
CN202411731631.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-25
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

In the prior art, the method of adapting to the same set of virtual fashions for virtual object models of different sizes requires game producers to manually create virtual fashions based on model information, resulting in cumbersome production steps, time-consuming and inefficient production.

Method used

By determining the virtual bone set required for the target virtual clothing from the bone information of the virtual object of the specified body type, and determining the corresponding virtual bone set from the virtual object of other body type based on these bone sets, and then determining the clothing bone information based on the shared bone information, the virtual object models of different body types can be adapted to the same virtual fashion.

Benefits of technology

The virtual fashion production steps of virtual object models of different body types are simplified, saving a lot of manpower and time, and improving the production efficiency of virtual models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119680201A_ABST
    Figure CN119680201A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual object model processing method and device, electronic equipment and a storage medium. The method comprises the steps that target virtual clothes are acquired; based on the costume skeleton indication information of the target virtual costume, determining a first virtual skeleton set required by the target virtual costume according to the first skeleton information of the first virtual object; based on the first virtual skeleton set and second skeleton information of the second virtual object, determining a second virtual skeleton set, corresponding to the first virtual skeleton set, of the second virtual object; based on the first virtual skeleton set and the second virtual skeleton set, determining third skeleton information of a common skeleton of the first virtual object and the second virtual object; and determining costume skeleton information corresponding to the first virtual object and the second virtual object based on the third skeleton information of the shared skeleton, the first virtual skeleton set and the second virtual skeleton set. According to the method, the manufacturing steps of the virtual fashion of the virtual object models of different body types are simplified, a large amount of manpower and time are saved, and the manufacturing efficiency of the virtual model 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 a virtual object model. Background Art

[0002] In order to meet people's pursuit of spiritual life, entertainment games that can be operated on terminals have emerged, such as role-playing games, tactical competitive games, shooting competitive games or massively multiplayer online role-playing games developed based on client or server architecture. In the game, players can manipulate the virtual characters on the screen to play the game, and can perform related operations such as walking, running, jumping, picking up props and fighting in the game scene based on the first or third perspective of the characters operated by the players, so that players can experience the visual impact brought by the game in an immersive way, greatly enhancing the initiative and realism of the game.

[0003] At present, in order to increase the fun of the game for players, a variety of virtual costumes are usually provided for players in the game for them to wear for the virtual objects they control. In the prior art, in order to meet the demand that virtual object models of virtual objects of various body types wear the same set of virtual costumes, game producers usually make virtual costumes of corresponding body types for virtual object models of different body types, so that virtual object models of different body types can also wear the same virtual costumes. However, the existing method of making virtual costumes suitable for virtual object models of different body types requires game producers to manually make corresponding virtual costumes according to the model information of virtual object models of different body types. The production steps of making corresponding virtual costumes for different body types are cumbersome, and require a lot of manpower and time, resulting in low production efficiency of virtual models. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for processing a virtual object model. The method determines a first virtual skeleton set required for a target virtual clothing from first skeleton information of a first virtual object of a specified first body type, and determines a second virtual skeleton set from second skeleton information of a second virtual object of a second body type based on the first virtual skeleton set. Then, based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeletons of the first virtual object and the second virtual object, the clothing skeleton information corresponding to the first virtual object and the second virtual object is determined. Thus, only clothing skeleton models corresponding to virtual object models of different body types need to be produced, so that virtual object models of different body types can all be adapted to the same virtual clothing, which simplifies the steps of producing virtual clothing for virtual object models of different body types, saves a lot of manpower and time, and improves the production efficiency of virtual models.

[0005] In a first aspect, an embodiment of the present application provides a method for processing a virtual object model, the method comprising:

[0006] Acquire a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used to indicate a virtual skeleton required to be used by the target virtual garment;

[0007] Determining a first virtual skeleton set required for the target virtual clothing based on clothing skeleton indication information of the target virtual clothing and first skeleton information of the first virtual object;

[0008] Determine, based on the first virtual skeleton set and second skeleton information of the second virtual object, a second virtual skeleton set corresponding to the second virtual object and the first virtual skeleton set;

[0009] Determine third skeleton information of a common skeleton of the first virtual object and the second virtual object based on the first virtual skeleton set and the second virtual skeleton set;

[0010] Based on the third skeleton information of the common skeleton, the first virtual skeleton set, and the second virtual skeleton set, the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined.

[0011] In a second aspect, an embodiment of the present application provides a processing device for a virtual object model, including:

[0012] An acquisition unit, used for acquiring a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used for indicating a virtual skeleton required for the target virtual garment;

[0013] A first determining unit, configured to determine a first virtual skeleton set required for the target virtual clothing based on clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object;

[0014] A second determining unit, configured to determine a second virtual skeleton set corresponding to the first virtual skeleton set of the second virtual object based on the first virtual skeleton set and second skeleton information of the second virtual object;

[0015] A third determining unit, configured to determine third bone information of a common bone of the first virtual object and the second virtual object based on the first virtual bone set and the second virtual bone set;

[0016] The fourth determining unit is used to determine clothing skeleton information of target virtual clothing corresponding to the first virtual object and the second virtual object respectively based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set.

[0017] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; a processor loads the instructions from the memory to execute the steps of any virtual object model processing method provided in the embodiment of the present application.

[0018] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps of any virtual object model processing method provided in the embodiment of the present application.

[0019] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps in any one of the virtual object model processing methods provided in the embodiments of the present application.

[0020] By adopting the scheme of the embodiment of the present application, the first virtual skeleton set required for the target virtual clothing is determined from the first skeleton information of the first virtual object of the specified first body type, and the second virtual skeleton set is determined from the second skeleton information of the second virtual object of the second body type according to the first virtual skeleton set. Then, based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeletons of the first virtual object and the second virtual object, the clothing skeleton information corresponding to the first virtual object and the second virtual object is determined. Therefore, it is only necessary to produce clothing skeleton models corresponding to virtual object models of different body types, so that virtual object models of different body types can all be adapted to the same virtual fashion, which simplifies the production steps of virtual fashion for virtual object models of different body types, saves a lot of manpower and time, and improves the production efficiency of virtual models. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 It is a scene schematic diagram of a processing system of a virtual object model provided in an embodiment of the present application;

[0023] Figure 2It is a flowchart of an embodiment of a method for processing a virtual object model provided in an embodiment of the present application;

[0024] Figure 3 It is a scene schematic diagram of the method for processing a virtual object model provided in an embodiment of the present application;

[0025] Figure 4 is a structural schematic diagram of a processing device for a virtual object model provided in an embodiment of the present application;

[0026] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0028] The embodiments of the present application provide a method, device, electronic device, and computer-readable storage medium for processing a virtual object model. Specifically, the present embodiment will be described from the perspective of a processing device for a virtual object model, and the processing device for the virtual object model can be specifically integrated in an electronic device, that is, the processing method for the virtual object model of the embodiment of the present application can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.

[0029] The processing method of the virtual object model provided in the embodiment of the present application can be applied to a processing system of the virtual object model. The processing system of the virtual object model can include a player terminal device and a server, and the terminal can be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The player terminal device and the server can perform two-way communication through a network.

[0030] Optionally, the server may be an independent server, or a server network or server cluster composed of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0031] The processing method of the virtual object model in one embodiment of the present disclosure can be run on a local terminal device or a server. When the processing method of the virtual object 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.

[0032] For example, when the processing method of the virtual object model is run on the terminal, the terminal device stores a game application and is used to present a virtual scene in the game screen. The terminal device is used to interact with the user through a graphical user interface, for example, the game application is downloaded and installed by the terminal device and run. The terminal device may provide the graphical user interface to the user in a variety of ways, for example, it can be rendered and displayed on the display screen of the terminal device, or the graphical user interface is presented by holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used to present the graphical user interface and receive the operation instructions generated by the user acting on the 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, respond to the operation instructions, and control the display of the graphical user interface on the touch display screen.

[0033] For example, when the processing method of the virtual object model runs on the server, it can be a cloud game. Cloud gaming refers to a gaming method based on cloud computing. In the operation mode of cloud gaming, the operating body of the game application and the game screen presentation body are separated, and the storage and operation of the processing method of the virtual object model are completed on the cloud gaming server. The game screen presentation is completed on the client of the cloud gaming. The cloud gaming client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud gaming client 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, a personal digital assistant, etc., but the terminal device for processing game data is a cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send an operation instruction to the cloud gaming server. The cloud gaming server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.

[0034] See also Figure 1 , Figure 1A scene diagram of a processing system for a virtual object model provided by an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. The terminal is any device with computing hardware that can support and execute software products corresponding to the game. In addition, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. For example, multiple users can be online through different terminals and connected and synchronized with each other through appropriate networks to support multi-player games. In addition, the system may include multiple databases, multiple databases are coupled to different servers, and information related to the game environment can be continuously stored in the database when different users are online for multi-player games.

[0035] The embodiment of the present application provides a method for processing a virtual object model, which can be executed by a terminal or a server. The embodiment of the present application takes the method for processing a virtual object model executed by a terminal as an example for explanation. Among them, the terminal may include a touch display screen and a processor (of course, the terminal may also use peripherals such as a mouse and a keyboard as input devices, and only the touch display screen is used as an example for explanation here), and the touch display screen is used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. When the user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the opposite server by responding to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application, and the processor is configured to start the game application after receiving the instructions for starting the game application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen. The touch display screen is a multi-touch sensitive screen that can sense touch or sliding operations performed simultaneously by multiple points on the screen. The user uses a finger to perform a touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation.

[0036] It should be noted that Figure 1The scenario diagram of the processing system of the virtual object model shown is merely an example. The processing system and scenario of the virtual object model described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can know that with the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0037] The embodiment of the present application provides a method for processing a virtual object model, which can be executed by a terminal or a server. The embodiment of the present application takes the method for processing a virtual object model executed by a terminal as an example for explanation, and a graphical user interface can be provided by a terminal device, and the graphical user interface includes at least part of a virtual scene, and a controlled virtual object located in the virtual scene and controlled by the terminal device. The graphical user interface, virtual scene, and virtual object are explained below.

[0038] The game scene (or virtual scene) is a virtual scene displayed (or provided) when the application is running on a terminal or server. Optionally, the virtual scene is a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene, and the virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the virtual scene is a scene with complete game logic of virtual objects such as user control. For example, for sandbox 3D shooting games, the virtual scene is a 3D game world for players to control virtual objects to fight. Example virtual scenes may include: at least one element of mountains, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and vehicles; for example, for 2D card games, the virtual scene is a scene for displaying released cards or displaying virtual objects corresponding to cards. Example virtual scenes may include: an arena, a decisive battlefield, or other "field" elements or other elements that can display the status of card battles; for 2D or 3D multiplayer online tactical competitive games, the virtual scene is a 2D or 3D terrain scene for virtual objects to fight. Example virtual scenes may include: canyon-style mountains, lines, rivers, classrooms, tables and chairs, podiums and other elements.

[0039] The graphical user interface is obtained by executing a software application on a processor of a mobile terminal or other terminal and rendering it on a display, and can be a display screen interface of a terminal device. The graphical user interface can present the entire game scene, or only a part of the game scene. The game scene includes multiple static virtual objects, specifically including ground, mountains, rocks, vegetation, buildings, etc. When the game scene is relatively large, only the local content of the game scene is displayed on the graphical user interface of the terminal device during the game. Optionally, the game scene contains game characters, which can be game characters controlled by players, or NPCs (abbreviation of Non-Player Character, which is a type of character in the game, meaning non-player characters), which is not limited in this exemplary embodiment. The graphical user interface can include a UI interface and a game screen for players to interact. In an optional embodiment, the UI interface can include game controls (such as skill controls, mobile controls, function controls, etc.), indicator marks (such as direction indicator marks, role indicator marks, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.). In an optional implementation, the game screen is a display screen corresponding to a virtual scene displayed by a terminal device, and the game screen may include virtual objects such as game characters, NPC characters, AI characters, etc. that execute game logic in the virtual scene.

[0040] A game object (or virtual object, game character) refers to a dynamic object that can be controlled in a virtual scene. Optionally, the dynamic object can be a virtual character, a virtual animal, a cartoon character, etc. The virtual object is a character controlled by a player through an input device, or an artificial intelligence (AI) set in a virtual environment battle through training, or a non-player character (NPC) set in a virtual scene battle. Optionally, the virtual object is a virtual character competing in a virtual scene. Optionally, the number of virtual objects in the virtual scene battle is preset, or is dynamically determined according to the number of clients joining the battle, and the embodiment of the present application does not limit this. In a possible implementation, the user can control the virtual object to move in the virtual scene, for example, control the virtual object to run, jump, crawl, etc., and can also control the virtual object to use the skills, virtual props, etc. provided by the application to fight with other virtual objects. (Game) props refer to props that can be used by virtual objects in a virtual environment, including but not limited to firearms, cold weapons, grenades, shields, springboards, puppets, etc., which can be used by virtual objects to speed up their own attributes, assist in combat, or launch damage to other virtual objects. Virtual props can also be supply props such as bullets, and can also be equipped on designated virtual weapons for accessories such as extended magazines, aiming scopes, flash suppressors, and stocks. The virtual camera is a necessary component for the game scene screen, which is used to present the game scene screen. A game scene corresponds to at least one virtual camera. According to actual needs, there can be two or more virtual cameras, which serve as the game rendering window to capture and present the game world's screen content to the player. By setting the parameters of the virtual camera, the player's perspective of viewing the game world can be adjusted, such as the first-person perspective and the third-person perspective.

[0041] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.

[0042] See also Figure 2 , Figure 2 A flowchart of a method for processing a virtual object model provided in an embodiment of the present application is shown. The specific flow of the method for processing a virtual object model may include steps 101 to 105 as follows:

[0043] Step 101: Acquire a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used to indicate a virtual skeleton required to be used by the target virtual garment.

[0044] Specifically, the target virtual clothing can be selected according to the actual design requirements, and each target virtual clothing is associated with corresponding clothing skeleton indication information. In order to better utilize the deformation ability of the radial basis function, as many bones as possible are selected, that is, the selected skeleton set will include the commonly used skeletons corresponding to the target virtual clothing as much as possible, such as elbow bones, arm bones, upper body bones, etc. For example, the clothing skeleton indication information associated with the virtual long-sleeved clothing includes the commonly used related skeleton sets of virtual long-sleeved clothing. The skeleton set is an artificially set skeleton set, which is generally divided according to the functional modules. For example, long-sleeved skeleton set, long skirt skeleton set, short-sleeved skeleton set, short skirt skeleton set, etc.

[0045] Step 102: Determine a first virtual skeleton set required for the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and the first skeleton information of the first virtual object.

[0046] In the embodiment of the present application, the first skeleton information includes a first virtual skeleton model; the first virtual skeleton model of the first virtual object includes a plurality of first virtual skeletons, and the step of “determining the first virtual skeleton set required for the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and the first skeleton information of the first virtual object” includes:

[0047] Based on the clothing skeleton indication information of the target virtual clothing, determining at least one first virtual skeleton matching the clothing skeleton indication information from the first virtual skeleton model of the first virtual object;

[0048] A first virtual skeleton set is determined based on each of the first virtual skeletons.

[0049] Specifically, at least one first virtual skeleton matching the clothing skeleton indication information can be determined from multiple first virtual skeletons of the first virtual skeleton model of the first virtual object according to the clothing skeleton indication information of the target virtual clothing, and the first virtual skeleton set can be determined based on each of the first virtual skeletons. For example, the target virtual clothing is a virtual long-sleeved clothing, and the clothing skeleton indication information of the virtual long-sleeved clothing is the virtual skeleton belonging to the elbow, arm, and upper body in the virtual skeleton model of the virtual object that needs to be used. Therefore, based on the clothing skeleton indication information of the virtual long-sleeved clothing, at least one first virtual skeleton belonging to the elbow, arm, and upper body can be determined from multiple first virtual skeletons of the first virtual skeleton model of the first virtual object, and the first virtual skeleton set can be determined based on each of the first virtual skeletons.

[0050] Specifically, a suitable first virtual skeleton can be selected in the maximization file of the first virtual object of the first body shape to generate a corresponding first virtual skeleton set, and the first virtual skeleton set is used as the target calibration object B1. Wherein, maximization means making a best model selection within the range allowed by the existing skeleton framework constraints. The maximization file records the model composition supported by the existing skeleton framework under the first body shape. Model production must be carried out under this constraint, which is an important prerequisite for the model to achieve action reuse.

[0051] Step 103: Based on the first virtual skeleton set and the second skeleton information of the second virtual object, determine a second virtual skeleton set corresponding to the first virtual skeleton set of the second virtual object.

[0052] Specifically, the first virtual object and the second virtual object are virtual objects with the same target object attributes and different body shapes. For example, the first virtual object and the second virtual object are both female, the first virtual object is a female with a normal body shape, and the second virtual object is a female with a fat body shape. Among them, the difference between the first virtual object and the second virtual object has two parts. One is that due to the different body shapes, the body shapes are different, resulting in inconsistent information such as resource size, vertex position, etc. of the mesh model (mesh) and bone model (bone) of the first virtual object and the second virtual object; the other is that different body shapes will have some exclusive fashion modules, which will cause different maximization files to be different in terms of whether there is mesh.

[0053] Furthermore, the first virtual skeleton set of the first virtual object and the second virtual skeleton set of the second virtual object respectively include at least one virtual skeleton in the same part. For example, the first virtual skeleton set includes virtual skeletons in the torso, and the second virtual skeleton set also includes virtual skeletons in the torso. However, due to different body shapes, the skeletons in the same part of the two virtual objects of different body shapes have different information such as mesh, bone, resource size, position, etc. For example, the resource size and position information of the mesh and virtual skeleton of the torso of the first virtual object and the virtual skeleton of the torso of the second virtual object are different.

[0054] In a specific embodiment, the second skeleton information includes a second virtual skeleton model, and the second skeleton model includes a plurality of second virtual skeletons; the step of "determining a second virtual skeleton set corresponding to the second virtual object and the first virtual skeleton set based on the first virtual skeleton set and the second skeleton information of the second virtual object" includes:

[0055] Based on the first virtual skeleton set, determining at least one second virtual skeleton matching each first virtual skeleton in the first virtual skeleton set from a second virtual skeleton model of the second virtual object;

[0056] A second virtual skeleton set is determined based on each of the second virtual skeletons.

[0057] Specifically, a suitable second virtual skeleton can be screened from the maximized file of the second virtual object of the second body type to generate a corresponding second virtual skeleton set. Specifically, a second virtual skeleton corresponding to the first virtual skeleton set can be screened from the maximized file of the second virtual object of the second body type and a second virtual skeleton set can be generated, and the second virtual skeleton set can be used as the target calibration object B2. For example, based on the virtual skeleton of at least one part included in the first virtual skeleton set, the virtual skeleton of the same part can be screened from the maximized file of the second virtual object of the second body type to form a second virtual skeleton set. For example, if the first virtual skeleton set includes virtual skeletons of the head, hands, main trunk, and legs, then based on the virtual skeletons of the above parts included in the first virtual skeleton set, the corresponding virtual skeletons of the head, hands, main trunk, and legs can be matched and screened from the maximized file of the second virtual object of the second body type to generate a second virtual skeleton set.

[0058] Step 104: Determine third bone information of a common bone of the first virtual object and the second virtual object based on the first virtual bone set and the second virtual bone set.

[0059] In an embodiment of the present application, data analysis can be performed on the target calibration object B1 and the target calibration object B2 obtained in the above steps, and only the coexisting parts of the target calibration object B1 and the target calibration object B2 are retained. Specifically, it is also necessary to compare the virtual skeletons of the coexisting parts to see whether they are consistent in the hierarchical structure (i.e., the parent-child relationship), specification naming (i.e., the name of the skeleton model) and the skeleton ID (i.e., the skeleton model identification). If they are consistent, they are determined to be coexisting skeletons. If they are inconsistent, they are adjusted to make them consistent to form a one-to-one correspondence.

[0060] For example, the target calibration object B2 is adjusted with reference to the target calibration object B1, and it is necessary to ensure consistency in the hierarchical structure (i.e., parent-child relationship), specification naming (i.e., bone model name) and bone ID (i.e., bone model identification). If the specification naming (i.e., bone model name) is inconsistent, the bone model name of the target calibration object B2 can be modified to be consistent with the bone model name of the target calibration object B1; if the hierarchical structure (i.e., parent-child relationship) and / or bone ID (i.e., bone model identification) are inconsistent, this part of the bones will be abandoned in the bone sets corresponding to the target calibration objects B1 and B2.

[0061] In the embodiment of the present application, the step of “determining third skeleton information of a common skeleton of the first virtual object and the second virtual object based on the first virtual skeleton set and the second virtual skeleton set” includes:

[0062] Get the specified skeleton model attributes;

[0063] Based on the specified skeleton model attributes, the common skeleton of the first virtual object and the second virtual object is determined from the first virtual skeleton set and the second virtual skeleton set, and the third skeleton information of the common skeleton is determined.

[0064] The specified skeleton model attributes include a skeleton model name, a skeleton model hierarchy, and a skeleton model identifier.

[0065] In a specific embodiment, the step of "determining the common bones of the first virtual object and the second virtual object from the first virtual bone set and the second virtual bone set based on the specified bone model attributes" includes:

[0066] Determine a target first virtual bone and a target second virtual bone having the same bone position information in the first virtual bone set and the second virtual bone set;

[0067] Determine whether the target first virtual skeleton and the target second virtual skeleton have the same specified skeleton model attribute, and determine the attribute determination result;

[0068] A common skeleton of the first virtual object and the second virtual object is determined based on the attribute judgment result.

[0069] Specifically, the step of “determining the common skeleton of the first virtual object and the second virtual object based on the attribute judgment result” includes:

[0070] If the attribute judgment result is that the skeleton model name, the skeleton model hierarchy structure and / or the skeleton model identifier are the same, it is determined that the target first virtual skeleton and the target second virtual skeleton are common skeletons of the first virtual object and the second virtual object.

[0071] Optionally, the step of “determining the common skeleton of the first virtual object and the second virtual object based on the attribute judgment result” includes:

[0072] If the attribute judgment result is that the skeleton model names are not the same, then based on the skeleton model name of the target first virtual skeleton, the skeleton model name of the target second virtual skeleton is adjusted to obtain an adjusted target second virtual skeleton;

[0073] The target first virtual skeleton and the adjusted target second virtual skeleton are determined to be the common skeleton.

[0074] Optionally, the method further includes:

[0075] If the attribute judgment result is that the bone model hierarchical structure and / or the bone model identifier are different, the target first virtual bone is deleted from the first virtual bone set, and the target second virtual bone is deleted from the second virtual bone set to obtain an adjusted first virtual bone set and an adjusted second virtual bone set.

[0076] Furthermore, the method further comprises:

[0077] A first clothing skeleton model corresponding to the first virtual object is determined based on the adjusted first virtual skeleton set, and a second clothing skeleton model corresponding to the second virtual object is determined based on the adjusted second virtual skeleton set.

[0078] Step 105: Determine clothing skeleton information of target virtual clothing corresponding to the first virtual object and the second virtual object respectively based on the third skeleton information of the common skeleton, the first virtual skeleton set, and the second virtual skeleton set.

[0079] The clothing skeleton information is used to indicate the clothing skeleton model required for the target virtual clothing, and the clothing skeleton model is used to bind and associate with the target virtual clothing so that the target virtual clothing moves along with the movement of the clothing skeleton model of virtual objects of different body shapes.

[0080] In the embodiment of the present application, the skeleton information of the common skeletons in the virtual skeleton sets of different body shapes can be used to obtain the skeleton information of clothing of different virtual objects, thereby realizing that the same virtual clothing is suitable for virtual objects of different body shapes.

[0081] Specifically, the step of “determining the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set” includes:

[0082] Based on the third skeleton information of the shared skeleton, a target first virtual skeleton and a target second virtual skeleton matching the shared skeleton are respectively selected from the first virtual skeleton set and the second virtual skeleton set;

[0083] First clothing skeleton information corresponding to the first virtual object is determined based on the target first virtual skeleton, and second clothing skeleton information corresponding to the second virtual object is determined based on the target second virtual skeleton.

[0084] Based on the above introduction, the following example will be used to further illustrate the processing method of the virtual object model of the present application. The specific embodiment of the processing method of the virtual object model is as follows:

[0085] (1) In the embodiment of the present application, a first virtual object corresponding to a woman of normal body shape, a second virtual object corresponding to a woman of relatively fat body shape, and a third virtual object corresponding to a woman of the fattest body shape can be obtained, and the first virtual object is used as a reference virtual object.

[0086] (2) In the embodiments of the present application, for example, see Figure 3 , the first virtual object includes a first virtual skeleton model, the second virtual object includes a second virtual skeleton model, and the third virtual object includes a third virtual skeleton model. A suitable first virtual skeleton can be screened in the maximization file of the first virtual object of the first body shape to generate a corresponding first virtual skeleton set, and the first virtual skeleton set is used as the target calibration object B1. Specifically, the target virtual clothing is a virtual long-sleeved clothing, and the clothing skeleton indication information of the virtual long-sleeved clothing is the virtual skeleton belonging to the elbow, arm, and upper body in the virtual skeleton model of the virtual object that needs to be used. Therefore, based on the clothing skeleton indication information of the virtual long-sleeved clothing, at least one first virtual skeleton belonging to the elbow, arm, and upper body can be determined from multiple first virtual skeletons of the first virtual skeleton model of the first virtual object, and the first virtual skeleton set is determined as the target calibration object B1 based on each of the first virtual skeletons.

[0087] (3) In the embodiment of the present application, a suitable second virtual skeleton can be screened out from the maximized file of the second virtual object of the fatter body type to generate a corresponding second virtual skeleton set. Specifically, a second virtual skeleton corresponding to the first virtual skeleton set can be screened out from the maximized file of the second virtual object of the second body type and a second virtual skeleton set can be generated, and the second virtual skeleton set can be used as the target calibration object B2.

[0088] In an embodiment of the present application, a suitable third virtual skeleton c can be screened from the maximized file of the third virtual object of the fattest body type to generate a corresponding third virtual skeleton set. Specifically, a third virtual skeleton corresponding to the first virtual skeleton set can be screened from the maximized file of the third virtual object of the third body type and a third virtual skeleton set can be generated, and the third virtual skeleton set can be used as the target calibration object B3.

[0089] (4) In the embodiment of the present application, the target calibration object B1, target calibration object B2 and target calibration object B3 obtained in the above steps can be subjected to data analysis, and only the coexisting parts of the target calibration object B1, target calibration object B2 and target calibration object B3 are retained. Specifically, it is also necessary to compare the virtual skeletons of the coexisting parts to see whether they are consistent in the hierarchical structure (i.e., the parent-child relationship), specification naming (i.e., the name of the skeleton model) and the skeleton ID (i.e., the skeleton model identifier). If they are consistent, they are determined to be coexisting skeletons. If they are inconsistent, they are adjusted to make them consistent to form a one-to-one correspondence, so as to obtain the target calibration object skeleton New_B1 corresponding to the first virtual object, New_B2 corresponding to the second virtual object and New_B3 corresponding to the third virtual object, which have coexisting skeletons and consistent skeleton model attributes.

[0090] Among them, the target calibration object B2 and the target calibration object B3 are adjusted with reference to the target calibration object B1, and it is necessary to ensure consistency in the hierarchical structure (i.e., the parent-child relationship), specification naming (i.e., the name of the skeleton model) and the skeleton ID (i.e., the skeleton model identification). If the specification naming (i.e., the skeleton model name) is inconsistent, the skeleton model name of the target calibration object B2 or the skeleton model name of the target calibration object B3 can be modified to be consistent with the skeleton model name of the target calibration object B1; if the hierarchical structure (i.e., the parent-child relationship) and / or the skeleton ID (i.e., the skeleton model identification) are inconsistent, then this part of the skeleton is abandoned in the skeletons corresponding to the target calibration object B1, the target calibration object B2 and the target calibration object B3, so as to obtain the target calibration object skeleton New_B1 corresponding to the first virtual object, New_B2 corresponding to the second virtual object and New_B3 corresponding to the third virtual object with coexisting skeletons and consistent skeleton model attributes, and the target calibration object skeleton New_B1 is used as the first clothing skeleton model of the first virtual object (i.e. Figure 3 The part corresponding to all blue lines indicated by the arrows in the middle left view), the target calibration object skeleton New_B2 as the second clothing skeleton model of the second virtual object (i.e. Figure 3 The parts corresponding to all blue lines indicated by the arrows in the middle view), and the target calibration object skeleton New_B3 as the third clothing skeleton model of the third virtual object (i.e. Figure 3 All the white lines indicated by arrows in the middle right view correspond to the parts).

[0091] In summary, an embodiment of the present application provides a method for processing a virtual object model, by acquiring a target virtual clothing, the target virtual clothing is configured with clothing skeleton indication information, and the clothing skeleton indication information is used to indicate the virtual skeleton required for the target virtual clothing; then, based on the clothing skeleton indication information of the target virtual clothing and the first skeleton information of the first virtual object, the first virtual skeleton set required for the target virtual clothing is determined; then, based on the first virtual skeleton set and the second skeleton information of the second virtual object, the second virtual skeleton set corresponding to the first virtual skeleton set is determined; thereafter, based on the first virtual skeleton set and the second virtual skeleton set, the third skeleton information of the common skeleton of the first virtual object and the second virtual object is determined; finally, based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set, the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined. By adopting the scheme of the embodiment of the present application, the first virtual skeleton set required for the target virtual clothing is determined from the first skeleton information of the first virtual object of the specified first body type, and the second virtual skeleton set is determined from the second skeleton information of the second virtual object of the second body type according to the first virtual skeleton set. Then, based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeletons of the first virtual object and the second virtual object, the clothing skeleton models corresponding to the first virtual object and the second virtual object are determined respectively. Therefore, it is only necessary to produce clothing skeleton models corresponding to virtual object models of different body types, so that virtual object models of different body types can all be adapted to the same virtual fashion, which simplifies the production steps of virtual fashions for virtual object models of different body types, saves a lot of manpower and time, and improves the production efficiency of virtual models.

[0092] This embodiment also provides a processing device for a virtual object model, which can be integrated into a terminal device. Figure 4 As shown, the processing device of the virtual object model may include:

[0093] An acquisition unit 201 is used to acquire a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used to indicate a virtual skeleton required to be used by the target virtual garment;

[0094] A first determining unit 202 is used to determine a first virtual skeleton set required for the target virtual clothing based on clothing skeleton indication information of the target virtual clothing and first skeleton information of the first virtual object;

[0095] A second determining unit 203 is used to determine a second virtual skeleton set corresponding to the first virtual skeleton set of the second virtual object based on the first virtual skeleton set and second skeleton information of the second virtual object;

[0096] A third determining unit 204 is used to determine third bone information of a common bone of the first virtual object and the second virtual object based on the first virtual bone set and the second virtual bone set;

[0097] The fourth determining unit 205 is used to determine clothing skeleton information of target virtual clothing corresponding to the first virtual object and the second virtual object respectively based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set.

[0098] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0099] Based on the clothing skeleton indication information of the target virtual clothing, determining at least one first virtual skeleton matching the clothing skeleton indication information from the first virtual skeleton model of the first virtual object;

[0100] A first virtual skeleton set is determined based on each of the first virtual skeletons.

[0101] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0102] Based on the first virtual skeleton set, determining at least one second virtual skeleton matching each first virtual skeleton in the first virtual skeleton set from a second virtual skeleton model of the second virtual object;

[0103] A second virtual skeleton set is determined based on each of the second virtual skeletons.

[0104] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0105] Get the specified skeleton model attributes;

[0106] Based on the specified skeleton model attributes, the common skeleton of the first virtual object and the second virtual object is determined from the first virtual skeleton set and the second virtual skeleton set, and the third skeleton information of the common skeleton is determined.

[0107] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0108] Determine a target first virtual bone and a target second virtual bone having the same bone position information in the first virtual bone set and the second virtual bone set;

[0109] Determine whether the target first virtual skeleton and the target second virtual skeleton have the same specified skeleton model attribute, and determine the attribute determination result;

[0110] A common skeleton of the first virtual object and the second virtual object is determined based on the attribute judgment result.

[0111] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0112] If the attribute judgment result is that the skeleton model name, the skeleton model hierarchy structure and / or the skeleton model identifier are the same, it is determined that the target first virtual skeleton and the target second virtual skeleton are common skeletons of the first virtual object and the second virtual object.

[0113] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0114] If the attribute judgment result is that the skeleton model names are not the same, then based on the skeleton model name of the target first virtual skeleton, the skeleton model name of the target second virtual skeleton is adjusted to obtain an adjusted target second virtual skeleton;

[0115] The target first virtual skeleton and the adjusted target second virtual skeleton are determined to be the common skeleton.

[0116] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0117] If the attribute judgment result is that the bone model hierarchical structure and / or the bone model identifier are different, the target first virtual bone is deleted from the first virtual bone set, and the target second virtual bone is deleted from the second virtual bone set to obtain an adjusted first virtual bone set and an adjusted second virtual bone set.

[0118] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0119] A first clothing skeleton model corresponding to the first virtual object is determined based on the adjusted first virtual skeleton set, and a second clothing skeleton model corresponding to the second virtual object is determined based on the adjusted second virtual skeleton set.

[0120] In some embodiments, the processing device of the virtual object model includes a processing subunit, which is used to:

[0121] Based on the third skeleton information of the shared skeleton, a target first virtual skeleton and a target second virtual skeleton matching the shared skeleton are respectively selected from the first virtual skeleton set and the second virtual skeleton set;

[0122] First clothing skeleton information corresponding to the first virtual object is determined based on the target first virtual skeleton, and second clothing skeleton information corresponding to the second virtual object is determined based on the target second virtual skeleton.

[0123] The embodiment of the present application discloses a processing device for a virtual object model, wherein a target virtual clothing is acquired by an acquisition unit 201, and the target virtual clothing is configured with clothing skeleton indication information, and the clothing skeleton indication information is used to indicate the virtual skeleton required for the target virtual clothing; a first determination unit 202 determines a first virtual skeleton set required for the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and the first skeleton information of the first virtual object; a second determination unit 203 determines a second virtual skeleton set corresponding to the first virtual skeleton set of the second virtual object based on the first virtual skeleton set and the second skeleton information of the second virtual object; a third determination unit 204 determines third skeleton information of a common skeleton of the first virtual object and the second virtual object based on the first virtual skeleton set and the second virtual skeleton set; a fourth determination unit 205 determines clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set. The embodiment of the present application determines the first virtual skeleton set required for the target virtual clothing from the first skeleton information of the first virtual object of the specified first body type, and determines the second virtual skeleton set from the second skeleton information of the second virtual object of the second body type according to the first virtual skeleton set, and then determines the clothing skeleton models corresponding to the first virtual object and the second virtual object respectively based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common bones of the first virtual object and the second virtual object. Therefore, it is only necessary to produce clothing skeleton models corresponding to virtual object models of different body types, so that virtual object models of different body types can all be adapted to the same virtual clothing, which simplifies the steps of producing virtual clothing for virtual object models of different body types, saves a lot of manpower and time, and improves the production efficiency of virtual models.

[0124] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Alternatively, the electronic device may be a server.

[0125] like Figure 5 As shown, Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.

[0126] The processor 301 is the control center of the electronic device 300. It uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the electronic device 300 by running or loading software programs and / or units stored in the memory 302, and calling data stored in the memory 302, so as to monitor the electronic device 300 as a whole. The processor 301 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0127] In the embodiment of the present application, the processor 301 in the electronic device 300 will load instructions corresponding to the processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 will run the application programs stored in the memory 302 to implement various functions, such as:

[0128] Acquire a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used to indicate a virtual skeleton required to be used by the target virtual garment;

[0129] Determining a first virtual skeleton set required for the target virtual clothing based on clothing skeleton indication information of the target virtual clothing and first skeleton information of the first virtual object;

[0130] Determine, based on the first virtual skeleton set and second skeleton information of the second virtual object, a second virtual skeleton set corresponding to the second virtual object and the first virtual skeleton set;

[0131] Determine third skeleton information of a common skeleton of the first virtual object and the second virtual object based on the first virtual skeleton set and the second virtual skeleton set;

[0132] Based on the third skeleton information of the common skeleton, the first virtual skeleton set, and the second virtual skeleton set, the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined.

[0133] The electronic device provided in the embodiment of the present application can obtain a target virtual clothing, wherein the target virtual clothing is configured with clothing skeleton indication information, and the clothing skeleton indication information is used to indicate the virtual skeleton required for the target virtual clothing; then, based on the clothing skeleton indication information of the target virtual clothing and the first skeleton information of the first virtual object, determine the first virtual skeleton set required for the target virtual clothing; then, based on the first virtual skeleton set and the second skeleton information of the second virtual object, determine the second virtual skeleton set corresponding to the first virtual skeleton set of the second virtual object; then, based on the first virtual skeleton set and the second virtual skeleton set, determine the third skeleton information of the common skeleton of the first virtual object and the second virtual object; finally, based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set, determine the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively. Therefore, the scheme of the embodiment of the present application is adopted, by determining the first virtual skeleton set required for the target virtual clothing from the first skeleton information of the first virtual object of the specified first body type, and determining the second virtual skeleton set from the second skeleton information of the second virtual object of the second body type according to the first virtual skeleton set, and then determining the clothing skeleton models corresponding to the first virtual object and the second virtual object respectively based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common bones of the first virtual object and the second virtual object, so that only clothing skeleton models corresponding to virtual object models of different body types need to be produced, so that virtual object models of different body types can all be adapted to the same virtual fashion, which simplifies the steps of making virtual fashions for virtual object models of different body types, saves a lot of manpower and time, and improves the production efficiency of virtual models.

[0134] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0135] Optional, such as Figure 5As shown, the electronic device 300 further includes: a touch screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art can understand that Figure 5 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0136] The touch display screen 303 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 303 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel can be used to collect the user's touch operation on or near it (such as the user uses any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 301, and can receive the command sent by the processor 301 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 301 to determine the type of touch event, and then the processor 301 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 303 can also be used as a part of the input unit 306 to realize the input function.

[0137] The radio frequency circuit 304 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.

[0138] The audio circuit 305 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 305 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 305 and converted into audio data, and then the audio data is output to the processor 301 for processing, and then sent to another electronic device through the radio frequency circuit 304, or the audio data is output to the memory 302 for further processing. The audio circuit 305 may also include an earplug jack to provide communication between an external headset and the electronic device.

[0139] The input unit 306 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0140] The power supply 307 is used to supply power to various components of the electronic device 300. Optionally, the power supply 307 can be logically connected to the processor 301 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 307 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0141] although Figure 5 Not shown, the electronic device 300 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0142] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0143] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0144] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute any one of the virtual object model processing methods provided in the embodiments of the present application. The computer program can execute the following steps of the virtual object model processing method:

[0145] Acquire a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used to indicate a virtual skeleton required to be used by the target virtual garment;

[0146] Determining a first virtual skeleton set required for the target virtual clothing based on clothing skeleton indication information of the target virtual clothing and first skeleton information of the first virtual object;

[0147] Determine, based on the first virtual skeleton set and second skeleton information of the second virtual object, a second virtual skeleton set corresponding to the second virtual object and the first virtual skeleton set;

[0148] Determine third skeleton information of a common skeleton of the first virtual object and the second virtual object based on the first virtual skeleton set and the second virtual skeleton set;

[0149] Based on the third skeleton information of the common skeleton, the first virtual skeleton set, and the second virtual skeleton set, the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined.

[0150] Due to the computer program stored in the storage medium, the target virtual clothing can be obtained by acquiring the target virtual clothing, the target virtual clothing being configured with clothing skeleton indication information, the clothing skeleton indication information being used to indicate the virtual skeleton required for the target virtual clothing; then, based on the clothing skeleton indication information of the target virtual clothing and the first skeleton information of the first virtual object, the first virtual skeleton set required for the target virtual clothing is determined; then, based on the first virtual skeleton set and the second skeleton information of the second virtual object, the second virtual skeleton set corresponding to the first virtual skeleton set is determined; thereafter, based on the first virtual skeleton set and the second virtual skeleton set, the third skeleton information of the common skeleton of the first virtual object and the second virtual object is determined; finally, based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set, the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined. Therefore, the scheme of the embodiment of the present application is adopted, by determining the first virtual skeleton set required for the target virtual clothing from the first skeleton information of the first virtual object of the specified first body type, and determining the second virtual skeleton set from the second skeleton information of the second virtual object of the second body type according to the first virtual skeleton set, and then determining the clothing skeleton models corresponding to the first virtual object and the second virtual object respectively based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common bones of the first virtual object and the second virtual object, so that only clothing skeleton models corresponding to virtual object models of different body types need to be produced, so that virtual object models of different body types can all be adapted to the same virtual fashion, which simplifies the steps of making virtual fashions for virtual object models of different body types, saves a lot of manpower and time, and improves the production efficiency of virtual models.

[0151] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0152] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0153] Since the computer program stored in the computer-readable storage medium can execute any method for processing a virtual object model provided in the embodiments of the present application, the beneficial effects that can be achieved by any method for processing a virtual object model provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0154] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.

[0155] In the above-mentioned processing device of the virtual object model, computer-readable storage medium, electronic device, and computer program product embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the processing device of the virtual object model, computer-readable storage medium, computer program product, electronic device and its corresponding units described above can refer to the description of the processing method of the virtual object model in the above embodiment, and will not be repeated here.

[0156] The above is a detailed introduction to a virtual object model processing method, device, electronic device, computer-readable storage medium and computer program product provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for processing a virtual object model, characterized in that: include: Acquire a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used to indicate a virtual skeleton required to be used by the target virtual garment; Determining a first virtual skeleton set required for the target virtual clothing based on clothing skeleton indication information of the target virtual clothing and first skeleton information of the first virtual object; Determine, based on the first virtual skeleton set and second skeleton information of the second virtual object, a second virtual skeleton set corresponding to the second virtual object and the first virtual skeleton set; Determine third skeleton information of a common skeleton of the first virtual object and the second virtual object based on the first virtual skeleton set and the second virtual skeleton set; Based on the third skeleton information of the common skeleton, the first virtual skeleton set, and the second virtual skeleton set, the clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined.

2. The method according to claim 1, characterized in that The first skeleton information includes a first virtual skeleton model; The determining, based on the clothing skeleton indication information of the target virtual clothing and the first skeleton information of the first virtual object, a first virtual skeleton set required for the target virtual clothing comprises: Based on the clothing skeleton indication information of the target virtual clothing, determining at least one first virtual skeleton matching the clothing skeleton indication information from the first virtual skeleton model of the first virtual object; A first virtual skeleton set is determined based on each of the first virtual skeletons.

3. The method according to claim 2, characterized in that The second skeleton information includes a second virtual skeleton model; The determining, based on the first virtual skeleton set and second skeleton information of the second virtual object, a second virtual skeleton set corresponding to the second virtual object and the first virtual skeleton set comprises: Based on the first virtual skeleton set, determining at least one second virtual skeleton matching each first virtual skeleton in the first virtual skeleton set from a second virtual skeleton model of the second virtual object; A second virtual skeleton set is determined based on each of the second virtual skeletons.

4. The method according to claim 3, characterized in that The determining, based on the first virtual bone set and the second virtual bone set, third bone information of a common bone of the first virtual object and the second virtual object comprises: Get the specified skeleton model attributes; Based on the specified skeleton model attributes, the common skeleton of the first virtual object and the second virtual object is determined from the first virtual skeleton set and the second virtual skeleton set, and the third skeleton information of the common skeleton is determined.

5. The method according to claim 4, characterized in that The specified skeleton model attributes include a skeleton model name, a skeleton model hierarchy, and a skeleton model identifier.

6. The method according to claim 5, characterized in that The determining, based on the specified skeleton model attribute, from the first virtual skeleton set and the second virtual skeleton set, a common skeleton of the first virtual object and the second virtual object comprises: Determine a target first virtual bone and a target second virtual bone having the same bone position information in the first virtual bone set and the second virtual bone set; Determine whether the target first virtual skeleton and the target second virtual skeleton have the same specified skeleton model attribute, and determine the attribute determination result; A common skeleton of the first virtual object and the second virtual object is determined based on the attribute judgment result.

7. The method according to claim 6, characterized in that The determining the common skeleton of the first virtual object and the second virtual object based on the attribute judgment result includes: If the attribute judgment result is that the skeleton model name, the skeleton model hierarchy structure and / or the skeleton model identifier are the same, it is determined that the target first virtual skeleton and the target second virtual skeleton are common skeletons of the first virtual object and the second virtual object.

8. The method according to claim 6, characterized in that The determining the common skeleton of the first virtual object and the second virtual object based on the attribute judgment result includes: If the attribute judgment result is that the skeleton model names are not the same, then based on the skeleton model name of the target first virtual skeleton, the skeleton model name of the target second virtual skeleton is adjusted to obtain an adjusted target second virtual skeleton; The target first virtual skeleton and the adjusted target second virtual skeleton are determined to be the common skeleton.

9. The method according to claim 6, characterized in that The method further comprises: If the attribute judgment result is that the bone model hierarchical structure and / or the bone model identifier are different, the target first virtual bone is deleted from the first virtual bone set, and the target second virtual bone is deleted from the second virtual bone set to obtain an adjusted first virtual bone set and an adjusted second virtual bone set.

10. The method according to claim 9, characterized in that The method further comprises: A first clothing skeleton model corresponding to the first virtual object is determined based on the adjusted first virtual skeleton set, and a second clothing skeleton model corresponding to the second virtual object is determined based on the adjusted second virtual skeleton set.

11. The method according to claim 3, characterized in that The determining, based on the third skeleton information of the common skeleton, the first virtual skeleton set, and the second virtual skeleton set, clothing skeleton information of target virtual clothing corresponding to the first virtual object and the second virtual object respectively includes: Based on the third skeleton information of the shared skeleton, a target first virtual skeleton and a target second virtual skeleton matching the shared skeleton are respectively selected from the first virtual skeleton set and the second virtual skeleton set; First clothing skeleton information corresponding to the first virtual object is determined based on the target first virtual skeleton, and second clothing skeleton information corresponding to the second virtual object is determined based on the target second virtual skeleton.

12. The method according to any one of claims 1 to 11, characterized in that: The first virtual object and the second virtual object are virtual objects with the same target object attributes and different sizes. The first virtual skeleton set of the first virtual object and the second virtual skeleton set of the second virtual object respectively include at least one virtual skeleton in the same part.

13. A processing device for a virtual object model, characterized in that: include: An acquisition unit, used for acquiring a target virtual garment, wherein the target virtual garment is configured with garment skeleton indication information, and the garment skeleton indication information is used for indicating a virtual skeleton required for the target virtual garment; A first determining unit, configured to determine a first virtual skeleton set required for the target virtual clothing based on clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object; A second determining unit, configured to determine a second virtual skeleton set corresponding to the first virtual skeleton set of the second virtual object based on the first virtual skeleton set and second skeleton information of the second virtual object; A third determining unit, configured to determine third bone information of a common bone of the first virtual object and the second virtual object based on the first virtual bone set and the second virtual bone set; The fourth determining unit is used to determine clothing skeleton information of target virtual clothing corresponding to the first virtual object and the second virtual object respectively based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set.

14. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the method for processing a virtual object model as claimed in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the method for processing a virtual object model according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Skeletal animation updating method and device, equipment and storage medium

    CN112927332A

  • Animation data batch return-to-zero method and device and computer equipment

    CN114241099A

  • Clothing data processing method based on virtual scene, storage medium and related equipment

    CN115272539A

  • Bone model processing method and device, electronic equipment and storage medium

    CN116196628A

  • Model processing method and device, readable storage medium and electronic device

    CN117173338A