CN113838175A - Information processing method, information processing apparatus, storage medium, and electronic apparatus - Google Patents

Information processing method, information processing apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN113838175A
CN113838175A CN202111007315.5A CN202111007315A CN113838175A CN 113838175 A CN113838175 A CN 113838175A CN 202111007315 A CN202111007315 A CN 202111007315A CN 113838175 A CN113838175 A CN 113838175A
Authority
CN
China
Prior art keywords
target
information
model
node
virtual object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111007315.5A
Other languages
Chinese (zh)
Inventor
兰孝琦
汪志泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202111007315.5A priority Critical patent/CN113838175A/en
Publication of CN113838175A publication Critical patent/CN113838175A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • G06T13/403D [Three Dimensional] animation of characters, e.g. humans, animals or virtual beings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an information processing method, an information processing device, a storage medium and an electronic device. The method comprises the following steps: determining and obtaining a target model corresponding to a virtual object; acquiring target information of a virtual object correspondingly matched with a node according to the node contained in the target model, wherein the target information comprises skeleton information and/or skin information of the virtual object; the target model and target information are exported to a target engine to perform rendering operations. By the method and the device, the technical effect of improving the efficiency of outputting the model and the related information thereof is achieved.

Description

Information processing method, information processing apparatus, storage medium, and electronic apparatus
Technical Field
The present invention relates to the field of computers, and in particular, to an information processing method, an information processing apparatus, a storage medium, and an electronic apparatus.
Background
At present, in the process of game development, a prepared model and relevant information of the model need to be output. But usually requires manual de-selection of the model to be output and information related to the model. For example, if a trousers model needs to be output, not only the trousers model but also the skeleton corresponding to the trousers model need to be selected, so that the trousers model can be effectively output.
The manual selection of the relevant information of the model is time-consuming and easy to select by mistake, so that the efficiency of outputting the model and the relevant information is low.
Aiming at the technical problem of low efficiency of outputting models and related information in the prior art, no effective solution is provided at present.
Disclosure of Invention
The invention mainly aims to provide an information processing method, an information processing device, a storage medium and an electronic device, which at least solve the technical problem of low efficiency of outputting a model and related information thereof.
In order to achieve the above object, according to an aspect of the present invention, there is provided an information processing method. The method can comprise the following steps: determining and obtaining a target model corresponding to a virtual object; acquiring target information of a virtual object correspondingly matched with a node according to the node contained in the target model, wherein the target information comprises skeleton information and/or skin information of the virtual object; the target model and target information are exported to a target engine to perform rendering operations.
Optionally, the method further comprises: calling a target plug-in; and acquiring the node based on the target plug-in.
Optionally, the acquiring the target information of the virtual object correspondingly matched with the node by using the node as a position point on the target model includes: and acquiring target information corresponding to the position points.
Optionally, the obtaining target information of the virtual object correspondingly matched with the node includes: and acquiring target information correspondingly matched with the node from the information of the node based on the target plug-in.
Optionally, based on the target plug-in, obtaining target information correspondingly matched with the node from the information of the node, including: determining identification information of the target model in a first data packet associated with the target plug-in; in a second data packet associated with the target plug-in, acquiring information of the node based on the identification information; and acquiring target information in the information of the node.
Optionally, the method further comprises: creating a target folder, wherein the target folder is used for storing nodes contained in a model of a target category of the virtual object, and the category of the target model is the target category; and responding to a fourth operation instruction acting on the graphical user interface, and selecting a subfolder in the target folder, wherein the subfolder is used for storing the nodes contained in the target model.
Optionally, the obtaining target information of the virtual object correspondingly matched with the node includes: and acquiring target information based on the nodes contained in the target model in the subfolder.
Optionally, exporting the object model and the object information to an object engine to perform rendering operations, comprising: determining a target storage location; saving a target file to a target storage position, wherein the target file comprises a target model and target information; the target file is exported from the target storage location to the target engine to perform the rendering operation.
In order to achieve the above object, according to another aspect of the present invention, there is also provided an information processing apparatus comprising: the display unit is used for determining and acquiring a target model corresponding to a virtual object; the acquisition unit is used for acquiring target information of the virtual object correspondingly matched with the node according to the node contained in the target model, wherein the target information comprises skeleton information and/or skin information of the virtual object; a derivation unit to derive the target model and the target information to a target engine to perform the rendering operation.
To achieve the above object, according to another aspect of the present invention, there is provided a computer-readable storage medium. The computer readable storage medium stores therein a computer program, wherein when the computer program is executed by a processor, the apparatus in which the computer readable storage medium is located is controlled to execute the information processing method according to the embodiment of the present invention.
In order to achieve the above object, according to another aspect of the present invention, an electronic device is provided. The electronic device includes a memory and a processor. The memory stores therein a computer program, and the processor is configured to execute the computer program to perform the information processing method of the embodiment of the present invention.
In the information processing method of the embodiment, a target model corresponding to a virtual object is determined to be acquired; acquiring target information of a virtual object correspondingly matched with a node according to the node contained in the target model, wherein the target information comprises skeleton information and/or skin information of the virtual object; the target model and target information are exported to a target engine to perform rendering operations. That is to say, according to the method and the device for outputting the target model and the system for outputting the information, the node included in the target model is obtained, the skeleton information and/or the skin information of the target model are/is automatically determined by the node, time for determining the skeleton information and/or the skin information of the target model is saved, correctness of the skeleton information and/or the skin information of the target model is guaranteed, the situation that a large amount of time is consumed and selection is easy to be wrong when the skeleton information and/or the skin information of the virtual object are manually selected is avoided, the purpose of rapidly outputting the target model and the related information of the target model is achieved, the technical problem that efficiency of outputting the model and the related information is low is solved, and the technical effect that efficiency of outputting the model and the related information is low is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of an information processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of information processing according to an embodiment of the present invention;
FIG. 3 is a diagram of bone information according to a complete model in the related art;
fig. 4 is a schematic view of a skeleton of a trousers pattern requiring output according to one of the related art;
FIG. 5 is a schematic diagram of a Bhvr folder being placed into a C-disk, in accordance with an embodiment of the invention;
FIG. 6 is a diagram of placing the contents of a modules folder under the maya software installation directory, according to an embodiment of the present invention;
FIG. 7 is a schematic illustration of an interface for maya installation of an insert, in accordance with an embodiment of the present invention;
FIG. 8 is a schematic illustration of the use of an insert according to an embodiment of the invention;
FIG. 9 is a schematic diagram of nodes included in a generative model according to an embodiment of the invention;
FIG. 10 is a schematic diagram of an output model and its associated information according to an embodiment of the invention;
fig. 11 is a schematic diagram of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, 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, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking an example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of an information processing method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a data processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
An information processing method operating in the mobile terminal is provided in the present embodiment, and fig. 2 is a flowchart of an information processing method according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
step S202, determining to acquire a target model corresponding to a virtual object.
In the technical solution provided in step S202 of the present invention, an object model corresponding to a virtual object may be determined and obtained in the three-dimensional animation software, where the object model is a model created in the three-dimensional animation software, and may be a model corresponding to the entire virtual object, or may be a model corresponding to a certain body part of the virtual object, for example, a trousers model corresponding to the lower half of the virtual object. Optionally, the number of the target models in this embodiment may be one, or may be multiple, for example, the trousers model and the coat model corresponding to a virtual object may be determined to be obtained at the same time, which is not limited herein.
In this embodiment, the target model corresponding to a virtual object is determined and obtained in the three-dimensional animation software, and the target model may be selected from the entire model of the virtual object, and the target model is a model to be output, and then displayed on the graphical user interface.
For example, the virtual object is a virtual game character capable of performing game change, the whole model of the virtual object may be a whole set of fashion model, and the at least one target model may include, but is not limited to, a hair model, a trousers model, a clothes model, a watch model, and the like in the whole set of fashion model. The three-dimensional animation software of this embodiment may select a trousers model from among the above-described hair models, trousers models, clothes models, watch models, etc., determine the trousers model as a model to be output, and then display the trousers model on a graphic user interface. Alternatively, the embodiment may select a pants model and other models from a hair model, a pants model, a clothes model, a watch model, and the like, determine the pants model and other models together as a model to be output, and then display the pants model and other models on the graphic user interface.
Alternatively, the above-described three-dimensional animation software of this embodiment may be maya (maya) software.
Step S204, according to the nodes contained in the target model, target information of the virtual object correspondingly matched with the nodes is obtained, wherein the target information comprises skeleton information and/or skin information of the virtual object.
In the technical solution provided in step S204 of the present invention, in order to enable the target model to perform reasonable rendering operation in the game scene, target information for enabling the target model to perform reasonable rendering operation is also required to be derived when the target model is derived, where the target information is information related to the target model. For example, the object model may be moving in a game scene, and in order to make the object model generate reasonable movement, object information for making the object model generate reasonable movement needs to be derived when the object model is derived. Alternatively, in order to make the target model generate reasonable motion, the target model needs to be driven by a bone corresponding to the target model, but the target model and the bone are independent from each other, which requires that the target model is bound to the bone, that is, a bone is added to the target model, and thus, the target information of the virtual object of this embodiment may include bone information and/or skinning information of the virtual object matched by the nodes, wherein the bone information is used for representing the bone bound to the target model, and the skinning information is information used for controlling the motion of the target model, and may be information used for controlling the motion of the target model through the bone.
After determining to acquire a target model corresponding to a virtual object, in the three-dimensional animation software, a node included in the target model may be acquired, where the node may be a morphological node of the target model, and the morphological node may be a point on an outline of the target model. Optionally, when the nodes included in the target model are obtained, the target information of the virtual object corresponding to the nodes may be automatically obtained according to the nodes included in the target model, that is, once the nodes included in the target model are obtained, the target information of the virtual object corresponding to the nodes is automatically obtained, and the target information includes bone information and/or skin information of the virtual object, where the bone information and/or skin information corresponds to the target model, so that the bone information and/or skin information of the virtual object may be automatically obtained through the nodes included in the target model, and a problem that a large amount of time is consumed and an error is easily selected due to manual selection of the bone information and/or skin information of the virtual object is avoided.
It should be noted that the above nodes of this embodiment are nodes for the target model selected by the user, and are not nodes included in the entire model of the virtual object, so that the target model and the corresponding skeleton information and/or skin information are output in a targeted manner.
Step S206, exporting the target model and the target information to a target engine to execute the rendering operation.
In the technical solution provided by step S206 of the present invention, after the target information of the virtual object corresponding to the node is obtained according to the node included in the target model, the target model and the target information are exported to the target engine to perform the rendering operation.
In this embodiment, the object model and the object information may be exported to an object engine in the three-dimensional animation software, and the object engine may perform a rendering operation on the object model based on the object information, where the rendering operation may be a static rendering operation or a motion rendering operation, for example, the object engine may be a game engine, and the object model needs to move in a game scene, and then the game engine may perform a rendering operation on the object model through the object information, so that the object model may move normally in the game scene.
Determining to obtain a target model corresponding to a virtual object through the steps S202 to S206; acquiring target information of a virtual object correspondingly matched with a node according to the node contained in the target model, wherein the target information comprises skeleton information and/or skin information of the virtual object; the target model and target information are exported to a target engine to perform rendering operations. That is to say, according to the method and the device for outputting the target model and the related information, the node included in the target model is obtained, the node is used for automatically determining the bone information and/or the skin information of the matched virtual object, the time for determining the bone information and/or the skin information of the target model is saved, the correctness of the bone information and/or the skin information of the target model is guaranteed, the situation that a large amount of time is consumed and the selection is easy to be wrong when the bone information and/or the skin information of the virtual object are manually selected is avoided, the purpose of rapidly outputting the target model and the related information is achieved, the technical problem that the efficiency of outputting the model and the related information is low is solved, and the technical effect that the efficiency of outputting the model and the related information is low is achieved.
The above-described method of this embodiment is further described below.
As an alternative embodiment, the method may comprise: calling a target plug-in; and acquiring the node based on the target plug-in.
In this embodiment, a target plug-in may be installed for the three-dimensional animation software, and the nodes included in the target model may be generated by the target plug-in. Optionally, the embodiment places the data package for installing the target plug-in the three-dimensional animation software under the system root directory, for example, the data package comprises a Bhvr folder and a modules folder, the Bhvr folder may be placed under the C-packing directory and the data in the modules folder under the installation directory of the three-dimensional animation software is replaced by the data in the modules folder, so that when the three-dimensional animation software is opened, the 'Behaxiour' function control can be displayed on the graphical user interface of the three-dimensional animation software, which means that the target plug-in is installed in the three-dimensional animation software, therefore, when the Node contained in the target model is obtained, the target plug-in can be called, the Node contained in the target model can be obtained by utilizing the target plug-in, for example, the Node contained in the target model can be obtained by selecting BHVR Export Node control in Behaxiour in three-dimensional animation software, and bone information and/or skinning information corresponding to the target model has been selected.
As an optional example, in the embodiment, the three-dimensional animation software is firstly opened, and then a target model corresponding to a virtual object is determined to be obtained; acquiring nodes contained in a target model by using the target plug-in installed in the three-dimensional animation software, and automatically acquiring target information of the virtual object through the nodes in the target plug-in, wherein the target information comprises skeleton information and/or skin information of the virtual object; the target model and target information are exported to a target engine to perform rendering operations.
As another optional implementation, the node is a location point on the target model, and in step S204, the obtaining target information of the virtual object correspondingly matched with the node includes: and acquiring target information corresponding to the position points.
In this embodiment, when a node is obtained based on a target plug-in, information of the node is obtained, where the node may be a location point on a target model, and the information of the location point may be information of the number of the location points, a specific location where the location point is located, and the like, and may automatically include target information of a virtual object, that is, automatically include skeleton information and/or skin information of the virtual object corresponding to the node, so that the embodiment may obtain target information corresponding to the location point, and achieve a purpose of finding matched target information according to the location point.
As another optional implementation manner, in step S204, acquiring target information of the virtual object correspondingly matched with the node, including: and acquiring target information correspondingly matched with the node from the information of the node based on the target plug-in.
In the embodiment, because the information of the node included in the target model includes the target information of the virtual object, the embodiment can extract the target information from the information of the node included in the target model by using the target plug-in, and the purpose of automatically selecting the skeleton information and/or the skinning information of the virtual object by using the node is achieved, so that the problems that a lot of time is consumed and the selection is easy to be wrong due to the fact that the skeleton information and/or the skinning information of the virtual object are manually selected are avoided.
As another optional implementation, based on the target plug-in, obtaining target information correspondingly matched with the node from the information of the node, includes: determining identification information of the target model in a first data packet associated with the target plug-in; in a second data packet associated with the target plug-in, acquiring information of the node based on the identification information; and acquiring target information in the information of the node.
In this embodiment, a first data package associated with the target plug-in may be obtained, for example, the first data includes a modules folder under the system root directory, which may be the target plug-in, and which may include identification information of a plurality of models of the virtualization object, the identification information of each model being used to uniquely identify the corresponding model. In this embodiment, the identification information of the target model may be determined in the identification information of the multiple models of the first data packet, and then, in the second data packet associated with the target plug-in, the information of the node included in the target model is obtained based on the identification information of the target model, that is, the second data packet and the first data packet of this embodiment may be associated by the identification information of the target model, where the second data packet may be a Bhvr folder of the target plug-in under the system root directory, which may include the node included in each model, and then the target information is obtained in the information of the node included in the target model, so that the purpose of obtaining the target information of the virtual object correspondingly matched with the node is achieved.
As another optional embodiment, the method further comprises: creating a target folder, wherein the target folder is used for storing nodes contained in a model of a target category of the virtual object, and the category of the target model is the target category; and responding to a fourth operation instruction acting on the graphical user interface, and selecting a subfolder in the target folder, wherein the subfolder is used for storing the nodes contained in the target model.
In this embodiment, after obtaining the nodes included in the target model, the category to which the target model belongs may be determined, for example, the category of the target model is determined as the target category, and then a target folder may be automatically created based on the target category, and the target folder may be used to store the nodes included in the model of the virtual object as the target category. Optionally, the target folder may include a subfolder for storing nodes included in the target model, and the target folder may further include a subfolder in which nodes included in other models belonging to the same target category as the target model are stored.
For example, the virtual object may be a virtual game character, the target model is a trousers model, after the nodes included in the trousers model are obtained, the class to which the trousers model belongs may be determined, for example, the class of the trousers model is determined to be a fashion class, and then a target folder is automatically created based on the fashion class, where the target folder may be used to store all the nodes included in the models included in the fashion class of the virtual game character, where the target folder may include a subfolder for storing the nodes included in the trousers model, may also include a subfolder for storing the nodes included in the hair model, may also include a subfolder for storing the nodes included in the coat model, and may also include a subfolder for storing the nodes included in the watch model, and this is not particularly limited, so as to implement classified storage of the nodes included in the models.
The embodiment may select a subfolder in the target folder for storing the nodes contained by the target model after the subfolder of the target folder is created.
As another optional implementation manner, in step S204, acquiring target information of the virtual object correspondingly matched with the node, including: and acquiring target information based on the nodes contained in the target model in the subfolder.
In this embodiment, since the subfolders of the target folder may be used to store the nodes included in the target model, when obtaining the target information of the virtual object corresponding to the node is implemented, the embodiment may automatically obtain the bone information and/or skinning information of the virtual object corresponding to the node based on the nodes included in the target model in the subfolders.
As another alternative, step S206, exporting the target model and the target information to the target engine to perform the rendering operation includes: determining a target storage location; saving a target file to a target storage position, wherein the target file comprises a target model and target information; the target file is exported from the target storage location to the target engine to perform the rendering operation.
In this embodiment, after automatically acquiring the target information of the virtual object based on the node included in the target model, a target storage location for storing the target information of the virtual object may be determined in the three-dimensional animation software, so that the three-dimensional animation software may set the target storage location, which may be represented by a storage path. Alternatively, the embodiment may select the target storage location through the target plug-in.
After determining the target storage location, the three-dimensional animation software may save the target model and the target information to the target storage location. Optionally, the embodiment may generate a target file from the target model and the target information, for example, generate an FBX file, so that the embodiment may save it to the target storage location.
Optionally, after saving the object file including the bone information and/or skin information of the virtual object to the target storage location, the three-dimensional animation software may export the object file from the target storage location to the target engine for performing a normal rendering operation, such as a motion rendering operation performed, so that the target model moves normally in the game scene through the corresponding bone information and/or skin information.
The embodiment can realize a method for selecting a part model, and exporting the part model and the needed skeleton information and/or skinning information together, and can display the target model to be output on a graphical user interface; the method comprises the steps of selecting a node contained in a target model acquired by using a plug-in, automatically determining skeleton information and/or skin information of a virtual object through the node, outputting the target model, the corresponding skeleton information and/or skin information to a target storage position, acquiring the target model, the corresponding skeleton information and/or skin information from the target storage position by a target engine to ensure that the target model normally moves in a game scene, saving the time for determining the skeleton information and/or skin information of the target model, ensuring the correctness of the skeleton information and/or skin information of the target model, avoiding the problem that a large amount of time is consumed and the selection is easy to be wrong due to the fact that the skeleton information and/or skin information of the virtual object is manually selected, further achieving the purpose of rapidly outputting the target model and the related information thereof, and solving the technical problem of low efficiency of outputting the model and the related information thereof, the technical effect of low efficiency of improving the output model and the related information thereof is achieved.
The following describes the technical solution of the embodiment of the present invention with reference to a preferred embodiment, and specifically, a rendering operation is exemplified as a motion rendering operation.
In the process of game development, a model created in three-dimensional animation software, skin information and skeleton information for controlling the motion of the model are required to be exported to a game engine together, so that the model can normally move in a game scene.
For example, the game application may implement a change-over function, e.g., the game application has a function of changing fashion at will. Therefore, the entire model of the virtual object cannot be directly derived, but is derived by separating the entire model of the virtual object into individual components. For example, a set of fashion models is divided into a hair model, a pants model, a jacket model, a watch model, and the like, and then exported.
However, in the related art, a partial model that a user wants to derive and bone information and/or skin information corresponding to the partial model need to be manually deselected from the entire model of the virtual object. For example, if the user wants to export a trousers model into the game engine, the user not only selects the trousers model, but also selects the corresponding skeleton information and/or skin information of the trousers model.
The scheme can be implemented by using output commands of maya software, and users can select partial models which are output by the users. However, since this method requires the user to select not only a partial model but also the bone information and/or skin information corresponding to the partial model, it takes a long time to output the model and the bone information and/or skin information corresponding to the model.
Fig. 3 is a diagram illustrating bone information according to a complete model in the related art. As shown in fig. 3, skeletal information required for a complete model to move in a game scene may be displayed on the left side of the graphical user interface, and the complete model may be displayed on the right side of the graphical user interface.
Fig. 4 is a schematic view of a skeleton of a trousers pattern requiring output according to one of the related art. As shown in fig. 4, the user may manually select a trousers model, and manually select skeletal information corresponding to the trousers model, which may be displayed on the left side of the graphic user interface, and the trousers model may be displayed on the right side of the graphic user interface.
As can be seen from the above, it takes a certain amount of time to select the bone information and/or skin information corresponding to the model to be output, and it is easy for designers who are not skilled in mastering bones to select the bone information and/or skin information incorrectly, so that the efficiency of outputting the model and the corresponding bone information and/or skin information is affected.
However, in the embodiment of the present application, when it is desired to output a partial model in the entire model of the virtual object, a model to be output may be selected from the entire model of the virtual object, and nodes included in the model to be output are generated by using the target plug-in; the target plug-in automatically determines the bone information and/or skin information of the matched virtual object through the node; and selecting a target storage position, and storing the model to be output and the corresponding bone information and/or skin information to the target storage position, so that the condition that a user needs to manually select the bone information and/or skin information corresponding to the model to be output is avoided, and the time for outputting the model and the bone information and/or skin information of the model is greatly reduced.
The method of installing the target plug-in to the maya software of this embodiment is further described below.
In this embodiment, the installation package for installing the target plug-in to maya software may include a Bhvr folder and modules folder.
FIG. 5 is a diagram of a Bhvr folder placed into a C disk, according to an embodiment of the invention. As shown in fig. 5, the Bhvr folder may be stored under the root directory of the C disk.
FIG. 6 is a diagram of placing the contents of a modules folder under the maya software installation directory, according to an embodiment of the present invention. As shown in FIG. 6, modules under the maya installation directory may be replaced by the contents of the modules folder in the installation package.
Fig. 7 is a schematic diagram of an interface for maya installation of an insert, in accordance with an embodiment of the present invention. As shown in FIG. 7, after replacing modules under the maya software installation directory by the contents of the modules folder in the installation package, the target plug-in is already installed on the maya software after it is opened. For example, displaying "Behaviour" on the graphical user interface of the maya software indicates that the target plug-in is already installed on the maya software.
Fig. 8 is a schematic diagram of the use of an insert according to an embodiment of the invention. As shown in fig. 8, on the graphical user interface of maya software, by operating the function control a, a model to be output is opened, for example, the model is a jacket model, and then, by performing touch operation on the function control B, a node included in the model, for example, a node included in the jacket model, is obtained. The function control B may be a BHVR Export Node function control inside the Behaxiour function control.
FIG. 9 is a schematic diagram of nodes included in a generative model according to an embodiment of the invention. As shown in fig. 9, after the touch operation is performed on the function control B of fig. 8, information of a corresponding node is generated, and corresponding skeleton information is already selected automatically, without the user selecting the skeleton information by himself.
FIG. 10 is a diagram of an output model and its associated information according to an embodiment of the invention. As shown in fig. 10, a node included in a model to be output may be selected in a folder C for storing nodes included in the model, then a target storage location of the model to be output and corresponding skeleton information and/or skin information may be set by operating a function control D, and finally the model to be output and corresponding skeleton information and/or skin information may be exported to a game engine for normal use by operating a function control E. Optionally, the embodiment may generate an FBX file from the model to be output and the corresponding skeleton information and/or skinning information, export the FBX file to the game engine for normal use.
It should be noted that the model shown in fig. 8 to 10 of the present application is only an example of the embodiment of the present invention, and the model of the present application is not limited.
The embodiment can realize a method for selecting a part of models, and exporting the part of models and required bone information and/or skinning information together, and can display the models to be output on a graphical user interface; the method comprises the steps of selecting a node contained in a model generated by using a plug-in, automatically determining matched bone information and/or skin information through the node, outputting the model, the corresponding bone information and/or skin information to a target storage position, acquiring the model, the corresponding bone information and/or skin information from the target storage position by a target engine to ensure that the model normally moves in a game scene, saving the time for determining the bone information and/or skin information of the model, ensuring the correctness of the bone information and/or skin information of the model, avoiding the problems that a large amount of time is consumed and the selection is easy to be wrong due to the fact that the bone information and/or skin information corresponding to the model is manually selected, and further achieving the purpose of rapidly outputting the model and the bone information and/or skin information corresponding to the node, the technical problem of low efficiency of the output model and the corresponding skeleton information and/or skin information of the output model is solved, the technical effect of improving the low efficiency of the output model and the corresponding skeleton information and/or skin information of the output model is achieved, and the working efficiency is improved.
The embodiment of the invention also provides an information processing device. It should be noted that the information processing apparatus of this embodiment can be used to execute the information processing method shown in fig. 2 of the embodiment of the present invention.
Fig. 11 is a schematic diagram of an information processing apparatus according to an embodiment of the present invention. As shown in fig. 11, the information processing apparatus 110 includes: a display unit 111, an acquisition unit 112, and a derivation unit 113.
And the display unit 111 is used for determining and acquiring a target model corresponding to a virtual object.
An obtaining unit 112, configured to obtain, according to a node included in the target model, target information of the virtual object correspondingly matched with the node, where the target information includes bone information and/or skinning information of the virtual object.
A derivation unit 113 for deriving the target model and the target information to the target engine to perform the rendering operation.
Alternatively, the obtaining unit 112 includes: the calling module is used for calling the target plug-in; and the generating module is used for acquiring the node based on the target plug-in.
Optionally, the node is a position point on the target model, and the obtaining unit 112 includes: and the first acquisition module is used for acquiring the target information corresponding to the position point.
Alternatively, the obtaining unit 112 includes: and the second acquisition module is used for acquiring target information correspondingly matched with the node from the information of the node based on the target plug-in.
Optionally, the second obtaining module includes: the first acquisition submodule is used for determining the identification information of the target model in a first data packet associated with the target plug-in; the second acquisition submodule is used for acquiring the information of the node based on the identification information in a second data packet associated with the target plug-in; and the third acquisition submodule is used for acquiring target information from the information of the node.
Optionally, the apparatus further comprises: the system comprises a creating unit, a searching unit and a processing unit, wherein the creating unit is used for creating a target folder, the target folder is used for storing nodes contained in a model of a target category of a virtual object, and the category of the target model is the target category; and the selecting unit is used for responding to a fourth operation instruction acting on the graphical user interface and selecting the subfolder in the target folder, wherein the subfolder is used for storing the nodes contained in the target model.
Alternatively, the obtaining unit 112 includes: and the third acquisition module is used for acquiring the target information based on the nodes contained in the target model in the subfolder.
Optionally, the deriving unit 113 includes: a determining module for determining a target storage location; the storage module is used for storing the target file to a target storage position, wherein the target file comprises a target model and target information; and the export module is used for exporting the target file from the target storage position to the target engine so as to execute the rendering operation.
In the information processing apparatus of this embodiment, it is determined to acquire a target model corresponding to a virtual object through the display unit 111; acquiring, by the acquiring unit 112, target information of a virtual object correspondingly matched with a node according to the node included in the target model, where the target information includes skeleton information and/or skin information of the virtual object; the object model and the object information are exported to the object engine by the export unit 113 to perform the rendering operation. That is to say, according to the method and the device for outputting the target model and the related information, the node included in the target model is obtained, the node is used for automatically determining the bone information and/or the skin information of the matched virtual object, the time for determining the bone information and/or the skin information of the target model is saved, the correctness of the bone information and/or the skin information of the target model is guaranteed, the situation that a large amount of time is consumed and the selection is easy to be wrong when the bone information and/or the skin information of the virtual object are manually selected is avoided, the purpose of rapidly outputting the target model and the related information is achieved, the technical problem that the efficiency of outputting the model and the related information is low is solved, and the technical effect that the efficiency of outputting the model and the related information is low is achieved.
Embodiments of the present invention also provide a computer-readable storage medium. The computer readable storage medium stores therein a computer program, wherein when the computer program is executed by a processor, the apparatus in which the computer readable storage medium is located is controlled to execute the information processing method according to the embodiment of the present invention.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. An information processing method characterized by comprising:
determining and obtaining a target model corresponding to a virtual object;
acquiring target information of the virtual object correspondingly matched with the node according to the node contained in the target model, wherein the target information comprises skeleton information and/or skin information of the virtual object;
exporting the object model and the object information to an object engine to perform a rendering operation.
2. The method of claim 1, further comprising:
calling a target plug-in;
and acquiring the node based on the target plug-in.
3. The method of claim 2, wherein the node is a location point on the target model, and obtaining target information of the virtual object corresponding to the node comprises:
and acquiring the target information which is correspondingly matched with the position point.
4. The method of claim 2, wherein obtaining target information for the virtual object corresponding to the node comprises:
and acquiring the target information correspondingly matched with the node from the information of the node based on the target plug-in.
5. The method of claim 2, wherein obtaining the target information corresponding to the node from the information of the node based on the target plug-in comprises:
determining identification information of the target model in a first data packet associated with the target plug-in;
obtaining information of the node based on the identification information in a second data packet associated with the target plug-in;
and acquiring the target information from the information of the nodes.
6. The method of claim 1, further comprising:
creating a target folder, wherein the target folder is used for storing nodes contained in a model of a target category of the virtual object, and the category of the target model is the target category;
and selecting a subfolder in the target folder, wherein the subfolder is used for storing the nodes contained in the target model.
7. The method of claim 6, wherein obtaining target information for the virtual object corresponding to the node comprises:
and acquiring the target information based on the nodes contained in the target model in the subfolder.
8. The method of any of claims 1 to 7, wherein exporting the object model and the object information to an object engine to perform rendering operations comprises:
determining a target storage location;
saving a target file to the target storage location, wherein the target file comprises the target model and the target information;
exporting the target file from the target storage location to the target engine to perform the rendering operation.
9. An information processing apparatus characterized by comprising:
the determining unit is used for determining and acquiring a target model corresponding to a virtual object;
the acquiring unit is used for acquiring target information of the virtual object correspondingly matched with the node according to the node contained in the target model, wherein the target information comprises skeleton information and/or skin information of the virtual object;
a derivation unit to derive the target model and the target information to a target engine to perform a rendering operation.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, controls an apparatus in which the computer-readable storage medium is located to carry out the method of any one of claims 1 to 8.
11. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is configured to be executed by the processor to execute the computer program to perform the method of any of claims 1 to 8.
CN202111007315.5A 2021-08-30 2021-08-30 Information processing method, information processing apparatus, storage medium, and electronic apparatus Pending CN113838175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111007315.5A CN113838175A (en) 2021-08-30 2021-08-30 Information processing method, information processing apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111007315.5A CN113838175A (en) 2021-08-30 2021-08-30 Information processing method, information processing apparatus, storage medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN113838175A true CN113838175A (en) 2021-12-24

