Expression switching control method and device and storage medium

By creating object list nodes and associated expression switching controllers in the XPresso editor of C4D, the problem of complex expression model switching operations is solved, and multiple expression model switching functions are implemented to improve operation efficiency.

CN118981270APending Publication Date: 2024-11-19GUANGZHOU LANHAO ADVERTISING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411005996.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

In the CINEMA 4D character three-dimensional model, the switching operation of the expression model is complex and difficult to manage, especially when the number of expression models is large, the process of finding and switching the required model is cumbersome.

Method used

Create object list nodes on the XPresso editor window of C4D, obtain and sort multiple target expression models, and control multiple target expression models and expression switching by creating carrier model, object index node and comparison node of the expression switching controller, and control multiple target expression models and expression switching models by creating carrier model, object index node and comparison node of the expression switching controller. The device is associated with links to realize the function of switching to display multiple expression models by dragging the carrier model.

Benefits of technology

Simplify the switching operations of multiple expression models, improve operation efficiency, and enable users to easily switch and manage a large number of expression models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981270A_ABST
    Figure CN118981270A_ABST
Patent Text Reader

Abstract

The invention provides an expression switching control method and device and a storage medium. The method comprises the following steps: creating an object list node on an XPresso editor window of C4D; obtaining a plurality of predefined target expression models; a plurality of target expression models are stored on the object list node, and the placing sequence of the target expression models in the object list node is defined as the switching sequence of the target expression models; creating a carrier model of an expression switching controller on an editing user data window of the C4D; creating an object index node and a comparison node on an XPresso editor window; associating and linking the plurality of target expression models and the expression switching controller together by using the object index node and the comparison node; and dragging the drag carrier model, and switching to display the plurality of target expression models. According to the method, the effect of simply and conveniently switching and displaying multiple expression models can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer graphics (CG), and in particular to an expression switching control method, device and storage medium. Background Art

[0002] In the CINEMA 4D (hereinafter referred to as C4D) character 3D model, the fixed expression model switching is generally achieved by using the on and off buttons in the visible node of the expression model to achieve the purpose of whether the expression model is displayed. It is easy to operate two expression models by turning one on and the other off, but if the number of expression models reaches a certain level, clicking the switch to make it visible is a very troublesome thing, and it is also difficult to find the desired expression model because there are too many expression models.

[0003] It can be seen that currently in the C4D character three-dimensional model, there is a problem of complex switching operations between multiple expression models. Summary of the invention

[0004] The embodiment of the present application provides an expression switching control method, device and storage medium to solve the problems existing in the related art. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides an expression switching control method, comprising:

[0006] Create an object list node on the XPresso editor window in C4D;

[0007] Obtain multiple predefined target expression models;

[0008] Storing a plurality of the target expression models on the object list node, wherein the order in which the plurality of the target expression models are placed in the object list node is defined as the switching order of the plurality of the target expression models;

[0009] Creating a carrier model of the expression switching controller in the editing user data window of the C4D;

[0010] Creating an object index node and a comparison node on the XPresso editor window;

[0011] Use the object index node and the comparison node to associate and link a plurality of the target expression models and the expression switching controller together;

[0012] Drag the carrier model to switch and display multiple target expression models.

[0013] In one embodiment, creating an object list node on an XPresso editor window of C4D includes:

[0014] In response to a first click operation on an XPresso pool on the XPresso editor window, displaying an edit bar for the XPresso pool;

[0015] In response to a first drag operation on the object list label on the edit bar, the object list node is created on the group space of the XPresso editor window.

[0016] In one implementation, storing a plurality of the target expression models on the object list node includes:

[0017] In response to a second click operation on the object list node, displaying an iterative list of the object list node on the property interface of the C4D;

[0018] In response to a second drag operation on any of the target expression models, any of the target expression models are stored in the iteration list in a dragging order.

[0019] In one embodiment, creating a carrier model of an expression switching controller in the editing user data window of C4D includes:

[0020] In response to a third click operation on the add data label on the edit user data window, a basic carrier model is created, and a property input information column of the basic carrier model is displayed on the edit user data window;

[0021] Acquire the attribute information received in the attribute input information column;

[0022] The carrier model is created based on the attribute information and the basic carrier model.

[0023] In one embodiment, creating an object index node and a comparison node on the XPresso editor window includes:

[0024] In response to a third drag operation on the object index label on the XPresso editor window, creating the object index node on the group space of the XPresso editor window;

[0025] In response to a fourth drag operation on the comparison tab on the XPresso editor window, the comparison node is created on the group space.

[0026] In one embodiment, using the object index node and the comparison node to associate and link a plurality of the target expression models and the expression switching controller together comprises:

[0027] Drag the carrier model and the plurality of target expression models to the group space of the XPresso editor window;

[0028] According to the specified connection method, multiple target expression models and the expression switching controller are associated and linked together:

[0029] The specified connection method is as follows:

[0030] The instance port of the object list node is connected to the instance port of the object index node;

[0031] The instance port of the object index node is connected to the object port of any of the target expression models, and the index port of the object index node is connected to an input port of the comparison node;

[0032] Another input port of the comparison node is connected to the expression switching port of the carrier model, and the output port of the comparison node is connected to the window visible port and the renderer visible port of any one of the target expression models.

[0033] In one implementation, dragging the carrier model to switch and display a plurality of target expression models includes:

[0034] Drag the carrier model on the property interface of C4D to switch and display multiple target expression models.

[0035] In a second aspect, the embodiment of the present application further provides an expression switching control device, comprising:

[0036] Creation unit, used to create object list nodes on the XPresso editor window of C4D;

[0037] A storage unit, used for acquiring a plurality of predefined target expression models; storing the plurality of target expression models on the object list node, wherein the arrangement order of the plurality of target expression models in the object list node is defined as the switching order of the plurality of target expression models;

[0038] The creation unit is further used to create a carrier model of the expression switching controller on the C4D editing user data window; create an object index node and a comparison node on the XPresso editor window;

[0039] The processing unit is used to associate and link the plurality of target expression models and the expression switching controller together by using the object index node and the comparison node; and to switch and display the plurality of target expression models by dragging the carrier model.

[0040] In a third aspect, an embodiment of the present application further provides a computer device, comprising: a memory and a processor, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned aspects, wherein the memory and the processor communicate with each other through an internal connection path.

[0041] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is implemented.

[0042] The advantages or beneficial effects of the above technical solution include at least:

[0043] The present application stores multiple target expression models on an object list node, defines the arrangement order of the multiple target expression models in the object list node as the switching order of the multiple target expression models, and then creates a carrier model, object index node and comparison node of the expression switching controller. The multiple target expression models and the expression switching controller are associated and linked together through the object index node and the comparison node, so as to achieve the purpose of easily switching and displaying multiple target expression models by dragging the carrier model. That is, the present application can achieve the effect of easily switching and displaying multiple expression models.

[0044] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0046] Figure 1 A flowchart of an expression switching control method provided in an embodiment of the present application;

[0047] Figure 2 An example diagram of a first display interface of an XPresso editor window provided in an embodiment of the present application;

[0048] Figure 3 An example diagram of a C4D property interface provided in an embodiment of the present application;

[0049] Figure 4An example diagram of a second display interface for editing a user data window provided in an embodiment of the present application;

[0050] Figure 5 An example diagram of an attribute list of an editing user data window provided in an embodiment of the present application;

[0051] Figure 6 An example diagram of a carrier model of an expression switching controller provided in an embodiment of the present application;

[0052] Figure 7 An example diagram of linking a target expression model named object number one with another model of an expression switching controller provided in an embodiment of the present application;

[0053] Figure 8 An example diagram of a first display interface of another XPresso editor window provided in an embodiment of the present application;

[0054] Fig. 9 An example diagram of multiple target expression models and carrier models linked together in an embodiment of the present application;

[0055] Fig.10 An example diagram of switching and displaying a target expression model provided in an embodiment of the present application;

