Special effect image generation method and device, equipment, medium and product

By using a visual effects object generation interface and preset rendering methods, the complexity of fluid effects production and the inability of the effects to meet user needs have been solved, achieving convenient and efficient fluid effects generation.

CN122072990APending Publication Date: 2026-05-22BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2026-05-22

Smart Images

  • Figure CN122072990A_ABST
    Figure CN122072990A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a special effect image generation method and device, equipment, a medium and a product. The method comprises the following steps: in response to a trigger operation on a first control, displaying a special effect object generation interface so as to generate at least one special effect object based on the trigger operation in the special effect object generation interface; configuring object motion parameters for the at least one special effect object to obtain at least one to-be-rendered image of the at least one special effect object under the corresponding object motion parameters; and for at least one to-be-rendered image, rendering the to-be-rendered image according to a preset rendering mode to obtain a target special effect image of the to-be-rendered image. According to the technical scheme provided by the embodiment of the invention, the special effect of the finally generated target special effect image can meet the actual demand of the user, and meanwhile, the convenience of making the fluid special effect by the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In special effects production, fluid effects are often involved. Creating fluid effects requires the collaboration of multiple simulation systems.

[0003] Typically, multiple simulation systems are implemented by including a particle system, a simulation system for inter-particle fluid physics and mechanics, and a fluid material rendering system. The particle system creates multiple particles and sets their quantity and lifecycle. The inter-particle fluid physics and mechanics simulation system simulates the viscosity, density, and other properties of the particles; the fluid material rendering system achieves the fusion of particles.

[0004] When creating fluid effects using the above methods, users need to understand the multiple simulation systems mentioned above, which places high demands on them. Furthermore, the simulation system for interparticle fluid physics is only used to simulate the viscosity and density between particles, making it difficult to control the physical effects of particles from a visual perspective. This results in fluid effects that fail to meet the actual needs of users. Summary of the Invention

[0005] This disclosure provides a method, apparatus, device, medium, and product for generating special effects images, which aims to ensure that the special effects of the final generated target special effects image meet the actual needs of users while improving the convenience of users in creating fluid special effects.

[0006] In a first aspect, embodiments of this disclosure provide a method for generating special effects images, the method comprising:

[0007] In response to a triggering operation on the first control, an effects object generation interface is displayed to generate at least one effects object based on the triggering operation in the effects object generation interface;

[0008] Configure object motion parameters for the at least one special effects object to obtain at least one image of the at least one special effects object under the corresponding object motion parameters;

[0009] For the at least one image to be rendered, the image to be rendered is processed according to a preset rendering method to obtain the target special effects image of the image to be rendered.

[0010] Secondly, this disclosure also provides a special effects image generation apparatus, the apparatus comprising:

[0011] The special effects object generation module is used to display a special effects object generation interface in response to a trigger operation on the first control, so as to generate at least one special effects object based on the trigger operation in the special effects object generation interface;

[0012] The image to be rendered determination module is used to configure object motion parameters for the at least one special effects object to obtain at least one image to be rendered of the at least one special effects object under the corresponding object motion parameters;

[0013] The target special effects image determination module is used to render the at least one image to be rendered according to a preset rendering method to obtain the target special effects image of the image to be rendered.

[0014] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:

[0015] One or more processors;

[0016] Storage device for storing one or more programs.

[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the special effects image generation method as described in any of the embodiments of this disclosure.

[0018] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the special effects image generation method as described in any of the embodiments of this disclosure.

[0019] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the special effects image generation method as described in any of the embodiments of this disclosure.

[0020] The technical solution provided in this disclosure, in response to a trigger operation on a first control, displays a special effects object generation interface to generate at least one special effects object based on the trigger operation in the special effects object generation interface; configures object motion parameters for at least one special effects object to obtain at least one image to be rendered for at least one special effects object under the corresponding object motion parameters; for at least one image to be rendered, renders the image to be rendered according to a preset rendering method to obtain the target special effects image of the image to be rendered. This solves the problem in the prior art of creating fluid special effects through multiple simulation systems, which has high requirements for the user in creating fluid special effects and the fluid special effects produced are difficult to meet the user's needs. By providing the user with a visual special effects object generation interface, the user can determine the special effects object corresponding to the fluid special effects they want to generate as needed in the interface. After configuring the object motion parameters for each special effects object, each special effects object can be rendered on the image to be rendered according to the object motion parameters, so that the motion behavior of each special effects object in the special effects animation meets the user's motion requirements. Furthermore, by rendering the image to be rendered according to the preset rendering method, the target special effects image of the image to be rendered can be obtained, so that the special effects of the target special effects image meet the actual needs of users, and at the same time improve the convenience of users to create fluid special effects. Attached Figure Description

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

[0022] Figure 1 This is a schematic flowchart illustrating a special effects image generation method provided in an embodiment of this disclosure;

[0023] Figure 2 This is a schematic diagram of an interface for generating special effects objects according to an embodiment of this disclosure;

[0024] Figure 3 This is a schematic diagram illustrating an object used to characterize special effects according to an embodiment of this disclosure;

[0025] Figure 4 This is a schematic diagram illustrating an object used to characterize special effects according to an embodiment of this disclosure;

[0026] Figure 5 This is a schematic flowchart illustrating a special effects image generation method provided in an embodiment of this disclosure;

[0027] Figure 6 This is a schematic diagram of a parameter configuration page for characterizing rigid body components provided in an embodiment of this disclosure;

[0028] Figure 7 This is a schematic diagram of a configuration page for characterizing collider parameters provided in an embodiment of this disclosure;

[0029] Figure 8 This is a schematic flowchart illustrating a special effects image generation method provided in an embodiment of this disclosure;

[0030] Figure 9 This is a schematic diagram illustrating the characterization of a preset neighborhood according to an embodiment of this disclosure;

[0031] Figure 10 This is a schematic diagram of the structure of a special effects image generation device provided in an embodiment of the present disclosure;

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

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

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

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

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

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

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

[0039] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0040] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0041] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0042] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0043] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0044] Before introducing this technical solution, an exemplary application scenario can be provided. This technical solution can be applied to any scenario that requires the creation of fluid effects. For example, in any scenario such as animation, video processing, or game development, when fluid effects need to be created, the technical solution provided in the embodiments of this disclosure can be adopted.