Family

ID=78961619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111007315.5A Pending CN113838175A (en) 2021-08-30 2021-08-30 Information processing method, information processing apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN113838175A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558383A (en) * 2018-12-10 2019-04-02 网易(杭州)网络有限公司 The fashionable dress output processing method and device, electronic equipment of game role
CN109727302A (en) * 2018-12-28 2019-05-07 网易(杭州)网络有限公司 Bone creation method, device, electronic equipment and storage medium
CN111325818A (en) * 2020-02-10 2020-06-23 腾讯科技(深圳)有限公司 Three-dimensional animation generation method and device, storage medium and computer equipment
CN111798550A (en) * 2020-07-17 2020-10-20 网易(杭州)网络有限公司 Method and device for processing model expressions
CN112604293A (en) * 2020-12-28 2021-04-06 完美世界(北京)软件科技发展有限公司 Data processing method and device, electronic equipment and readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558383A (en) * 2018-12-10 2019-04-02 网易(杭州)网络有限公司 The fashionable dress output processing method and device, electronic equipment of game role
CN109727302A (en) * 2018-12-28 2019-05-07 网易(杭州)网络有限公司 Bone creation method, device, electronic equipment and storage medium
CN111325818A (en) * 2020-02-10 2020-06-23 腾讯科技(深圳)有限公司 Three-dimensional animation generation method and device, storage medium and computer equipment
CN111798550A (en) * 2020-07-17 2020-10-20 网易(杭州)网络有限公司 Method and device for processing model expressions
CN112604293A (en) * 2020-12-28 2021-04-06 完美世界(北京)软件科技发展有限公司 Data processing method and device, electronic equipment and readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
熊伟;: "基于三维动画的虚拟人物表情动作***设计", 现代电子技术, no. 20, 15 October 2020 (2020-10-15), pages 97 - 101 *

