Processing method and device of virtual object model, electronic equipment and storage medium

By determining the set of bones required for virtual clothing from the skeletal information of virtual objects of a specified body type, and simplifying the virtual fashion adaptation process based on shared skeletal information, the problem of low efficiency in creating virtual object models of different body types is solved, and efficient virtual model creation is achieved.

CN119680201BActive Publication Date: 2025-12-09NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing technologies, the process of creating virtual fashion items that fit virtual object models of different body types is cumbersome and requires a lot of manpower and time, resulting in low efficiency in the production of virtual models.

Method used

By determining the set of virtual skeletons required for the target virtual clothing from the skeletal information of virtual objects of a specified body type, and based on shared skeletal information, the process of creating clothing skeleton models for virtual object models of different body types is simplified, enabling virtual object models of different body types to adapt to the same virtual fashion.

Benefits of technology

It simplifies the virtual fashion production process for virtual object models of different body types, 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 CN119680201B_ABST
    Figure CN119680201B_ABST
Patent Text Reader

Abstract

The application discloses a virtual object model processing method and device, electronic equipment and storage medium, including: obtaining a target virtual clothing; based on the clothing skeleton indication information of the target virtual clothing, determining the first virtual skeleton set required by the target virtual clothing according to the first skeleton information of the first virtual object; based on the first virtual skeleton set and the second skeleton information of the second virtual object, determining the second virtual skeleton set corresponding to the first virtual skeleton set and the second virtual object; based on the first virtual skeleton set and the second virtual skeleton set, determining the third skeleton information of the common skeleton of the first virtual object and the second virtual object; based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set, determining the clothing skeleton information corresponding to the first virtual object and the second virtual object. The application simplifies the production steps of virtual fashion of virtual object models of different body types, saves a lot of manpower and time, and improves the production efficiency of virtual models.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of games, in particular to a virtual object model processing method and device, electronic equipment and storage medium. BACKGROUND

[0002] In order to meet people's pursuit of spiritual life, entertainment games that can be operated on terminals have emerged as the times require, 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 virtual characters in the screen to play the game, and can perform walking, running, jumping, picking up props and fighting related operations in the game scene based on the first-person or third-person perspective of the character operated by the player, so that players can experience the visual impact of the game in a first-person perspective, greatly enhancing the initiative and realism of the game.

[0003] At present, in order to increase the game interest of players, various virtual clothes are usually provided for players in the game to wear for the virtual objects controlled by them. In the prior art, in order to meet the demand that virtual object models of different body types can wear the same virtual clothes, game developers usually make virtual clothes corresponding to different 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 clothes. However, the existing way of making virtual clothes corresponding to different body types for virtual object models of different body types requires game developers to manually make corresponding virtual clothes according to the model information of virtual object models of different body types, and the making steps of making corresponding virtual clothes for different body types are tedious, which consumes a large amount of manpower and time, resulting in low efficiency of virtual model making. SUMMARY

[0004] The embodiments of the present application provide a virtual object model processing method and device, electronic equipment and storage medium, which determine a first virtual skeleton set required by a target virtual clothing from first skeleton information of a first virtual object of a specified first body type, and then determine a second virtual skeleton set from second skeleton information of a second virtual object of a second body type according to the first virtual skeleton set, and then determine clothing skeleton information corresponding to the first virtual object and the second virtual object based on the first virtual skeleton set, the second virtual skeleton set and skeleton information of common skeletons 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 made, which makes virtual object models of different body types all adaptable to the same virtual clothes, simplifies the making steps of virtual clothes for virtual object models of different body types, saves a large amount of manpower and time, and improves the efficiency of virtual model making.

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

[0006] obtaining a target virtual clothing, the target virtual clothing being configured with clothing skeleton indication information, the clothing skeleton indication information being used to indicate a virtual skeleton required by the target virtual clothing;

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

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

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

[0010] 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.

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

[0012] an obtaining unit configured to obtain a target virtual clothing, the target virtual clothing being configured with clothing skeleton indication information, the clothing skeleton indication information being used to indicate a virtual skeleton required by the target virtual clothing;

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

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

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

[0016] A fourth determining unit is configured to determine, 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.

[0017] In a third aspect, an electronic device is provided, which includes a memory storing a plurality of instructions, and a processor loading the instructions from the memory to perform the steps of any of the processing methods of the virtual object model provided in the embodiments of the present application.

[0018] In a fourth aspect, a computer-readable storage medium is provided, which stores a plurality of instructions adapted to be loaded by a processor to perform the steps of any of the processing methods of the virtual object model provided in the embodiments of the present application.

[0019] In a fifth aspect, a computer program product is provided, which includes a computer program or instructions, and the computer program or instructions are executed by a processor to implement the steps in any of the processing methods of the virtual object model provided in the embodiments of the present application.

[0020] By using the scheme provided in the embodiments of the present application, the first virtual skeleton set required by the target virtual clothing is determined from the first skeleton information of the first virtual object of the specified first body type, 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, and then the clothing skeleton information corresponding to the first virtual object and the second virtual object is determined based on the first virtual skeleton set, the second virtual skeleton set, and the skeleton information of the common skeleton of the first virtual object and the second virtual object, so that only the clothing skeleton model corresponding to the virtual object model of different body types needs to be made, and the virtual fashion of the virtual object model of different body types can be adapted to the same virtual fashion, which simplifies the production steps of the virtual fashion of the virtual object model of different body types, saves a large amount of manpower and time, and improves the production efficiency of the virtual model. BRIEF DESCRIPTION OF DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

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

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

[0024] Figure 3 is a scenario diagram of a method for processing a virtual object model provided by the embodiments of the present application;