[0045] Figure 1 This is a flowchart illustrating a special effects image generation method provided in an embodiment of the present disclosure. The embodiments of the present disclosure are applicable to any fluid special effects production scenario. The method can be executed by a special effects image generation device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, such as a mobile terminal, a PC, or a server.

[0046] like Figure 1 As shown, the method in this embodiment may specifically include:

[0047] S110. In response to a trigger operation on the first control, display the special effects object generation interface to generate at least one special effects object based on the trigger operation in the special effects object generation interface.

[0048] The first control refers to the visual control used to access the special effects object generation interface. Triggering operations include, but are not limited to, at least one of clicking, touching, and swiping. The special effects object can be a particle object corresponding to the desired fluid effect. For example, if the fluid effect is water flow, the special effects object can be water droplets; if the fluid effect is a meteor shower, the special effects object can be stars; if the fluid effect is smoke, the special effects object can be particles; if the fluid effect is an explosion, the special effects object can be a fireball. In practical applications, the behavior of the fluid can be represented by simulating the movement of the special effects object, thus forming fluid effects.

[0049] Specifically, a first control can be developed in advance. For example, the first control can be an element in the user interface, displayed as a button, icon, or other form. When the first control is triggered, an effects object generation interface can be displayed. Then, fluid effects images can be created in the effects object generation interface. During the creation process, users can select or create at least one effects object in the effects object generation interface according to the style of fluid effects they want. Each effects object can be the same or different, generating corresponding fluid effects images based on the effects objects.

[0050] In this embodiment, the special effects object generation interface includes at least an instantiation sub-interface and a loop parameter setting sub-interface. Based on the trigger operation in the special effects object generation interface, at least one special effects object is generated, including: in response to the trigger operation of the second control in the instantiation sub-interface, displaying at least one prefab object to be selected, so as to trigger the selection of a special effects object from the at least one prefab object to be selected; in response to the trigger operation of the loop count editing control in the loop parameter setting sub-interface, generating at least one special effects object corresponding to the loop count.

[0051] The second control refers to the visual control used to display the prefab object to be selected. The loop count editing control refers to the visual control used to input the loop count. The loop count can be used to represent the number of effect objects in the effect image. The prefab object to be selected can be a pre-made base object. It should be noted that the prefab object to be selected can have a certain collision effect to prevent multiple generated effect objects from overlapping in space (visually they may be stacked together).

[0052] Specifically, a second control can be developed in advance within the instantiated sub-interface. When the second control is triggered, one or more pre-made prefab objects to be selected are displayed. When a prefab object to be selected is triggered, it can be used as an effect object. A loop count can be entered in the loop count edit control, and based on the user-input loop count and the triggered prefab objects, the same number of effect objects as the loop count will be generated.

[0053] For example, a user can click a button on the main interface (i.e., the first control), and the system will then display the effects object generation interface. This interface includes an instantiation sub-interface and a loop parameter setting sub-interface, such as... Figure 2 As shown. In the instantiation sub-interface, the user clicks on "Prefab Object" (i.e., the second control) to display the prefab objects to be selected, from which they can choose an effect object. A schematic diagram of the effect object can be seen as follows. Figure 3 As shown in the diagram. In the loop parameter settings sub-interface, enter the loop count in the "Loop Count" field (i.e., the loop count editing control). After completing the settings, at least one special effect object corresponding to the loop count will be generated. For example, if the user sets the loop count to 10, 10 special effect objects will be generated. See the diagram for an example. Figure 4 .