Similar Documents

Publication Publication Date Title
CN107122175B (en) Interface creating method and device
CN110399420A (en) A kind of deriving method, electronic equipment and the medium of configurableization Excel format
CN112612214B (en) Method and system for generating functional interface and electronic equipment
CN105069830A (en) Method and device for generating expression animation
CN109621419B (en) Game character expression generation device and method, and storage medium
CN111708563B (en) Method and device for updating UI control in game
CN110688115A (en) Method and device for generating interface
CN110858160B (en) Resource scheduling method and device, storage medium and processor
CN111413876A (en) Method for configuring control page of APP, cloud platform and terminal equipment
CN112184852A (en) Auxiliary drawing method and device based on virtual imaging, storage medium and electronic device
CN109039683A (en) A kind of arranging service method and system
CN115080016A (en) Extended function implementation method, device, equipment and medium based on UE editor
CN108416149A (en) The real-time formative method of 3 d part unrelated CAD, terminal and storage medium
CN108737487B (en) Data synchronization method and device, storage medium and electronic device
CN109656638A (en) A kind of user based on Purley platform customizes the implementation method of function
CN104572280B (en) A kind of Android applications method for switching theme
CN109947425A (en) A kind of the dealing with information flow method and device
CN113449031A (en) Data synchronization management method and device and server
CN113838175A (en) Information processing method, information processing apparatus, storage medium, and electronic apparatus
CN109101268A (en) Intelligent terminal configuration method, electronic device and computer readable storage medium
CN114239095A (en) Method and device for generating product customization module, electronic equipment and storage medium
CN105879392B (en) Decompose to image the inline graphics game making system of storage based on background subtraction method
CN111225005B (en) Push content generation method and device, electronic equipment and computer storage medium
CN112650486A (en) Data visualization processing method and device
CN111951355A (en) Animation processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination