Method, device and readable storage medium for processing surround animation effects

The configuration file for 3D surround animation effects is automatically generated through a visual 3D surround parameter configuration window, which solves the problems of low production efficiency and difficult script maintenance, and achieves more efficient special effects production.

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

Patent Information

Application Number
CN202110726972.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-29
Publication Date
2026-11-27
Estimated Expiration
2041-06-29

AI Technical Summary

Technical Problem

In existing technologies, the production efficiency of 3D surround animation effects is low, and the effects scripts are difficult to maintain.

Method used

This paper provides a method for processing surround animation effects. Through a visual 3D surround parameter configuration window, users can configure the parameters of the surround object and automatically generate a configuration file for the target 3D surround animation effect.

Benefits of technology

It improves the production efficiency of 3D surround animation effects, is applicable to any type of material, and is easy to maintain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115546358B_ABST
    Figure CN115546358B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a processing method, device and readable storage medium for a surround animation special effect, wherein the method encapsulates the requirement for producing a three-dimensional surround animation special effect by analyzing the actual requirement of a user for producing the three-dimensional surround animation special effect, and provides a visual three-dimensional surround parameter configuration window to the user, thereby facilitating the operation of the user. After the user associates a surround object with the three-dimensional surround parameter configuration window, the three-dimensional surround parameters corresponding to the surround object can be configured by operating a plurality of configuration items in the three-dimensional surround parameter configuration window. Then, a configuration file of a target three-dimensional surround animation special effect is automatically generated according to the configuration information of each configuration item in the three-dimensional surround parameter configuration window associated with the surround object. The method provided by the present disclosure can effectively improve the production efficiency of the three-dimensional surround animation special effect, and can be applied to the production of a three-dimensional surround animation special effect with any type of material as a surround object, thereby having a wide range of applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet technology, and in particular to a method, apparatus and readable storage medium for processing surround animation special effects. Background Technology

[0002] When creating content using video editing applications, people often use special effects to make the videos more interesting. Among these, 3D surround animation effects are a popular choice. Specifically, 3D surround animation effects refer to the effect where an object (such as stickers, decorative text, etc.) appears to rotate in a virtual 3D space.

[0003] In existing technologies, the production of 3D surround animation effects is achieved through handwritten scripts, which results in low production efficiency. Summary of the Invention

[0004] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this disclosure provides a method, apparatus and readable storage medium for processing surround animation special effects.

[0005] Firstly, this disclosure provides a method for processing surround animation effects, including:

[0006] Get the surrounding object;

[0007] Display a 3D surround parameter configuration window and associate the surround object with the 3D surround parameter configuration window; wherein, the 3D surround parameter configuration window includes multiple configuration items for generating 3D surround animation effects;

[0008] Based on the configuration information of the multiple configuration items, a configuration file for the target 3D surround animation effect is generated; the target 3D surround animation effect is an animation effect in which the surround object moves around in 3D space.

[0009] Secondly, this disclosure provides a surround animation special effects processing device, including:

[0010] The get module is used to get the surrounding object;

[0011] The display module is used to display the 3D surround parameter configuration window;

[0012] The first processing module is used to associate the surrounding object with the three-dimensional surrounding parameter configuration window; wherein the three-dimensional surrounding parameter configuration window includes multiple configuration items for generating three-dimensional surrounding animation effects; and, based on the configuration information of the multiple configuration items, generates a configuration file for the target three-dimensional surrounding animation effect; the target three-dimensional surrounding animation effect is an animation effect in which the surrounding object surrounds itself in three-dimensional space.

[0013] Thirdly, this disclosure provides an electronic device, including: a memory, a processor, and computer program instructions;

[0014] The memory is configured to store the computer program instructions;

[0015] The processor is configured to execute the computer program instructions to implement the surround animation effects processing method as described in any of the first aspects.

[0016] Fourthly, this disclosure provides a readable storage medium comprising: computer program instructions; wherein the computer program instructions, when executed by at least one processor of an electronic device, implement the surround animation effects processing method as described in any of the first aspects.

[0017] Fifthly, this disclosure provides a program product comprising a computer program stored in a readable storage medium, wherein at least one processor of the electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to enable the electronic device to implement the surround animation effects processing method as described in any of the first aspects.

[0018] This disclosure provides a method, apparatus, and readable storage medium for processing surround animation effects. The method analyzes the user's actual needs for creating 3D surround animation effects, encapsulates these needs, and provides a visual 3D surround parameter configuration window for user convenience. After the user associates the component carrying the surround object with the 3D surround parameter configuration window, they can configure the 3D surround parameters corresponding to the surround object by operating multiple configuration items provided in the window. Then, based on the configuration information of each configuration item in the 3D surround parameter configuration window associated with the surround object, a configuration file for the target 3D surround animation effect is automatically generated. Compared to the existing method of manually writing scripts, the method provided in this disclosure is more convenient and faster, effectively improving the production efficiency of 3D surround animation effects. Furthermore, the method provided in this disclosure is applicable to the production of 3D surround animation effects using any type of material as the surround object, thus having a wide range of applications. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0020] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A flowchart illustrating a surround animation effects processing method provided in an embodiment of this disclosure;

[0022] Figures 2a to 2h A schematic diagram of the three-dimensional surround parameter configuration window provided in this disclosure;

[0023] Figures 3a to 3b A schematic diagram of the three-dimensional surround parameter configuration window provided in this disclosure;

[0024] Figures 4a to 4c A comparative illustration showing the surrounding object as provided in this disclosure with and without rotation;

[0025] Figure 5 A schematic diagram of the three-dimensional surround parameter configuration window provided in this disclosure;

[0026] Figures 6a to 6f A schematic diagram of the three-dimensional surround parameter configuration window provided in this disclosure;

[0027] Figure 7 A schematic diagram of the three-dimensional surround parameter configuration window provided in this disclosure;

[0028] Figure 8 A flowchart of a surround animation effect processing method provided in another embodiment of this disclosure;

[0029] Figure 9 This is a schematic diagram illustrating the positional changes of the surrounding object in the coordinate system provided in this disclosure.

[0030] Figure 10 A schematic diagram of the structure of a surround animation special effects processing device provided in an embodiment of this disclosure;

[0031] Figure 11 A schematic diagram of the structure of an electronic device provided in another embodiment of this disclosure. Detailed Implementation

[0032] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0033] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0034] Currently, the production of 3D surround animation effects is achieved through hand-written scripts. Due to the low efficiency of hand-written scripts, the production efficiency of 3D surround animation effects is low. Furthermore, the variability of user-written effect scripts makes them difficult to maintain.

[0035] To address the aforementioned issues, this disclosure provides a method for processing surround animation effects. This method analyzes the actual needs of users in creating 3D surround animation effects, encapsulates these needs, and provides a visual 3D surround parameter configuration window for user convenience. After the user associates the surround object with the 3D surround parameter configuration window, they can configure the 3D surround parameters corresponding to the surround object by operating multiple configuration items provided in the window. Then, based on the configuration information of each configuration item in the 3D surround parameter configuration window associated with the surround object, the background system can automatically generate an executable program file (i.e., a configuration file) corresponding to the target 3D surround animation effect. Compared to the existing method of manually writing scripts, the method provided in this disclosure is more convenient and faster, effectively improving the production efficiency of 3D surround animation effects. Furthermore, the method provided in this disclosure is applicable to the production of 3D surround animation effects using any type of material as the surround object, thus having a wide range of applications.

[0036] Furthermore, the method provided in this disclosure allows the relationship between the various surrounding objects included in the target 3D surround animation effect to be seen in the interface provided by the surround animation effect processing device.

[0037] The surround animation effects processing method disclosed herein can be executed by a surround animation effects processing device, which can be implemented in any software and / or hardware manner. Exemplarily, the surround animation effects processing device may include electronic devices such as tablets, mobile phones (e.g., foldable phones, large-screen phones, etc.), wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, smart home devices, etc. The surround animation effects processing device may also include an application program.

[0038] Figure 1A flowchart of a surround animation effect processing method provided in an embodiment of this disclosure.

[0039] Reference Figure 1 As shown, the method in this embodiment includes:

[0040] S101, Get the surrounding object.

[0041] The surrounding object can include one or more types of materials such as stickers, decorative text, images, and photos. The surrounding object can be a material with static effects, such as static emoji stickers, static decorative text, static photos, static images, etc.; or, the surrounding object can be a material with dynamic effects, such as animated emoji stickers, animated decorative text, etc. This disclosure does not limit the specific type of the surrounding object.

[0042] In practical applications, the number of surrounding objects used to generate the target 3D surround animation effect can be one or more. This disclosure does not limit the number of surrounding objects included in the target 3D surround animation effect. It should also be noted that if there are multiple surrounding objects, these multiple surrounding objects can be the same or different.

[0043] One possible implementation is that the surround animation effects processing device can provide an effects editing interface, which can also be called a visual creation interface; users can add 3D transformation components (also called 3D transform components) in the effects editing interface by inputting 3D transformation component addition commands.

[0044] The 3D transformation component is a collection of visual components that carry the surrounding object. The 3D transformation component can be a set of visual functions provided by a surround animation effects processing device. For example, the 3D transformation component may include a first component for carrying information about the surrounding object itself and a second component for carrying attribute information about the surrounding object. Then, by operating the interactive interfaces provided by the first and second components, the information about the surrounding object itself is stored in the first component, and the attribute information of the surrounding object is stored in the second component.

[0045] It should be understood that the 3D transformation component may also include components that carry other information about the surrounding object, and users can make relevant settings by operating the corresponding components. This disclosure does not limit this.

[0046] The information about the surrounding object itself mentioned above may include: the filling type, size mode, color, transparency, texture, etc. of the surrounding object; the attribute information of the surrounding object may include: size information, scaling ratio information, initial rotation information, initial position of the center point of the surrounding object, etc.

[0047] Optionally, users can input 3D transformation component addition commands by retrieving the corresponding addition option for the 3D transformation component through a specified path and then clicking the addition option to input the 3D transformation component addition command. Alternatively, when the surround animation effect processing device supports locating 3D transformation components through search, users can enter the name of the 3D transformation component in the search box to retrieve the corresponding addition option and then click the addition option to input the 3D transformation component addition command.

[0048] When there are multiple surrounding objects, each surrounding object corresponds to a 3D transformation component in the effects editing interface. To facilitate the differentiation of surrounding objects, the 3D transformation component can display the identification information of the surrounding objects, such as the surrounding object's number, surrounding object's name, etc.

[0049] S102. Display the 3D surround parameter configuration window and associate the surround object with the 3D surround parameter configuration window; wherein, the 3D surround parameter configuration window includes multiple configuration items for generating 3D surround animation effects.