[0025] Figure 4 is a structural diagram of a processing device for a virtual object model provided by the embodiments of the present application;

[0026] Figure 5 is a structural diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application. Meanwhile, in the description of the embodiments of the present application, the terms “first”, “second”, etc. are only used for differentiation and description, and cannot be understood as indicating or implying relative importance. Therefore, the features with “first” and “second” can 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 than two, unless otherwise specifically limited.

[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 embodiments will be described from the perspective of a virtual object model processing device, which can be integrated in an electronic device, i.e. the virtual object model processing method provided by the embodiments of the present application can be executed by an electronic device. 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 notebook computer, a game console, or a personal computer (PC) and the like.

[0029] The virtual object model processing method provided by the embodiments of the present application can be applied to a virtual object model processing system. The virtual object model processing system can include a player terminal device and a server. The terminal device can be a device that includes receiving and transmitting hardware, i.e. a device with receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. The player terminal device and the server can perform bidirectional communication through a network.

[0030] Optionally, the server can be a stand-alone 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 a plurality of servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0031] The virtual object model processing method in one embodiment of the present disclosure can run on a local terminal device or a server. When the virtual object model processing method runs on the 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 virtual object model processing method runs on a terminal, the terminal device stores a game application and is used to present a virtual scene in a game picture. The terminal device is used to interact with a user through a graphical user interface, for example, by downloading and installing the game application on the terminal device and running the game application. The terminal device can provide the graphical user interface to the user in various ways, for example, by rendering and displaying the graphical user interface on the display screen of the terminal device, or by presenting the graphical user interface through holographic projection. For example, the terminal device can include a touch display screen and a processor, 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, the graphical user interface includes a game picture, and the processor is used to run the game, generate the 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 virtual object model processing method runs on the server, it can be a cloud game. The cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, the running body of the game application and the presentation body of the game picture are separated, and the storage and running of the virtual object model processing method are completed on the cloud game server. The game picture is presented on the client side of the cloud game, and the cloud game client is mainly used for receiving and sending game data and presenting game pictures. For example, the cloud game client can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, etc., but the terminal device for game data processing is the cloud game server in the cloud. When playing the game, the user operates the cloud game client to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns them to the cloud game client through the network, and finally decodes and outputs the game picture through the cloud game client.

[0034] Please refer to Figure 1 , Figure 1A scene schematic diagram of a virtual object model processing system provided by an embodiment of the present application is provided. The system can include at least one terminal, at least one server, at least one database, and a network. The terminal held by a user can be connected to the server of different games through the network. The terminal is any device with computing hardware capable of supporting and executing the software product 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 through different servers. The network can be a wireless network or a wired network, such as a wireless network being 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 networks or hotspot networks to connect to other terminals or servers, etc. For example, multiple users can be online through different terminals to support multi-player games by connecting through appropriate networks and synchronizing with each other. In addition, the system can include multiple databases, and the multiple databases are coupled to different servers, and information related to the game environment can be continuously stored in the databases when different users are online for multi-player games.

[0035] An embodiment of the present application provides a virtual object model processing method, which can be executed by a terminal or a server. An embodiment of the present application takes the virtual object model processing method executed by a terminal as an example for illustration. The terminal can include a touch display screen and a processor (of course, the terminal can also use a mouse, a keyboard, etc. as an input device, which is only taken as an example of the touch display screen here). The touch display screen is used to present a graphical user interface and receive operation instructions generated by a 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 content of the terminal locally in response to the received operation instructions, or control the content of the server at the other end in response to the received operation instructions. For example, the operation instruction generated by the user acting on the graphical user interface includes an instruction for starting a game application, and the processor is configured to start the game application after receiving the instruction for starting the game application provided by the user. In addition, the processor is configured to render and draw the graphical user interface associated with the game on the touch display screen. The touch display screen is a multi-touch screen capable of sensing the touch or sliding operation of multiple points on the screen simultaneously. The user uses a finger to perform a touch operation on the graphical user interface, and the graphical user interface controls different virtual objects in the graphical user interface of the game to perform actions corresponding to the touch operation when the touch operation is detected.

[0036] It should be noted that, Figure 1The scene schematic diagram of the processing system of the virtual object model shown is only an example, the processing system of the virtual object model and the scene described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0037] The embodiments of the present application provide a virtual object model processing method, which can be executed by a terminal or a server. The embodiments of the present application take the virtual object model processing method executed by a terminal as an example to illustrate that a graphical user interface can be provided by a terminal device, the graphical user interface includes at least part of a virtual scene and a controlled virtual object in the virtual scene controlled by the terminal device. The graphical user interface, the virtual scene, and the virtual object are described below.

[0038] The game scene (or virtual scene) is a virtual scene displayed (or provided) by an application running on a terminal or a server. Optionally, the virtual scene is a simulation environment of the real world, or a semi-simulation and semi-fictional virtual environment, or a purely fictional 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 a sky, a land, a sea, etc., wherein the land includes desert, city, and other environmental elements. The virtual scene is a scene for complete game logic of a virtual object controlled by a user. For example, for a sandbox 3D shooting game, the virtual scene is a 3D game world for a player to control a virtual object to fight. An example of the virtual scene can include at least one of mountains, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and vehicles. For example, for a 2D card game, the virtual scene is a scene for displaying a released card or a virtual object corresponding to the card. An example of the virtual scene can include a stage, a battlefield, or other "field" elements or other elements that can display a card battle state. For a 2D or 3D multiplayer online tactical competitive game, the virtual scene is a 2D or 3D terrain scene for a virtual object to fight. An example of the virtual scene can include a canyon-style mountain range, a line, a river, a classroom, a table and chair, a podium, 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 the graphical user interface on a display, which can be a display screen interface of the terminal device. The graphical user interface can present the entire game scene or only a part of the game scene. The game scene includes a plurality of static virtual objects, specifically including ground, mountains, stone bodies, vegetation, buildings, etc. When the game scene is relatively large, only a part of the game scene is displayed on the graphical user interface of the terminal device in the process of the game. Optionally, the game scene includes a game character, which can be a game character controlled by a player or an NPC (abbreviation of Non-Player Character, which is a type of character in a game, meaning a non-player character), and the present exemplary embodiments are not limited. The graphical user interface can include a UI interface for interaction by the player and a game picture. In an optional implementation, the UI interface can include game controls (such as skill controls, movement controls, function controls, etc.), indication marks (such as direction indication marks, character indication marks, etc.), information display areas (such as kill numbers, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.). In an optional implementation, the game picture is a display picture corresponding to the virtual scene displayed by the terminal device, and the game picture can include virtual objects such as game characters, NPC characters, AI characters, etc. that execute game logic in the virtual scene.

[0040] The 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 person, a virtual animal, an animation 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 for battle, or a non-player character (NPC) set in a virtual scene for battle. Optionally, the virtual object is a virtual person competing in a virtual scene. Optionally, the number of virtual objects in the virtual scene battle is preset or dynamically determined according to the number of clients joining the battle, which is not limited in the embodiments of the present application. In a possible implementation manner, 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 skills, virtual props, etc. provided by the application to fight with other virtual objects. The (game) prop refers to a prop that can be used by a virtual object in a virtual environment, including but not limited to firearms, cold weapons, hand grenades, shields, jumping boards, puppets, etc. The virtual object can use the virtual object to speed up its attributes, assist in combat, or launch damage to other virtual objects. The virtual prop can also be a supply prop such as a bullet, and can also be a accessory such as an extended magazine, a sighting magnifier, a flame arrester, a buttstock, etc. The virtual camera is a necessary component of the game scene picture, which is used for the presentation of the game scene picture. There is at least one virtual camera corresponding to a game scene, and there can be two or more virtual cameras according to actual needs, which are used as a window for game rendering to capture and present the picture content of the game world. The viewing angle of the player for the game world can be adjusted by setting the parameters of the virtual camera, such as first-person perspective and third-person perspective.

[0041] The embodiments will be described in detail below with reference to the accompanying drawings. In the embodiments, the execution subject is a terminal device. It should be noted that the sequence of the embodiments described below is not limited as the preferred sequence of the embodiments. Although the logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown in the figure.

[0042] Please refer to Figure 2 , Figure 2 A flowchart of a virtual object model processing method provided by the embodiments of the present application is shown in the figure. The specific process of the virtual object model processing method can include the following steps 101 to 105:

[0043] Step 101, obtaining a target virtual costume, the target virtual costume being configured with costume skeleton indication information, the costume skeleton indication information being used to indicate a virtual skeleton required by the target virtual costume.

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

[0045] In step 102, a first virtual skeleton set required by the target virtual clothing is determined 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, and the first virtual skeleton model of the first virtual object includes a plurality of first virtual skeletons. The step of "determining the first virtual skeleton set required by 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] At least one first virtual skeleton matched with the clothing skeleton indication information is determined from the first virtual skeleton model of the first virtual object based on the clothing skeleton indication information of the target virtual clothing.

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

[0049] Specifically, at least one first virtual skeleton matched with the clothing skeleton indication information can be determined from the plurality of first virtual skeletons of the first virtual skeleton model of the first virtual object based on the clothing skeleton indication information of the target virtual clothing, and a 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 that virtual skeletons belonging to elbow, arm, and upper body in the virtual skeleton model of the virtual object need to be used. Therefore, at least one first virtual skeleton belonging to elbow, arm, and upper body can be determined from the plurality of first virtual skeletons of the first virtual skeleton model of the first virtual object based on the clothing skeleton indication information of the virtual long-sleeved clothing, and a first virtual skeleton set can be determined based on each of the first virtual skeletons.

[0050] Specifically, the first virtual skeleton set corresponding to the first virtual object can be generated by screening a suitable first virtual skeleton from a maximization file of the first virtual object of the first body type, and the first virtual skeleton set is taken as the target marker B1. The maximization refers to a best model selection within a range allowed by an existing skeleton framework constraint, and the maximization file records model compositions supported by the existing skeleton framework under the first body type. Model making must be performed under this constraint, which is an important prerequisite for model action reuse.

[0051] In step 103, a second virtual skeleton set corresponding to the first virtual skeleton set and the second virtual object is determined based on the first virtual skeleton set and second skeleton information of the second virtual object.

[0052] Specifically, the first virtual object and the second virtual object are virtual objects with the same target object attribute and different body types. For example, the first virtual object and the second virtual object are both female, and the first virtual object is a female with a normal body type, and the second virtual object is a female with a fat body type. The different contents of the first virtual object and the second virtual object include two parts. One is that the body shapes are different due to different body types, resulting in inconsistent resource sizes, vertex positions, and other information of mesh models and bone models of the first virtual object and the second virtual object. The other is that different body types have some exclusive fashion modules, which will result in different maximization files in mesh.

[0053] Further, the first virtual skeleton set of the first virtual object and the second virtual skeleton set of the second virtual object each include at least one virtual skeleton of the same part. For example, the first virtual skeleton set includes a virtual skeleton of a torso part, and the second virtual skeleton set also includes a virtual skeleton of the torso part. However, due to different body types, the same part of the skeletons of the virtual objects of the two different body types has different mesh, bone, and other resource sizes and position information. For example, the mesh and virtual bone resource sizes and position information of the virtual skeleton of the torso part of the first virtual object are different from those of the virtual skeleton of the torso part of the second virtual object.