[0054] The advantage of this setting is that it allows users to dynamically select the special effects objects they want to create through visual editing, while also flexibly controlling the number of special effects objects in the fluid effects, thus meeting the user's needs for creating special effects and reducing the complexity of special effects production.

[0055] S120. Configure object motion parameters for at least one special effects object to obtain at least one image to be rendered for at least one special effects object under the corresponding object motion parameters.

[0056] Among them, the object motion parameters can be parameter information used to characterize the object's motion behavior. For example, the object motion parameters include, but are not limited to, velocity, acceleration, direction, curvature, rotation angle, displacement, motion path, and angular velocity.

[0057] In this embodiment, object motion parameters can be configured for at least one special effects object in batches; alternatively, object motion parameters can be configured for each special effects object individually; or, object motion parameters can be configured for each special effects object according to a preset motion step size. Furthermore, based on the object motion parameters of all or some of the special effects objects, these special effects objects can be rendered in an image to obtain a rendered image. This rendered image reflects the state of the special effects object at a specific moment under its corresponding object motion parameters. It should be noted that the position of the same special effects object may be different in different rendered images. Multiple consecutive rendered images constitute a fluid special effects animation of multiple special effects objects in motion, and the motion of the special effects objects is the visual representation of the fluid special effects.

[0058] In this embodiment, configuring motion parameters for at least one special effects object includes: for at least one special effects object, configuring an initial position and an initial orientation in the motion parameters. The initial position and initial orientation can be used to characterize the initial state of the special effects object within the fluid effect. The initial position can be represented by X and Y coordinates, and the initial orientation can be represented by a rotation angle or other orientation information.

[0059] The technical solution provided in this disclosure can accurately simulate the motion state and behavior of each special effects object in space by configuring an initial position and an initial direction for each special effects object.

[0060] To allow special effects objects to begin their lifecycle flow at a specified location and direction, their lifecycles can be configured to control their appearance and disappearance in the special effects video.

[0061] In this embodiment, the special effects object generation interface also includes an object display control sub-interface. This allows for the determination of the display time information for at least one special effects object in response to a triggering operation on a third control within the object display control sub-interface. The third control can be a visual control used to input or select the display time of the special effects object. For example, the third control can be a button, slider, drop-down menu, etc. The display time information includes the start display time and the end display time, which together define the entire lifecycle of the special effects object in the special effects video.

[0062] In practical applications, users can input the start and end times of the desired special effects object in the third control. The start time controls the initial display time of the special effects object in the fluid effects video, and the end time controls the end display time.

[0063] For example, see [link to previous article] Figure 2 Users can input the delay time (e.g., 5 seconds) for the special effects object in the "Delay" (i.e., the third control). The start display time is then 5 seconds, and the continuous display time can be from the 5th second to the last second of the video. The last second is the end display time, representing the duration of the special effects object's display from start to finish. This method allows for precise control of the entire lifecycle of the special effects object within the video, ensuring that the object is displayed according to the specified time during rendering or playback, thus enhancing the visual impact of fluid special effects.

[0064] S130. For at least one image to be rendered, render the image according to the preset rendering method to obtain the target effect image of the image to be rendered.

[0065] Among them, the preset rendering method can refer to the method used to control how the image is rendered.

[0066] In this embodiment, at least one rendering method can be pre-configured. Optionally, the preset rendering method may include, but is not limited to, scaling, color processing, shadow processing, brightness processing, texture processing, dilation processing, blurring, and other rendering methods. After determining the image to be rendered, each image can be rendered using the preset rendering method to obtain the target effect image corresponding to each image. Continuous target effect images form an animated video of fluid effects. For example, if the preset rendering method is brightness processing, then a certain brightness or illumination can be added to some pixels in each effect object in the image to be rendered to achieve a sparkling fluid effect. It should be noted that the preset rendering method can be dynamically updated according to different rendering requirements and effects to achieve the creation of various specific visual effects of fluid effects.

[0067] The technical solution provided in this disclosure, in response to a trigger operation on a first control, displays a special effects object generation interface to generate at least one special effects object based on the trigger operation in the special effects object generation interface; configures object motion parameters for at least one special effects object to obtain at least one image to be rendered for at least one special effects object under the corresponding object motion parameters; for at least one image to be rendered, renders the image to be rendered according to a preset rendering method to obtain the target special effects image of the image to be rendered. This solves the problem in the prior art of creating fluid special effects through multiple simulation systems, which has high requirements for the user in creating fluid special effects and the fluid special effects produced are difficult to meet the user's needs. By providing the user with a visual special effects object generation interface, the user can determine the special effects object corresponding to the fluid special effects they want to generate as needed in the interface. After configuring the object motion parameters for each special effects object, each special effects object can be rendered on the image to be rendered according to the object motion parameters, so that the motion behavior of each special effects object in the special effects animation meets the user's motion requirements. Furthermore, by rendering the image to be rendered according to the preset rendering method, the target special effects image of the image to be rendered can be obtained, so that the special effects of the target special effects image meet the actual needs of users, and at the same time improve the convenience of users to create fluid special effects.

[0068] Figure 5 This is a flowchart illustrating a special effects image generation method provided in an embodiment of this disclosure. Based on the above embodiments, the technical solution of this embodiment further includes configuring a basic texture for the created scene object, generating a prefab object to be processed, and then adding collider parameters and rigid body component parameters to the prefab object to be processed to obtain a prefab object to be selected. A special effects object is then selected from the prefab objects to be selected based on a trigger operation in the special effects object generation interface. For detailed implementation, please refer to the detailed description of the embodiments of this disclosure. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here.

[0069] like Figure 5 As shown, the method in this embodiment may specifically include:

[0070] S210. After configuring the basic texture for the created scene object, generate the prefab object to be processed.

[0071] In this context, a scene object can refer to a base object corresponding to the various fluid effects to be generated. For example, to create a water flow effect, the scene object can be a circle; to create a meteor shower effect, it can be a pentagram; and to create a smoke effect, it can be a dot. Of course, the same scene object can be applied to various types of fluid effects. For instance, a circle can be used to represent quicksand, raindrops, water splashes, and other fluid effects. The base texture can be various styles of texture maps. For example, a base texture includes, but is not limited to, information such as color, transparency, and lighting.

[0072] Specifically, multiple scene objects can be pre-created. Then, a base texture can be selected for each scene object, and the base texture can be mapped onto the surface of the scene object. The scene object configured with the base texture can be used as a prefab object to be processed. For example, a circular 2D scene object can be created, and a circular base texture can be applied to it to obtain the prefab object to be processed.

[0073] S220. Add collision body parameters and rigid body component parameters to the prefab object to be processed to obtain the prefab object to be selected, so as to select the effect object from the prefab object based on the trigger operation in the effect object generation interface.

[0074] Collider parameters refer to parameters that define how an object interacts with other objects through collisions. These parameters include, but are not limited to, collider type (e.g., sphere, box, capsule, mesh), collider offset relative to the object, dimensions (e.g., radius, height, width), collision level (colliders can be set on different physical layers to control which collisions should be detected), self-level, physical material (i.e., the physical properties of the object when colliding with a collider, such as friction and elasticity), and touchability. Rigid body component parameters refer to properties that define how an object responds to forces, torques, and collisions. These parameters include, but are not limited to, mass, whether gravity is used, damping, angular drag (the resistance experienced when the object rotates), external forces, torque, velocity, angular velocity, and whether it is static.

[0075] Specifically, collision body parameters and rigid body component parameters can be configured for the prefab object to be processed, and the configured collision body parameters and rigid body component parameters can be applied to the prefab object to be processed to obtain the prefab object to be selected, so as to simulate the collision effect between different prefab objects to be selected through these parameters.

[0076] For example, the size of the prefab object to be processed can also be adjusted. Simultaneously, rigid body component parameters can be added to the prefab object in the rigid body component parameter configuration page, such as mass, gravity, angular drag, external forces (including external forces in the X and Y axes), torque, velocity (including velocity in the X and Y axes), angular velocity, and whether it is static. A schematic diagram of the rigid body component parameter configuration page can be found here. Figure 6 You can add collider parameters to the prefab object to be processed in the collider parameter configuration page, such as offset (including offset in the X-axis direction and offset in the Y-axis direction), radius (e.g., 5), collision level, physical material, and touchability. A diagram of the collider parameter configuration page can be found here. Figure 7 .

[0077] To further enhance the collision effects between objects, friction and elasticity parameters can be configured for the prefab objects to be processed. These parameters control the motion information when objects collide. Friction parameters reflect the friction effect between object surfaces. For example, friction parameters can include dynamic friction and static friction. Dynamic friction refers to the frictional force used when an object is moving. Static friction is the frictional force used when an object is stationary. Elasticity parameters reflect the degree of rebound during a collision; their values ​​can be between 0 and 1. For example, a value of 0 indicates no elasticity, and a value of 1 indicates a fully elastic collision.

[0078] Specifically, friction and elasticity parameters can be configured for the prefab objects to be processed according to the special effects requirements, and these parameters can be applied to the prefab objects to achieve the desired collision effect. For example, friction and elasticity parameters can be set using physical materials, which define specific friction and elasticity values. Thus, by adding a physical material to the prefab object to be processed, its friction and elasticity parameters can be adjusted. This allows the selection of prefab objects to be determined, simulating the friction effect between different prefab objects using these parameters. The friction effect influences the behavior of the special effects objects when they come into contact and collide, further improving the realism of the collision effect. The advantage of this setup is that by configuring basic collision and bounce effects for the selected prefab objects during the pre-production stage, the creation of subsequent fluid adhesion, density, and other effects can be effectively simplified, significantly reducing the complexity of creating fluid special effects.

[0079] It should be noted that after selecting an effect object from the prefab objects to be selected, at least one of the friction parameters, elastic parameters, collision parameters, and rigid body component parameters of the effect object can be changed according to the needs of the effect production, so as to update the parameters of the effect object based on the updated parameters.

[0080] The technical solution provided in this disclosure, by determining the prefab object to be selected, allows for the selection of special effect objects from the prefab object, ensuring that the special effect objects have the same collision effect and preventing overlapping of special effect objects when generating multiple special effect objects. Furthermore, the same prefab object can be used multiple times in creating various types of fluid effects without needing to be reconfigured each time, improving the convenience of fluid effect creation.

[0081] Figure 8 This is a flowchart illustrating a special effects image generation method provided in an embodiment of this disclosure. Based on the above embodiments, the technical solution of this embodiment includes the following preset rendering method: downsampling the image to be rendered to obtain a blurred image; performing at least one blurring process on the blurred image to obtain an image to be used; and determining the target special effects image of the image to be rendered based on the transparency value of at least one pixel in the image to be used and a preset transparency threshold. Specific implementation details can be found in the detailed description of the embodiments of this disclosure. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here.

[0082] like Figure 8 As shown, the method in this embodiment may specifically include:

[0083] S310. Downsample the image to be rendered to obtain the image to be blurred.

[0084] In this embodiment, a downsampling algorithm can be used to downsample the image to be rendered, reducing its resolution. The downsampled image is then used as the image to be blurred. By downsampling, the edges of various special effects objects in the image can be effectively blurred, making the edges smoother and thus improving the realism of the fluid effects.

[0085] For example, assuming the resolution of the image to be rendered is 720*1280, downsampling it once can reduce its resolution from 720*1280 to 180*320, that is, the resolution of the image to be blurred is 180*320.

[0086] S320. Perform at least one blurring process on the image to be blurred to obtain the image to be used.

[0087] In this embodiment, a blurring algorithm can be used to perform one or more blurring processes on the image to be blurred. The advantage of a single blurring process is that it can expand the area of ​​edge expansion of each special effect object in the image. The advantage of multiple blurring processes is that it can more effectively expand the area of ​​expansion of each special effect object in the image, making the special effect objects appear to be "adhered" together. Optionally, the blurring algorithm can be a Gaussian blur algorithm, which replaces each pixel in the image to be blurred with the weighted average of its surrounding pixels, with pixels closer to the center having a higher weight, thereby achieving a blurring effect. Alternatively, the blurring algorithm can also be a median filtering algorithm, which replaces each pixel in the image to be blurred with the median value of its surrounding pixels. Alternatively, the blurring algorithm can also be a mean filtering algorithm, which replaces each pixel in the image to be blurred with the average value of its surrounding pixels. Alternatively, the blurring algorithm can also be a box blur, radial blur, scaling blur, or other similar algorithms.

[0088] In this embodiment, performing at least one blurring process on the image to be blurred to obtain an image to be used includes: for at least one pixel in the image to be blurred, updating the current pixel value based on the current pixel value of the pixel and the pixel values ​​of other pixels in the preset neighborhood of the pixel; obtaining an image to be blurred again based on the updated pixel value of at least one pixel in the image to be blurred, and using the image to be blurred again as the image to be blurred; and using the image to be blurred obtained when the number of blurring processes reaches a preset threshold as the image to be used.

[0089] The preset threshold can be a limit to restrict the number of blurring operations; for example, the preset threshold can be 3 or 5. The preset neighborhood can be used to characterize the area surrounding a pixel. For example, the preset neighborhood can be a rectangle (the side length can be customized), such as a 3x3 rectangle; or, the preset neighborhood can be a circle (the radius of which can be customized), such as a circle with a radius of m.

[0090] In this embodiment, for each pixel in the image to be blurred, a preset neighborhood corresponding to the current pixel can be determined with the current pixel as the center, and pixels located within the preset neighborhood can be regarded as other pixels. For example, see Figure 9Assuming a preset neighborhood of 3x3, if pixel 6 is the current pixel, then pixels 1, 2, 3, 5, 7, 9, 10, and 11 within the 3x3 neighborhood can be considered as other pixels. Further, the mean between the current pixel value and the pixel values ​​of its corresponding other pixels can be calculated, and this mean can be used as the new pixel value for the current pixel; alternatively, the mean between the pixel values ​​of the corresponding other pixels can be calculated, and this mean can be used as the new pixel value for the current pixel. That is, the current pixel value is updated, and correspondingly, the pixel value of every pixel in the image to be blurred is updated in this way, indicating that the image to be blurred has been updated. At this point, the updated image to be blurred can be used as the image to be blurred again. Further, the image to be blurred again can be used as the image to be blurred again, and blurring processing can be performed on the image to be blurred at least once more, updating the current pixel value of at least one pixel in the image to be blurred. By performing multiple blurring processes in this manner and comparing the number of blurring processes with a preset threshold, when the number of blurring processes reaches the preset threshold, it can be considered that the preset number of blurring processes has been performed, and the image to be blurred obtained after the last blurring process can be determined as the image to be used.

[0091] For example, for each pixel in the effect object in the image to be blurred, the color of that pixel can be updated based on the average color of the pixel (i.e., pixel value) and the colors of other pixels within its upper, lower, left, and right transparency regions (i.e., preset neighborhoods). The blurring process can be performed 5 times (i.e., a preset number of times threshold), using the same or a different preset neighborhood size each time.

[0092] The technical solution provided in this embodiment expands the size of the special effect object by using the current pixel value and the pixel values ​​of other pixels in the preset neighborhood of the pixel to fill the current pixel value during each blurring process. At the same time, it also radially blurs the color of the special effect object and improves the adhesion effect between special effect objects.

[0093] S330. Based on the transparency value of at least one pixel in the image to be used and a preset transparency threshold, determine the target effect image of the image to be rendered.

[0094] It should be noted that after blurring, the edges of the special effects objects in the resulting image may become blurred, and the color of the edges of the special effects objects may mix with the color of the surrounding pixels, resulting in unclear boundaries between the special effects objects and affecting the visual effect.

[0095] To address this issue, the transparency value of at least one pixel in the image to be used can be compared with a preset transparency threshold. If the pixel's transparency value is greater than the preset threshold, its color value is rendered as the color value of the effect object. If the pixel's transparency value is less than or equal to the preset threshold, its transparency value is rendered as the preset transparency value. For example, the preset transparency value can be 0; when the pixel's transparency value is rendered as 0, it means that the pixel's color is transparent. Similarly, the preset transparency threshold can be 0.6; when the pixel's transparency value is greater than 0.6, its color is rendered as the color of the effect object; otherwise, it is transparent. The advantage of this setting is that it achieves a certain degree of edge sharpness between effect objects while also maintaining a good adhesion effect between them, thereby enhancing the visual effect of the fluid effect.

[0096] To further improve the edge effect between special effects objects, for the pixels to be processed in the target special effects image, when the transparency value of the pixel to be processed is within a preset transparency range, the pixel value of the pixel to be processed is adjusted to the first pixel value; when the transparency value of the pixel to be processed is not within the preset transparency range, the pixel value of the pixel to be processed is adjusted to the second pixel value; wherein, the first pixel value is the pixel value of the background to which the special effects object belongs, and the second pixel value is the pixel value assigned to the special effects object.

[0097] Specifically, when the transparency value of the pixel to be processed is within the preset transparency range, the pixel value can be adjusted to the first pixel value. When the transparency value of the pixel to be processed exceeds the maximum value in the preset transparency range, the pixel value can be adjusted to the second pixel value; or, when the transparency value of the pixel to be processed is less than the minimum value in the preset transparency range, the pixel value can be adjusted to the second pixel value. The advantage of this setting is that by considering the pixel values ​​of the effect object itself and the pixel values ​​of the background to which the effect object belongs, the pixel values ​​of the pixels are updated, which can effectively blur the gaps between effect objects, making them stick together, thereby enhancing the edge effect of the effect object.

[0098] For example, the preset transparency range can be (0.1, 0, 3). When the transparency value of the pixel to be processed is greater than 0.1 and less than 0.3, the pixel value of the pixel to be processed is adjusted to the pixel value of the background to which the effect object belongs. When the transparency value of the pixel to be processed is greater than 0.3, the pixel value of the pixel to be processed is adjusted to the pixel value assigned to the effect object.

[0099] The technical solution provided in this disclosure, by downsampling the image to be rendered to obtain a blurred image, effectively blurs the edges of various special effects objects in the image, making the edges smoother and thus improving the realism of the fluid effects. Furthermore, by performing at least one blurring process on the blurred image to obtain the image to be used, the expansion area of ​​the special effects objects in the image can be increased, creating a sticky effect between the special effects objects. Finally, by adjusting the color of the pixels in the image based on the transparency value of at least one pixel in the image to be used and a preset transparency threshold, the edges of the special effects objects in the target special effects image can maintain a certain degree of clarity while also exhibiting a good sticky effect between the special effects objects, thereby enhancing the visual effect of the fluid effects.

[0100] Figure 10 This is a schematic diagram of the structure of a special effects image generation device provided in an embodiment of this disclosure, as shown below. Figure 10 As shown, the device includes: a special effects object generation module 410, a to-be-rendered image determination module 420, and a target special effects image determination module 430.

