Split-screen special effect prop generation method, device, equipment and medium

By uniformly loading the display layer of common special effects materials in the split-screen model, the problems of complex split-screen prop production and high resource consumption are solved, achieving efficient production and low resource consumption of split-screen special effects props.

CN116459516BActive Publication Date: 2026-11-27BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210030876.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2026-11-27
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

The existing process for creating split-screen props is complex, difficult to produce, and consumes a lot of equipment resources. Furthermore, the repeated processing of special effects materials for each sub-screen leads to low efficiency.

Method used

By displaying the split-screen model in the material operation area of ​​the prop creation interface, the target sub-screen model is determined, and common special effects materials are loaded to the next display layer of the split-screen model, so that it is on the same display layer as the target sub-screen model, thus avoiding the repeated addition and setting of common special effects materials in each sub-screen.

Benefits of technology

It improves the efficiency of creating split-screen special effects props, reduces device resource consumption, and enhances the smoothness of operation and device performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116459516B_ABST
    Figure CN116459516B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a split-screen special effect prop generation method, device, equipment and medium. The method comprises: displaying a split-screen model in a material operation area of a prop making interface; in response to a triggering operation on a sub-screen contained in the split-screen model, determining a target sub-screen model and displaying the target sub-screen model in a next display level of the split-screen model; in response to a first material loading operation, loading a common special effect material to the material operation area and displaying the common special effect material in the next display level of the split-screen model; wherein the common special effect material has the same display level as the target sub-screen model in the material operation area; and generating a split-screen special effect prop based on the split-screen model, the common special effect material and the target sub-screen model. According to the present disclosure, the production efficiency of the split-screen special effect prop is improved, the consumption of device resources during the production and use of the split-screen special effect prop is reduced, and the device performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, device and medium for generating split-screen special effects props. Background Technology

[0002] With the development of computer technology, many virtual special effects props based on augmented reality have emerged, such as split-screen props that display multiple sub-screens on the same screen, each with different display effects, to enrich the display effects and fun of images / videos created by people.

[0003] Currently, split-screen props are mainly generated by setting special effects for each sub-screen. This results in problems such as complex prop production process and high production difficulty. Furthermore, due to the large number and potential repetition of special effects in each sub-screen, split-screen props consume a lot of device resources. Summary of the Invention

[0004] To address the aforementioned technical issues, this disclosure provides a method, apparatus, device, and medium for generating split-screen special effects props.

[0005] Firstly, this disclosure provides a method for generating split-screen special effects props, the method comprising:

[0006] Display split-screen models in the material operation area of ​​the prop crafting interface;

[0007] In response to a trigger operation on a sub-screen contained in the split-screen model, a target sub-screen model is determined and the target sub-screen model is displayed in the next display layer of the split-screen model;

[0008] In response to the first material loading operation, a common special effects material is loaded into the material operation area and displayed at the next display level of the split-screen model; wherein, the common special effects material and the target sub-screen model are at the same display level in the material operation area;

[0009] Based on the split-screen model, the common special effects materials, and the target sub-screen model, split-screen special effects props are generated.

[0010] Secondly, this disclosure provides a split-screen special effects prop generation device, the device comprising:

[0011] The split-screen model display module is used to display split-screen models in the material operation area of ​​the prop creation interface;

[0012] The target sub-screen model determination module is used to determine the target sub-screen model in response to a trigger operation on the sub-screen contained in the split-screen model, and display the target sub-screen model in the next display layer of the split-screen model;

[0013] The first material loading module is used to load common special effects materials into the material operation area in response to the first material loading operation, and display them in the next display layer of the split-screen model; wherein, the common special effects materials and the target sub-screen model are at the same display layer in the material operation area;

[0014] The split-screen effects prop generation module is used to generate split-screen effects props based on the split-screen model, the common effects materials, and the target sub-screen model.

[0015] Thirdly, this disclosure provides an electronic device comprising:

[0016] processor;

[0017] Memory, used to store executable instructions;

[0018] The processor is used to read executable instructions from memory and execute the executable instructions to implement the split-screen special effects prop generation method described in any embodiment of this disclosure.

[0019] Fourthly, this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the split-screen special effects prop generation method described in any embodiment of this disclosure.

[0020] The method, apparatus, device, and medium for generating split-screen special effects props according to embodiments of this disclosure, in the process of creating split-screen special effects props, determine the target sub-screen model by triggering operations on the sub-screens included in the split-screen model displayed in the material operation area of ​​the prop creation interface, and display the target sub-screen model in the next display layer of the split-screen model, thereby achieving efficient and quick creation of each sub-screen in the split-screen model and improving the production efficiency of split-screen special effects props to a certain extent; by responding to the first material loading operation, loading common special effects materials into the material operation area and displaying them in the next display layer of the split-screen model, so that the common special effects materials and the target sub-screen... The models have the same display layer in the material operation area, which allows common special effects materials shared by all sub-screens to be loaded below the split-screen model rather than below the individual target sub-screen models. This means that common special effects materials only need to be added and set once, avoiding the complexity and difficulty of creating split-screen special effects props caused by repeatedly adding and setting common special effects materials in each sub-screen. This improves the production efficiency of split-screen special effects props, reduces the number of special effects materials in split-screen special effects props and the subsequent rendering process, thereby reducing the consumption of device resources during the production and use of split-screen special effects props, and improving the smoothness of the operation of split-screen special effects props and device performance. Attached Figure Description

[0021] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0022] Figure 1 A flowchart illustrating a method for generating split-screen special effects props provided in this embodiment of the disclosure;

[0023] Figure 2 This is a schematic diagram showing a prop-making interface provided in an embodiment of this disclosure;

[0024] Figure 3 This is a schematic diagram illustrating the relationship between various special effects materials in a split-screen special effects prop provided in this embodiment of the disclosure;

[0025] Figure 4 This is a schematic diagram of the structure of a split-screen special effects prop generation device provided in an embodiment of the present disclosure;

[0026] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0027] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0028] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0029] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0030] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0031] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0032] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0033] Current methods for generating split-screen effects props primarily involve splitting the screen to create at least two sub-screens, and then adding the necessary effects assets to each sub-screen. However, this method requires independently setting the effects assets to be loaded for each sub-screen. If the same effects assets exist in different sub-screens (such as filters or contact lenses for faces), then these identical effects assets need to be loaded and set in each sub-screen. This makes the process of creating split-screen effects props cumbersome for users (those creating the effects props), resulting in low efficiency in generating split-screen effects assets. Furthermore, because the effects assets in each sub-screen need to be processed independently, the same effects assets are repeatedly drawn and rendered, causing excessive consumption of device resources and reducing device performance.

[0034] Based on the above, this disclosure provides a split-screen special effects prop generation scheme. During the creation of split-screen special effects props, the same special effects material that needs to be loaded in each sub-screen is loaded under the split-screen model outside the sub-screen, so that the same special effects material is at the same display level as the sub-screen. This allows the same special effects material to be added and set only once, improving the production efficiency of split-screen special effects props and reducing the consumption of device resources during the production and use of split-screen special effects props, thereby improving device performance.

[0035] The following is a combination of... Figure 1-3 The method for generating split-screen special effects props provided in the embodiments of this disclosure will be described.

[0036] In this embodiment, the split-screen effect prop generation method is applicable to situations where multiple sub-screens exist within a single screen. This method can be executed by a split-screen effect prop generation device, which can be implemented in software and / or hardware, and can be integrated into an electronic device capable of installing effect prop creation software. This electronic device may include, but is not limited to, smartphones, tablets, laptops, and desktop computers.

[0037] Figure 1 A flowchart illustrating a method for generating split-screen special effects props according to an embodiment of this disclosure is shown. Figure 1 As shown, the method for generating split-screen special effects props may include the following steps:

[0038] S110. Display the split-screen model in the material operation area of ​​the prop crafting interface.

[0039] The prop creation interface is the interactive interface provided by the tool / application for creating special effects props. The material operation area is a section within the prop creation interface that provides interactive functions and displays the materials (i.e., special effects materials) needed to create split-screen special effects props, such as split-screen models, at least two sub-screen models contained within a split-screen model, filter materials, eye makeup materials, etc. A split-screen model is a pre-set model that divides a screen into at least two sub-screens. A sub-screen model is the model corresponding to the split sub-screen, such as a pre-set 3D mesh model.

[0040] Specifically, when a user needs to create split-screen special effects props, they can launch a special effects prop creation tool, such as launching a special effects prop creation application on their electronic device. Alternatively, they can trigger a push notification for the creation of the corresponding special effects prop, such as clicking on the prop creation webpage. In this way, the electronic device will display the application interface, i.e., the prop creation interface for creating special effects props. This prop creation interface must at least include a material manipulation area. For example... Figure 2 As shown, the electronic device displays a prop crafting interface 200, and a material operation area 210 is displayed on the left side of the prop crafting interface 200.

[0041] Subsequently, in response to the third-party material loading operation in the prop crafting interface, the electronic device loads the split-screen model into the material operation area and displays it. This third-party material loading operation is the interactive operation of importing the split-screen model into the material operation area. Users can perform this third-party material loading operation using the controls related to the material loading function set in the prop crafting interface.

[0042] In some embodiments, users can first perform a material import operation to import the various special effects materials needed to create split-screen special effects props into the prop creation tool. Then, a third material loading operation is performed on the split-screen models in the imported special effects materials to load the split-screen models into the material operation area.

[0043] See also Figure 2 The material operation area 210 displays two sub-areas: "Special Effects Materials" and "Resource Management," corresponding to the material editing function and the material import function, respectively. In the upper right corner of the "Resource Management" sub-area, there are material import function controls: import file control 211 and import folder control 212. Users can click the import file control 211 or the import folder control 212 to perform the material import operation. Alternatively, a prompt message such as "Drag materials here" can be placed somewhere in the "Resource Management" sub-area to prompt users to directly drag the special effects materials they want to import to the "Resource Management" sub-area, allowing users to perform the material import operation by dragging materials. After the electronic device detects the user's material import operation, it receives the split-screen material package (which may contain all the special effects materials required for split-screen special effects props) imported in the material import operation and displays it in the "Resource Management" sub-area of ​​the material operation area 210.

[0044] Subsequently, to facilitate visual operation, the electronic device can further detect the user's third-party material loading operation and, in response, load the split-screen model to be loaded from the "Resource Management" sub-area to the "Effects Material" sub-area. This third-party material loading operation can include double-clicking, right-clicking, or dragging. In this way, the electronic device can display the "split-screen model" in the "Effects Material" sub-area. This "split-screen model" contains an "upper sub-screen model," a "middle sub-screen model," and a "lower sub-screen model," meaning the split-screen model pre-sets the sub-screen models that can be split.

[0045] In other embodiments, when the material operation area is a single area, the user can directly load the split-screen model into the material operation area and display it through the above-mentioned material import operation.

[0046] S120. In response to a trigger operation on a sub-screen contained in the split-screen model, determine the target sub-screen model and display the target sub-screen model in the next display layer of the split-screen model.

[0047] The target sub-screen model is a sub-screen model used to create split-screen special effects props, and it is at least a part of the various sub-screen models contained in the split-screen model.

[0048] Specifically, the split-screen model contains multiple sub-screen models. Users can perform trigger operations on at least one of these sub-screen models as needed, such as single-click, double-click, or checkmark selection. The electronic screen detects these trigger operations and identifies the corresponding sub-screen model as the target sub-screen model. The electronic device then displays the target sub-screen model in the next level of the split-screen model displayed in the material operation area. This display method allows users to intuitively understand the number of sub-screens contained in the split-screen effect prop to be created and their relationship to the split-screen model.

[0049] See Figure 2 In the material operation area 210, the next display layer below the "split-screen model" displays "upper sub-screen model," "middle sub-screen model," and "lower sub-screen model." The user selects the corresponding checkboxes for "upper sub-screen model" and "lower sub-screen model." The electronic device can detect this selection. Thus, the electronic device can identify the "upper sub-screen model" and "lower sub-screen model" as the target sub-screen models and display them in the next display layer below the "split-screen model."

[0050] It should be noted that while determining and displaying the target sub-screen model, the electronic device can establish a relationship between the split-screen model and the target sub-screen model. This relationship includes the aforementioned hierarchical display relationship. For example, the relationship between the split-screen model and the target sub-screen model can be implemented as a parent-child node relationship, with the split-screen model at the previous display level as the parent node and the target sub-screen model at the next display level as the child node.

[0051] In some embodiments, after S120, the split-screen effect prop generation method further includes: in response to a trigger operation on the target sub-screen model, displaying a parameter setting area corresponding to the target sub-screen model in the prop creation interface; in response to a parameter setting operation on the target parameter displayed in the parameter setting area, determining the target parameter value, and updating the target sub-screen model based on the target parameter value.

[0052] The target parameters are the modifiable parameters in the target sub-screen model, such as position, size, rotation angle, etc. The target parameter values ​​are the values ​​of the target parameters.

[0053] Specifically, the electronic device provides parameter setting functions for the target sub-screen model, allowing users to adjust the target sub-screen model. See also Figure 2When a user wants to configure the "upper sub-screen model," they can perform actions such as clicking or double-clicking. Upon detecting this action, the electronic device displays the target parameters corresponding to the "upper sub-screen model" in the parameter setting area 230 of the prop creation interface 200. These parameters include modules such as "Model Information," "Parameter Information," and "Rendering Information." Each parameter setting model contains certain parameters, and the parameters that allow modification are the target parameters. Examples include "Position," "Scale," and "Rotation" in the "Parameter Information" module, and "Model," "Material," and "Shadow" in the "Rendering Information" module. If a user wants to modify the value of a target parameter, they can perform parameter setting operations such as inputting, modifying, deleting, or selecting the parameter. Therefore, the electronic device can detect the parameter setting area 230. After detecting these parameter setting operations, it can determine the target parameters and their setting results (i.e., the target parameter values) based on these operations. Afterwards, the electronic device can update the target sub-screen model according to the target parameter values ​​to make its display meet the user's needs, easily obtain a personalized sub-screen model, and thus improve the personalization of subsequent split-screen special effects props.

[0054] S130. In response to the first material loading operation, load the common special effects material into the material operation area and display it in the next display layer of the split-screen model.

[0055] The first material loading operation is an interactive operation that imports common special effects materials into the next display layer of the split-screen model in the material operation area. Common special effects materials refer to special effects materials shared by all target sub-screen models. They are special effects materials that apply to each target sub-screen model, that is, the same special effects materials that should be loaded in each target sub-screen model.

[0056] Specifically, as described above, the relevant technologies require loading multiple special effects materials under each target sub-screen model. These materials often share common effects, leading to repetitive processing such as loading, parameter setting, and rendering. This results in a complex production process and resource-intensive rendering for split-screen special effects props. Therefore, this embodiment loads these common effects materials uniformly to the next display layer of the split-screen model. Specifically, the common effects materials are loaded outside the target sub-screen model, rather than into the next display layer, ensuring they are at the same display layer as the target sub-screen model. This way, regardless of whether the common effects materials are rendered before or after the target sub-screen model, they can still be applied to each target sub-screen model. This is equivalent to loading common effects materials under each target sub-screen model, but only requiring one loading and parameter setting operation. This significantly reduces the number of steps in creating split-screen special effects props, thereby reducing the complexity and difficulty of creating them and improving their production efficiency.

[0057] In practice, users can perform the first media loading operation in the media operation area. For example, from... Figure 2 In the "Resource Management" sub-area shown, by dragging and dropping special effects materials or selecting a split-screen model and double-clicking the special effects material, certain special effects materials can be directly loaded below the "Split-Screen Model" in the "Special Effects Materials" sub-area. Alternatively, certain special effects materials can be directly loaded from outside the prop creation interface below the split-screen model in the material operation area. In this way, the electronic device can detect the aforementioned first material loading operation, identify the loaded special effects materials as public special effects materials, and display them in the next display layer below the split-screen model.

[0058] The display order of the aforementioned common special effects materials and the target sub-screen model is not limited. For example, the common special effects materials can be displayed before or after the target sub-screen model. Specifically, the display position of the common special effects materials in the material operation area can be the result of the user performing the first material loading operation, that is, the position where the user loads the common special effects materials under the split-screen model. The display position of the common special effects materials can also be a pre-set loading position. For example, if it is pre-set that the common special effects materials are displayed before the target sub-screen model, then after the electronic device detects the first material loading operation, it will directly display the common special effects materials before the target sub-screen model. If there are multiple common special effects materials, the display order among them can be adjusted and determined by the user.

[0059] It should be noted that after loading common special effects assets, electronic devices can also establish associations between these assets and the split-screen model and the target sub-screen model. For example, the electronic device can further refine the established associations between the split-screen model and the target sub-screen model by adding common special effects assets to these associations. For instance, common special effects assets can be added as child nodes of the split-screen model to the associations. The position of the common special effects assets in the associations can be determined by their display position within the asset operation area.

[0060] See Figure 2 The common special effects materials corresponding to the first material loading operation include "eye makeup," "contact lenses," "eyelashes," and "filters." These common special effects materials will then be displayed in the next display layer of the "split-screen model." Furthermore, in response to the first material loading operation, the electronic device displays "eye makeup" before the "upper sub-screen model" and "lower sub-screen model," while displaying "contact lenses," "eyelashes," and "filters" after the "upper sub-screen model" and "lower sub-screen model."

[0061] Figure 2 The system also includes checkboxes for each special effects material, allowing users to perform secondary operations on the materials after the initial loading. For example, if a user loads four common special effects materials—"eye makeup," "contact lenses," "eyelashes," and "filters"—in the initial loading, they can then remove certain common effects materials by checking or unchecking their corresponding checkboxes. For instance, if the user does not check the "eyelashes" effect, then "eyelashes" will not be included in the split-screen effects.

[0062] It should be noted that the electronic device provides parameter settings for common special effects materials. Users can perform trigger operations such as single-clicking and double-clicking on common special effects materials. After the electronic device detects the trigger operation, it will... Figure 2 The parameter setting area 230 shows the parameter settings items corresponding to the triggered common special effects material. Users can then select, delete, and change parameter values ​​for these items. In response to these parameter setting operations, the electronic device can configure the parameters of the triggered common special effects material and update the material according to the set parameter values.

[0063] S140. Based on the split-screen model, common special effects materials, and target sub-screen model, generate split-screen special effects props.

[0064] Specifically, after the above steps, the electronic device obtains a split-screen model, common special effects materials, and a target sub-screen model with related relationships, and each of these models has corresponding parameter information. Since split-screen special effects props need to be rendered before display, after obtaining the above information, the electronic device also needs to construct a rendering chain corresponding to the split-screen model, common special effects materials, and target sub-screen model based on the relationships, in order to control the rendering of subsequently generated split-screen special effects props. Afterwards, the electronic device can combine the common special effects materials and the target sub-screen model according to the split-screen model to obtain the split-screen special effects props.

[0065] In some embodiments, the split-screen effect prop generation method further includes: determining the component type and component quantity of the rendering camera component in the split-screen model based on the second material type and material quantity of the public effect material, so as to update the split-screen model.

[0066] The second material type is a type of material categorized from two-dimensional and three-dimensional perspectives, such as two-dimensional material type and three-dimensional material type.

[0067] Specifically, as explained above, common special effects assets are loaded at the next display level below the split-screen model. The split-screen model, by default, carries only the script components that control it, but no camera component. Therefore, the common special effects assets cannot be rendered and displayed. Thus, after loading the common special effects assets, the electronic device attaches the corresponding camera component to each asset.

[0068] In practice, for a given public special effects material, the electronic device determines its second material type based on the material type identifier carried by the material. Then, it determines the component type of the corresponding rendering camera component based on this second material type. For example, if the second material type is a 2D material type, the component type is an orthographic camera; if the second material type is a 3D material type, the component type is a perspective camera. Afterward, the electronic device attaches a rendering camera component of that component type to the public special effects material.

[0069] Following the above process, the electronic device can attach a rendering camera component of a corresponding component type to each common special effects material. In this way, the number of common special effects materials of the second material type is consistent with the number of rendering camera components of the corresponding component type for that second material type. By merging the attached rendering camera components into the split-screen model, the split-screen model can be updated. Thus, during the creation and application of split-screen special effects props, the rendering and display of each common special effects material can be achieved, resulting in the same rendering and display effect as in related technologies where special effects materials are set up separately under each target sub-screen model.

[0070] In some embodiments, after S140, the split-screen effect prop generation method further includes: exporting the split-screen effect prop to configure the original shooting data for split-screen effects.

[0071] Specifically, after creating a split-screen effect prop, users can use the export function provided by their electronic device to export the completed split-screen effect prop as a finished product. This allows users to select the finished product to configure split-screen effects for images / videos during special effects shooting or / and compositing.

[0072] The split-screen effect prop generation method provided in this embodiment, during the creation of split-screen effect props, determines the target sub-screen model by triggering operations on the sub-screens included in the split-screen model displayed in the material operation area of ​​the prop creation interface, and displays the target sub-screen model in the next display layer of the split-screen model, thereby achieving efficient and quick creation of each sub-screen in the split-screen model and improving the production efficiency of split-screen effect props to a certain extent; by responding to the first material loading operation, the common effect material is loaded into the material operation area and displayed in the next display layer of the split-screen model, so that the common effect material and the target sub-screen model are in the material operation area. The display hierarchy within the domain is the same, allowing common special effects materials shared by all sub-screens to be loaded below the split-screen model rather than below the individual target sub-screen models. This means that common special effects materials only need to be added and set once, avoiding the complexity and difficulty of creating split-screen special effects props caused by repeatedly adding and setting common special effects materials in each sub-screen. This improves the production efficiency of split-screen special effects props, reduces the number of special effects materials in split-screen special effects props and the subsequent rendering process, thereby reducing the consumption of device resources during the production and use of split-screen special effects props, and improving the smoothness of the operation of split-screen special effects props and device performance.

[0073] In some embodiments, after S120, the split-screen effect prop generation method further includes: in response to the second material loading operation, loading proprietary effect material into the material operation area and displaying it in the next display layer of the target sub-screen model.

[0074] The second material loading operation is an interactive operation that imports proprietary special effects materials into the next display layer of the target sub-screen model in the material operation area. Proprietary special effects materials refer to special effects materials that are exclusive to a specific target sub-screen model and only apply to that target sub-screen model.

[0075] Specifically, after the electronic device displays the target sub-screen model, the user can load special effects materials onto it; that is, the user can perform a second material loading operation in the material operation area. Upon detecting the second material loading operation, the electronic device loads the operated special effects material below the target sub-screen model, identifies it as a proprietary special effects material for that target sub-screen model, and displays it in the next display layer below the target sub-screen model. This enables the loading of proprietary special effects materials corresponding to the target sub-screen model, enriching the special effects effects in the split-screen special effects props.

[0076] In one example, the second material loading operation could be selecting at least one effect material from imported effect materials and loading it onto the target sub-screen model. For example, the user selects from... Figure 2 In the "Resource Management" sub-area shown, you can drag and drop the "Face Generation" effect material or select the "Lower Sub-Screen Model" and double-click the "Face Generation" effect material to directly load the "Face Generation" effect material below the "Lower Sub-Screen Model" in the "Effect Materials" sub-area. The "Face Generation" effect material here is an effect material that overlays a certain image style onto a face, which can be achieved using stylized models such as GA models.

[0077] In another example, the second material loading operation can be performed by using the relevant functional controls set in the "Special Effects Material" sub-area to directly load the "2D Canvas" special effects material and its subordinate "Face Sticker" special effects material below the "Upper Sub-Screen Model" in the material operation area.

[0078] It should be noted that after loading proprietary special effects assets, electronic devices can also establish a relationship between these assets and the target sub-screen model. For example, the electronic device can further refine the relationship between the split-screen model, the common asset model, and the target sub-screen model by adding proprietary special effects assets to the corresponding target sub-screen model within this relationship. For instance, proprietary special effects assets can be added as child nodes of the target sub-screen model to the relationship.

[0079] After performing the operations described in the above embodiments, the following can be obtained: Figure 3 The diagram shows the relationships between the various effects materials in the split-screen effect prop. In this relationship, the "split-screen model" is at the highest display level, the "eye makeup" effect material, the "upper sub-screen model," the "lower sub-screen model," the "contact lenses" effect material, and the "filter" effect material are all at the middle display level, and the "2D canvas - face sticker" effect material and the "face generation" effect material are both at the lowest display level. Figure 3 The display hierarchy and position of each special effects material in the relationship are related to... Figure 2 The display layer and position of each special effects material displayed in the material operation area 210 are consistent.

[0080] Accordingly, S140 can be implemented as follows: generating split-screen effect props based on the split-screen model, common special effects materials, target sub-screen model, and proprietary special effects materials. That is, the electronic device generates split-screen effect props based on the split-screen model and its subordinate common special effects materials, the target sub-screen model and its subordinate proprietary special effects materials, the parameter values ​​of each model, the parameter values ​​of each special effects material, and the above-mentioned relationships, so as to enrich the special effects of the split-screen effect props.

[0081] In some embodiments, the rendering and display process of each special effects material can be implemented as follows: based on the first material information of the public special effects material and the second material information of the proprietary special effects material, the public special effects material and the proprietary special effects material are rendered respectively to generate a target rendering result; the target rendering result is displayed in the prop display area of ​​the prop making interface.

[0082] The material information includes either a primary material type and the material's arrangement position, or the material's arrangement position. The primary material type is a type categorized based on the rendering effect; for example, it could be a material type with a defined rendering order or one without. The material arrangement position refers to the display position of each effect material within the material operation area. For example, Figure 2 The "Eye Makeup" effect material, "2D Canvas - Face Sticker," "Face Generation" effect material, "Colored Contact Lens" effect material, and "Filter" effect material are arranged in positions 1, 2, 3, 4, and 5, respectively. The target rendering result is the result obtained after rendering each effect material. The prop display area is used to display the effect of various imported effect materials combined together, so that users can more intuitively see the rendering effect of each target sub-screen and the overall rendering effect of split-screen effect props.

[0083] Specifically, to allow users to more intuitively see the creation effect of split-screen special effects props and to adjust special effects materials more intuitively and efficiently, this embodiment of the disclosure can set up a prop display area in the prop creation interface to display the special effects rendering results of a single sub-screen and / or the special effects rendering results of the entire split screen. Based on this, the electronic device can determine the rendering order (i.e., rendering chain) of rendering the public special effects material and rendering the proprietary special effects material according to the first material information of the public special effects material and the second material information of the proprietary special effects material. Then, the electronic device performs rendering operations on the public special effects material and the proprietary special effects material according to the rendering chain, generates the target rendering result, and displays the target rendering result in the prop display area of ​​the prop creation interface.

[0084] In one example, the above-mentioned generation of the target rendering result can be achieved as follows: based on the material arrangement positions in the first material information and the second material information, determine the first rendering order of the common special effects material and the second rendering order of the proprietary special effects material respectively, and generate a rendering link based on the first rendering order and the second rendering order; based on the rendering link, render the common special effects material and the proprietary special effects material respectively to generate the target rendering result.

[0085] Specifically, the rendering chain in this example is consistent with the arrangement of the various special effects materials (including common and proprietary special effects materials) in the aforementioned relationship, meaning that the rendering is performed according to the order in which the special effects materials are displayed in the material operation area. Therefore, the electronic device determines the first rendering order of the common special effects materials based on the arrangement of the materials in the first material information of the common special effects materials, and determines the second rendering order of the proprietary special effects materials based on the arrangement of the materials in the second material information of the proprietary special effects materials. Because there may be overlapping arrangements between common and proprietary special effects materials, there may also be overlap between the first and second rendering orders, meaning that the first and second rendering orders may not be consecutive. For example, for Figure 3 The relationships shown indicate that the first rendering order for the public special effects materials "eye makeup", "contact lenses" and "filters" is 1, 4 and 5 respectively, and the second rendering order for the proprietary special effects materials "face texture" and "face generation" is 2 and 3 respectively.

[0086] Then, the electronic device merges the first and second rendering sequences to obtain a complete rendering sequence, i.e., the rendering chain. Afterwards, the electronic device refers to the rendering chain and calls the relevant rendering programs to render both common and proprietary special effects materials, obtaining the target rendering result. This target rendering result reflects the arrangement of materials within the material manipulation area, providing users with a more intuitive basis for adjusting special effects materials, thereby improving the efficiency of subsequent adjustments.

[0087] For example, electronic devices first Figure 2 The basic face image corresponding to the special effects displayed in prop display area 220 (in the middle) Figure 2 The first face image is generated by rendering eye makeup on a computer-generated male face (example). Then, an electronic device performs face mapping and face generation on the first face image. Figure 2In this example (using a face generation example with deep facial features), the electronic device renders a second face image corresponding to the upper sub-screen model and a third face image corresponding to the lower sub-screen model. Then, the electronic device applies colored contact lens rendering and filter rendering to the second and third face images respectively, resulting in a fourth and fifth face image. These fourth and fifth face images are then displayed as the target rendering results in the prop display area 220. In this example, the electronic device performs a total of 7 rendering operations.

[0088] In another example, if the first material type of the proprietary special effects material matches the preset material type, the above-mentioned generation of the target rendering result can be achieved as follows: based on the material arrangement position in the second material information, determine the third rendering order of the proprietary special effects material, and based on the material arrangement position in the first material information, determine the fourth rendering order of the common special effects material; based on the third rendering order and the fourth rendering order, generate a rendering chain; based on the rendering chain, render the common special effects material and the proprietary special effects material respectively to generate the target rendering result.

[0089] Among them, the preset material type refers to the material type that is set in advance. It is a material type that limits the rendering order. For example, it can be a material type that needs to be rendered before other special effects materials, such as face generation special effects material.

[0090] Specifically, in this example, the electronic device first matches the first material type of the proprietary special effects material with the preset material type to determine whether there are special effects materials of the preset material type among the proprietary special effects materials. If the matching result is that at least one first material type is successfully matched, it means that there are special effects materials among the proprietary special effects materials that need to be rendered first. In this case, in order to ensure the realism of the subsequent special effects rendering effect, the rendering order of the proprietary special effects materials is arranged before the rendering order of the common special effects materials in this embodiment. At this time, the electronic device first determines the third rendering order of the proprietary special effects materials according to the material arrangement position in the second material information of the proprietary special effects materials, and then determines the fourth rendering order of the common special effects materials according to the material arrangement position in the first material information of the common special effects materials. As described above, the third rendering order takes precedence over the fourth rendering order. Then, the electronic device merges the third rendering order and the fourth rendering order to obtain a complete rendering order, that is, to obtain the rendering chain.

[0091] For example, for Figure 3As shown in the diagram, the proprietary special effects materials "Face Texture" and "Face Generation" are arranged in positions 2 and 3 respectively, while the common special effects materials "Eye Makeup," "Contact Lens," and "Filter" are arranged in positions 1, 4, and 5 respectively. Therefore, following the above process, the third rendering order for "Face Texture" and "Face Generation" can be determined as 1 and 2, respectively, and the fourth rendering order for "Eye Makeup," "Contact Lens," and "Filter" can be 3, 4, and 5 respectively. The third rendering orders 1 and 2 can be executed sequentially or in parallel.

[0092] If a target sub-screen model contains proprietary special effects materials that match a preset material type, and there are multiple proprietary special effects materials under that target sub-screen model, then in the third rendering order corresponding to that target sub-screen model, the rendering order of the proprietary special effects materials corresponding to the preset material type will be first, and the rendering order of other proprietary special effects materials corresponding to that target sub-screen model will be determined according to their material arrangement position.

[0093] If there are multiple target sub-screen models, since each target sub-screen model is independent of the others, a third rendering order can be determined for each target sub-screen model, and then a subsequent fourth rendering order can be connected to generate a rendering chain for each target sub-screen model.

[0094] Next, the electronic device, referring to the rendering pipeline, calls the relevant rendering programs to render both public and proprietary special effects materials, obtaining the target rendering result. This results in a more realistic special effects effect and eliminates the need for users to manually adjust the order of the special effects materials, further improving prop production efficiency.

[0095] For example, if the preset material type is the face-generated material type, then the electronic device can determine... Figure 2 The lower sub-screen model shown contains proprietary special effects materials of a preset material type. At this point, the electronic device, following the rendering chain, first renders the basic face image by performing face mapping and face generation, generating the sixth face image corresponding to the upper sub-screen model and the seventh face image corresponding to the lower sub-screen model. Then, the electronic device applies eye makeup, colored contact lenses, and filters to the sixth and seventh face images respectively, generating the corresponding eighth and ninth face images, which are then displayed as the target rendering results in the prop display area 220. In this example, the electronic device performs a total of 8 rendering operations.

[0096] In another example, when it is determined that the first material type of the proprietary special effects material does not match the preset material type, the above-mentioned generation of the target rendering result can be achieved as follows: based on the material arrangement position in the first material information, determine the fifth rendering order of the common special effects material, and based on the material arrangement position in the second material information, determine the sixth rendering order of the proprietary special effects material; wherein, the fifth rendering order takes precedence over the sixth rendering order; based on the fifth rendering order and the sixth rendering order, generate a rendering chain; based on the rendering chain, render the common special effects material and the proprietary special effects material respectively to generate the target rendering result.

[0097] Specifically, according to the above explanation, if the electronic device's matching result for proprietary special effects materials is that no proprietary special effects material successfully matches the preset material type, it indicates that there are no special effects materials among the proprietary special effects materials that need to be rendered first. In this case, the electronic device can arrange the rendering order of common special effects materials before the rendering order of proprietary special effects materials. Because rendering the base image first using common special effects materials can obtain an intermediate image, subsequent rendering for each target sub-screen can be based on this intermediate image, so that the rendering of common special effects materials only needs to be performed once, thereby reducing the number of renderings, saving device resources, and improving device performance.

[0098] In practice, the electronic device first determines the fifth rendering order of the common special effects materials based on the material arrangement in the first material information, and then determines the sixth rendering order of the proprietary special effects materials based on the material arrangement in the second material information. As explained above, the fifth rendering order takes precedence over the sixth rendering order. Then, the electronic device merges the fifth and sixth rendering orders to obtain a complete rendering order, i.e., the rendering chain.

[0099] For example, for Figure 3 As shown in the diagram, the proprietary special effects materials "Face Texture" and "Face Generation" are arranged in positions 2 and 3 respectively, while the common special effects materials "Eye Makeup," "Contact Lens," and "Filter" are arranged in positions 1, 4, and 5 respectively. Therefore, following the above process, the fifth rendering order for the common special effects materials "Eye Makeup," "Contact Lens," and "Filter" can be determined as 1, 2, and 3 respectively, and the sixth rendering order for the proprietary special effects materials "Face Texture" and "Face Generation" can be 4 and 5 respectively. The sixth rendering order 4 and 5 can be executed sequentially or in parallel.

[0100] If there are multiple target sub-screen models, since each target sub-screen model is independent of the others, a sixth rendering order can be determined for each target sub-screen model, and then connected to the subsequent fifth rendering order to generate a rendering chain for each target sub-screen model.

[0101] Afterwards, the electronic device, referring to the rendering pipeline, calls the relevant rendering programs to render both public and proprietary special effects assets, obtaining the target rendering result. This reduces rendering operations, improves rendering efficiency, saves device performance, and eliminates the need for users to manually adjust the order of special effects assets, further improving prop production efficiency.

[0102] For example, suppose Figure 2 The "face generation" effect material in the lower sub-screen model shown is a "lip makeup" effect material, and there is no matching preset material type among the proprietary effect materials. At this time, the electronic device, following the rendering chain, first renders the basic face image with eye makeup, colored contact lenses, and filters to generate the tenth face image. Then, the electronic device renders the face texture and lips of the tenth face image respectively to generate the eleventh face image corresponding to the upper sub-screen model and the twelfth face image corresponding to the lower sub-screen model, and displays the eleventh and twelfth face images as the target rendering results in the prop display area 220. In this example, the electronic device performs a total of 5 rendering operations.

[0103] In some embodiments, prior to S140, the split-screen special effects prop generation method further includes: in response to a material movement operation, moving the target special effects material to the target position corresponding to the material movement operation, and determining the target material information corresponding to the moved target special effects material based on the target position.

[0104] The "material movement operation" refers to the operation of changing the display position of loaded special effects materials in the material operation area. For example, it could be dragging or clicking a special effects material from one display position to another. The target special effects material can be a public or proprietary special effects material. The target position can be a material position within a split-screen model or a material position within a target sub-screen model.

[0105] Specifically, as explained above, after initially loading public and proprietary special effects materials, users may be dissatisfied with the split-screen effects displayed in the prop display area. In this case, users can continue loading new special effects materials or delete already loaded materials to enrich or simplify the effects. Additionally, users can adjust the effects by moving the loaded target special effects material. The electronic device can detect this movement operation. Then, based on the object (target special effects material) and trajectory (from initial position to target position) of the movement operation, the electronic device deletes the target special effects material from its initial position and displays it at the target position. Afterward, to ensure proper rendering and display, the electronic device can re-determine the target special effects material's information based on its target position and use this re-determined information as the target material information. In subsequent processes, the electronic device can update the target material information accordingly. Figure 3 The relationships and rendering chains shown are then used to re-render and display each special effects material.

[0106] The above settings can automatically correct the target material information corresponding to the target special effect material according to the movement of the special effect material, so as to automatically update the rendering link required for re-rendering. This eliminates the process in related technologies where users need to remember the display layer of each special effect material and manually modify the display layer of the target special effect material and other special effect materials affected by its movement operation. This not only reduces the steps for users to create props and further improves the production efficiency of split-screen special effect props, but also reduces the production difficulty of split-screen special effect props, thereby further improving the production efficiency of split-screen special effect props.

[0107] In some embodiments, the process of the above-mentioned electronic device correcting the association and rendering link after responding to the material moving operation is specifically implemented as follows: establishing the association between the moved target special effects material and the target model corresponding to the target position; determining the target display level corresponding to the moved target special effects material based on the display level corresponding to the target model; determining whether the moved target special effects material is a public special effects material or a proprietary special effects material based on the target display level, and determining the target material arrangement position corresponding to the moved target special effects material based on the target position.

[0108] The target model is either a split-screen model or a target sub-screen model.

[0109] Specifically, the electronic device first modifies the association relationship of the target special effects material based on the target model corresponding to the target location. For example, it modifies the association relationship of the target special effects material. Figure 2 The public special effects material "filter" is moved above the "face sticker" on the "sub-screen model". Then, the electronic device can... Figure 3 The relationship of the "filter" in the code has been changed from a child node of the "split-screen model" to a child node of the "upper sub-screen model" within the "split-screen model". Additionally, to ensure subsequent rendering and display, a camera component called "sub-screen perspective camera" can be added to the "upper sub-screen model".

[0110] Then, according to the above explanation, the rendering chain is related to whether the target effect material is a public or proprietary effect material, and the material arrangement position of the target effect material. Therefore, after modifying the association relationship of the target effect material, the electronic device can determine the target display layer of the moved target effect material based on the display layer of the target model. That is, the electronic device determines the next display layer of the display layer corresponding to the target model as the modified display layer of the moved target effect material, i.e., the target display layer. For example, the target display layer of the above "filter" effect material is the lowest display layer. Afterwards, the electronic device can identify whether the moved target effect material belongs to a public or proprietary effect material based on this target display layer. Furthermore, the electronic device can determine the target position as the target material arrangement position corresponding to the moved target effect material. For example, if the target position of the above "filter" effect material is the first position under the "upper sub-screen model", then its target material arrangement position can be determined as 2. Accordingly, the material arrangement positions of other unmoved effect materials need to be adaptively modified.

[0111] Figure 4 A schematic diagram of a split-screen special effects prop generation device provided in an embodiment of this disclosure is shown. Figure 4 As shown, the split-screen special effects prop generation device 400 may include:

[0112] Split-screen model display module 410 is used to display split-screen models in the material operation area of ​​the prop making interface;

[0113] The target sub-screen model determination module 420 is used to determine the target sub-screen model in response to the trigger operation of the sub-screen contained in the split-screen model, and display the target sub-screen model in the next display layer of the split-screen model;

[0114] The first material loading module 430 is used to load common special effects materials into the material operation area in response to the first material loading operation and display them in the next display layer of the split-screen model; wherein, the common special effects materials and the target sub-screen model have the same display layer in the material operation area;

[0115] The split-screen effects prop generation module 440 is used to generate split-screen effects props based on the split-screen model, common effects materials, and target sub-screen model.

[0116] The split-screen effect prop generation device provided in this embodiment, during the creation of split-screen effect props, determines the target sub-screen model by triggering the sub-screens contained in the split-screen model displayed in the material operation area of ​​the prop creation interface, and displays the target sub-screen model in the next display layer of the split-screen model, thereby achieving efficient and quick creation of each sub-screen in the split-screen model and improving the production efficiency of split-screen effect props to a certain extent; by responding to the first material loading operation, the common effect material is loaded into the material operation area and displayed in the next display layer of the split-screen model, so that the common effect material and the target sub-screen model are in the material operation area. The display hierarchy within the domain is the same, allowing common special effects materials shared by all sub-screens to be loaded below the split-screen model rather than below the individual target sub-screen models. This means that common special effects materials only need to be added and set once, avoiding the complexity and difficulty of creating split-screen special effects props caused by repeatedly adding and setting common special effects materials in each sub-screen. This improves the production efficiency of split-screen special effects props, reduces the number of special effects materials in split-screen special effects props and the subsequent rendering process, thereby reducing the consumption of device resources during the production and use of split-screen special effects props, and improving the smoothness of the operation of split-screen special effects props and device performance.

[0117] In some embodiments, the split-screen special effects prop generation device 400 further includes a second material loading module, used for:

[0118] After determining the target sub-screen model in response to a trigger operation on a sub-screen contained in the split-screen model and displaying the target sub-screen model in the next display layer of the split-screen model, in response to the second material loading operation, the proprietary special effects material is loaded into the material operation area and displayed in the next display layer of the target sub-screen model.

[0119] Accordingly, the split-screen special effects prop generation module 440 is specifically used for:

[0120] Based on the split-screen model, common special effects materials, target sub-screen models, and proprietary special effects materials, generate split-screen special effects props.

[0121] In some embodiments, the split-screen effect prop generation device 400 further includes a rendering module, which includes:

[0122] The target rendering result generation submodule is used to render the public special effects material and the proprietary special effects material based on the first material information of the public special effects material and the second material information of the proprietary special effects material, respectively, to generate the target rendering result; wherein, the material information includes the first material type and the material arrangement position, or the material arrangement position;

[0123] The rendering result display submodule is used to display the target rendering result in the item display area of ​​the item crafting interface.

[0124] In one example, the target rendering result generation submodule is specifically used for:

[0125] Based on the arrangement of materials in the first material information and the arrangement of materials in the second material information, the first rendering order of common special effects materials and the second rendering order of proprietary special effects materials are determined respectively, and a rendering chain is generated based on the first rendering order and the second rendering order; wherein, the rendering chain is used to record the rendering order between each special effects material;

[0126] Based on the rendering pipeline, public and proprietary special effects materials are rendered separately to generate the target rendering result.

[0127] In another example, the target rendering result generation submodule is specifically used for:

[0128] If the first material type of the proprietary special effects material matches the preset material type, the third rendering order of the proprietary special effects material is determined based on the material arrangement position in the second material information, and the fourth rendering order of the common special effects material is determined based on the material arrangement position in the first material information; wherein, the third rendering order takes precedence over the fourth rendering order.

[0129] A rendering chain is generated based on the third and fourth rendering orders;

[0130] Based on the rendering pipeline, public and proprietary special effects materials are rendered separately to generate the target rendering result.

[0131] In yet another example, the target rendering result generation submodule is specifically used for:

[0132] If the first material type of the proprietary special effects material does not match the preset material type, the fifth rendering order of the common special effects material is determined based on the material arrangement position in the first material information, and the sixth rendering order of the proprietary special effects material is determined based on the material arrangement position in the second material information; wherein, the fifth rendering order takes precedence over the sixth rendering order.

[0133] A rendering chain is generated based on the fifth and sixth rendering orders;

[0134] Based on the rendering pipeline, public and proprietary special effects materials are rendered separately to generate the target rendering result.

[0135] In some embodiments, the split-screen special effects prop generation device 400 further includes a material moving module, used for:

[0136] Before generating split-screen effect props based on the split-screen model, common special effects materials, and target sub-screen model, in response to material movement operations, the target special effects material is moved to the target position corresponding to the material movement operation, and the target material information corresponding to the moved target special effects material is determined based on the target position;

[0137] Among them, the target special effects material is either a public special effects material or a proprietary special effects material, and the target position is the material position under the split screen model or the material position under the target sub-screen model.

[0138] Furthermore, the material movement module is specifically used for:

[0139] Establish the association between the moved target effect material and the target model corresponding to the target position; where the target model is a split-screen model or a target sub-screen model;

[0140] Based on the display layer corresponding to the target model, determine the target display layer corresponding to the moved target special effects material;

[0141] Based on the target display hierarchy, the moved target effect material is determined to be either a public effect material or a proprietary effect material, and based on the target position, the corresponding target material arrangement position is determined.

[0142] In some embodiments, the split-screen effect prop generation device 400 further includes a split-screen model updating module, used for:

[0143] Before generating split-screen effects props based on the split-screen model, common special effects materials, and target sub-screen model, the component type and number of rendering camera components in the split-screen model are determined based on the second material type and material quantity of the common special effects materials in order to update the split-screen model.

[0144] In some embodiments, the split-screen special effects prop generation device 400 further includes a target sub-screen model updating module, used for:

[0145] After determining the target sub-screen model in response to a trigger operation on a sub-screen contained in the split-screen model, and displaying the target sub-screen model in the next display layer of the split-screen model, the parameter setting area corresponding to the target sub-screen model is displayed in the prop crafting interface in response to a trigger operation on the target sub-screen model.

[0146] In response to parameter setting operations on the target parameters displayed in the parameter setting area, the target parameter value is determined, and the target sub-screen model is updated based on the target parameter value.

[0147] It should be noted that, Figure 4The split-screen effect prop generation device 400 shown can execute each step of the split-screen effect prop generation method described in any embodiment of this disclosure, and realize each process and effect of the split-screen effect prop generation method described in any embodiment above, which will not be elaborated here.

[0148] This disclosure also provides an electronic device that may include a processor and a memory, the memory of which may be used to store executable instructions. The processor may be used to read the executable instructions from the memory and execute the executable instructions to implement the split-screen special effects prop generation method described in the above embodiments.

[0149] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure is shown. It should be noted that... Figure 5 The illustrated electronic device 500 is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0150] like Figure 5 As shown, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the information processing device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output interface (I / O interface) 505 is also connected to the bus 504.

[0151] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0152] This disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, enables the processor to implement the split-screen special effects prop generation method in any embodiment of this disclosure.

[0153] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the split-screen effect prop generation method of any embodiment of this disclosure.

[0154] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0155] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP, and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0156] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0157] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the steps of the split-screen special effects prop generation method described in any embodiment of this disclosure.

[0158] In embodiments of this disclosure, computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof. These programming languages ​​include, but are not limited to, object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0159] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0160] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.

[0161] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0162] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0163] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0164] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments. Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely exemplary forms of implementing the claims.

Claims

1. A method for generating split-screen special effects props, characterized in that, include: Display split-screen models in the material operation area of ​​the prop crafting interface; In response to a trigger operation on a sub-screen contained in the split-screen model, a target sub-screen model is determined and the target sub-screen model is displayed in the next display layer of the split-screen model; In response to the first material loading operation, a common special effects material is loaded into the material operation area and displayed at the next display level of the split-screen model; wherein, the common special effects material and the target sub-screen model have the same display level in the material operation area; the common special effects material acts on each sub-screen model of the split-screen model; In response to the second material loading operation, proprietary special effects material is loaded into the material operation area and displayed in the next display layer of the target sub-screen model; the proprietary special effects material is applied to the target sub-screen model; Based on the split-screen model, the common special effects materials, the target sub-screen model, and the proprietary special effects materials, split-screen special effects props are generated.

2. The method according to claim 1, characterized in that, Before generating the split-screen effect props based on the split-screen model, the common special effects materials, the target sub-screen model, and the proprietary special effects materials, the method further includes: Based on the first material information of the public special effects material and the second material information of the proprietary special effects material, the public special effects material and the proprietary special effects material are rendered respectively to generate a target rendering result; wherein, the material information includes a first material type and material arrangement position, or the material arrangement position; The target rendering result is displayed in the prop display area of ​​the prop crafting interface.

3. The method according to claim 2, characterized in that, The process of rendering the public special effects material and the proprietary special effects material based on the first material information of the public special effects material and the second material information of the proprietary special effects material, respectively, to generate the target rendering result includes: Based on the arrangement positions of the materials in the first material information and the arrangement positions of the materials in the second material information, the first rendering order of the common special effects materials and the second rendering order of the proprietary special effects materials are determined respectively, and a rendering chain is generated based on the first rendering order and the second rendering order; wherein, the rendering chain is used to record the rendering order between each special effects material; Based on the rendering chain, the public special effects material and the proprietary special effects material are rendered respectively to generate the target rendering result.

4. The method according to claim 2, characterized in that, When it is determined that the first material type of the proprietary special effects material matches the preset material type, the rendering of the public special effects material and the proprietary special effects material based on the first material information of the public special effects material and the second material information of the proprietary special effects material, respectively, to generate the target rendering result includes: Based on the arrangement of the materials in the second material information, a third rendering order for the proprietary special effects materials is determined, and based on the arrangement of the materials in the first material information, a fourth rendering order for the common special effects materials is determined; wherein, the third rendering order takes precedence over the fourth rendering order; A rendering chain is generated based on the third rendering order and the fourth rendering order; Based on the rendering chain, the public special effects material and the proprietary special effects material are rendered respectively to generate the target rendering result.

5. The method according to claim 2, characterized in that, If it is determined that the first material type of the proprietary special effects material does not match the preset material type, the rendering of the public special effects material and the proprietary special effects material based on the first material information of the public special effects material and the second material information of the proprietary special effects material, respectively, to generate the target rendering result includes: Based on the arrangement of the materials in the first material information, the fifth rendering order of the public special effects materials is determined, and based on the arrangement of the materials in the second material information, the sixth rendering order of the proprietary special effects materials is determined; wherein, the fifth rendering order takes precedence over the sixth rendering order; A rendering chain is generated based on the fifth rendering order and the sixth rendering order; Based on the rendering chain, the public special effects material and the proprietary special effects material are rendered respectively to generate the target rendering result.

6. The method according to any one of claims 1 to 5, characterized in that, Before generating split-screen effect props based on the split-screen model, the common special effects material, the target sub-screen model, and the proprietary special effects material, the method further includes: In response to a material movement operation, the target effect material is moved to the target position corresponding to the material movement operation, and the target material information corresponding to the moved target effect material is determined based on the target position; The target special effects material is either the public special effects material or the proprietary special effects material, and the target position is either the material position under the split-screen model or the material position under the target sub-screen model.

7. The method according to claim 6, characterized in that, The target material information corresponding to the moved target special effects material determined based on the target location includes: Establish the association between the moved target special effects material and the target model corresponding to the target position; wherein, the target model is the split-screen model or the target sub-screen model; Based on the display level corresponding to the target model, determine the target display level corresponding to the moved target special effects material; Based on the target display level, the moved target effect material is determined to be either the public effect material or the proprietary effect material, and the target material arrangement position corresponding to the moved target effect material is determined based on the target position.

8. The method according to claim 1, characterized in that, Before generating split-screen effect props based on the split-screen model, the common special effects material, the target sub-screen model, and the proprietary special effects material, the method further includes: Based on the second material type and quantity of the public special effects material, the component type and quantity of the rendering camera component in the split-screen model are determined to update the split-screen model.

9. The method according to claim 1, characterized in that, After determining a target sub-screen model in response to a trigger operation on a sub-screen included in the split-screen model, and displaying the target sub-screen model in the next display layer of the split-screen model, the method further includes: In response to a trigger operation on the target sub-screen model, the parameter setting area corresponding to the target sub-screen model is displayed in the prop creation interface; In response to a parameter setting operation on the target parameter displayed in the parameter setting area, a target parameter value is determined, and the target sub-screen model is updated based on the target parameter value.

10. A device for generating split-screen special effects props, characterized in that, include: The split-screen model display module is used to display split-screen models in the material operation area of ​​the prop creation interface; The target sub-screen model determination module is used to determine the target sub-screen model in response to a trigger operation on the sub-screen contained in the split-screen model, and display the target sub-screen model in the next display layer of the split-screen model; The first material loading module is used to load common special effects materials into the material operation area in response to the first material loading operation, and display them in the next display layer of the split-screen model; wherein, the common special effects materials and the target sub-screen model have the same display layer in the material operation area; the common special effects materials act on each sub-screen model of the split-screen model; The second material loading module is used to load proprietary special effects materials into the material operation area in response to the second material loading operation, and display them in the next display layer of the target sub-screen model; The proprietary special effects material is applied to the target sub-screen model; The split-screen special effects prop generation module is used to generate split-screen special effects props based on the split-screen model, the public special effects material, the target sub-screen model, and the proprietary special effects material.

11. An electronic device, characterized in that, include: processor; Memory, used to store executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the split-screen special effects prop generation method according to any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, causes the processor to implement the split-screen special effects prop generation method according to any one of claims 1-9.

Citation Information

Patent Citations

  • Special effect merging method and device, electronic equipment and computer readable storage medium

    CN110221822A

  • Video special effect configuration file generation method and video rendering method and device

    CN113497898A