[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 the second virtual skeleton set corresponding to the first virtual skeleton set and the second virtual object based on the first virtual skeleton set and the second skeleton information of the second virtual object includes:

[0055] At least one second virtual skeleton matched with each first virtual skeleton in the first virtual skeleton set is determined from the second virtual skeleton model of the second virtual object based on the first virtual skeleton set.

[0056] determine a second virtual skeleton set based on each of the second virtual skeletons.

[0057] Specifically, the second virtual skeleton set can be generated by screening the second virtual skeletons corresponding to the first virtual skeleton set from the second virtual object of the second body type. For example, the first virtual skeleton set includes virtual skeletons of head, hand, main torso, and leg parts. The second virtual skeleton set can be generated by screening the virtual skeletons of the corresponding head, hand, main torso, and leg parts from the second virtual object of the second body type according to the virtual skeletons of the above-mentioned parts included in the first virtual skeleton set.

[0058] In step 104, third skeleton information of common skeletons of the first virtual object and the second virtual object is determined based on the first virtual skeleton set and the second virtual skeleton set.

[0059] In the embodiments of the present application, the target calibration object B1 and the target calibration object B2 obtained in the above steps can be analyzed, and only the coexisting part of the target calibration object B1 and the target calibration object B2 is retained. Specifically, it is also necessary to compare whether the virtual skeletons of the coexisting part are consistent in the hierarchical structure (i.e., parent-child relationship), specification naming (i.e., skeleton model name), and skeleton ID (i.e., skeleton model identifier). If consistent, it is determined as a coexisting skeleton, and if not consistent, it is adjusted to ensure consistency to form a one-to-one correspondence.

[0060] For example, the target calibration object B2 is adjusted by taking the target calibration object B1 as a reference, and it is necessary to ensure consistency in the hierarchical structure (i.e., parent-child relationship), specification naming (i.e., skeleton model name), and skeleton ID (i.e., skeleton model identifier). If the specification naming (i.e., skeleton model name) is inconsistent, the skeleton model name of the target calibration object B2 can be modified to be consistent with the skeleton model name of the target calibration object B1. If the hierarchical structure (i.e., parent-child relationship) and / or the skeleton ID (i.e., skeleton model identifier) is inconsistent, the part of the skeleton set corresponding to the target calibration object B1 and the target calibration object B2 is abandoned.

[0061] In the embodiments of the present application, the step of “determining the third skeleton information of the common skeletons 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] obtaining a specified bone model attribute;

[0063] determining, based on the specified bone model attribute, a common bone of the first virtual object and the second virtual object from the first virtual bone set and the second virtual bone set, and determining third bone information of the common bone.

[0064] The specified bone model attribute includes a bone model name, a bone model hierarchy, and a bone model identifier.

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

[0066] determining a target first virtual bone and a target second virtual bone in the first virtual bone set and the second virtual bone set that have the same bone position information;

[0067] determining an attribute determination result by judging whether the target first virtual bone and the target second virtual bone have the same specified bone model attribute;

[0068] determining the common bone of the first virtual object and the second virtual object based on the attribute determination result.

[0069] Specifically, the step of determining the common bone of the first virtual object and the second virtual object based on the attribute determination result includes:

[0070] if the attribute determination result is that the bone model name, the bone model hierarchy, and / or the bone model identifier are the same, then the target first virtual bone and the target second virtual bone are determined to be the common bone of the first virtual object and the second virtual object.

[0071] Optionally, the step of determining the common bone of the first virtual object and the second virtual object based on the attribute determination result includes:

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

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

[0074] Optionally, the method further includes:

[0075] If the attribute determination result is that the bone model hierarchy and / or the bone model identifier are not the same, 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] Further, the method further includes:

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

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

[0079] The clothing bone information is used to indicate the clothing bone model required by the target virtual clothing, and the clothing bone model is used to be bound and associated with the target virtual clothing, so that the target virtual clothing moves following the movement of the clothing bone model of the virtual object of different body shapes.

[0080] The embodiment of the application can obtain the clothing bone information of different virtual objects according to the bone information of the common bone in the virtual bone set of different body shapes, so as to realize that the same virtual clothing is suitable for virtual objects of different body shapes.

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

[0082] Based on the third bone information of the common bone, target first virtual bones and target second virtual bones matching the common bone are screened from the first virtual bone set and the second virtual bone set respectively;

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

[0084] According to the above introduction, the following examples will further illustrate the virtual object model processing method of the application, and the specific implementation of the virtual object model processing method is as follows:

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

[0086] (2) In the embodiment of the present application, for example, referring to 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, the appropriate first virtual skeleton set can be screened from the first virtual skeleton model of the first virtual object of the first body type to generate the corresponding first virtual skeleton set, and the first virtual skeleton set is taken as the target marker 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, so at least one first virtual skeleton belonging to the elbow, arm, and upper body can be determined from the plurality of first virtual skeletons of the first virtual skeleton model of the first virtual object based on the clothing skeleton indication information of the virtual long-sleeved clothing, and the first virtual skeleton set is determined based on each of the first virtual skeletons as the target marker B1.

[0087] (3) In the embodiment of the present application, the appropriate second virtual skeleton set can be screened from the maximum file of the second virtual object of the relatively fat body type to generate the corresponding second virtual skeleton set, and specifically, the second virtual skeleton corresponding to the first virtual skeleton set can be screened from the maximum file of the second virtual object of the second body type to generate the second virtual skeleton set, and the second virtual skeleton set is taken as the target marker B2.

[0088] In the embodiment of the present application, the appropriate third virtual skeleton c can be screened from the maximum file of the third virtual object of the fattest body type to generate the corresponding third virtual skeleton set, and specifically, the third virtual skeleton corresponding to the first virtual skeleton set can be screened from the maximum file of the third virtual object of the third body type to generate the third virtual skeleton set, and the third virtual skeleton set is taken as the target marker B3.

[0089] (4) In the embodiment of the present application, the target calibration object B1, the target calibration object B2 and the 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, the target calibration object B2 and the target calibration object B3 are retained. Specifically, it is also necessary to compare the virtual skeletons of the coexisting parts, whether they are consistent in the hierarchical structure (i.e. the parent-child relationship), the specification naming (i.e. the bone model name) and the bone ID (i.e. the bone model identifier), if consistent, it is determined as a coexisting skeleton, if not consistent, it is adjusted, and it is necessary to make them consistent, to form a one-to-one correspondence, 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 bone model attributes.

[0090] Wherein, the target calibration object B2 and the target calibration object B3 are adjusted with the target calibration object B1 as a reference, it is necessary to ensure that the hierarchical structure (i.e. the parent-child relationship), the specification naming (i.e. the bone model name) and the bone ID (i.e. the bone model identifier) are consistent, if the specification naming (i.e. the bone model name) is inconsistent, the bone model name of the target calibration object B2 or the bone model name of the target calibration object B3 can be modified to be consistent with the bone model name of the target calibration object B1; if the hierarchical structure (i.e. the parent-child relationship) and / or the bone ID (i.e. the bone model identifier) is inconsistent, the part of the bone is abandoned in the skeleton corresponding to the target calibration object B1, the target calibration object B2 and the target calibration object B3, 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 bone model attributes, and the target calibration object skeleton New_B1 is taken as the first costume bone model of the first virtual object (i.e. Figure 3 the part corresponding to all the blue lines shown by the arrow in the left view of FIG. 13), the target calibration object skeleton New_B2 is taken as the second costume bone model of the second virtual object (i.e. Figure 3 the part corresponding to all the blue lines shown by the arrow in the middle view of FIG. 13), and the target calibration object skeleton New_B3 is taken as the third costume bone model of the third virtual object (i.e. Figure 3 the part corresponding to all the white lines shown by the arrow in the right view of FIG. 13).

[0091] In summary, the embodiment of the present application provides a virtual object model processing method, which comprises the following steps: obtaining 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 a virtual skeleton required by the target virtual clothing; determining a first virtual skeleton set required by the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object; determining a second virtual skeleton set corresponding to the first virtual skeleton set and a second virtual object based on the first virtual skeleton set and second skeleton information of the second virtual object; 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; and determining 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. By using the scheme of the embodiment of the present application, the first virtual skeleton set required by the target virtual clothing is determined from the first skeleton information of the first virtual object of a specified first body type, and then the second virtual skeleton set is determined from the second skeleton information of the second virtual object of a second body type according to the first virtual skeleton set, and finally the clothing skeleton model corresponding to the first virtual object and the second virtual object is determined based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeleton of the first virtual object and the second virtual object, so that only the clothing skeleton model corresponding to the virtual object model of different body types needs to be made, and the virtual fashion of the virtual object model of different body types can be adapted to the same virtual fashion, which simplifies the production steps of the virtual fashion of the virtual object model of different body types, saves a large amount of manpower and time, and improves the production efficiency of the virtual model.

[0092] The embodiment also provides a virtual object model processing device, which can be integrated in a terminal device. For example, as shown in Figure 4 The virtual object model processing device can comprise:

[0093] The obtaining unit 201 is configured to 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 a virtual skeleton required by the target virtual clothing.

[0094] The first determining unit 202 is configured to determine a first virtual skeleton set required by the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object.

[0095] The second determining unit 203 is configured to determine 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 second skeleton information of the second virtual object.

[0096] The third determining unit 204 is configured to 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.

[0097] The fourth determining unit 205 is configured 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 apparatus of the virtual object model comprises a processing subunit configured to:

[0099] determine at least one first virtual skeleton matching the clothing skeleton indication information from the first virtual skeleton model of the first virtual object based on the clothing skeleton indication information of the target virtual clothing.

[0100] determine the first virtual skeleton set based on each of the first virtual skeletons.

[0101] In some embodiments, the processing apparatus of the virtual object model comprises a processing subunit configured to:

[0102] determine at least one second virtual skeleton matching each first virtual skeleton in the first virtual skeleton set from the second virtual skeleton model of the second virtual object based on the first virtual skeleton set.

[0103] determine the second virtual skeleton set based on each of the second virtual skeletons.

[0104] In some embodiments, the processing apparatus of the virtual object model comprises a processing subunit configured to:

[0105] obtain a specified skeleton model attribute.

[0106] determine the common skeleton of the first virtual object and the second virtual object and determine the third skeleton information of the common skeleton from the first virtual skeleton set and the second virtual skeleton set based on the specified skeleton model attribute.

[0107] In some embodiments, the processing apparatus of the virtual object model comprises a processing subunit configured to:

[0108] determine target first virtual skeletons and target second virtual skeletons with same skeleton position information in the first virtual skeleton set and the second virtual skeleton set.

[0109] determining whether the target first virtual bone and the target second virtual bone have the same specified bone model attribute, to obtain an attribute determination result;

[0110] determining the common bone of the first virtual object and the second virtual object based on the attribute determination result.