[0101] The special effects object generation module 410 is used to display a special effects object generation interface in response to a trigger operation on the first control, so as to generate at least one special effects object based on the trigger operation in the special effects object generation interface; the image to be rendered determination module 420 is used to configure object motion parameters for the at least one special effects object, so as to obtain at least one image to be rendered of the at least one special effects object under the corresponding object motion parameters; the target special effects image determination module 430 is used to render the at least one image to be rendered according to a preset rendering method to obtain the target special effects image of the image to be rendered.

[0102] Optionally, based on the above-described apparatus, the apparatus may further include:

[0103] The module for determining prefab objects to be processed is used to generate prefab objects to be processed after configuring the basic texture of the created scene object;

[0104] The module for determining the prefab object to be selected is used to add collision body parameters and rigid body component parameters to the prefab object to be processed to obtain the prefab object to be selected, so as to select the special effect object from the prefab object to be selected based on the trigger operation in the special effect object generation interface.

[0105] Optionally, based on the above-described apparatus, the apparatus may further include:

[0106] The parameter configuration module is used to configure friction parameters and elastic parameters for the prefab object to be processed, so as to control the motion information when the special effects objects collide based on the friction parameters and elastic parameters.

[0107] Based on the above-mentioned device, optionally, the special effects object generation interface includes at least an instantiation sub-interface and a loop parameter setting sub-interface, and the special effects object generation module 410 includes:

[0108] The prefab object display unit is used to display at least one prefab object to be selected in response to a trigger operation on the second control in the instantiated sub-interface, so as to trigger the selection of the effect object from the at least one prefab object to be selected;

[0109] The special effects object determination unit is used to generate at least one special effects object corresponding to the number of loops in response to a trigger operation of the loop count editing control in the loop parameter setting sub-interface.

[0110] Optionally, based on the above-mentioned device, the special effects object generation interface may further include an object display control sub-interface, and the device may further include:

[0111] The display time information determination module is used to determine the display time information of the at least one special effect object in response to a trigger operation of a third control in the object display control sub-interface; wherein the display time information includes the start display time and the end display time.

[0112] Optionally, based on the above-described apparatus, the image-to-be-rendered determination module 420 includes:

[0113] A motion parameter determination module is used to configure the initial position and initial direction of the motion parameters for the at least one special effects object.

[0114] Optionally, based on the above-described device, the target special effects image determination module 430 includes:

[0115] The image to be blurred determination unit is used to downsample the image to be rendered to obtain the image to be blurred.

[0116] The image to be used determination unit is used to perform at least one blurring process on the image to be blurred to obtain the image to be used;

[0117] The target effect image determination unit is used to determine the target effect image of the image to be rendered based on the transparency value of at least one pixel in the image to be used and a preset transparency threshold.

[0118] Optionally, based on the above-described apparatus, the image determination unit may include:

[0119] The current pixel value update unit is used to update the current pixel value of at least one pixel in the image to be blurred, based on the current pixel value of the pixel and the pixel values ​​of other pixels in the preset neighborhood of the pixel.

[0120] The image to be blurred again determination unit is used to obtain the image to be blurred again based on the pixel value of at least one pixel in the updated image to be blurred, and to use the image to be blurred again as the image to be blurred;

[0121] The number of times determination module is used to determine the image to be blurred when the number of blurring processes reaches a preset number threshold, and then use that image as the image to be used.

[0122] Optionally, based on the above-described apparatus, the apparatus may further include:

[0123] The first pixel adjustment module is used to adjust the pixel value of the pixel to be processed to the first pixel value when the transparency value of the pixel to be processed is within a preset transparency range.

[0124] The second pixel adjustment module is used to adjust the pixel value of the pixel to be processed to a second pixel value when the transparency value of the pixel to be processed is not within the preset transparency range; wherein, the first pixel value is the pixel value of the background to which the special effect object belongs, and the second pixel value is the pixel value assigned to the special effect object.

[0125] The technical solution of this disclosure embodiment, in response to a trigger operation of a first control, displays a special effects object generation interface to generate at least one special effects object based on the trigger operation in the special effects object generation interface; configures object motion parameters for at least one special effects object to obtain at least one image to be rendered for at least one special effects object under the corresponding object motion parameters; for at least one image to be rendered, renders the image to be rendered according to a preset rendering method to obtain the target special effects image of the image to be rendered. This solves the problem in the prior art of creating fluid special effects through multiple simulation systems, which has high requirements for the user in creating fluid special effects and the fluid special effects produced are difficult to meet the user's needs. It realizes that by providing users with a visual special effects object generation interface, users can determine the special effects object corresponding to the fluid special effects they want to generate as needed in the interface. After configuring the object motion parameters for each special effects object, each special effects object can be rendered on the image to be rendered according to the object motion parameters, so that the motion behavior of each special effects object in the special effects animation meets the user's motion requirements. Furthermore, by rendering the image to be rendered according to the preset rendering method, the target special effects image of the image to be rendered can be obtained, so that the special effects of the target special effects image meet the actual needs of users, and at the same time improve the convenience of users to create fluid special effects.

[0126] The special effects image generation apparatus provided in this disclosure can execute the special effects image generation method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects of executing the method.

[0127] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.

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

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

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

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

[0132] The electronic device provided in this disclosure and the special effects image generation method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this disclosure can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0133] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the special effects image generation method provided in the above embodiments.

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

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

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

[0137] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to:

[0138] In response to a triggering operation on the first control, an effects object generation interface is displayed to generate at least one effects object based on the triggering operation in the effects object generation interface;

[0139] Configure object motion parameters for the at least one special effects object to obtain at least one image of the at least one special effects object under the corresponding object motion parameters;

[0140] For the at least one image to be rendered, the image to be rendered is processed according to a preset rendering method to obtain the target special effects image of the image to be rendered.

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

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

[0143] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".

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

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

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

[0147] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0148] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for generating special effects images, characterized in that, include: In response to a trigger operation on the first control, an effects object generation interface is displayed to generate at least one effects object based on the trigger operation in the effects object generation interface; Configure object motion parameters for the at least one special effects object to obtain at least one image of the at least one special effects object under the corresponding object motion parameters; For the at least one image to be rendered, the image to be rendered is processed according to a preset rendering method to obtain the target special effects image of the image to be rendered.

2. The method according to claim 1, characterized in that, The method further includes: After configuring the base texture for the created scene object, a prefab object to be processed is generated; Add collision body parameters and rigid body component parameters to the prefab object to be processed to obtain a prefab object to be selected, so as to select the effect object from the prefab object to be selected based on the trigger operation in the effect object generation interface.

3. The method according to claim 2, characterized in that, The method further includes: Configure friction parameters and elasticity parameters for the prefab object to be processed, so as to control the motion information when the special effects objects collide based on the friction parameters and elasticity parameters.

4. The method according to claim 1, characterized in that, The special effects object generation interface includes at least an instantiation sub-interface and a loop parameter setting sub-interface. The generation of at least one special effects object based on the trigger operation in the special effects object generation interface includes: In response to a triggering operation on the second control in the instantiated sub-interface, at least one prefab object to be selected is displayed to trigger the selection of the effect object from the at least one prefab object to be selected; In response to a trigger operation on the loop count editing control in the loop parameter setting sub-interface, at least one special effect object corresponding to the loop count is generated.

5. The method according to claim 1 or 4, characterized in that, The special effects object generation interface also includes an object display control sub-interface, and the method further includes: In response to a trigger operation on a third control in the object display control sub-interface, the display time information of the at least one special effects object is determined; The display time information includes the start time and end time of the display.

6. The method according to claim 1, characterized in that, Configuring object motion parameters for the at least one special effects object includes: For the at least one special effects object, configure the initial position and initial direction in the object motion parameters for the special effects object.

7. The method according to claim 1, characterized in that, The preset rendering methods include: The image to be rendered is downsampled to obtain the image to be blurred; Perform at least one blurring process on the image to be blurred to obtain the image to be used; The target special effects image of the image to be rendered is determined based on the transparency value of at least one pixel in the image to be used and a preset transparency threshold.

8. The method according to claim 7, characterized in that, The step of performing at least one blurring process on the image to be blurred to obtain the image to be used includes: For at least one pixel in the image to be blurred, the current pixel value is updated based on the current pixel value of the pixel and the pixel values ​​of other pixels in the preset neighborhood of the pixel. Based on the pixel value of at least one pixel in the updated image to be blurred, an image to be blurred again is obtained, and the image to be blurred again is used as the image to be blurred. The image to be blurred obtained when the number of blurring operations reaches a preset threshold is used as the image to be used.

9. The method according to claim 7, characterized in that, The method further includes: For the pixel to be processed in the target special effect image, when the transparency value of the pixel to be processed is within the preset transparency range, the pixel value of the pixel to be processed is adjusted to the first pixel value; When the transparency value of the pixel to be processed is not within the preset transparency range, the pixel value of the pixel to be processed is adjusted to the second pixel value; Wherein, the first pixel value is the pixel value of the background to which the special effect object belongs, and the second pixel value is the pixel value assigned to the special effect object.

10. A special effects image generation device, characterized in that, include: The special effects object generation module is used to display a special effects object generation interface in response to a trigger operation on the first control, so as to generate at least one special effects object based on the trigger operation in the special effects object generation interface; The image to be rendered determination module is used to configure object motion parameters for the at least one special effects object to obtain at least one image to be rendered of the at least one special effects object under the corresponding object motion parameters; The target special effects image determination module is used to render the at least one image to be rendered according to a preset rendering method to obtain the target special effects image of the image to be rendered.

11. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the special effects image generation method as described in any one of claims 1-9.

12. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the special effects image generation method as described in any one of claims 1-9.

13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the special effects image generation method as described in any one of claims 1-9.