[0056] Fig.11 Another example diagram of switching and displaying a target expression model provided in an embodiment of the present application;

[0057] Fig.12 A structural block diagram of an expression switching control device provided in an embodiment of the present application;

[0058] Fig.13 A structural block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0060] Figure 1 FIG. 1 is a flow chart showing a method for controlling expression switching according to an embodiment of the present application. Figure 1 As shown, the method may include the following steps:

[0061] S110. Create an object list node in the XPresso editor window of C4D.

[0062] In one implementation, the implementation process of step S110 may include the following steps:

[0063] S111. In response to a first click operation on the XPresso pool on the XPresso editor window, an edit bar of the XPresso pool is displayed.

[0064] In a specific implementation, when it is detected that a first click operation is triggered on the first display interface of the XPresso editor window, a first display instruction for displaying the edit bar of the XPresso pool is generated in response to the first click operation; and then the edit bar of the XPresso pool is displayed on the first display interface based on the first display instruction.

[0065] As an example, the edit bar for an XPresso pool may appear as follows: Figure 2 On the left area of ​​the first display interface shown.

[0066] S112. In response to the first drag operation on the object list label on the edit bar, an object list node is created in the group space of the XPresso editor window.

[0067] In specific implementation, Figure 2 As shown, after the object list label is found on the edit bar of the XPresso pool, when it is detected that the first drag operation is triggered on the first display interface, a first creation instruction for creating an object list node is generated in response to the first drag operation; and then the object list node is created on the group space of the first display interface based on the first creation instruction.

[0068] It should be understood that the first drag operation is an operation for dragging the object list label to the group space.

[0069] As an example, the object list node can be Figure 2 The object list node shown.

[0070] S120: Acquire a plurality of predefined target expression models.

[0071] In one implementation, the multiple target expression models may be created in advance by the user, or may be obtained from other devices or downloaded from the network according to the user's needs, which is not limited in this embodiment.

[0072] It should be understood that any target expression model is an expression model that requires expression switching control.

[0073] S130. Store multiple target expression models in the object list node.

[0074] In one implementation, the order in which the multiple target expression models are placed in the object list node is defined as the switching order of the multiple target expression models.

[0075] In one implementation, the implementation process of step S130 may include the following steps:

[0076] S131. In response to a second click operation on the object list node, an iterative list of the object list node is displayed on the property interface of C4D.

[0077] In specific implementation, combined with Figure 2 and Figure 3 As shown, when it is detected that a second click operation is triggered on the first display interface, a second display instruction for displaying the iteration list on the property interface of C4D is generated in response to the second click operation; then the property interface is displayed based on the second display instruction, and the iteration list is displayed on the property interface.

[0078] S132. In response to a second drag operation on any target expression model, store any target expression model into the iteration list according to the drag order.

[0079] In specific implementation, combined with Figure 2 and Figure 3 As shown, when it is detected that a second drag operation is triggered on the attribute interface, a storage instruction for storing any target expression model in the iteration list is generated in response to the second drag operation; and then based on the storage instruction, any target expression model is stored in the iteration list.

[0080] Exemplarily, when the number of target expression models is 7, the order in which the target expression models are stored in the iteration list may be as follows: Figure 3 shown.

[0081] It should be understood that the second drag operation is an operation for dragging any target expression model to the iteration list.

[0082] In the present application, by executing step S130, the object list node can be used as a storage container for expression models, and multiple target expression models can be stored together and placed in order in the object list node, and the placement order of the multiple target expression models can be defined as the switching order of the multiple target expression models. In other words, the placement order of the multiple target expression models can be used as the order priority of the switching control of the multiple target expression models, so that the subsequent switching control of the multiple target expression models can be convenient.

[0083] S140. Create a carrier model of the expression switching controller in the Edit User Data window of C4D.

[0084] In one implementation, the implementation process of step S140 may include the following steps:

[0085] S141. In response to a third click operation on the Add Data tag on the Edit User Data window, a basic carrier model is created, and a property input information bar of the basic carrier model is displayed on the Edit User Data window.

[0086] In specific implementation, Figure 4 As shown, when it is detected that a third click operation is triggered on the second display interface of the editing user data window, a second creation instruction for creating the basic carrier model is generated in response to the third click operation; and then the basic carrier model is created based on the second creation instruction.

[0087] That is, when the third click operation is triggered on the second display interface, the basic carrier model is created.

[0088] In specific implementation, when the basic carrier model is created, the attribute input information bar can be displayed through the second display interface. The user can input the corresponding attribute information of the expression switching controller in the attribute information input bar.

[0089] S142: Acquire the attribute information received in the attribute input information column.

[0090] In specific implementation, the user can set the name of the carrier model, the maximum and minimum number of expression models to be controlled in the attribute input information bar, so as to set the number of expression models required for expression switching display, and so on.

[0091] As an example, the information entered by the user in the attribute input information bar can be as follows: Figure 4 As shown. Correspondingly, we can obtain Figure 4 The attribute information shown.

[0092] S143. Create a carrier model based on the attribute information and the basic carrier model.

[0093] In specific implementation, combined with Figure 4 and Figure 5 As shown, after obtaining the attribute information received in the attribute input information column, the user data can be displayed in the attribute list of the edit user data window, and the user data is the attribute information of the carrier model. The user data includes the attribute information received in the attribute input information column.

[0094] In specific implementation, the attribute information is assigned to the basic carrier model to obtain the carrier model.

[0095] In specific implementation, the carrier model can be any shape and can be set according to the user's preferences. Figure 6 shown.

[0096] In the present application, by executing step S140, it is possible to facilitate the subsequent switching control of multiple target expression models through the carrier model.

[0097] S150. Create an object index node and a comparison node in the XPresso editor window.

[0098] In one implementation, the implementation process of step S150 may include the following steps:

[0099] S151. In response to a third drag operation on the object index tag in the XPresso editor window, an object index node is created in the group space of the XPresso editor window.

[0100] In specific implementation, Figure 8 As shown, after the object index label is found on the edit bar of the XPresso pool, when it is detected that a third drag operation is triggered on the first display interface of the XPresso editor window, a third creation instruction for creating an object index node is generated in response to the third drag operation; and then the object index node is created in the group space of the first display interface based on the third creation instruction.

[0101] It should be understood that the third drag operation is an operation for dragging the object index label to the group space.

[0102] S152: In response to a fourth drag operation on the comparison tag on the XPresso editor window, a comparison node is created in the group space.

[0103] In a specific implementation, after finding the comparison tag on the edit bar of the XPresso pool, when it is detected that the fourth drag operation is triggered on the first display interface of the XPresso editor window, a fourth creation instruction for creating a comparison node is generated in response to the fourth drag operation; and then a comparison node is created in the group space of the first display interface based on the fourth creation instruction.

[0104] It should be understood that the fourth drag operation is an operation for dragging the comparison tag to the group space.

[0105] In the present application, by executing step S150, it is possible to facilitate the subsequent linking of multiple target expression models with the expression switching controller through object index nodes and comparison nodes, thereby facilitating the switching and control of multiple target expression models.

[0106] S160: Use object index nodes and comparison nodes to associate and link multiple target expression models and expression switching controllers together.

[0107] In one implementation, the implementation process of step S160 may include the following steps:

[0108] S161. Drag the carrier model and multiple target expression models to the group space of the XPresso editor window.

[0109] In a specific implementation, after the carrier model is created, the carrier model can be dragged to the group space.

[0110] In the specific implementation, multiple target expression models can be dragged into the group space in sequence according to the order in which they are placed in the object list node, or multiple target expression models can be dragged into the group space in other ways (such as randomly), as long as all target expression models can be ensured to be displayed in the group space, and this embodiment does not limit this.

[0111] S162. Linking together a plurality of target expression models and expression switching controllers according to a specified connection method.

[0112] In a specific implementation, the specified connection method may be as follows:

[0113] The instance port of the object list node is connected to the instance port of the object index node;

[0114] The instance port of the object index node is connected to the object port of any target expression model, and the index port of the object index node is connected to an input port of the comparison node;

[0115] Another input port of the comparison node is connected to the expression switching port of the carrier model, and the output port of the comparison node is connected to the window visible port and the renderer visible port of any target expression model.

[0116] For example, taking the target expression model named object number 1 as an example, the process of linking the target expression model with the other model of the expression switching controller is as follows: Figure 7 shown.

[0117] It can be understood that, in this embodiment, the logic of associating and linking multiple target expression models and carrier models together can be as follows:

[0118] The display order information of multiple target expression models is sorted out through the object list node and given to the object index node; after the object index node obtains the display order information, it matches the names of the corresponding target expression models one by one, and after matching, the display order information is given to the comparison node. In this process, it should be noted that the name in the object list node must be consistent with the name of the target expression model; after the comparison node obtains the display order information, it matches the display order information with the expression switching sequence numbers 123..., the first expression matches number 1, the second expression matches number 2, and so on, and finally, the comparison node gives the display order information to the expression switching controller, telling the expression switching controller that the previous permutation and combination order is to prioritize the display of multiple target expression models, and the multiple target expression models need to be switched and controlled according to the previous permutation and combination order.

[0119] For example, taking 17 target expression models as an example, after the target expression models and the carrier model are linked together, they can be as follows: Fig. 9 shown.

[0120] In the present application, by executing step S160, multiple target expression models and expression switching controllers can be associated and linked together, so as to facilitate switching and controlling multiple target expression models through the expression switching controller.

[0121] S170, dragging the carrier model to switch and display multiple target expression models.

[0122] In one embodiment, in combination Fig.10 and Fig.11 As shown, the carrier model can be dragged on the C4D property interface to switch and display multiple target expression models. For example, the carrier model can be directly dragged to change its spatial coordinates to achieve the purpose of switching multiple target expression models, or the carrier model can be dragged by sliding the expression switching slider in the user data of the property interface to achieve the purpose of switching multiple target expression models.

[0123] In the present application, by executing step S170, multiple target expression models can be displayed through the carrier model switching control of the expression switching controller, and the switching operation is simple and easy to implement.

[0124] In summary, the expression switching control method provided in the embodiment of the present application stores multiple target expression models on an object list node, and defines the placement order of the multiple target expression models in the object list node as the switching order of the multiple target expression models, and then creates a carrier model, object index node and comparison node of the expression switching controller, and associates and links the multiple target expression models with the expression switching controller through the object index node and the comparison node, so as to achieve the purpose of easily switching and displaying multiple target expression models by dragging the carrier model. That is, the expression switching control method provided in the embodiment of the present application can achieve the effect of easily switching and displaying multiple expression models.

[0125] Fig.12 FIG. 2 shows a structural block diagram of an expression switching control device according to an embodiment of the present application. Fig.12 As shown, the device may include:

[0126] A creation unit 210, used for creating an object list node on the XPresso editor window of C4D;

[0127] The storage unit 220 is used to obtain a plurality of predefined target expression models; store the plurality of target expression models in the object list node, wherein the order in which the plurality of target expression models are placed in the object list node is defined as the switching order of the plurality of target expression models;

[0128] The creation unit 210 is further used to create a carrier model of the expression switching controller on the editing user data window of C4D; create an object index node and a comparison node on the XPresso editor window;

[0129] The processing unit 230 is used to associate and link multiple target expression models and expression switching controllers together using object index nodes and comparison nodes; and to switch and display multiple target expression models by dragging the carrier model.

[0130] The functions of each unit in the expression switching control device in the embodiment of the present application can be found in the corresponding description in the above method, and will not be repeated here.

[0131] Fig.13 FIG. 2 shows a block diagram of a computer device according to an embodiment of the present application. Fig.13 As shown, the computer device includes: a memory 310 and a processor 320. The memory 310 stores instructions, and the instructions are loaded and executed by the processor 320 to implement the expression switching control method in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.

[0132] The computer device also includes:

[0133] The communication interface 330 is used to communicate with external devices and perform data exchange transmission.

[0134] If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0135] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.

[0136] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer, the method provided in the embodiment of the present application is implemented.

[0137] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in a memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.

[0138] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0139] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.

[0140] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0141] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0142] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0143] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0144] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0145] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0146] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0147] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0148] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for controlling expression switching, characterized in that: include: Create an Object List node on the XPresso Editor window in CINEMA 4D; Obtain multiple predefined target expression models; Storing a plurality of the target expression models on the object list node, wherein the order in which the plurality of the target expression models are placed in the object list node is defined as the switching order of the plurality of the target expression models; Creating a carrier model of the expression switching controller in the editing user data window of the CINEMA 4D; Creating an object index node and a comparison node on the XPresso editor window; Use the object index node and the comparison node to associate and link a plurality of the target expression models and the expression switching controller together; Drag the carrier model to switch and display multiple target expression models.

2. The method according to claim 1, characterized in that Creating an Object List node on the XPresso Editor window in CINEMA 4D involves: In response to a first click operation on an XPresso pool on the XPresso editor window, displaying an edit bar for the XPresso pool; In response to a first drag operation on the object list label on the edit bar, the object list node is created on the group space of the XPresso editor window.

3. The method according to claim 1, characterized in that: Storing a plurality of target expression models on the object list node comprises: In response to a second click operation on the object list node, displaying an iterated list of the object list node on a property interface of the CINEMA 4D; In response to a second drag operation on any of the target expression models, any of the target expression models are stored in the iteration list in a dragging order.

4. The method according to claim 1, characterized in that: Create a carrier model of the expression switch controller in the Edit User Data window of CINEMA 4D: In response to a third click operation on the add data label on the edit user data window, a basic carrier model is created, and a property input information column of the basic carrier model is displayed on the edit user data window; Acquire the attribute information received in the attribute input information column; The carrier model is created based on the attribute information and the basic carrier model.

5. The method according to claim 1, characterized in that Creating an object index node and a comparison node on the XPresso editor window includes: In response to a third drag operation on the object index label on the XPresso editor window, creating the object index node on the group space of the XPresso editor window; In response to a fourth drag operation on the comparison tab on the XPresso editor window, the comparison node is created on the group space.

6. The method according to claim 1, characterized in that Using the object index node and the comparison node to associate and link the plurality of target expression models and the expression switching controller together comprises: Drag the carrier model and the plurality of target expression models to the group space of the XPresso editor window; According to the specified connection method, multiple target expression models and the expression switching controller are associated and linked together: The specified connection method is as follows: The instance port of the object list node is connected to the instance port of the object index node; The instance port of the object index node is connected to the object port of any of the target expression models, and the index port of the object index node is connected to an input port of the comparison node; Another input port of the comparison node is connected to the expression switching port of the carrier model, and the output port of the comparison node is connected to the window visible port and the renderer visible port of any one of the target expression models.

7. The method according to any one of claims 1 to 6, characterized in that Dragging the carrier model to switch and display multiple target expression models includes: The carrier model is dragged on the property interface of the CINEMA 4D to switch and display a plurality of the target expression models.

8. An expression switching control device, characterized in that: include: Creation unit for creating object list nodes on the XPresso Editor window in CINEMA 4D; A storage unit, used for obtaining a plurality of predefined target expression models; Storing a plurality of the target expression models on the object list node, wherein the order in which the plurality of the target expression models are placed in the object list node is defined as the switching order of the plurality of the target expression models; The creation unit is further used to create a carrier model of the expression switching controller on the editing user data window of the CINEMA 4D; and to create an object index node and a comparison node on the XPresso editor window; The processing unit is used to associate and link the plurality of target expression models and the expression switching controller together by using the object index node and the comparison node; and to switch and display the plurality of target expression models by dragging the carrier model.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the method according to any one of claims 1 to 7 is implemented.