[0111] In some embodiments, the virtual object model processing apparatus comprises a processing subunit configured to:

[0112] if the attribute determination result is that the bone model name, the bone model hierarchy and / or the bone model identifier are the same, then determining that the target first virtual bone and the target second virtual bone are the common bone of the first virtual object and the second virtual object.

[0113] In some embodiments, the virtual object model processing apparatus comprises a processing subunit configured to:

[0114] if the attribute determination result is that the bone model name is not the same, then adjusting the bone model name of the target second virtual bone based on the bone model name of the target first virtual bone to obtain an adjusted target second virtual bone;

[0115] determining that the target first virtual bone and the adjusted target second virtual bone are the common bone.

[0116] In some embodiments, the virtual object model processing apparatus comprises a processing subunit configured to:

[0117] if the attribute determination result is that the bone model hierarchy and / or the bone model identifier are not the same, then deleting the target first virtual bone from the first virtual bone set and deleting the target second virtual bone 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 virtual object model processing apparatus comprises a processing subunit configured to:

[0119] determining a first clothing bone model corresponding to the first virtual object based on the adjusted first virtual bone set and determining a second clothing bone model corresponding to the second virtual object based on the adjusted second virtual bone set.

[0120] In some embodiments, the virtual object model processing apparatus comprises a processing subunit configured to:

[0121] screening, from the first virtual skeleton set and the second virtual skeleton set respectively, a target first virtual skeleton and a target second virtual skeleton matching the common skeleton based on the third skeleton information of the common skeleton;

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

[0123] The embodiment of the present application discloses a processing device of a virtual object model. A target virtual clothing is acquired by an acquisition unit 201. The target virtual clothing is configured with clothing skeleton indication information, and the clothing skeleton indication information is used to indicate a virtual skeleton required by the target virtual clothing. A first determination unit 202 determines a first virtual skeleton set required by the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object. A second determination unit 203 determines a second virtual skeleton set corresponding to the first virtual skeleton set and a second virtual object based on the first virtual skeleton set and 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 by the target virtual clothing from the first skeleton information of the first virtual object of a specified first body type, and determines the second virtual skeleton set from the second skeleton information of the second virtual object of a second body type according to the first virtual skeleton set. Then, the clothing skeleton model corresponding to the first virtual object and the second virtual object is determined based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeleton of the first virtual object and the second virtual object. Therefore, only the clothing skeleton model corresponding to the virtual object model of different body types needs to be made, so that the virtual object models of different body types can all be adapted to the same virtual fashion, the production steps of the virtual fashion of the virtual object models of different body types are simplified, a large amount of manpower and time is saved, and the production efficiency of the virtual model is improved.

[0124] Accordingly, this application also provides an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Alternatively, the electronic device can be a server.

[0125] like Figure 5 As shown, Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 300 includes a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 and the memory 302 are electrically connected. Those skilled in the art will understand 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 have different component arrangements.

[0126] The processor 301 is the control center of the electronic device 300. It connects various parts of the electronic device 300 via various interfaces and lines. By running or loading software programs and / or units stored in the memory 302, and by calling data stored in the memory 302, it executes various functions and processes data of the electronic device 300, thereby providing overall monitoring of the electronic device 300. The processor 301 can be a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc., and can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application.

[0127] In this embodiment, the processor 301 in the electronic device 300 loads the instructions corresponding to the processes of one or more applications into the memory 302 according to the following steps, and the processor 301 runs the applications stored in the memory 302 to realize 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 the virtual skeleton to be used by the target virtual garment;

[0129] 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;

[0130] determine 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 second skeleton information of a second virtual object;

[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] 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.

[0133] The electronic device provided in the embodiments of the present application can obtain target virtual clothing, the target virtual clothing is configured with clothing skeleton indication information, the clothing skeleton indication information is used to indicate virtual skeletons required by the target virtual clothing; then, determine a first virtual skeleton set required by the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object; then, determine 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 second skeleton information of a second virtual object; then, 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; finally, 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. Therefore, by using the scheme of the embodiments of the present application, the first virtual skeleton set required by the target virtual clothing is determined from the first skeleton information of the first virtual object of the specified first body type, and then the second virtual skeleton set is determined from the second skeleton information of the second virtual object of the second body type based on the first virtual skeleton set, and finally the clothing skeleton model corresponding to the first virtual object and the second virtual object is determined based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeleton of the first virtual object and the second virtual object, so that only the clothing skeleton model corresponding to the virtual object model of different body types needs to be made, and the virtual fashion of the virtual object model of different body types can be adapted to the same virtual fashion, which simplifies the production steps of the virtual fashion of the virtual object model of different body types, saves a large amount of manpower and time, and improves the production efficiency of the virtual model.

[0134] The specific implementation of each operation can be referred to the foregoing embodiments, which will not be described here.

[0135] Optionally, as Figure 5As shown, the electronic device 300 further includes a touch display 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 display 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 on the electronic device, and can include more or fewer components than shown, or combine certain components, or different component arrangements.

[0136] The touch display screen 303 can be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 303 can include a display panel and a touch panel. The display panel can be used to display information input by a user or information provided to a user and various graphical user interfaces of the electronic device, which 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), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations (such as operations of a user using a finger, a stylus, or any suitable object or accessory on or near the touch panel) of a user thereon or therearound, and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel can include two parts: a touch detection device and a touch controller. The touch detection device detects the touch position of the user and 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, and converts it into touch coordinates, and then sends it to the processor 301, and can also receive commands from the processor 301 and execute them. The touch panel can cover the display panel, and when the touch panel detects a touch operation thereon or therearound, it transmits to the processor 301 to determine the type of the touch event, and then the processor 301 provides corresponding visual output on the display panel according to the type of the touch event. In the embodiments 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 realize the input and output functions as two independent components. That is, the touch display screen 303 can also realize the input function as part of the input unit 306.

[0137] The radio frequency circuit 304 can be used to transceive radio frequency signals to establish wireless communication with a network device or other electronic device, and transceive signals between the network device or other electronic device.

[0138] The audio circuit 305 can be used to provide an audio interface between a user and the electronic device through a speaker and a microphone. The audio circuit 305 can convert received audio data into an electrical signal and transmit the electrical signal to the speaker for conversion into an audible signal and output by the speaker. On the other hand, the microphone can collect a sound signal and convert the sound signal into an electrical signal, which is received by the audio circuit 305 and converted into audio data. The audio data is output to the processor 301 for processing, transmitted to another electronic device via the radio frequency circuit 304, or output to the memory 302 for further processing. The audio circuit 305 can also include a jack for a headset to provide communication between the headset and the electronic device.

[0139] The input unit 306 can be used to receive inputted digital, character information or user feature information (e.g., fingerprint, iris, face information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[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 be used to manage charging, discharging, power consumption management, etc. The power supply 307 can also include one or more direct current or alternating current power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, etc.

[0141] Although Figure 5 The electronic device 300 can also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which are not shown in the embodiments and will not be described here.

[0142] In the above embodiments, the description of each embodiment focuses on different aspects, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0143] Those of ordinary skill in the art can understand that all or part of the steps of the various methods in the above embodiments can be completed by using instructions, or by using instructions to control relevant hardware. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0144] To this end, the embodiments of the present application provide a computer-readable storage medium, which stores a plurality of computer programs. The computer programs can be loaded by a processor to execute any of the virtual object model processing methods provided by the embodiments of the present application. The computer programs can execute the steps of the virtual object model processing method as follows:

[0145] obtain a target virtual clothing, the target virtual clothing being configured with clothing skeleton indication information, the clothing skeleton indication information being used to indicate a virtual skeleton required to be used by the target virtual clothing;

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

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

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

[0149] determine, 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 respectively corresponding to the first virtual object and the second virtual object.

[0150] Due to the computer program stored in the storage medium, the target virtual clothing can be acquired, the target virtual clothing is configured with clothing skeleton indication information, the clothing skeleton indication information is used to indicate a virtual skeleton required by 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, a first virtual skeleton set required by the target virtual clothing is determined; then, based on the first virtual skeleton set and the second skeleton information of the second virtual object, a second virtual skeleton set corresponding to the first virtual skeleton set and the second virtual object is determined; then, based on the first virtual skeleton set and the second virtual skeleton set, third skeleton information of a 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, clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined. Therefore, by using the scheme of the embodiment of the application, the first virtual skeleton set required by the target virtual clothing is determined from the first skeleton information of the first virtual object of the specified first body type, and then 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, and then the clothing skeleton model corresponding to the first virtual object and the second virtual object is determined based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeleton of the first virtual object and the second virtual object, so that only the clothing skeleton model corresponding to the virtual object model of different body types needs to be made, and the virtual fashion of the virtual object model of different body types can be adapted to the same virtual fashion, the manufacturing steps of the virtual fashion of the virtual object model of different body types are simplified, a large amount of manpower and time is saved, and the manufacturing efficiency of the virtual model is improved.

[0151] The specific implementation of each operation can refer to the foregoing embodiments, which will not be described here.

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

[0153] Due to the computer program stored in the storage medium, the target virtual clothing can be acquired, the target virtual clothing is configured with clothing skeleton indication information, the clothing skeleton indication information is used to indicate a virtual skeleton required by 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, a first virtual skeleton set required by the target virtual clothing is determined; then, based on the first virtual skeleton set and the second skeleton information of the second virtual object, a second virtual skeleton set corresponding to the first virtual skeleton set and the second virtual object is determined; then, based on the first virtual skeleton set and the second virtual skeleton set, third skeleton information of a 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, clothing skeleton information of the target virtual clothing corresponding to the first virtual object and the second virtual object respectively is determined. Therefore, by using the scheme of the embodiment of the application, the first virtual skeleton set required by the target virtual clothing is determined from the first skeleton information of the first virtual object of the specified first body type, and then 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, and then the clothing skeleton model corresponding to the first virtual object and the second virtual object is determined based on the first virtual skeleton set, the second virtual skeleton set and the skeleton information of the common skeleton of the first virtual object and the second virtual object, so that only the clothing skeleton model corresponding to the virtual object model of different body types needs to be made, and the virtual fashion of the virtual object model of different body types can be adapted to the same virtual fashion, the manufacturing steps of the virtual fashion of the virtual object model of different body types are simplified, a large amount of manpower and time is saved, and the manufacturing efficiency of the virtual model is improved.

[0154] According to an aspect of the present application, a computer program product or computer program is also provided, which includes computer instructions 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 performs the method provided in various optional implementations in the above embodiments.

[0155] In the above embodiments of the virtual object model processing apparatus, the computer readable storage medium, the electronic device, and the computer program product, the description of each embodiment is focused on different aspects, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the virtual object model processing apparatus, the computer readable storage medium, the computer program product, the electronic device, and the corresponding units thereof described above and the beneficial effects brought by them can be referred to the description of the virtual object model processing method in the above embodiments, and will not be described here in detail.

[0156] The above describes in detail the virtual object model processing method, apparatus, electronic device, computer readable storage medium, and computer program product provided by the embodiments of the present application. The principle and implementation manner of the present application are described by applying specific examples. The above embodiment description is only used to help understand the method of the present application and its core idea. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range will be changed. In summary, the content of the specification should not be understood as a limitation of the present application.

Claims

1. A method of processing a virtual object model, characterized by, The method comprises the following steps: obtaining a target virtual clothing, the target virtual clothing being configured with clothing skeleton indication information, the clothing skeleton indication information being used for indicating a virtual skeleton required by the target virtual clothing; determining a first virtual skeleton set required by the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object; determining a second virtual skeleton set corresponding to the first virtual skeleton set and the second virtual object based on the first virtual skeleton set and second skeleton information of a second virtual object; 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; determining 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.

2. The method of claim 1, wherein, The first skeleton information comprises a first virtual skeleton model. The step of determining the first virtual skeleton set required by 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 comprises the following steps: determining at least one first virtual skeleton matching the clothing skeleton indication information from the first virtual skeleton model of the first virtual object based on the clothing skeleton indication information of the target virtual clothing; determining the first virtual skeleton set based on each first virtual skeleton.

3. The method of claim 2, wherein, The second skeleton information comprises a second virtual skeleton model. The step of determining the second virtual skeleton set corresponding to the first virtual skeleton set and the second virtual object based on the first virtual skeleton set and the second skeleton information of the second virtual object comprises the following steps: determining at least one second virtual skeleton matching each first virtual skeleton in the first virtual skeleton set from the second virtual skeleton model of the second virtual object based on the first virtual skeleton set; determining the second virtual skeleton set based on each second virtual skeleton.

4. The method of claim 3, wherein, The step of determining the third skeleton information of the 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 comprises the following steps: obtaining a specified skeleton model attribute; determining the common skeleton of the first virtual object and the second virtual object and determining the third skeleton information of the common skeleton from the first virtual skeleton set and the second virtual skeleton set based on the specified skeleton model attribute.

5. The method of claim 4, wherein, The specified skeleton model attribute comprises a skeleton model name, a skeleton model hierarchical structure and a skeleton model identifier.

6. The method of claim 5, wherein, The step of determining the common skeleton of the first virtual object and the second virtual object from the first virtual skeleton set and the second virtual skeleton set based on the specified skeleton model attribute comprises the following steps: determining a target first virtual skeleton and a target second virtual skeleton having the same skeleton position information in the first virtual skeleton set and the second virtual skeleton set; determining an attribute judgment result by judging whether the target first virtual skeleton and the target second virtual skeleton have the same specified skeleton model attribute. determine a common skeleton of the first virtual object and the second virtual object based on the attribute determination result.

7. The method of claim 6, wherein, The determining of the common skeleton of the first virtual object and the second virtual object based on the attribute determination result comprises: if the attribute determination result is that the skeleton model names, the skeleton model hierarchical structures and / or the skeleton model identifiers are the same, then the target first virtual skeleton and the target second virtual skeleton are determined as the common skeleton of the first virtual object and the second virtual object.

8. The method of claim 6, wherein, The determining of the common skeleton of the first virtual object and the second virtual object based on the attribute determination result comprises: if the attribute determination result is that the skeleton model names are not the same, then the skeleton model name of the target second virtual skeleton is adjusted based on the skeleton model name of the target first virtual skeleton, to obtain an adjusted target second virtual skeleton; the target first virtual skeleton and the adjusted target second virtual skeleton are determined as the common skeleton.

9. The method of claim 6, wherein, The method further comprises: if the attribute determination result is that the skeleton model hierarchical structures and / or the skeleton model identifiers are not the same, then the target first virtual skeleton is deleted from the first virtual skeleton set, and the target second virtual skeleton is deleted from the second virtual skeleton set, to obtain an adjusted first virtual skeleton set and an adjusted second virtual skeleton set.

10. The method of claim 9, wherein, 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 of claim 3, wherein, The determining of clothing skeleton information of target virtual clothing corresponding to the first virtual object and the second virtual object based on the third skeleton information of the common skeleton, the first virtual skeleton set and the second virtual skeleton set comprises: target first virtual skeletons and target second virtual skeletons matching the common skeleton are respectively filtered from the first virtual skeleton set and the second virtual skeleton set based on the third skeleton information of the common skeleton; 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 having the same target object attribute and different body types, and the first virtual skeleton set of the first virtual object and the second virtual skeleton set of the second virtual object respectively comprise at least one virtual skeleton of the same part.

13. A processing apparatus of a virtual object model, characterized by, The method comprises: an acquisition unit is configured to acquire target virtual clothing, the target virtual clothing being configured with clothing skeleton indication information, the clothing skeleton indication information being used to indicate virtual skeletons required by the target virtual clothing; a first determination unit is configured to determine a first virtual skeleton set required by the target virtual clothing based on the clothing skeleton indication information of the target virtual clothing and first skeleton information of a first virtual object; A second determining unit is configured to determine, based on the first virtual skeleton set and second skeleton information of a second virtual object, a second virtual skeleton set corresponding to the second virtual object and the first virtual skeleton set; A third determining unit is configured to determine, based on the first virtual skeleton set and the second virtual skeleton set, third skeleton information of a common skeleton of the first virtual object and the second virtual object; A fourth determining unit is configured to determine, 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 respectively corresponding to the first virtual object and the second virtual object.

14. An electronic device, comprising: A processor and a memory are included, and the memory stores a plurality of instructions; the processor loads the instructions from the memory to execute the steps of the processing method of the virtual object model according to any one of claims 1-12.

15. A computer readable storage medium, characterized in that, The computer readable storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the steps of the processing method of the virtual object model according to any one of claims 1-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