[0050] One possible implementation involves adding instructions to the 3D surround parameter configuration window based on user input, and displaying the 3D surround parameter configuration window in the interface provided by the surround animation effect processing device (such as the aforementioned effect editing interface).

[0051] The implementation of the user input 3D surround parameter configuration window addition command can be similar to the implementation of the user input 3D transformation component addition command, and can be referred to the description in step S101. For the sake of brevity, it will not be repeated here.

[0052] If there are multiple surrounding objects, one possible implementation is to repeatedly enter commands in the 3D surrounding parameter configuration window, and then display the same number of 3D surrounding parameter configuration windows in the effects editing interface as the number of surrounding objects.

[0053] Another possible implementation is to first add a command to the 3D surround parameter configuration window by inputting the command, thus displaying a 3D surround parameter configuration window in the special effects editing page; then, by selecting the 3D surround parameter configuration window and performing a copy and paste operation, the same number of 3D surround parameter configuration windows as the number of surround objects will be displayed in the special effects editing interface.

[0054] This disclosure does not limit the implementation method of adding a 3D surround parameter configuration window in the special effects editing interface.

[0055] The following is through Figures 2a to 2g A detailed introduction to the 3D surround parameter configuration window is provided.

[0056] First, an example is given on how to associate the 3D transformation component of the surrounding object with the 3D surrounding parameter configuration window.

[0057] For example, refer to Figure 2a The 3D surround parameter configuration window 200 shown includes a 3D transformation component configuration item w1. The 3D transformation component configuration item w1 includes a visual input port w2. This input port w2 is the interactive interface used to associate the 3D surround component with the surrounded object.

[0058] Therefore, for example, the interactive interface of the 3D transformation component corresponding to the surrounding object can be connected to the input port w2 of the 3D transformation component configuration item w1 in the 3D surrounding parameter configuration window, thereby associating the surrounding object with the 3D surrounding parameter configuration window.

[0059] For example, a user can first hover the mouse cursor over the interactive interface area of ​​the 3D transformation component to select it; then, by pressing and holding the left mouse button and moving the mouse, the cursor will be moved to the area of ​​input port w2 before the left mouse button is released. Based on the mouse movement trajectory, a line will appear between the interactive interface of the 3D transformation component and input port w2 in the effects editing interface, indicating that the wrapping object has been associated with the 3D wrapping parameter configuration window.

[0060] If a user needs to modify the association between the 3D transformation component and the 3D surround parameter configuration window, they can do so by deleting the line. For example, the user can position the mouse cursor at any point on the line and enter the delete command to delete the line, thereby canceling the association between the 3D transformation component and the 3D surround parameter configuration window. In practical applications, this is not limited to using the mouse; users can also achieve this by clicking the screen, long-pressing the screen, etc.

[0061] It should be understood that before the 3D transformation component of the surrounding object is associated with the 3D surrounding parameter configuration window, since there is no association between the surrounding object and the 3D surrounding parameter configuration window, the user's operation on the configuration items provided in the 3D surrounding parameter configuration window cannot be associated with the surrounding object. Alternatively, it can be understood that the 3D surrounding parameters configured by the user through the 3D surrounding parameter configuration window have no relationship with the surrounding object.

[0062] After the 3D transformation component of the surrounding object is associated with the 3D surrounding parameter configuration window, the surrounding object and the 3D surrounding parameter configuration window are bound together. The user's operation on the configuration items provided in the 3D surrounding parameter configuration window can be associated with the surrounding object. Alternatively, it can be understood that the user configures the 3D surrounding parameters of the surrounding object through the 3D surrounding parameter configuration window.

[0063] When there are multiple surround objects, each surround object corresponds to a 3D transformation component. For each surround object, the 3D transformation component corresponding to the surround object can be associated with a 3D surround parameter configuration window in the manner described above. In this way, each surround object can be configured independently through its associated 3D surround parameter configuration window, satisfying the atomicity requirement of surround object control.

[0064] After associating the 3D transformation component corresponding to the surrounding object with the 3D surrounding parameter configuration window, the user can input configuration operations for the configuration items in the 3D surrounding parameter configuration window corresponding to each surrounding object, thereby obtaining the configuration information of each configuration item.

[0065] Next, combine Figures 2b to 2h This document provides a detailed introduction to the configuration items provided in the 3D surround parameter configuration window, excluding the 3D transformation component configuration item.

[0066] In this solution, the 3D surround parameter configuration window may include one or more of the following: surround point configuration item, surround axis system configuration item, first rotation angle configuration item, rotation speed change mode configuration item, target single surround duration setting item, target surround number configuration item, and surround object rotation configuration item.

[0067] It is understandable that each of the above configuration items corresponds to a three-dimensional surround parameter.

[0068] Figure 2b An exemplary schematic diagram of a three-dimensional surround parameter configuration window is shown. (Refer to...) Figure 2b The 3D surround parameter configuration window 200 shown includes: surround point configuration item, surround axis system configuration item, first rotation angle configuration item, rotation speed change mode configuration item, target single surround duration configuration item, and target surround number configuration item.

[0069] In practical applications, if some 3D wrapping parameters use uniform default values, the configuration item for that 3D wrapping parameter can be displayed in the configuration window, or it can be hidden. Of course, if more 3D wrapping parameters are available for user configuration, more configuration items can be set in the configuration window to meet flexible configuration needs.

[0070] The following will introduce them one by one. Figure 2b The configuration items shown are as follows:

[0071] 1. Orbit Point Configuration Item 201:

[0072] Among them, the surround point configured in the surround point configuration item 201 is a point on the surround axis.

[0073] Since there are countless surrounding planes perpendicular to the surrounding axis system, when the first surrounding plane where the surrounding object is located and the second surrounding plane where the surrounding point is located are the same plane, the surrounding point configured by the surrounding point configuration item 201 is the actual rotation center of the surrounding object; when the first surrounding plane where the surrounding object is located and the second surrounding plane where the surrounding point is located are different surrounding planes, the surrounding point configured by the surrounding point configuration item 201 is not the actual rotation center of the surrounding object. In this case, the actual rotation center of the surrounding object is the intersection of the first surrounding plane and the surrounding axis system, and the actual rotation center of the surrounding object can be calculated and determined based on the surrounding point.

[0074] In other words, the surrounding point in this scheme has at least the following functions: 1. to determine the surrounding axis system; 2. to determine the actual rotation center of the surrounding object.

[0075] The surround point configured in configuration item 201 is a point in three-dimensional space. The "three-dimensional space" referred to here can be defined by a three-dimensional coordinate system. Assuming that the three-dimensional coordinate system is an XYZ coordinate system, the position of the surround point can be determined by the coordinate values ​​of the three directions: X-axis, Y-axis, and Z-axis.

[0076] One possible implementation method, see Figure 2b As shown, the surrounding point configuration item 201 includes a coordinate input area 2011. The coordinate input area 2011 may include an input box 201a for the x-axis coordinate, an input box 201b for the y-axis coordinate, and an input box 201c for the z-axis coordinate. Users can configure the position of the surrounding point in three-dimensional space by manipulating the input boxes 201a, 201b, and 201c respectively.

[0077] Optionally, the x-axis, y-axis, and z-axis coordinates of the surrounding point can be normalized coordinates or unnormalized coordinates. For example, Figure 2b The x-axis coordinate value of 0.5, y-axis coordinate value of 0.5, and z-axis coordinate value of 0.5 shown are all normalized coordinate values.

[0078] It should be noted that the wrapping point configured through input boxes 201a, 201b and 201c is a fixed point, and the wrapping object rotates around this fixed wrapping point as the rotation center in each wrapping cycle.

[0079] Optionally, in the 3D surround configuration window 200, the input boxes 201a, 201b, and 201c of the surround point configuration item 201 can display a set of default coordinate values. If the default coordinate values ​​of the surround point meet the user's needs, the user does not need to reconfigure them, thereby reducing user operations and improving the efficiency of special effects production.

[0080] Another possible implementation, see [link / reference] Figure 2b As shown, the surround point configuration item 201 may include a visual input port 2012, which can receive surround point configuration information transmitted by other modules or components.

[0081] The "other modules or components" referred to here can include, but are not limited to, addition, subtraction, division, random number generation, screen click event detection, and so on. When actually creating surround animation effects, simply connect the interactive interface provided by the desired visualization module or component to input port 2012. The specific implementation method is similar to the aforementioned method of connecting 3D transformation components to 3D transformation component configuration items.

[0082] For example, refer to Figure 2h As shown, the interactive interface of the addition module m1 is connected to the input port 2012 by a line. The interactive interface of the addition module m1 can pass the addition result of the value A and the value B to the input port 2012 to configure the addition result as a wrapping point.

[0083] Furthermore, in practical applications, the component or module connected to input port 2012 can also be connected to one or more other modules or components, and obtain data for addition operations from the connected modules or components. For example, as shown below... Figure 2h As shown, the addition module m1 is also connected to the target object tracking module m2, and the target object tracking module m2 transmits the detected position of the target object to the addition module m1.

[0084] In this scheme, the surround point configured through input port 2012 can be fixed or dynamically changing. For example, the surround point configured through input port 2012 can be periodically changed according to discrete points with fixed intervals on a curve of a certain shape (such as a circle, triangle, ellipse, etc.); or, for example, the position of the surround object b in the current surround animation effect frame can be configured through input port 2012 as the surround point of the surround object a in the next surround animation effect frame.

[0085] In practical applications, the 3D surround parameter configuration window 200 may only include the coordinate input area 2011, or the 3D surround parameter configuration window 200 may only include the visualization input port 2012, or it may also include... Figure 2b As shown, two configuration options, coordinate input area 2011 and input port 2012, will be provided for users to choose from.

[0086] 2. Circumferential Shaft Configuration Item 202

[0087] The surrounding axis system can also be called the surrounding axis, rotation axis, first rotation axis, or other names. The surrounding axis system represents a straight line passing through the surrounding point and perpendicular to the plane of rotation, where the surrounding point lies on the plane of rotation.

[0088] One possible implementation method, see reference Figure 2b As shown, the surrounding axis configuration item 202 includes an input area 2021. The input area 2021 may include an input box 202a for the x-axis coordinate, an input box 202b for the y-axis coordinate, and an input box 202c for the z-axis coordinate.

[0089] It should be noted that the input boxes 202a, 202b, and 202c define a reference point in the three-dimensional coordinate system; the surrounding axis is determined based on this reference point and the surrounding point. Specifically, based on this reference point and the surrounding point, a line segment can be determined with the reference point and the surrounding point as endpoints. Extending this line segment infinitely in two directions yields a straight line, which is the surrounding axis.

[0090] Specifically, users can configure the coordinates of the reference point on the x-axis, y-axis, and z-axis by operating input boxes 202a, 202b, and 202c respectively.

[0091] Optionally, the x-axis, y-axis, and z-axis coordinates of the reference point can be normalized coordinates or unnormalized coordinates. For example, Figure 2b The x-axis coordinate value 0.1, y-axis coordinate value 0.1, and z-axis coordinate value 0.1 shown are all normalized coordinate values.

[0092] Optionally, in the 3D surround configuration window 200, the surround axis configuration item 202 includes input boxes 202a, 202b, and 202c, which can display a set of default reference point coordinate values. If the default reference point coordinate values ​​meet the user's needs, the user does not need to reconfigure them, thereby reducing user operations and improving special effects production efficiency.

[0093] Another possible implementation, see [link / reference] Figure 2b As shown, the surrounding axis configuration item 202 may include a visual input port 2022, which can receive configuration information of reference points passed by other modules or components.

[0094] The "other modules or components" referred to here can include, but are not limited to, addition, subtraction, multiplication, division, random number generation, screen click event detection, and so on. When actually creating surround animation effects, simply connect the interactive interface provided by the desired visualization module or component to input port 2022. The specific implementation method is similar to the aforementioned method of connecting 3D transformation components to 3D transformation component configuration items.

[0095] For example, refer to Figure 2h As shown, the interactive interface of the multiplication module m3 is connected to the input port 2022 by a line. The interactive interface of the multiplication module m3 can pass the addition result to the input port 2022 to configure the multiplication result as a reference point for determining the surrounding axis.

[0096] Furthermore, in practical applications, the component or module connected to input port 2022 can also be connected to one or more other modules or components, and obtain data for addition operations from the connected modules or components. For example, as shown below... Figure 2h As shown, the multiplication module m3 is also connected to the target object tracking module m2, and the target object tracking module m2 transmits the detected position of the target object to the multiplication module m3.

[0097] In this scheme, the reference point configured through input port 2022 can be fixed or dynamically changing. For example, the reference point configured through input port 2022 can be periodically changed according to discrete points with fixed intervals on a curve of a certain shape (such as a circle, triangle, ellipse, etc.); or, the position of another surrounding object in the current surrounding animation effect frame can be configured as a reference point through input port 2022.

[0098] In practical applications, the 3D surround parameter configuration window 200 may only include the input area 2021, or the 3D surround parameter configuration window 200 may only include the visualization input port 2022, or it may also be as follows: Figure 2b As shown, two configuration options, input area 2021 and input port 2022, will be provided for users to choose from.

[0099] 3. First rotation angle configuration item 203:

[0100] Here, the first rotation angle represents the rotation angle corresponding to one cycle of rotation around the object in the plane of rotation. For example, the first rotation angle can be, but is not limited to, 360 degrees, 270 degrees, 180 degrees, etc.

[0101] One possible implementation method, see reference Figure 2bAs shown, the first rotation angle configuration item 203 may include an input box 2031; the user can configure the first rotation angle by operating the input box 2031.

[0102] Optionally, the first rotation angle configuration item 203 may further include: control 2032 and control 2033; wherein, control 2032 is used to increase the value of the first rotation angle displayed in the input box 2031; and control 2023 is used to decrease the value of the first rotation angle displayed in the input box 2031.

[0103] It should be noted that the first rotation angle configured through input box 2031 is a fixed value, and the first rotation angle is the same for each orbiting cycle during the rotation of the surrounding object.

[0104] Another possible implementation, see [link / reference] Figure 2b As shown, the first rotation angle configuration item 203 may also include an input port 2034, wherein the input port 2034 may receive configuration information of the first rotation angle transmitted by other modules or components.

[0105] The "other modules or components" referred to here can include, but are not limited to, addition, subtraction, multiplication, division, random number generation, screen click event detection, and so on. When actually creating surround animation effects, simply connect the interactive interface provided by the desired visualization module or component to input port 2034. The specific implementation method is similar to the aforementioned method of connecting 3D transformation components to 3D transformation component configuration items.

[0106] For example, refer to Figure 2h As shown, the interactive interface of the division operation module m4 is connected to the input port 2034 by lines. The interactive interface of the division operation module m4 can transmit the division operation result to the input port 2034 to configure the division operation result as the first rotation angle.

[0107] In practical applications, the component or module connected to the input port 2034 can also be connected to one or more modules or components, and obtain data or trigger signals from the connected modules or components, etc.

[0108] Optionally, in the 3D surround parameter configuration window 200, the first rotation angle configuration item 203 can display a default first rotation angle. If the default first rotation angle meets the user's needs, the user does not need to reconfigure it, which can reduce user operations and improve the efficiency of special effects production.

[0109] It should be noted that the 3D surround parameter configuration window may only include input box 2031, or it may only include visual input port 2034, or it may also include other input ports such as... Figure 2b As shown, two configuration options, input box 2031 and input port 2034, will be provided for users to choose from.

[0110] 4. Configuration item 204 for orbital speed variation mode

[0111] The orbital velocity variation mode refers to the way the velocity of the orbiting object changes during one orbital cycle. For example, the orbital velocity variation mode can include, but is not limited to, linear, fast-then-slow, slow-then-fast, slow-in-slow-out, etc. Each of the above orbital velocity variation modes corresponds to a functional equation.

[0112] One possible implementation method, see reference Figure 2b As shown, the configuration item 204 for the surround speed change method is control 2041. When a user operation (such as a click operation) is received on control 2041, it can be referred to... Figure 2c As shown, menu bar 2042 can be displayed in the 3D surround parameter configuration window, providing various surround speed variation methods. Users can select the options provided in the menu bar to configure the surround speed variation method.

[0113] Another possible implementation, see [link / reference] Figure 2d As shown, in the 3D surround parameter configuration window, the surround speed change mode configuration item 204 includes: area 2043; wherein, area 2043 includes multiple surround speed change mode options, each surround speed change mode option includes the name of the surround speed change mode and control 2044, wherein, control 2044 is used to identify the selected state of its corresponding surround speed change mode.

[0114] exist Figure 2d In the case shown, if control 2044 corresponding to one of the orbital speed change methods is selected, then all other controls corresponding to the orbital speed change methods will be unselected.

[0115] Optionally, combined Figures 2b to 2d As shown, the orbital speed change mode configuration item 204 may include an input port 2045, wherein the input port 2045 is used to receive orbital speed change mode configuration information transmitted by other modules or components.

[0116] The "other modules or components" referred to here can include, but are not limited to, addition, subtraction, multiplication, division, random number generation, screen click event detection, and so on. When actually creating surround animation effects, simply connect the interactive interface provided by the desired visualization module or component to input port 2045. The specific implementation method is similar to the aforementioned method of connecting 3D transformation components to 3D transformation component configuration items.

[0117] For example, refer to Figure 2h As shown, the interaction interface of the left eye blink event detection component m5 is connected to the input port 2045 by a line. The interaction interface of the left eye blink event detection component m5 can transmit the detection result to the input port 2045 so that when the left eye blink event is detected, the configured surround speed transformation method is adopted.

[0118] In practical applications, the component or module connected to the input port 2045 can also be connected to one or more modules or components, and obtain data or trigger signals from the connected modules or components, etc.

[0119] Optionally, in the 3D surround parameter configuration window 200, the surround speed change method configuration item 204 can display the default surround speed change method. If the default surround speed change method meets the user's needs, the user does not need to reconfigure it, which can reduce user operations and improve the efficiency of special effects production.

[0120] It should be noted that in the 3D surround parameter configuration window 200, the surround speed change method configuration item 204 can be configured as follows: Figure 2b As shown, it can also be as follows Figure 2c or Figure 2d As shown in the figure, or it can be achieved in other ways.

[0121] 5. Target single orbit duration configuration item 205

[0122] The target single orbit duration represents the time required for the orbiting object to complete one orbit cycle.

[0123] One possible implementation method, see Figure 2b As shown, the target single orbit duration configuration item 205 can include an input box 2051. The user can input the target single orbit duration by operating the input box 2051.

[0124] Another possible implementation, see [link / reference] Figure 2eAs shown, the target single-loop duration configuration item 205 may include a control 2052. When a user operation on the control 2052 (such as a click operation) is detected, a menu bar 2053 is displayed in the 3D surround parameter configuration window 200. The menu bar 2053 provides a variety of different single-loop durations, and the user can select one of the multiple options provided in the menu bar 2053 to configure the target single-loop duration.

[0125] exist Figure 2e In the scenario shown, if one of the single orbit duration options is selected, all other single orbit duration options will be unselected. The selected single orbit duration option is the target single orbit duration.

[0126] Optionally, in the 3D surround parameter configuration window 200, the target single surround duration configuration item 205 can display the default target single surround duration. If the default target single surround duration meets the user's needs, the user does not need to reconfigure it, which can reduce user operations and improve the efficiency of special effects production.

[0127] Optionally, combined Figure 2b as well as Figure 2e As shown, the target single-encircle duration configuration item 205 may include an input port 2054, wherein the input port 2054 is used to receive the target single-encircle duration configuration information transmitted by other modules or components.

[0128] The "other modules or components" referred to here can include, but are not limited to, addition, subtraction, multiplication, division, random number generation, screen click event detection, and so on. When actually creating surround animation effects, simply connect the interactive interface provided by the desired visualization module or component to input port 2054. The specific implementation method is similar to the aforementioned method of connecting 3D transformation components to 3D transformation component configuration items.

[0129] For example, refer to Figure 2h As shown, the interactive interface of the addition module m6 is connected to the input port 2045 by a line. The interactive interface of the addition module m6 can transmit the addition result to the input port 2045 so that the addition result can be configured as the target single-round duration.

[0130] In practical applications, the component or module connected to the input port 2045 can also be connected to one or more modules or components, and obtain data or trigger signals from the connected modules or components, etc.

[0131] It should be noted that in the 3D orbit parameter configuration window 200, the target single orbit duration configuration item 205 can be configured as follows: Figure 2b As shown, it can also be as follows Figure 2e As shown in the figure, or it can be achieved in other ways.

[0132] 6. Target Orbit Count Configuration Item 206

[0133] The target orbit count represents the total number of orbit cycles that the orbiting object needs to complete.

[0134] One possible implementation method, see Figure 2b As shown, the target orbit count configuration item 206 may include an input box 2061, through which the user can input the target orbit count.

[0135] Optionally, the target surround number configuration item 206 may also include controls 2062 and 2063; wherein, control 2062 is used to increase the value of the target surround number displayed in the input box 2061; and control 2063 is used to decrease the value of the target surround number displayed in the input box 2061.

[0136] In practical applications, input box 2061 can display the default number of target orbits.

[0137] Another possible implementation, see [link / reference] Figure 2f As shown, the target surround count configuration item 206 may include control 2064; when a user action (such as a click action) on control 2064 is detected, such as... Figure 2f As shown, the 3D surround parameter configuration window 200 displays a menu bar 2065, which provides various options for the number of surround cycles. Users can configure the target number of surround cycles by selecting the options provided in the menu bar 2065.

[0138] In another possible implementation, refer to Figure 2g As shown, when user input is detected... Figure 2b When the input box 2061 is operated (such as clicked), a numeric scroll bar 2066 is displayed, and the value in the scroll bar is shown in the display box. The user can adjust the value in the scroll bar by operating (such as swiping up or down), thereby configuring the target number of rotations.

[0139] Optionally, combined Figure 2b , Figure 2f as well as Figure 2g As shown, the target orbit count configuration item 206 may also include an input port 2067, wherein the input port 2067 is used to receive configuration information of the target orbit count transmitted by other modules or components.

[0140] The "other modules or components" referred to here can include, but are not limited to, addition, subtraction, multiplication, division, random number generation, screen click event detection, and so on. When actually creating surround animation effects, simply connect the interactive interface provided by the desired visualization module or component to input port 2067. The specific implementation method is similar to the aforementioned method of connecting 3D transformation components to 3D transformation component configuration items.

[0141] For example, refer to Figure 2h As shown, the interaction interface of the random number generation module m7 is connected to the input port 2054 by a line. The interaction interface of the random number generation module m7 can pass the generated random number to the input port 2054 to configure the random number as the target number of orbits.

[0142] In practical applications, the component or module connected to the input port 2054 can also be connected to one or more modules or components, and obtain data or trigger signals from the connected modules or components, etc.

[0143] Optionally, in the 3D surround parameter configuration window 200, the target surround number configuration item 206 can display the default target surround number. If the default target surround number meets the user's needs, the user does not need to reconfigure it, which can reduce user operations and improve the efficiency of special effects production.

[0144] It should be noted that in the 3D surround parameter configuration window, the target surround number configuration item can be configured as follows: Figure 2b As shown, it can also be as follows Figure 2f or Figure 2g As shown in the figure, or it can be achieved in other ways.

[0145] It should be understood that, in practical applications, the above... Figures 2b to 2g The implementation methods of each configuration item shown are merely examples and are not restrictions on the implementation methods of each configuration item. It should be understood that in actual applications, the layout of each configuration item in the 3D surround parameter configuration window and the specific implementation method of each configuration item can be flexibly set according to requirements.

[0146] In this solution, the 3D surround parameter configuration window provides various configuration items for generating target 3D surround animation effects, allowing users to easily configure the 3D surround parameters. If the default values ​​of each configuration item meet the requirements, the user does not need to modify them; if the default values ​​do not meet the requirements, they can be reconfigured according to the user's actions, which can improve the production efficiency of special effects.

[0147] S103. Generate a configuration file for the target 3D surround animation effect based on the configuration information of the multiple configuration items.

[0148] In this solution, the target 3D surround animation effect is an animation effect in which the surrounding object rotates in 3D space around the surrounding point as the center of rotation. The surrounding plane in which the surrounding object orbits in 3D space can be dynamically changing or fixed; this disclosure does not impose any restrictions on this. Furthermore, the surrounding plane is determined based on the configuration information of the surrounding point configuration item and the surrounding axis system configuration item.

[0149] Specifically, for the surrounding object, the values ​​of each configuration item displayed in the associated 3D surrounding parameter configuration window are stored in the special effects script template corresponding to the 3D surrounding parameter configuration window to obtain the special effects script fragment corresponding to the surrounding object.

[0150] If the target 3D surround animation effect to be generated includes a surround object, then the configuration file for the target 3D surround animation effect is generated based on the effect script fragment corresponding to the surround object.

[0151] If the target 3D surround animation effect to be generated includes multiple surround objects, then an effect script fragment can be obtained for each surround object; then, the script fragments corresponding to multiple surround objects are spliced ​​together to obtain the configuration file of the target 3D surround animation effect.

[0152] The method provided in this embodiment encapsulates the requirements for creating 3D surround animation effects and provides users with a visual 3D surround parameter configuration window for easy operation. After the user associates the surround object with the 3D surround parameter configuration window, they can configure the 3D surround parameters corresponding to the surround object by operating the configuration items provided in the window. Then, based on the values ​​of each configuration item in the 3D surround parameter configuration window associated with the surround object, the configuration file for the target 3D surround animation effect is automatically generated. Compared with the existing technology of manually writing scripts, this method is more convenient and faster, and can effectively improve the production efficiency of 3D surround animation effects. In addition, the method of this embodiment can be applied to the production of target 3D surround animation effects with any type of material as the surround object, and has a wide range of applications.

[0153] In practical applications, for target 3D surround animation effects, it may also be necessary to configure information to control the starting, pausing, continuing, and stopping of the surrounding object in the target 3D surround animation effect. Therefore, the 3D surround parameter configuration window can also include: event-triggered configuration items; among which, event-triggered configuration items can include one or more of the following: start surround configuration item, pause surround configuration item, continue surround configuration item, and stop surround configuration item.

[0154] Accordingly, if the user inputs a configuration operation for the first target configuration item, the configuration file corresponding to the target 2D surround animation effect may also include the configuration information of the first target configuration item. The first target configuration item may include one or more of the above-mentioned start surround configuration item, pause surround configuration item, continue surround configuration item, and stop surround configuration item.

[0155] Figure 3a An exemplary schematic diagram of the 3D surround parameter configuration window is shown. (Refer to...) Figure 3a As shown, in Figure 2b In addition to the above, the 3D surround parameter configuration window 200 also includes a start surround configuration item 207. The start surround configuration item 207 is used to receive configuration information input by the user to control the start of rotation of the surround object.

[0156] One possible implementation is that the Start Around configuration item 207 includes a visual input port 2071; when the input port 2071 receives a signal that triggers the rotation of the surrounding object, it controls the surrounding object to begin rotating.

[0157] For example, suppose that controlling the wrapping of an object to begin wrapping is triggered by an event. (See reference...) Figure 3b As shown, you can add event detection components (such as...) in the effects editing interface by inputting the corresponding event detection component addition commands. Figure 3b The event detection component shown is associated with the input port of the Start Surround Configuration 207 through an association operation. When the event detection component detects a corresponding event, it sends a signal to the Start Surround Configuration 207 instructing the surrounding object to start rotating. The input port 2071 receives the signal and modifies the value of the corresponding parameter in the special effects script segment corresponding to the surrounding object in the configuration file. When the special effects script segment is run, the surrounding object can be controlled to start rotating.

[0158] The events that trigger the start of the surround sound can be, for example, screen tap events, facial expression events (such as smiling, opening mouth, etc.), gesture events, action events (such as nodding, turning head left or right), etc.

[0159] Optionally, the Start Surround Configuration 207 may also include a control 2072; when a user action (such as a click) is received on the control 2072, the surrounding object is controlled to begin rotating. It should be understood that the control 2072 facilitates user operation during the production of 3D surround animation effects. For example, when a user previews a target 3D surround animation effect, they can click the control 2072 to control the surrounding object to begin rotating.

[0160] Reference Figure 3aAs shown, the 3D surround parameter configuration window 200 also includes a pause surround configuration item 208. The pause surround configuration item 208 is used to receive user-inputted configuration information to pause the rotation of the surround object.

[0161] One possible implementation is that the pause surround configuration item 208 includes a visual input port 2081; when the input port 2081 receives a signal that triggers the surround object to pause rotation, it controls the surround object to pause rotation.

[0162] For example, suppose that controlling the pause of the wraparound object is triggered by an event. (See also...) Figure 3b As shown, you can add event detection components (such as...) in the effects editing interface by inputting the corresponding event detection component addition commands. Figure 3b The event detection component shown is associated with the input port of the pause surround configuration item 208 through an association operation. When the event detection component detects a corresponding event, it sends a signal to the pause surround configuration item 208 instructing the surround object to pause its rotation. The input port 2081 receives the signal and modifies the value of the corresponding parameter in the effect script fragment corresponding to the surround object in the configuration file. By running the effect script fragment, the rotation of the surround object can be paused.

[0163] The events that trigger the pause surround sound can be, for example, screen tap events, facial expression events (such as smiling, opening mouth, etc.), gesture events, motion events (such as nodding, turning head left or right), etc.

[0164] Optionally, the pause surround configuration item 208 may also include a control 2082; when a user action (such as a click) is received on the control 2082, the surround object is controlled to pause rotation.

[0165] It should be understood that during the production of 3D surround animation effects, control 2082 allows users to operate it conveniently. For example, when a user is previewing the target 3D surround animation effect, they can click control 2082 to control the surrounding object to pause its rotation.

[0166] Reference Figure 3a As shown, the 3D surround parameter configuration window 200 also includes a continue surround configuration item 209. The continue surround configuration item 209 is used to receive user input configuration information to control the surround object to continue rotating from the paused position.

[0167] One possible implementation is that the continue-around configuration item 209 includes a visual input port 2091; when the input port 2091 receives a signal that triggers the continue-around object to continue rotating, it controls the continue-around object to start rotating from the paused position.

[0168] For example, suppose that controlling the surround object to resume surround from a paused surround state is triggered by an event. See [reference] Figure 3b As shown, you can add event detection components (such as...) in the effects editing interface by inputting the corresponding event detection component addition commands. Figure 3b The event detection component (shown in the diagram) is associated with the input port of the Continue Surround configuration item 209 through an association operation. When the event detection component detects a corresponding event, it sends a signal to the Continue Surround configuration item 209 instructing the object to continue surrounding. The input port 2091 receives this signal and modifies the value of the corresponding parameter in the special effects script fragment corresponding to the object in the configuration file. By running the special effects script fragment, the object can be controlled to continue surrounding from the paused position.

[0169] The events that trigger the continued loop can be, for example, screen tap events, facial expression events (such as smiling, opening mouth, etc.), gesture events, action events (such as nodding, turning head left or right), etc.

[0170] It should be noted that the events that trigger the surrounding object to start, pause, and resume surrounding can be the same. For example, when the user taps the screen for the first time, the surrounding object starts to rotate; when the user taps the screen for the second time, the surrounding object pauses; and when the surrounding object is paused, if the user taps the screen for the third time, the surrounding object resumes rotating from the paused position.

[0171] Optionally, the continue-around configuration item 209 may also include a control 2092; when a user operation (such as a click operation) is received on the control 2092, the control continues to rotate from the paused position.

[0172] It should be understood that during the production of surround animation effects, control 2092 allows users to operate it conveniently. For example, when a user previews the target 3D surround animation effect, they can click control 2092 to control the surrounding object to continue rotating from the paused position.

[0173] Reference Figure 3a As shown, the 3D surround parameter configuration window 200 also includes a stop surround configuration item 210. The stop surround configuration item 210 receives user input to control the surround object to stop rotating and return to its initial position.

[0174] The initial position of the surrounding object can be obtained through the component in the 3D transformation component that carries the attribute information of the surrounding object.

[0175] One possible implementation is that the Stop Around Configuration 210 includes a visual input port 2101; when the input port 2101 receives a signal that triggers the surrounding object to stop rotating, it controls the surrounding object to stop rotating and return to its initial position.

[0176] For example, suppose that controlling the wrapping of an object to stop wrapping is triggered by an event. (See also...) Figure 3b As shown, you can add event detection components (such as...) in the effects editing interface by inputting the corresponding event detection component addition commands. Figure 3b The event detection component (shown in the diagram) is associated with the input port of the Stop Rotation configuration item 210 through an association operation. When the event detection component detects a corresponding event, it sends a signal to the Stop Rotation configuration item 210 instructing the object to stop rotating. The input port 2101 receives the signal and modifies the value of the corresponding parameter in the special effects script segment corresponding to the object in the configuration file. By running the special effects script segment, the object can be controlled to stop rotating and return to its initial position.

[0177] The events that trigger the stopping of the surround sound can be, for example, screen tap events, facial expression events (such as smiling, opening mouth, etc.), gesture events, action events (such as nodding, turning head left or right), etc.

[0178] Optionally, the Stop Surround Configuration 210 may also include a control 2102; when a user action (such as a click) is received on the control 2102, the surrounding object is controlled to stop rotating and return to its initial position.

[0179] It should be understood that during the production of 3D surround animation effects, control 2102 allows users to operate it conveniently. For example, when a user previews the target 3D surround animation effect, they can click control 2102 to stop the surrounding object from rotating and restore it to its initial position.

[0180] In practical applications, events that trigger the surrounding object to start, pause, continue, or stop surrounding can be facial expression events, gesture events, or voice events, and are not limited to the screen tap events described above.

[0181] In this embodiment, the above-mentioned start surround, pause surround, continue surround, and stop surround configuration options are provided through a 3D surround parameter configuration window. Users can input the configuration information to control the target 3D surround animation effect by entering the corresponding operation for the configuration item in the special effects editing interface. This operation is simple and convenient for users. Compared with the existing technology of manually writing scripts, this solution makes creating 3D surround animation effects more convenient and faster, effectively improving the production efficiency of target 3D surround animation effects.

[0182] Optionally, in Figure 3a Based on the illustrated embodiment, the three-dimensional surround parameter configuration window 200 may further include: surround object rotation configuration item 211. Wherein, surround object rotation configuration item 211: is used to receive configuration information input by the user to control the rotation of the surround object.

[0183] Reference Figure 3a As shown, the surrounding object rotation configuration item 211 may include: control 2111.

[0184] When control 2111 is opened, the surrounding object rotates on its own axis while surrounding the surrounding point; when control 2111 is closed, the surrounding object does not rotate on its own axis while surrounding the surrounding point.

[0185] For example, the following is by Figures 4a to 4c The frames shown illustrate the surround animation effects, illustrating the cases where the surrounding object rotates and the cases where it does not.

[0186] Assuming control 2111 is closed, the surrounding object will not rotate on its own axis during rotation. For example, combined with... Figure 4a and Figure 4b As shown, the direction the arrow points to remains unchanged, and the front of the object always faces forward.

[0187] Assuming control 2111 is opened, the surrounding object will rotate on its own axis during rotation. For example, combined with... Figure 4a and Figure 4c As shown, the direction the arrow points to has changed. Figure 4a In the middle, the front of the object is facing forward, in Figure 4c In the middle, the front of the object is facing to the side.

[0188] In practical applications, the control 2111 can be turned on or off as needed.

[0189] In some cases, the orbital object rotation configuration item 211 may include a visual input port 2112. The input port 2112 is used to receive orbital object rotation configuration information transmitted from other modules or components.

[0190] The "other modules or components" referred to here may include, but are not limited to, addition, subtraction, multiplication, division, random number generation, screen click event detection, and so on. When actually creating surround animation effects, simply connect the interactive interface provided by the desired visualization module or component to input port 2112. The specific implementation method is similar to the aforementioned method of connecting 3D transformation components to 3D transformation component configuration items.

[0191] For example, refer to Figure 3b As shown, the interactive interface of the numerical comparison module m8 is connected to the input port 2112 by a line. The interactive interface of the numerical comparison module m8 can transmit the comparison result of the numerical values ​​of A and B to the input port 2112, so as to configure the rotation of the surrounding object to be turned on or off according to the numerical comparison result.

[0192] Furthermore, in practical applications, the component or module connected to input port 2112 can also be connected to one or more other modules or components, and obtain data or trigger signals from the connected modules or components, etc. For example... Figure 3b As shown, the numerical comparison module m8 is also connected to the random number generation module. The random number generation module transmits the generated random number to the numerical comparison module m8. The numerical comparison module m8 configures the random number as value A, and then compares the random number with the value B entered by the user through the operation input box to obtain the numerical comparison result.

[0193] It should be noted that the above configuration items 201 to 211 may each include one input port or multiple input ports.

[0194] In some cases, multiple surrounding objects can be interconnected. For example, the surrounding state of surrounding object A can control the surrounding state of surrounding object B; or the position of surrounding object A can be used to configure the surrounding point of surrounding object B; in some cases, relevant information about the surrounding objects can be passed to some modules or components of the surrounding animation effects processing device; of course, there are many more scenarios, which will not be listed here. Based on such scenario requirements, the 3D surrounding parameter configuration window corresponding to the surrounding object can also include some visual output ports. For example, start surrounding trigger configuration items, pause surrounding trigger configuration items, continuous surrounding trigger configuration items, stop surrounding trigger configuration items, position data output configuration items, rotation data output configuration items, etc.

[0195] Accordingly, if the user inputs configuration operations for the second target configuration item, the configuration file corresponding to the target 2D surround animation effect may also include configuration information for the second target configuration item. The second target configuration item may include one or more of the following: start surround trigger configuration item, pause surround trigger configuration item, continuous surround trigger configuration item, and stop surround trigger configuration item.

[0196] If the user inputs configuration operations for the position data output configuration item and / or rotation data output configuration item, the configuration file for the target 3D surround animation effect may also include configuration information for the position data output configuration item and / or rotation data output configuration item.

[0197] The following is through Figure 5 , Figures 6a to 6e The illustrated embodiments provide a detailed description of these visualized output ports.

[0198] Reference Figure 5 As shown, in Figure 2b Based on the embodiment shown, the three-dimensional surround parameter configuration window 200 further includes: a start surround trigger configuration item 212, wherein the start surround trigger configuration item 212 is used to output a first signal to indicate that the surround object has started its first surround when the first surround is detected.

[0199] One possible implementation is that the start-around trigger configuration item 212 includes a visual output port 2121. The user can send a first signal to a connected module or component by operating the output port 2121.

[0200] For example, refer to Figure 6a As shown, Figure 6a It includes a 3D surround parameter configuration window p1 associated with surround object a and a 3D surround parameter configuration window p2 associated with surround object b. Users can connect the start surround trigger configuration item in the 3D surround parameter configuration window p1 with the start surround configuration item in the 3D surround parameter configuration window p2 through visual connections, so as to trigger the synchronous rotation of surround object b when surround object a starts to rotate.

[0201] Reference Figure 5 As shown, in Figure 2b Based on the embodiment shown, the three-dimensional surround parameter configuration window 200 further includes a continuous surround trigger configuration item 213, wherein the continuous surround trigger configuration item 213 is used to output a second signal to indicate that the surround object is continuously surrounding when the continuous surround is detected.

[0202] One possible implementation is that the continuous surround trigger configuration item 213 includes a visual output port 2131. A user can send a second signal to a connected module or component by operating the output port 2131.

[0203] For example, refer to Figure 6b As shown, Figure 6b The system includes a 3D surround parameter configuration window p1 associated with surround object a and a 3D surround parameter configuration window p2 associated with surround object b. Users can connect the continuous surround trigger configuration item in the 3D surround parameter configuration window p1 with the start surround configuration item in the 3D surround parameter configuration window p2 using lines, thereby triggering surround object b to start rotating when surround object a begins to enter the second surround cycle.

[0204] Reference Figure 5 As shown, in Figure 2bBased on the embodiment shown, the three-dimensional surround parameter configuration window further includes: a pause surround trigger configuration item 214, wherein the pause surround trigger configuration item 214 is used to output a third signal to indicate that the surround object has paused surround when the surround object is detected to have paused surround.

[0205] One possible implementation is that the pause surround trigger configuration item 214 includes a visual output port 2141. Users can send a third signal to a connected unit or module via the output port 2141.

[0206] For example, refer to Figure 6c As shown, Figure 6c The system includes a 3D surround parameter configuration window p1 associated with surround object a and a 3D surround parameter configuration window p2 associated with surround object b. Users can connect the pause surround trigger configuration item in the 3D surround parameter configuration window p1 with the pause surround configuration item in the 3D surround parameter configuration window p2 through a visual connection, so as to trigger the surround object b to pause surround synchronously when surround object a pauses surround.

[0207] Reference Figure 5 As shown, in Figure 2b Based on the embodiment shown, the three-dimensional surround parameter configuration window further includes: a stop surround trigger configuration item 215, wherein the stop surround trigger configuration item 215 is used to output a fourth signal to instruct the surround object to stop surround when the surround object is detected to stop surround.

[0208] One possible implementation is that the stop surround trigger configuration item 215 includes a visual output port 2151. Users can send a fourth signal to a connected module or component via the output port 2151.

[0209] For example, refer to Figure 6d As shown, Figure 6d It includes a 3D surround parameter configuration window p1 associated with surround object a and a 3D surround parameter configuration window p2 associated with surround object b. Users can connect the stop surround trigger configuration item in the 3D surround parameter configuration window p1 with the start surround configuration item in the 3D surround parameter configuration window p2 through visual connections, so as to trigger the surround object b to start rotating when surround object a stops surrounding.

[0210] Reference Figure 5 As shown, in Figure 2b Based on the embodiment shown, the three-dimensional surround parameter configuration window 200 may further include: a position data output configuration item 216, wherein the position data output configuration item 216 is used to output the position information of the surround object in the current surround animation effect frame (such as the coordinate value of the surround object in the three-dimensional coordinate system).

[0211] In one possible implementation, the location data output configuration item 216 includes a visual output port 2161. Users can send the location data of the surrounding object to connected units or modules via the output port 2161.

[0212] For example, refer to Figure 6e As shown, Figure 6e The system includes a 3D surround parameter configuration window p1 associated with surround object a and a 3D surround parameter configuration window p2 associated with surround object b. Users can connect the position data output configuration item in the 3D surround parameter configuration window p1 with the surround point configuration item in the 3D surround parameter configuration window p2 through visual connections, thereby realizing that the position of surround object a in the current surround animation effect frame is used as the surround point of surround object b in the next surround animation effect frame.

[0213] Reference Figure 5 As shown, in Figure 2b Based on the embodiment shown, the three-dimensional surround parameter configuration window 200 further includes a rotation data output configuration item 217, wherein the rotation data output configuration item 217 is used to output the rotation data of the surround object.

[0214] The rotation data may include the angle by which the object has rotated in the current orbiting cycle.

[0215] In one possible implementation, the rotation data output configuration item 217 includes a visual output port 2171. Users can send rotation data around an object to connected units or modules via the output port 2171.

[0216] For example, refer to Figure 6f As shown, Figure 6f This includes a 3D surround parameter configuration window p1 associated with the surrounding object a, and a visualized rotation data monitoring node (i.e., Figure 6f As shown in the actual orbit count monitoring node, users can connect the rotation data output configuration item in the 3D orbit parameter configuration window p1 to the input port of the actual orbit count monitoring node through a visual connection, thereby realizing real-time monitoring of the rotation status of the orbiting object a.

[0217] Figures 6a to 6f Using two surround objects as an example, this illustrates how to associate configuration items in the 3D surround parameter configuration window of one surround object with configuration items in the 3D surround parameter configuration window of another surround object, thereby achieving associated control between the two surround objects. Furthermore, the above... Figures 6a to 6f The association method can be used alone or in combination.

[0218] Figure 7This is a schematic diagram illustrating the sequential association of three-dimensional surround parameter configuration windows for multiple surrounding objects according to an embodiment of this disclosure. Specifically, Figure 7 An exemplary diagram illustrates the interconnected 3D surround parameter configuration windows for three surrounding objects within the special effects editing interface.

[0219] Reference Figure 7 As shown, the three surrounding objects are s1, s2, and s3. The 3D surrounding parameter configuration window for surrounding object s1 is r1, the 3D surrounding parameter configuration window for surrounding object s2 is r2, and the 3D surrounding parameter configuration window for surrounding object s3 is r3.

[0220] Reference Figure 7 As shown, the start surround configuration item of r1 is connected to the detection unit, which is used to detect screen click events; the start surround trigger configuration item of r1 is connected to the start surround configuration item of r2, and the start surround trigger configuration item of r2 is connected to the start surround configuration item of r3. Through Figure 7 The method shown associates the 3D surround parameter configuration windows corresponding to the three surround objects respectively, which enables the configuration to control the surround objects s1, s2 and s3 to start rotating synchronously when the detection unit detects the user clicking the screen.

[0221] When creating surround animation effects, if there are more surround objects, multiple surround animation effects can be linked together using the above method.

[0222] Figure 8 This is a flowchart illustrating the control principle of a target 3D surround animation effect provided in one embodiment of the present disclosure. For example, taking a surrounding object as an example, the control principle of the target 3D surround animation effect may include the following steps:

[0223] S201a: Check if the configuration information for the Start Around configuration item is met.

[0224] When the configuration information that satisfies the Start Around configuration item is detected, the Start Around flag is set to "True", and the actual number of times the object is surrounded is obtained. If the configuration information that does not satisfy the Start Around configuration item is not met, the Start Around flag is set to "False".

[0225] In some cases, triggering the start of the surround object may not have any triggering conditions. In such cases, the start surround flag in the configuration file is set to "true", and there is no need to check whether the configuration information of the start surround configuration item is met. That is to say, step S201a can be omitted, and the status of the start surround flag can be checked directly.

[0226] S201b: Obtain the actual number of orbits. The initial value of the actual number of orbits is 0.

[0227] S202: Determine if the actual number of orbits is less than the target number of orbits. If the actual number of orbits is less than the target number of orbits, proceed to step 203. If the actual number of orbits is equal to the target number of orbits, stop orbiting.

[0228] S203: Based on the position of the surrounding object in the first surrounding animation effect frame, the surrounding point, the surrounding axis, the single surrounding duration of the target, the first rotation angle, and the way the surrounding speed changes, obtain the position of the surrounding object in the second surrounding animation effect frame.

[0229] The first and second surround animation effect frames are two adjacent surround animation effect frames, with the first surround animation effect frame preceding the second surround animation effect frame. The initial value of the position of the surround object in the first surround animation effect frame is the position of the surround object set when the surround object is acquired.

[0230] The position of the surrounding object set when acquiring the surrounding object can also be called the initial position of the surrounding object. Optionally, the initial position of the surrounding object can be obtained through the component in the 3D transformation component of the surrounding object that carries the attribute information of the surrounding object.

[0231] One possible implementation may include the following steps:

[0232] First, the second rotation angle is calculated based on the target's single orbit duration, the first rotation angle, the orbit speed change pattern, and the time difference between the first and second orbit animation effect frames. The second rotation angle refers to the angle the orbiting object needs to rotate when the first orbit animation effect frame is updated to the second orbit animation effect frame.

[0233] Next, based on the orbiting point, orbiting axis, and second rotation angle, the position of the orbiting object in the second orbiting animation effect frame is obtained. Specifically, a coordinate transformation matrix is ​​calculated based on the orbiting point, orbiting axis, and second rotation angle. The position of the orbiting object in the second orbiting animation effect frame can be obtained based on the position of the orbiting object in the first orbiting animation effect frame and the coordinate transformation matrix.

[0234] The following example demonstrates... Figure 9 The coordinate system shown will be explained in detail.

[0235] Reference Figure 9 The diagram includes two coordinate systems: the XYZ coordinate system and the x'y'z' coordinate system.

[0236] Among them, the XYZ coordinate system is the world coordinate system, which can be understood as a hypothetical coordinate system. Once specified in the process of creating 3D surround animation effects, it is a 3D coordinate system that will not change.

[0237] The x'y'z' coordinate system is a three-dimensional coordinate system established based on the first plane of rotation where the object is located, the orbital axis, and the position (point P) of the object in the first orbital animation effect frame. (Refer to...) Figure 9 As shown, the z' axis is the surrounding axis system, x'Oy' is the first rotation plane, and the positive direction of the x' axis is the direction from the actual rotation center point O to the position point P of the surrounding object in the first surrounding animation effect frame. The y' axis is the direction perpendicular to the x' axis and the y' axis.

[0238] Reference Figure 9 As shown in the x'y'z' coordinate system, the object rotates around point O in the x'Oy' plane within the x'y'z' coordinate system. Furthermore, the object rotates from point P to point P' within a unit time dt.

[0239] The unit time dt referred to here is the time difference between the first and second surround animation effect frames mentioned earlier; the rotation angle of the surrounding object per unit time dt is α, which is the second rotation angle mentioned earlier.

[0240] The second rotation angle α can be calculated using the Bézier curve formula based on the curve type corresponding to the orbital speed change mode configured in the orbital speed change mode configuration item, the target single orbit duration, and the first rotation angle. Of course, in practical applications, it is not limited to using the Bézier curve formula; other curves that can perform smooth speed change control can also be used.

[0241] Continue to refer to Figure 9 As shown, the unit vector around the axis system And satisfy n x 2 +n y 2 +n z 2 =1. Where, n x Describes the unit vector around the axis system. Components on the X-axis; n y Indicates the surrounding shaft system The y-component of the unit vector; n y Describes the unit vector around the axis system. The component on the Z-axis.

[0242] The equation of the straight line surrounding axis n in the plane coordinate system is shown in formula (1):

[0243]

[0244] In formula (1), k is the independent variable. Among them, x0, y0, and z0 are the coordinate values ​​of the surrounding point Q in the XYZ coordinate system.

[0245] The formula (2) satisfied by the first surrounding plane containing arc PP' is shown below:

[0246] n x (xP x )+n y (yP y )+n z (zP z )=0 formula (2)

[0247] Among them, P x This represents the coordinates of point P on the X-axis; P y This represents the Y-coordinate of point P; P z This represents the coordinates of point P on the Z-axis.

[0248] Based on formulas (1) and (2), formula (3) can be obtained as follows:

[0249] k0 = n x (P x -x0)+n y (P y -y0)+n z (P z -z0) Formula (3)

[0250] Assume the actual rotation center O has coordinates (x, y, z) in the XYZ coordinate system. c y c , z c Substituting formula (3) into formula (1), we can obtain that the actual rotation center O in the XYZ coordinate system satisfies formula (4):

[0251]

[0252] In formula (4), k0 is a constant.

[0253] The radius of rotation r of the object in the first plane of rotation satisfies formula (5):

[0254]

[0255] Unit vector As shown below, it satisfies formula (6):

[0256]

[0257] Based on the above formulas (1) to (6), the rotation transformation matrix from the x'y'z' coordinate system to the XYZ coordinate system satisfies formula (7):

[0258]

[0259] Point P' satisfies formula (8) in the x'y'z' coordinate system:

[0260] x t =r cos(α)

[0261] y t =r sin(α)

[0262] z t =0 Formula (8)

[0263] In formula (8), x t This represents the coordinates of point P' on the x' axis; y t This represents the coordinates of point P' on the y' axis; z t This represents the coordinates of point P' on the z' axis.

[0264] By performing a homogeneous transformation on formula (8), we can obtain that the coordinates of point P' in the x'y'z' coordinate system, transformed to the XYZ coordinate system, satisfy formula (9):

[0265]

[0266] In formula (9), P x ′ represents the coordinates of point P' on the X-axis; P y ′ represents the Y-coordinate of point P'; P z ′ represents the Z-coordinate of point P'; T 4*4 This represents the coordinate transformation matrix.

[0267] Wherein, the coordinate transformation matrix T 4*4 Satisfies formula (10):

[0268]

[0269] S204: Based on the position of the surrounding object in the second surrounding animation effect frame, obtain and store the second surrounding animation effect frame.

[0270] Specifically, based on the position of the surrounding object in the second surrounding animation effect frame, the attribute information (i.e., position information) of the surrounding object carried in the 3D transformation component is updated to obtain the second surrounding animation effect frame.

[0271] S205: Update the second surround animation effect frame to the first surround animation effect frame.

[0272] S206: Detect the actual single orbit duration of the object and determine whether the actual single orbit duration is equal to the target single orbit duration.

[0273] If the actual single orbit duration is less than the target single orbit duration, then return to steps S203 to S206; if the actual single orbit duration is equal to the target single orbit duration, then proceed to step S207.

[0274] S207: Update the actual number of orbits. Increment the value of the actual number of orbits by 1; and return to steps S201b through S207.

[0275] By executing steps S201a to S207, the orbiting continues until the actual number of orbits equals the target number of orbits, at which point the orbiting stops.

[0276] Optionally, in the above process, when determining whether the actual number of orbits is less than the target number of orbits, if it is determined that the actual number of orbits is equal to 1, step S2011 can also be executed: according to the configuration information of the start orbit trigger configuration item, send a first signal to the first target input port to indicate that the orbiting object has started orbiting.

[0277] The first target input port is the port connected to the output port of the Start Surround Trigger configuration item in the special effects editing interface.

[0278] Optionally, in the above process, when determining whether the actual number of orbits is less than the target number of orbits, if it is determined that the actual number of orbits is greater than 1 and less than the target number of orbits, step S2012 can also be executed: according to the configuration information of the continuous orbit trigger configuration item, a second signal for indicating continuous orbit of the orbiting object is sent to the second target input port.

[0279] The second target input port is the port connected to the output port of the continuous surround trigger configuration item in the special effects editing interface.

[0280] Optionally, in the above process, when determining whether the actual number of orbits is less than the target number of orbits, if it is determined that the actual number of orbits is equal to the target number of orbits, step S2013 can also be executed: according to the configuration information of the stop orbit trigger configuration item, send a fourth signal to the third target input port to instruct the orbiting object to stop orbiting.

[0281] The third target input port is the port connected to the output port of the stop surround trigger configuration item.

[0282] Optionally, in the above process, after performing step S203, the following steps may also be included:

[0283] S2031: Perform matrix decomposition based on the coordinate transformation matrix corresponding to the surrounding object to obtain the rotation Euler angles.

[0284] S2032: Output rotation data, which includes the rotation Euler angles.

[0285] Specifically, the rotation data around the object is sent to the fourth target input port.

[0286] The fourth target input port is the port connected to the rotation data output configuration item associated with the surrounding object in the special effects editing interface.

[0287] S2033: Determine if the surrounding object rotates. If yes, proceed to S2034.

[0288] S2034: Controls the rotation of the object around it based on the Euler angles of rotation.

[0289] Specifically, the configuration information of the surrounding object rotation configuration item can be used to determine whether it is necessary to control the surrounding object to rotate in the second surrounding animation effect frame. If it is determined that the surrounding object needs to rotate, the rotation angle of the surrounding object is the Euler angle of rotation.

[0290] Accordingly, in S205, the second surround animation effect frame obtained after the surrounding object rotates is updated to the first surround animation effect frame.

[0291] S2035: Output the position data of the surrounding object, including the position of the surrounding object in the second surrounding animation effect frame.

[0292] Specifically, the position data of the surrounding object is sent to the fifth target input port.

[0293] The fifth target input port is the port connected to the position data output configuration item associated with the surrounding object in the special effects editing interface.

[0294] Optionally, during the above process, if configuration information satisfying the pause surround configuration item is detected, the start surround flag is set to "false", the pause surround flag is set to "true", and the surround object is controlled to pause surround. If the pause surround trigger configuration item is connected to a corresponding port, a signal instructing the surround object to pause surround is sent to the port connected to the pause surround trigger configuration item.

[0295] Optionally, assuming the surrounding object is in a paused surrounding state, if configuration information that satisfies the continue surrounding configuration option is detected, the start surrounding flag is set to "true", the pause surrounding flag is set to "false", and the surrounding object is controlled to continue surrounding from the paused position.

[0296] Optionally, during the above process, if configuration information that satisfies the stop surround configuration item is detected, the start surround flag is set to "false", the stop surround flag is set to "true", and the surround object is controlled to pause surround. The initial position of the surround object is obtained according to the component in the 3D transformation component that carries the attribute information of the surround object, and the surround object is restored to the initial position.

[0297] The above process describes the implementation principle of updating the surround animation effect frame for a single surround object. If the target 3D surround animation effect includes multiple surround objects, the above process is performed for each surround object, thus enabling synchronous updates.

[0298] For example, this disclosure provides a surround animation effects processing apparatus.

[0299] Figure 10 This is a schematic diagram of the structure of a surround animation effects processing device provided in an embodiment of this disclosure. (Refer to...) Figure 10 As shown, the surround animation effect device 1000 provided in this embodiment includes:

[0300] Get module 1001, used to get the surrounding object.

[0301] Display module 1002 is used to display the 3D surround parameter configuration window.

[0302] The first processing module 1003 is used to associate the surrounding object with the three-dimensional surrounding parameter configuration window; wherein the three-dimensional surrounding parameter configuration window includes multiple configuration items for generating three-dimensional surrounding animation effects; and, based on the configuration information of the multiple configuration items, generates a configuration file for the target three-dimensional surrounding animation effect; the target three-dimensional surrounding animation effect is an animation effect in which the surrounding object surrounds itself in three-dimensional space.

[0303] In some possible designs, the plurality of configuration items include one or more of the following: orbit point configuration item, target single orbit duration configuration item, orbit axis system configuration item, first rotation angle configuration item, orbit speed change mode configuration item, and target number of orbits configuration item; the first rotation angle is the angle at which the orbiting object rotates within the target single orbit duration.

[0304] In some possible designs, the plurality of configuration items may also include one or more of the following: start surround configuration item, pause surround configuration item, continue surround configuration item, and stop surround configuration item.

[0305] In some possible designs, the acquisition module 1001 is further configured to receive configuration operations input by the user for the first target configuration item; the first processing module 1003 is further configured to acquire configuration information corresponding to the first target configuration item based on the configuration operations for the first target configuration item; the configuration file also includes configuration information corresponding to the first target configuration item.

[0306] The first target configuration item includes one or more of the following: start surround configuration item, pause surround configuration item, continue surround configuration item, and stop surround configuration item.

[0307] In some possible designs, the plurality of configuration items may also include one or more of the following: start surround trigger configuration item, pause surround trigger configuration item, continuous surround trigger configuration item, stop surround trigger configuration item, position data output configuration item, and rotation data output configuration item.

[0308] In some possible designs, the acquisition module 1001 is further configured to receive configuration operations input by the user for the second target configuration item; the first processing module 1003 is further configured to acquire configuration information corresponding to the second target configuration item based on the configuration operations for the second target configuration item; the configuration file also includes configuration information corresponding to the second target configuration item.

[0309] The second target configuration item includes one or more of the following: start surround trigger configuration item, pause surround trigger configuration item, continuous surround trigger configuration item, and stop surround trigger configuration item.

[0310] In some possible designs, the surround animation effect processing device 1000 also includes a second processing module 1004 for updating the surround animation effect frames according to the configuration file of the target 3D surround animation effect.

[0311] In some possible designs, the second processing module 1004 is specifically used to obtain the actual number of times the object is surrounded, and to determine whether the actual number of times is equal to the target number of times; wherein the initial value of the actual number of times is 0; and according to the numerical relationship between the actual number of times and the target number of times, to perform the operation of updating the surrounding animation effect frame according to the configuration information of the multiple configuration items included in the configuration file.

[0312] In some possible designs, the second processing module 1004 is specifically used to perform the following steps:

[0313] Step (a) If the actual number of orbits is less than the target number of orbits, then based on the configuration information of the position of the orbiting object in the first orbiting animation effect frame, the orbiting point configuration item, the orbiting axis configuration item, the target single orbit duration configuration item, the first rotation angle configuration item, and the orbiting speed change mode configuration item, obtain the position of the orbiting object in the second orbiting animation effect frame; wherein, the first orbiting animation effect frame and the second orbiting animation effect frame are two adjacent orbiting animation effect frames, and the first orbiting animation effect frame is located before the second orbiting animation effect frame; the initial value of the position of the orbiting object in the first orbiting animation effect frame is the position of the orbiting object set when the orbiting object is obtained;

[0314] Step (b) Obtain the second surround animation effect frame based on the position of the surrounding object in the second surround animation effect frame.

[0315] Step (c) Update the second surround animation effect frame to the first surround animation effect frame; return to execute steps (a) to (c) until the actual number of surrounds equals the target number of surrounds.

[0316] In some possible designs, after the second processing module 1004 performs the above step (c), it is also used to obtain the actual single orbit duration of the orbiting object; if the actual single orbit duration is equal to the target single orbit duration, the second processing module 1004 updates the actual orbit count; if the actual single orbit duration is less than the target single orbit duration, the actual orbit count is not updated.

[0317] Then, return to steps (a) through (c) until the actual number of orbits equals the target number of orbits.

[0318] In some possible designs, the second processing module 1004 is specifically used to obtain the time difference between the first and second surround animation effect frames; obtain the second rotation angle based on the configuration information of the target single surround duration configuration item, the configuration information of the first rotation angle configuration item, the configuration information of the surround speed change method configuration item, and the time difference; obtain the coordinate transformation matrix based on the position of the surround object in the first surround animation effect frame, the configuration information of the surround point configuration item, the configuration information of the surround axis system configuration item, and the second rotation angle; and obtain the position of the surround object in the second surround animation effect frame based on the coordinate transformation matrix and the position of the surround object in the first surround animation effect frame.

[0319] In some possible designs, the second processing module 1004 is specifically used to obtain the second rotation angle by using the Bézier curve, based on the configuration information of the target single orbit duration configuration item, the configuration information of the first rotation angle configuration item, the configuration information of the orbit speed change mode configuration item, and the time difference.

[0320] In some possible designs, if the configuration file includes configuration information for the orbiting object rotation configuration item, and the configuration information of the orbiting object rotation configuration item instructs the orbiting object to rotate, the second processing module 1004 is further used to perform matrix decomposition on the coordinate transformation matrix to obtain the rotation Euler angles; and is used to control the orbiting object to rotate in the second orbiting animation effect frame according to the rotation Euler angles.

[0321] In some possible designs, if the configuration file includes configuration information for the position data output configuration item, the second processing module 1004 is also used to output the position data of the surrounding object according to the configuration information of the position data output item when running the configuration file. The position data includes the position of the surrounding object in the first surrounding animation effect frame.

[0322] In some possible designs, if the configuration file includes configuration information for the ring rotation data output configuration item, the second processing module 1004 is also used to output the rotation data of the surrounding object according to the configuration information of the rotation data output item when running the configuration file, and the rotation data includes the rotation Euler angle.

[0323] In some possible designs, if the configuration file includes configuration information for the pause surround configuration item, the second processing module 1004 is also used to control the surround object to pause surround based on the configuration information of the pause surround configuration item when running the configuration file.

[0324] In some possible designs, if the configuration file includes configuration information for the "Continue to surround" configuration item, the second processing module 1004 is also used to control the surrounding object to continue surrounding from the pause position according to the configuration information of the "Continue to surround" configuration item when running the configuration file; wherein, the pause position is the position where the surrounding object pauses surrounding.

[0325] In some possible designs, if the configuration file includes configuration information for stopping surround mode, the second processing module 1004 is also used to, when running the configuration file, control the surround object to stop surrounding and restore it to its initial position based on the configuration information of the stop surround mode configuration item. Here, "initial position" refers to the position of the surround object set when the surround object was obtained.

[0326] In some possible designs, if the configuration file includes configuration information for the second target configuration item, the second processing module 1004 is also used to output the target signal corresponding to the second target configuration item according to the configuration information of the second target configuration item when running the configuration file.

[0327] Wherein, if the second target configuration item includes a start surround trigger configuration item, the target signal includes a signal indicating that the surround object starts surround; if the second target configuration item includes a pause surround trigger configuration item, the target signal includes a signal indicating that the surround object pauses surround.

[0328] If the second target configuration item includes a continuous surround trigger configuration item, then the target signal includes a signal indicating that the surround object is continuously surround; if the second target configuration item includes a stop surround trigger configuration item, then the target signal includes a signal indicating that the surround object is stopped surround.

[0329] The apparatus provided in this embodiment can be used to execute the technical solutions in any of the above method embodiments. Its implementation principle and technical effect are similar, and can be referred to the detailed description in the foregoing method embodiments. For the sake of brevity, it will not be repeated here.

[0330] Figure 11This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure. (Refer to...) Figure 11 As shown, the electronic device 1100 provided in this embodiment includes: a memory 1101 and a processor 1102.

[0331] The memory 1101 can be a separate physical unit, which can be connected to the processor 1102 via a bus 1103. The memory 1101 and the processor 1102 can also be integrated together, implemented in hardware, etc.

[0332] The memory 1101 is used to store program instructions, and the processor 1102 calls the program instructions to execute the technical solutions of any of the above method embodiments.

[0333] Optionally, when some or all of the methods in the above embodiments are implemented by software, the electronic device 1100 may also include only the processor 1102. The memory 1101 for storing programs is located outside the electronic device 1100, and the processor 1102 is connected to the memory via circuits / wires for reading and executing the programs stored in the memory.

[0334] The processor 1102 can be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.

[0335] The processor 1102 may further include a hardware chip. This hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0336] The memory 1101 may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory may also include a combination of the above types of memory.

[0337] This disclosure also provides a computer-readable storage medium including computer program instructions, which, when executed by at least one processor of an electronic device, perform the technical solutions of any of the above method embodiments.

[0338] This disclosure also provides a program product comprising a computer program stored in a readable storage medium, wherein at least one processor of the electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the technical solutions of any of the above method embodiments.

[0339] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0340] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing surround animation special effects, characterized in that, include: Get the surrounding object; Display a 3D surround parameter configuration window and associate the surround object with the 3D surround parameter configuration window; wherein, the 3D surround parameter configuration window includes multiple configuration items for generating 3D surround animation effects; Based on the configuration information of the multiple configuration items, a configuration file for the target 3D surround animation effect is generated; the target 3D surround animation effect is an animation effect in which the surround object rotates in 3D space; the multiple configuration items include: a surround object rotation configuration item, wherein the surround object rotation configuration item is used to receive configuration information input by the user to control the rotation of the surround object; The method further includes: Update the surround animation effect frames according to the configuration file of the target 3D surround animation effect.

2. The method according to claim 1, characterized in that, The plurality of configuration items include one or more of the following: orbit point configuration item, target single orbit duration configuration item, orbit axis system configuration item, first rotation angle configuration item, orbit speed change mode configuration item, and target number of orbits configuration item; the first rotation angle is the angle at which the orbiting object rotates within the target single orbit duration.

3. The method according to claim 1, characterized in that, The plurality of configuration items also includes one or more of the following: Start Surround Configuration, Pause Surround Configuration, Continue Surround Configuration, and Stop Surround Configuration.

4. The method according to claim 3, characterized in that, Before generating the configuration file for the target 3D surround animation effect based on the configuration information of the multiple configuration items, the method further includes: Receive user input for configuration operations targeting the first target configuration item; Based on the configuration operation performed on the first target configuration item, the configuration information corresponding to the first target configuration item is obtained; the configuration file also includes the configuration information corresponding to the first target configuration item. The first target configuration item includes one or more of the start surround configuration item, the pause surround configuration item, the continue surround configuration item, and the stop surround configuration item.

5. The method according to claim 1, characterized in that, The plurality of configuration items also includes one or more of the following: start surround trigger configuration item, pause surround trigger configuration item, continuous surround trigger configuration item, stop surround trigger configuration item, position data output configuration item, and rotation data output configuration item.

6. The method according to claim 5, characterized in that, Before generating the configuration file for the target 3D surround animation effect based on the configuration information of the multiple configuration items, the method further includes: Receive user input for configuration operations targeting the second target configuration item; Based on the configuration operation performed on the second target configuration item, the configuration information corresponding to the second target configuration item is obtained; the configuration file also includes the configuration information corresponding to the second target configuration item. The second target configuration item includes one or more of the start surround trigger configuration item, the pause surround trigger configuration item, the continuous surround trigger configuration item, and the stop surround trigger configuration item.

7. The method according to claim 1, characterized in that, The step of updating the surround animation effect frames according to the configuration file of the target 3D surround animation effect includes: Obtain the actual number of times the object is surrounded, and determine whether the actual number of times is equal to the target number of times; wherein, the initial value of the actual number of times is 0; Based on the numerical relationship between the actual number of orbits and the target number of orbits, the operation of updating the orbit animation effect frames according to the configuration information of the multiple configuration items included in the configuration file is performed.

8. The method according to claim 7, characterized in that, The step of updating the surround animation effect frame based on the configuration information of the multiple configuration items included in the configuration file, according to the numerical relationship between the actual number of surrounds and the target number of surrounds, includes: Step (a) If the actual number of orbits is less than the target number of orbits, then based on the configuration information of the orbiting object's position in the first orbiting animation effect frame, the orbiting point configuration item, the orbiting axis configuration item, the target single orbit duration configuration item, the first rotation angle configuration item, and the orbiting speed change mode configuration item, obtain the position of the orbiting object in the second orbiting animation effect frame; wherein, the first orbiting animation effect frame and the second orbiting animation effect frame are two adjacent orbiting animation effect frames, and the first orbiting animation effect frame is located before the second orbiting animation effect frame; the initial value of the position of the orbiting object in the first orbiting animation effect frame is the position of the orbiting object set when the orbiting object is obtained; Step (b) Obtain the second surround animation effect frame based on the position of the surrounding object in the second surround animation effect frame; Step (c) Update the second surround animation effect frame to the first surround animation effect frame; Return to steps (a) through (c) until the actual number of orbits equals the target number of orbits.

9. The method according to claim 8, characterized in that, After updating the second surround animation effect frame to the first surround animation effect frame, the method further includes: Obtain the actual single orbit duration of the object being orbited; If the actual single orbit duration is equal to the target single orbit duration, then update the actual orbit count; If the actual single orbit duration is less than the target single orbit duration, the actual orbit count will not be updated.

10. The method according to claim 8, characterized in that, The step of obtaining the position of the surrounding object in the second surrounding animation effect frame based on the configuration information of the surrounding object's position in the first surrounding animation effect frame, the surrounding point configuration item, the surrounding axis system configuration item, the target single surrounding duration configuration item, the first rotation angle configuration item, and the surrounding speed change mode configuration item includes: Obtain the time difference between the first surround animation effect frame and the second surround animation effect frame; The second rotation angle is obtained based on the configuration information of the target single orbit duration configuration item, the configuration information of the first rotation angle configuration item, the configuration information of the orbit speed change mode configuration item, and the time difference. Based on the position of the surrounding object in the first surrounding animation effect frame, the configuration information of the surrounding point configuration item, the configuration information of the surrounding axis system configuration item, and the second rotation angle, obtain the coordinate transformation matrix; Based on the coordinate transformation matrix and the position of the surrounding object in the first surrounding animation effect frame, the position of the surrounding object in the second surrounding animation effect frame is obtained.

11. The method according to claim 10, characterized in that, The step of obtaining the second rotation angle based on the configuration information of the target single orbit duration configuration item, the configuration information of the first rotation angle configuration item, the configuration information of the orbit speed change mode configuration item, and the time difference includes: Using the Bezier curve, the second rotation angle is obtained based on the configuration information of the target single orbit duration configuration item, the configuration information of the first rotation angle configuration item, the configuration information of the orbit speed change mode configuration item, and the time difference.

12. The method according to claim 10, characterized in that, If the configuration file includes configuration information for an object rotation configuration item, and the configuration information for the object rotation configuration item instructs the object to rotate, the method further includes: Perform matrix decomposition on the coordinate transformation matrix to obtain the rotation Euler angles; Based on the Euler angles of rotation, the surrounding object is controlled to rotate within the second surrounding animation effect frame.

13. The method according to claim 5 or 6, characterized in that, If the configuration file includes configuration information for location data output configuration items, the method further includes: When the configuration file is run, the position data of the surrounding object is output according to the configuration information of the position data output item. The position data includes the position of the surrounding object in the first surrounding animation effect frame.

14. The method according to claim 5 or 6, characterized in that, If the configuration file includes configuration information for rotation data output configuration items, the method further includes: When the configuration file is run, the rotation data of the surrounding object is output according to the configuration information of the rotation data output item. The rotation data includes the rotation Euler angles.

15. A surround animation special effects processing device, characterized in that, include: The get module is used to get the surrounding object; The display module is used to display the 3D surround parameter configuration window; A first processing module is configured to associate the surrounding object with the 3D surrounding parameter configuration window; wherein the 3D surrounding parameter configuration window includes multiple configuration items for generating 3D surrounding animation effects; and, based on the configuration information of the multiple configuration items, to generate a configuration file for a target 3D surrounding animation effect; the target 3D surrounding animation effect is an animation effect in which the surrounding object revolves in 3D space; the multiple configuration items include: a surrounding object rotation configuration item, wherein the surrounding object rotation configuration item is used to receive configuration information input by the user to control the rotation of the surrounding object; The device further includes: a second processing module, The second processing module is used to update the surround animation effect frames according to the configuration file of the target 3D surround animation effect.

16. An electronic device, characterized in that, include: Memory, processor, and computer program instructions; The memory is configured to store the computer program instructions; The processor is configured to execute the computer program instructions to implement the method as described in any one of claims 1 to 14.

17. A readable storage medium, characterized in that, include: Computer program instructions; When the computer program instructions are executed by at least one processor of an electronic device, they implement the method as claimed in any one of claims 1 to 14.