Method and apparatus for generating special effect of object, and device, medium and program product

By presenting and adjusting reference points and trajectories in the virtual environment within the special effects generation platform, the problems of long production cycles and communication difficulties in the virtual gift special effects generation process have been solved, achieving efficient and smooth special effects generation and reducing the involvement of R&D personnel.

WO2025256605A1PCT designated stage Publication Date: 2025-12-18BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/100762
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-12
Filing Date
2025-06-12
Publication Date
2025-12-18

AI Technical Summary

Technical Problem

During live streaming, the production cycle for generating special effects for virtual gifts is long, communication is difficult, and repeated debugging is required, resulting in low production efficiency.

Method used

By presenting multiple reference points on the motion trajectory of the virtual environment and the target object in the special effects generation platform, receiving position and motion trajectory adjustments, determining the reference point position of the target motion trajectory, and generating an executable file to present the special effects of the target object moving along the target motion trajectory, the WYSIWYG design and debugging is realized.

Benefits of technology

It improved the production efficiency of virtual gift effects generation, reduced the involvement of R&D personnel, enabled designers to independently produce effects data, and improved production efficiency and the smoothness of effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025100762_18122025_PF_FP_ABST
    Figure CN2025100762_18122025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a method and apparatus for generating a special effect of an object, and a device, a medium and a program product. The method comprises: presenting a virtual environment and a plurality of reference points on a motion path of a target object, wherein the virtual environment is configured to simulate a target environment, and the target object can be displayed in the target environment; receiving at least one of the following: an adjustment to the position of at least one of the plurality of reference points, and an adjustment to the motion path of the target object; on the basis of at least one of the received adjustment to the position and the received adjustment to the motion path, determining the positions of a group of reference points used for defining a target motion path of the target object; and in response to receiving an acknowledgement indication, on the basis of the positions of the group of reference points and the target object, generating an executable file corresponding to the target object, wherein the executable file is executable to present a special effect of the target object moving along the target motion path.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment, medium and program product for object special effect generation

[0001] The present application claims priority to the Chinese patent application No. 202410757310.1, filed on June 12, 2024, entitled “Method, device, equipment, medium and program product for object special effect generation”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, device, equipment, computer readable storage medium and computer program product for object special effect generation. BACKGROUND

[0003] More and more applications are able to provide live streaming function. During the live streaming process, the host user can interact with the audience user, which can attract more audience users and improve the audience's live streaming experience. For example, some live streaming rooms can create interactive events (e.g., live streaming room games, live streaming room activities, etc.), and users can participate in the interactive events in the live streaming room. Users participating in the interactive events and other users watching the live streaming can interact in the live streaming room. For example, users watching the live streaming can send virtual resources, such as virtual gifts, to users participating in the interactive events to improve the interactive experience. SUMMARY

[0004] In a first aspect of the present disclosure, a method for object special effect generation is provided. The method comprises: presenting a virtual environment and a plurality of reference points on a motion trajectory of a target object, the virtual environment being configured to simulate a target environment, the target object being able to be displayed in the target environment; receiving at least one of the following: a position adjustment of at least one reference point of the plurality of reference points, a motion trajectory adjustment of the target object; determining a position of a set of reference points for defining a target motion trajectory of the target object based on at least one of the received position adjustment and the motion trajectory adjustment; and in response to receiving a confirmation indication, generating an executable file corresponding to the target object based on the position of the set of reference points and the target object, the executable file being executable to present a special effect of the target object moving along the target motion trajectory.

[0005] In a second aspect of the disclosure, an apparatus for object special effect generation is provided. The apparatus includes a presentation module configured to present a virtual environment and a plurality of reference points on a motion trajectory of a target object, the virtual environment configured to simulate a target environment, the target object being capable of being presented in the target environment; a receiving module configured to receive at least one of a position adjustment to at least one of the plurality of reference points, a motion trajectory adjustment to the target object; a determining module configured to determine, based on at least one of the received position adjustment and the motion trajectory adjustment, positions of a set of reference points used to define a target motion trajectory of the target object; and a generating module configured to generate, in response to receiving a confirmation indication, an executable file corresponding to the target object based on the positions of the set of reference points and the target object, the executable file being executable to present a special effect of the target object moving along the target motion trajectory.

[0006] In a third aspect of the disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. The instructions, when executed by the at least one processor, cause the device to perform the method of the first aspect.

[0007] In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The medium has stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.

[0008] In a fifth aspect of the disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer- executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.

[0009] It should be understood that all statements herein made regarding the aspects of the disclosure are intended to encompass both the specific and generic described herein, and also cover both the singular as well as the plural aspects of the statements. Furthermore, to the extent that any statement herein is not expressly incorporated by reference into the specification, it will be considered an independent statement of the aspect of the disclosure as described herein. BRIEF DESCRIPTION OF DRAWINGS

[0010] The above and other features, aspects, and advantages of embodiments of the disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like reference numerals refer to like elements, wherein:

[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the disclosure can be implemented;

[0012] FIGS. 2A-2B show schematic diagrams of an interface for object special effect generation, according to some embodiments of the disclosure;

[0013] FIG. 3 shows a schematic diagram of an example of a target motion trajectory, according to some embodiments of the present disclosure;

[0014] FIG. 4 shows a schematic diagram of an example of an animation effect of a target motion trajectory, according to some embodiments of the present disclosure;

[0015] FIG. 5 shows a schematic diagram of an example of coordinate definition of a virtual environment, according to some embodiments of the present disclosure;

[0016] FIG. 6 shows a schematic diagram of an example of motion trajectory splicing, according to some embodiments of the present disclosure;

[0017] FIG. 7 shows a schematic diagram of an interface for object special effect generation, according to some embodiments of the present disclosure;

[0018] FIG. 8 shows a schematic diagram of an example of motion trajectory splicing according to a conventional manner and some embodiments of the present disclosure;

[0019] FIG. 9 shows a schematic diagram of an example of motion trajectory splicing, according to some embodiments of the present disclosure;

[0020] FIG. 10 shows a flowchart of a process for object special effect generation, according to some embodiments of the present disclosure;

[0021] FIG. 11 shows a schematic structural block diagram of an apparatus for object special effect generation, according to some embodiments of the present disclosure; and

[0022] FIG. 12 shows an electronic device in which one or more embodiments of the present disclosure can be implemented. DETAILED DESCRIPTION

[0023] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It should be understood that the drawings of the present disclosure and the embodiments are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0024] In the description of embodiments of the present disclosure, the term "comprising" and its conjugations should be understood to encompass the meanings of "including but not limited to", "including at least" and "including at least one". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions can also be included below.

[0025] In this document, unless explicitly stated otherwise, performing a step "in response to" an action means performing the step substantially immediately after the action.

[0026] It can be understood that the data involved in the technical solutions of the present disclosure (including but not limited to the data itself, the obtaining or use of the data) should comply with the requirements of relevant laws and regulations and relevant provisions.

[0027] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the use range, the use scenario, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.

[0028] For example, in response to receiving the active request of the user, prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require obtaining and using the personal information of the user, so that the user can voluntarily choose whether to provide the personal information to the software or hardware such as electronic device, application program, server or storage medium, etc. performing the operation of the technical solutions of the present disclosure according to the prompt information.

[0029] As an optional but non-limiting implementation manner, in response to receiving the active request of the user, the manner of sending prompt information to the user may, for example, be a pop-up window manner, and the prompt information may be presented in the form of text in the pop-up window. In addition, the pop-up window may also carry selection controls for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0030] It can be understood that the above notification and user authorization process is only illustrative, and does not limit the implementation manner of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation manner of the present disclosure.

[0031] Generally, the virtual resources such as virtual gifts sent by the user watching the live broadcast in the live broadcast environment (for example, the live broadcast room) to the user participating in the interactive event are the characteristics of the live broadcast room. The user participating in the interactive event can include the anchor initiating the live broadcast and the guest invited by the anchor. The virtual gift can also be referred to as a "Feima gift", a "special effect object", etc. Correspondingly, the live broadcast room can also be referred to as a "live broadcast chat room", a "live broadcast session", etc. In order to create an interactive atmosphere in the live broadcast room, the virtual gift can generally be rendered based on the three-dimensional space in the virtual environment of the live broadcast room, so that the virtual gift moves around the identification such as the avatar of the gift receiving guest. In this way, the directionality of the virtual gift can be better represented, and the atmosphere effect of receiving the virtual gift can be improved.

[0032] But also because of the virtual gift needs to move in the virtual environment of the live room, and around the head of the gift guest to do complex surround motion effects, so that the virtual gift effect generation is a complex process. For the motion trajectory of virtual gifts such as effects, usually need to design personnel and research and development personnel to work together to produce.

[0033] For example, the designer uses the form of schematic diagram, schematic video to present the virtual gift motion trajectory and posture in the live room to the research and development personnel in a non-quantitative form. The research and development personnel observe and study the trajectory and posture in the schematic diagram and video, write code to simulate the trajectory and posture of the gift in the program according to their own experience, and determine the final trajectory effect through compiling, debugging, and confirming with the designer. The basic process of the virtual gift production work of the research and development personnel and the designer is as follows:

[0034] 1) The designer outputs a three-dimensional path schematic video and schematic diagram.

[0035] 2) The research and development estimates various parameters according to the design idea "understood" from the video.

[0036] 3) The research and development writes and modifies the script on the real machine according to the estimated parameters.

[0037] 4) The research and development compares the actual effect with the schematic video, adjusts, and returns to step 3) if there is a gap.

[0038] 5) The research and development shows the effect to the designer, and the designer points out the problem, and returns to step 3) if there is a gap.

[0039] 6) Complete the script writing, manually package the resources and scripts, and hand over to the revenue online.

[0040] Therefore, this leads to a long production cycle when generating object effects, difficult communication, and the need for repeated debugging.

[0041] According to an embodiment of the present disclosure, an improved object special effect generation scheme is provided. According to the scheme, a virtual environment and a plurality of reference points on a motion trajectory of a target object are presented, the virtual environment is configured to simulate a target environment, and the target object can be demonstrated in the target environment. Then, at least one of the following is received: a position adjustment of at least one of the plurality of reference points, and a motion trajectory adjustment of the target object. Next, based on at least one of the received position adjustment and motion trajectory adjustment, a position of a set of reference points used to define a target motion trajectory of the target object is determined. And, in response to receiving a confirmation indication, an executable file corresponding to the target object is generated based on the position of the set of reference points and the target object, and the executable file is executable to present a special effect of the target object moving along the target motion trajectory. Through this scheme, the designer can accurately express the design intention, and independently produce the special effect data without the participation of the R&D personnel, realize the closed loop in production, and thus improve the production efficiency.

[0042] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. The environment 100 can include a special effect generation platform 110. In the environment 100, the special effect generation platform 110 can run an application 120 for generating a special effect of a virtual object, such as a virtual gift or the like. The application 120 can be any suitable type of tool for generating a special effect of an object. The special effect generation platform can present a virtual environment. The virtual environment can be used to simulate a target environment 130. For example, the virtual environment can simulate a special effect demonstration effect of an object in the target environment 130. The target environment 130 can be provided by a terminal device.

[0043] A user 140 can use the special effect generation platform to design a special effect of an object, and demonstrate the designed special effect through the virtual environment, so as to make design adjustments according to the demonstration result. The user 140 can also be referred to as a designer. The designed special effect can generate a corresponding executable file through the special effect generation platform 110. The executable file can be executed to present the special effect of the object in the target environment 130. In some embodiments, the executable file can be imported into other applications or platforms for further design of the special effect of the object. Since the executable file accurately defines the motion trajectory of the object, other aspects such as the appearance of the object, the special effect effect of other areas, and the like can be better designed based thereon.

[0044] The special effect generation platform 110 can be any type of computing-capable device, including an end device or a server device. The end device can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, or any combination thereof, including accessories and peripherals of these devices or any combination thereof.

[0045] The server device may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server device can be a standalone physical server, a server cluster or distributed system of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, web services, cloud communications, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms, among other basic cloud computing services. The server device may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. In some embodiments, the special effect generation platform 110 can be implemented based on cloud services.

[0046] It should be appreciated that the structure and functionality of the various elements in the environment 100 are described for illustrative purposes only and without implying any limitation on the scope of the present disclosure.

[0047] Some example embodiments of the present disclosure will be hereinafter described with continuous reference to the drawings.

[0048] FIGS. 2A-2B show schematic diagrams of interfaces 200A-200B for object special effect generation, in accordance with some embodiments of the present disclosure. For ease of discussion, these embodiments will be described with reference to the environment 100 of FIG. 1. The interfaces 200A-200B can be provided and presented to a user by the special effect generation platform 110 in FIG. 1.

[0049] The interfaces 200A and 200B include an interface 210 for presenting a virtual environment and an interface 220 presented by the application 120, respectively. It should be appreciated that the interface 210 can be a collective or unified reference to the interface 210-1 in the interface 200A and the interface 210-2 in the interface 200B.

[0050] In some embodiments, the special effect generation platform 110 can present a virtual environment. Illustratively, the special effect generation platform 110 can present the virtual environment through the interface 210. In some embodiments, the virtual environment can include a live environment, which can be an environment displayed by a live room when the live room is live. In some embodiments, the virtual environment can also be generated in a manner simulated by a three-dimensional (3D) engine, achieving a real simulation of the target environment.

[0051] In some embodiments, the special effect generation platform 110 can present a plurality of reference points on a motion trajectory of the target object 214 in the virtual environment. In some embodiments, the target object 214 can include a virtual resource provided in the live environment. The virtual resource can be, for example, a virtual gift, which can include two-dimensional and three-dimensional virtual gifts. In some embodiments, the virtual environment can be configured to simulate the target environment 130. It is desirable to create a target object, in particular a motion trajectory of the target object, in the virtual environment. The target object created here will be able to be displayed in the target environment 130. By configuring the motion trajectory of the target object, an animation effect of the target object moving along the motion trajectory can be displayed.

[0052] In embodiments of the present disclosure, the special effect designed by the user 140 for the target object is displayed through the virtual environment, and adjustments are made according to the display effect, thereby facilitating efficient implementation of the special effect presentation in the target environment 130.

[0053] Illustratively, the special effect generation platform 110 can present a plurality of reference points on a motion trajectory of the target object 214 through the interface 210. For example, in the initial stage, the motion starting point 216 and another reference point 217 can be presented in the interface 210-1. For example, if it is desired that the target object always pass through the center point in the target environment, the reference point 217 can be placed at the center point of the corresponding virtual environment. The interface 210 includes a configuration area 212, which includes images or identities corresponding to a plurality of users participating in the interactive event. The images or identities in the configuration area 212 can represent a plurality of users participating in the interactive event, for example, can represent the host and a plurality of guests in the live room participating in the interactive event. The interface 210 further includes the target object 214, which is used to simulate a virtual gift sent by a user watching the live broadcast. The target object 214 corresponds to a target user, for example, the user corresponding to the identity 213.

[0054] In some embodiments, the special effect generation platform 110 can receive a position adjustment of at least one of the plurality of reference points, and / or a motion trajectory adjustment of the target object 214. In some embodiments, the special effect generation platform 110 can present, in the virtual environment, a motion trajectory of the target object 214 defined by the plurality of reference points. And, based on the received at least one of the position adjustment and the trajectory adjustment, the special effect generation platform 110 can present, in the virtual environment, a motion trajectory of the target object 214 defined by the adjusted plurality of reference points.

[0055] In such embodiments, when there is an adjustment of the position of a reference point in the virtual environment, or an adjustment of a start point or an end point of a curve in the motion trajectory of the target object 214, or an increase or decrease of a curve in the motion trajectory, the special effect generation platform 110 can generate an adjusted motion trajectory accordingly. In some embodiments, in the virtual environment, the user 140 can adjust the position of the reference points and / or adjust the motion trajectory by dragging the position of the reference points, dragging the start point or the end point of the current motion trajectory, or dragging the target object 214. In some embodiments, corresponding controls or parameter input areas can also be provided in the configuration area for the user 140 to select or input adjustment parameters for the reference points and / or the motion trajectory as a whole.

[0056] In embodiments of the present disclosure, by providing a virtual simulation environment, a simulation of a what-you-see-is-what-you-get effect is achieved in the process of designing object special effects. By combining the characteristics of the target environment (for example, the multi-person interaction characteristics of a live broadcast environment), the motion trajectory of the program object can be rendered in real time, and a what-you-see-is-what-you-get debugging capability is achieved.

[0057] Based on the received at least one of the position adjustment of the reference points and the motion trajectory adjustment, the special effect generation platform 110 can determine the positions of a set of reference points (such as the motion start point 216, the reference points 217, 218-1, 218-2, 219 in the interface 210-2) for defining a target motion trajectory of the target object 214.

[0058] In some embodiments, the special effect generation platform 110, if receiving a confirmation indication, can generate an executable file corresponding to the target object 214 based on the positions of the set of reference points and the target object 214. The generated executable file can be executable to present a special effect of the target object 214 moving along the target motion trajectory. In some embodiments, the executable file is a script file corresponding to the target object 214, which is executable to present a corresponding motion special effect. In some embodiments, the confirmation indication can be based on an indication of the user 140.

[0059] Thus, by using a three-dimensional rendering engine and front-end technology in the special effect generation platform 110, a trajectory editor framework of the target object 214 in the live room can be constructed. Moreover, the visualization adding, deleting, and modifying capabilities of the curve are realized, so that the user 140 can modify the parameters of the curve by means of dragging and parameter adjustment. In addition, the animation capability of the target object 214 moving along the designed trajectory data is realized, simulating the real trajectory effect of the virtual gift in the live room.

[0060] In some embodiments, the target motion trajectory of the target object can be designed to be composed of at least one Bezier curve. In the design process of the target motion trajectory, the motion trajectory of the target object can be determined by adjusting the positions of the reference points (correspondingly adjusting the styles of the Bezier curves), increasing or decreasing the Bezier curves.

[0061] FIG. 3 shows a schematic diagram of an example of a target motion trajectory according to some embodiments of the present disclosure. The trajectory 300 can be implemented in the interface 210 of FIG. 2.

[0062] As shown in FIG. 3, the trajectory 300 may, for example, include four Bezier curves, namely curve 310, curve 320, curve 330, and curve 340. A complex motion trajectory can be decomposed into multiple simple curves. A Bezier curve is a mathematical curve, which can be divided into different orders according to the number of control points. Each order of Bezier curve has a fixed number of control points. The control points determine the shape of the Bezier curve. By adjusting the positions of the control points, the curvature center, the curvature size, and the overall shape of the curve can be changed. By adjusting the positions and number of control points, various complex curve shapes can be created.

[0063] In some embodiments, the reference points of each Bezier curve can include a starting point, an ending point, and at least one control point. For a Bezier curve with a starting point, an ending point, and two control points, it is a third-order Bezier curve.

[0064] FIG. 4 shows a schematic diagram of an example of an animation effect of a target motion trajectory according to some embodiments of the present disclosure. FIG. 4 can be implemented by part of the trajectory 300 in FIG. 3. FIG. 4 can be a simulation diagram of part of the special effect generated in FIG. 2.

[0065] As shown in FIG. 4, the identification of each user in the configuration area 212 in FIG. 2 can be regarded as a sphere 410 in a three-dimensional space. The target object 214 can move around the sphere 410 along the motion trajectory 420, so as to present the special effect that the target object 214 moves around the identification 213 in the virtual environment according to the target motion trajectory. Thus, the live room background and the identification of the guest in the virtual environment can be added to simulate the real target environment 130 of the live room.

[0066] To accurately determine the motion trajectory, absolute positions and relative positions in the virtual environment can be defined. For example, the starting point and the center point can be absolute coordinates of the target object 214 in the virtual environment. When the target object 214 needs to surround the identification of the gift recipient, relative coordinates with respect to the gift recipient can be used.

[0067] FIG. 5 illustrates a schematic diagram of an example 500 of coordinate definition of a virtual environment, according to some embodiments of the present disclosure. The example 500 can be implemented in the interface 210 of FIGS. 2A and 2B.

[0068] As shown in FIG. 5, in some embodiments, the plurality of reference points can include at least a motion starting point 216 of the target object 214 and a predetermined point in the virtual environment. The predetermined point can be, for example, a center point 516 in the virtual environment, which is located at a center position of the virtual environment. In some embodiments, the target motion trajectory can include at least a first segment of the motion trajectory from the motion starting point 216 to the predetermined point. The first segment of the motion trajectory can be one or more Bezier curves from the motion starting point 216 to the center point 516. At this time, the one or more Bezier curves are determined by the motion starting point 216, a plurality of control points, and the center point 516.

[0069] In some embodiments, the target motion trajectory includes a second segment of the motion trajectory positioned with respect to each of at least one reference region in the virtual environment, and wherein the set of reference points used to define the target motion trajectory includes a plurality of relative reference points in a relative coordinate system of a first reference region of the at least one reference region. In some embodiments, the at least one reference region includes a user identification region of at least one live user joining the live broadcast environment. Each reference region can be a surrounding region of the identification of the corresponding live user. In each user identification region, the corresponding target object 214 can perform a motion manner of surrounding the user identification, or a motion manner of floating near the user identification. The corresponding live user of the first reference region can be a gift user, such as the user corresponding to the identification 514 in FIG. 5.

[0070] In some embodiments, the special effect generation platform 110 can present the plurality of relative reference points and the second segment of the motion trajectory with respect to the first reference region in the virtual environment by: the special effect generation platform 110 can generate a first curve from a first relative reference point to a second relative reference point of the plurality of relative reference points, the first curve at least partially surrounding the first reference region, and generate a second curve from a third relative reference point to a fourth relative reference point of the plurality of relative reference points, an end point of the second curve being away from the first reference region. The second segment of the motion trajectory can include the first curve and the second curve.

[0071] Referring to FIG. 5, a plurality of relative reference points R are presented in the virtual environment relative to the first reference region of the sign 514. The special effect generation platform 110 can generate a first curve from a first relative reference point R(-1, -1, 1) to a second relative reference point R(2, 0, 1). The first relative reference point R(-1, -1, 1) can be one relative coordinate point close to the sign 514. The special effect generation platform 110 can also generate a second curve from a third relative reference point R(0, 1, 1) to a fourth relative reference point R(-2, 2, 1). The third relative reference point R(0, 1, 1) can be another relative coordinate point close to the sign 514. The fourth relative reference point R(-2, 2, 1) can be a vanishing point of the target object 214, i.e., the target object 214 vanishes at the vanishing point. The first curve and the second curve can be Bezier curves, respectively.

[0072] In some embodiments, the special effect generation platform 110 can generate a transition curve from a predetermined point in the virtual environment to a starting point of the second segment of the motion trajectory, the transition curve linking the second segment of the motion trajectory and another segment of the motion trajectory of the target object 214 in the virtual environment. The other segment of the motion trajectory can be the first segment of the motion trajectory from the motion starting point 216 of the target object 214 to the predetermined point in the virtual environment. Referring to FIG. 5, the transition curve can be a Bezier curve from the center point 516 to the first relative reference point R(-1, -1, 1), for example.

[0073] That is, if the target object 214 is to move from the motion starting point 216 to the vanishing point R(-2, 2, 1), the first segment of the motion trajectory can be an absolute path, and the second segment of the motion trajectory can be a relative path, both of which are produced by the designer and can be fixed. The transition path from the absolute path to the relative path (i.e., the transition curve) can be dynamically generated by a program and can be variable. The program can be provided by the special effect generation platform 110 or the application 120 therein.

[0074] FIG. 6 shows a schematic diagram of an example 600 of motion trajectory splicing, according to some embodiments of the present disclosure. The example 600 can be implemented in the interface 210 of FIG. 2A, FIG. 2B, FIG. 5, respectively. In the example 600, a first segment of motion trajectory is, for example, the trajectory 610, and a second segment of motion trajectory is, for example, the trajectory 620. The three trajectories 620 correspond to different user identities, such as the identity 213-1, the identity 213-2, and the identity 213-3 (which can also be referred to as the identity 213 individually or collectively). The path from the trajectory 610 to the trajectory 620 corresponding to the identity 213-1 can be a splicing curve 630-1 dynamically generated by the program. The path from the trajectory 610 to the trajectory 620 corresponding to the identity 213-2 can be a splicing curve 630-2 dynamically generated by the program. The path from the trajectory 610 to the trajectory 620 corresponding to the identity 213-3 can be a splicing curve 630-3 dynamically generated by the program. Thus, the splicing curves are varied.

[0075] In some embodiments, based on receiving the position adjustment of at least one of the plurality of relative reference points or the motion trajectory adjustment of the second segment of motion trajectory, the special effect generation platform 110 can generate an adjusted second segment of motion trajectory, and based on a starting point of the adjusted second segment of motion trajectory, generate an adjusted splicing curve.

[0076] In such embodiments, when there is an adjustment of the position of a relative reference point in the virtual environment, or there is an adjustment of the starting point or the ending point of a Bezier curve in the second segment of motion trajectory, or there is an increase or decrease of a Bezier curve in the second segment of motion trajectory, the special effect generation platform 110 will correspondingly generate an adjusted second segment of motion trajectory, and based on a starting point of the adjusted second segment of motion trajectory, correspondingly generate an adjusted splicing curve.

[0077] In this way, by setting the absolute path and the relative path that can not be changed, and the splicing path between the two that can be dynamically changed, the efficiency of object special effect generation is greatly improved.

[0078] In some embodiments, if receiving a selection of a second reference region in the virtual environment, the special effect generation platform 110 can transform the positions of the plurality of relative reference points in the relative coordinate system of the first reference region to a relative coordinate system of the second reference region, and present a second segment of motion trajectory relative to the second reference region in the virtual environment based on the positions of the plurality of relative reference points in the second reference region.

[0079] FIG. 7 shows a schematic diagram of the interfaces 210-3 to 210-6 for object special effect generation, according to some embodiments of the present disclosure. The interfaces 210-3 to 210-5 can be examples of the interface 210 of FIG. 2A, FIG. 2B, FIG. 5, respectively. The interfaces 210-3 to 210-5 can be implemented with the example 600 of FIG. 6, respectively.

[0080] The second segment motion trajectories 620 in the interfaces 210-3 to 210-5 are respectively for different user identifications. In combination with the design interface 220 in FIGS. 2A to 2B, the numbers 0-8 in the area 221 in the design interface 220 correspond to the options respectively corresponding to the user identifications in the configuration area 212, and one-to-one correspondence in terms of quantity and position arrangement. Therefore, by clicking any one of 0, 1, 2, …, 8 in the design interface 220, the designer is equivalent to reselecting the user corresponding to the identification as the gift recipient in the virtual environment of the interface 210. At this time, in terms of trajectory presentation, the trajectories 620 in the interfaces 210-3 to 210-5 can be transformed by moving the target object 214 to surround the second reference area of the newly selected user identification by transforming the positions of the plurality of relative reference points in the relative coordinate system of the first reference area to the relative coordinate system of the second reference area. The connection curve 630 from the center point 516 to the starting point of the trajectory 620 can be automatically generated.

[0081] Therefore, the target object 214 can move from the absolute coordinate center point 516 or other predetermined point to the relative coordinate of the target user identification, so that when sending a virtual gift to any other guest, the relative coordinate can be used for motion, so that it is not necessary to specially process the trajectory of the target object 214 corresponding to each gift recipient.

[0082] FIG. 8 shows a schematic diagram of examples of motion trajectory connection according to a conventional manner and some embodiments of the present disclosure. The example 800 includes a motion trajectory connection example 810 of a conventional manner, and a motion trajectory connection example 820 according to some embodiments of the present disclosure.

[0083] In the example 810, the curve SE and another curve with E as the starting point are connected, and they are not smooth enough at the connection point E. This will cause the target object 214 to have an instantaneous sharp change in direction when passing through the point, making the special effect presentation effect look very "jerky". In order to avoid the appearance of "jerky turns", it is necessary to ensure the smoothness of the connection of the curves.

[0084] As example 820, in some embodiments, the special effect generation platform 110 can determine a first Bezier curve (i.e., SE curve) and a second Bezier curve (i.e., EC curve) in the target motion trajectory, the endpoint of the first Bezier curve is the starting point of the second Bezier curve (i.e., the junction point E point). Based on a first straight line segment (i.e., BE line segment) composed of the endpoint of the first Bezier curve and a first control point (i.e., B point) adjacent to the endpoint, the special effect generation platform 110 can adjust the position of a second control point (i.e., B' point) adjacent to the starting point in the second Bezier curve, so that a second straight line segment (i.e., B'E line segment) composed of the starting point and the adjusted second control point is a mirror image of the first straight line segment. That is, the BE line segment and the B'E line segment remain straight, and the directions are opposite and the lengths are equal. Accordingly, the special effect generation platform 110 can adjust the second Bezier curve based on the position of the adjusted second control point.

[0085] To achieve smooth connection of two Bezier curves, it is required to be smooth and differentiable at the junction, which is similar to the definition of the junction of a piecewise function in calculus, that is, smooth in microcosm. Macroscopically, the SE curve is to be smoothly connected with the EC curve, and the B' point of the EC curve needs to be modified without changing the data of the SE curve. The algorithm flow of the example is as follows:

[0086] Algorithm input: a Bezier curve SE, a Bezier curve EC connected thereto.

[0087] Algorithm output: the adjusted connected Bezier curve EC.

[0088] The algorithm steps are as follows:

[0089] (1) Initialize the vector EB as the vector from E1 to B1: EB = B1 - E1.

[0090] (2) Calculate a vector EB' opposite in direction and equal in length to the vector EB. This can be achieved by negating the vector EB: EB' = -EB.

[0091] (3) Take the end point of EB' as a new control point D, which can be obtained by adding EB' to C: D = C + EB'.

[0092] (4) Reconstruct the curve C2 using the new control point D to obtain the new Bezier curve EC.

[0093] The mathematical proof of the smooth connection of the Bezier curves is as follows:

[0094] The Bezier curve is a type of parametric curve, and its definition can be represented by a function of a parameter t, and the general form is as follows:

[0095] B(t) = (1-t)^(n-k) * t^k * Pk (This is an n-degree Bezier curve, P_k is its k control points).

[0096] The first derivative of the function can be found by calculating the derivative of the function, thereby proving the first derivative of the Bezier curve. For a quadratic Bezier curve, the expression of the first derivative is: B'(t) = n*(P k+1 -P k )*(1-t)^(n-k-1)*t^k

[0097] Where P k+1 and P k are adjacent control points. From this expression, it can be seen that the value of the derivative is always defined when t changes between 0 and 1, so the curve is first-order differentiable throughout the domain.

[0098] It can be seen that if the Bezier curve is to be differentiable at the junction, it is necessary to ensure that the derivatives of the two Bezier curves at the joint control points are equal, that is, B1'(1) = B2'(0), and this condition can be achieved by adjusting the positions of the control points. According to the adjustment method provided above, the two Bezier curves can be made first-order differentiable at the junction.

[0099] FIG. 9 shows a schematic diagram of an example 900 of motion trajectory splicing according to some embodiments of the present disclosure. The example 900 can be implemented using the example 600 of FIG. 6 and the example 820 of FIG. 8, respectively. Based on the example 820 of trajectory smoothing splicing, the Bezier starting point and control point at the splicing points E and S are made perpendicular and opposite in direction, resulting in one starting point E and one control point at one end of the splicing curve. The starting point S and the control point at the other end of the splicing curve are also generated using this method, resulting in complete Bezier data of two starting points and two control points.

[0100] Through the embodiments of the present disclosure, the user 140 can accurately express the design intention, and the user 140 can preview the final virtual gift trajectory effect in the virtual environment provided by the special effect generation platform 110, without repeatedly confirming with the developer, reducing communication and improving production efficiency. In addition, a smooth trajectory can be generated, reducing the occurrence of abrupt turning paths in the virtual gift motion process, and making the virtual gift present a more smooth and smooth motion effect. Furthermore, the user 140 can generate trajectory data without code through methods such as dragging and parameter adjustment without the need to write code, realizing zero-code trajectory data generation, and realizing a closed loop in production. On the other hand, through automatic trajectory splicing and smoothing processing in the trajectory data generation process, a more natural and smooth motion trajectory can be generated.

[0101] FIG. 10 illustrates a flowchart of a process 1000 for object special effect generation, according to some embodiments of the present disclosure. The process 1000 can be implemented at the special effect generation platform 110.

[0102] At block 1010, the special effect generation platform 110 presents a virtual environment and a plurality of reference points on a motion trajectory of a target object, the virtual environment being configured to simulate a target environment in which the target object can be presented;

[0103] At block 1020, the special effect generation platform 110 receives at least one of: a position adjustment to at least one of the plurality of reference points, a motion trajectory adjustment to the target object;

[0104] At block 1030, based on the received at least one of the position adjustment and the motion trajectory adjustment, the special effect generation platform 110 determines positions of a set of reference points for defining a target motion trajectory of the target object; and

[0105] At block 1040, in response to receiving the confirmation indication, the special effect generation platform 110 generates, based on the positions of the set of reference points and the target object, an executable file corresponding to the target object, the executable file being executable to present a special effect of the target object moving along the target motion trajectory.

[0106] In some embodiments, the process 1000 further includes presenting, in the virtual environment, the motion trajectory of the target object defined by the plurality of reference points; and presenting, in the virtual environment, the motion trajectory of the target object defined by the adjusted plurality of reference points based on the received at least one of the position adjustment and the trajectory adjustment.

[0107] In some embodiments, the plurality of reference points includes at least a motion starting point of the virtual object and a predetermined point in the virtual environment, and the target motion trajectory includes at least a first segment of the motion trajectory from the motion starting point to the predetermined point.

[0108] In some embodiments, the target motion trajectory includes a second segment of the motion trajectory positioned relative to each of at least one reference region of the virtual environment, and wherein the set of reference points for defining the target motion trajectory includes a plurality of relative reference points in a relative coordinate system of a first reference region of the at least one reference region.

[0109] In some embodiments, the process 1000 further includes presenting, in the virtual environment, the plurality of relative reference points and the second segment of the motion trajectory relative to the first reference region by: generating a first curve from a first relative reference point to a second relative reference point of the plurality of relative reference points, the first curve at least partially surrounding the first reference region, and generating a second curve from a third relative reference point to a fourth relative reference point of the plurality of relative reference points, an end point of the second curve being away from the first reference region.

[0110] In some embodiments, the process 1000 further includes: generating a transition curve from a predetermined point in the virtual environment to a starting point of the second motion trajectory, the transition curve transitioning the second motion trajectory and another motion trajectory of the target object in the virtual environment; generating an adjusted second motion trajectory based on receiving a position adjustment of at least one of the plurality of relative reference points or a motion trajectory adjustment of the second motion trajectory; and generating an adjusted transition curve based on a starting point of the adjusted second motion trajectory.

[0111] In some embodiments, the process 1000 further includes: in response to receiving a selection of a second reference region in the virtual environment, transforming positions of the plurality of relative reference points in the relative coordinate system of the first reference region to a relative coordinate system of the second reference region; and

[0112] presenting, in the virtual environment, a second motion trajectory relative to the second reference region based on the positions of the plurality of relative reference points in the second reference region.

[0113] In some embodiments, the virtual environment includes a live streaming environment, the at least one reference region includes a user identification region of at least one live streaming user joining the live streaming environment, and the target object includes a virtual resource provided in the live streaming environment.

[0114] In some embodiments, the target motion trajectory is composed of at least one Bezier curve, and a reference point of each Bezier curve includes a starting point, an ending point, and at least one control point.

[0115] In some embodiments, the process 1000 further includes: determining a first Bezier curve and a second Bezier curve connected in the target motion trajectory, the ending point of the first Bezier curve being the starting point of the second Bezier curve; adjusting a position of a second control point adjacent to the starting point in the second Bezier curve based on a first straight line segment composed of the ending point of the first Bezier curve and the first control point adjacent to the ending point, such that a second straight line segment composed of the starting point and the adjusted second control point is a mirror image of the first straight line segment; and adjusting the second Bezier curve based on the position of the adjusted second control point.

[0116] Through the process 1000, the user 140 can accurately express the design intention. Moreover, the user 140 can preview the final virtual gift trajectory effect in the special effect generation platform 110 without repeatedly confirming with the developer, reducing the communication and improving the production efficiency. In addition, a smooth trajectory can be generated, reducing the occurrence of abrupt turning paths in the virtual gift motion process, and making the virtual gift present a more smooth motion effect. Furthermore, the user 140 can independently produce the trajectory data without the participation of the developer, realizing the closed loop in production.

[0117] FIG. 11 shows a schematic structural block diagram of an apparatus 1100 for object special effect generation, according to some embodiments of the present disclosure. The apparatus 1100 can be implemented as or included in a special effect generation platform 110. Various modules / components in the apparatus 1100 can be implemented by hardware, software, firmware, or any combination thereof.

[0118] The apparatus 1100 includes a presentation module 1110 configured to present a virtual environment and a plurality of reference points on a motion trajectory of a target object, the virtual environment configured to simulate a target environment in which the target object can be presented; a receiving module 1120 configured to receive at least one of a position adjustment to at least one of the plurality of reference points, a motion trajectory adjustment to the target object; a determination module 1130 configured to determine, based on at least one of the received position adjustment and the motion trajectory adjustment, positions of a set of reference points used to define a target motion trajectory of the target object; and a generation module 1140 configured to generate, in response to receiving a confirmation indication, an executable file corresponding to the target object based on the positions of the set of reference points and the target object, the executable file executable to present a special effect of the target object moving along the target motion trajectory.

[0119] In some embodiments, the apparatus 1100 further includes a motion trajectory presentation module configured to present, in the virtual environment, a motion trajectory of the target object defined by the plurality of reference points; and present, in the virtual environment, a motion trajectory of the target object defined by the adjusted plurality of reference points based on at least one of the received position adjustment and the trajectory adjustment.

[0120] In some embodiments, the plurality of reference points includes at least a motion starting point of the virtual object and a predetermined point in the virtual environment, and the target motion trajectory includes at least a first segment of the motion trajectory from the motion starting point to the predetermined point.

[0121] In some embodiments, the target motion trajectory includes a second segment of the motion trajectory positioned relative to each of at least one reference region of the virtual environment, and wherein the set of reference points used to define the target motion trajectory includes a plurality of relative reference points in a relative coordinate system of a first reference region of the at least one reference region.

[0122] In some embodiments, the apparatus 1100 further includes a curve generation module configured to present, in the virtual environment relative to the first reference region, the plurality of relative reference points and the second segment of the motion trajectory by: generating a first curve from a first relative reference point to a second relative reference point of the plurality of relative reference points, the first curve at least partially surrounding the first reference region, and generating a second curve from a third relative reference point to a fourth relative reference point of the plurality of relative reference points, an end point of the second curve being away from the first reference region.

[0123] In some embodiments, the apparatus 1100 further includes an adjustment module configured to generate a transition curve from a predetermined point in the virtual environment to a starting point of the second motion trajectory, the transition curve transitions the second motion trajectory and another motion trajectory of the target object in the virtual environment; generate an adjusted second motion trajectory based on receiving a position adjustment of at least one of the plurality of relative reference points or a motion trajectory adjustment of the second motion trajectory; and generate an adjusted transition curve based on the starting point of the adjusted second motion trajectory.

[0124] In some embodiments, the apparatus 1100 further includes a position transformation module configured to, in response to receiving a selection of a second reference region in the virtual environment, transform positions of the plurality of relative reference points in the relative coordinate system of the first reference region to a relative coordinate system of the second reference region; and present the second motion trajectory in the virtual environment relative to the second reference region based on the positions of the plurality of relative reference points in the second reference region.

[0125] In some embodiments, the virtual environment comprises a live broadcast environment, the at least one reference region comprises a user identification region of at least one live broadcast user joining the live broadcast environment, and the target object comprises a virtual resource provided in the live broadcast environment.

[0126] In some embodiments, the target motion trajectory is composed of at least one Bezier curve, a reference point of each Bezier curve comprises a starting point, an ending point and at least one control point.

[0127] In some embodiments, the apparatus 1100 further includes a smooth transition module configured to determine a first Bezier curve and a second Bezier curve connected in the target motion trajectory, the ending point of the first Bezier curve is the starting point of the second Bezier curve; adjust a position of a second control point adjacent to the starting point in the second Bezier curve based on a first straight line segment composed of the ending point of the first Bezier curve and the first control point adjacent to the ending point, such that a second straight line segment composed of the starting point and the adjusted second control point is a mirror image of the first straight line segment; and adjust the second Bezier curve based on the position of the adjusted second control point.

[0128] The modules and / or units included in the apparatus 1100 can be implemented using various means, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more of the modules and / or units can be implemented using software and / or firmware, e.g., machine-executable instructions stored on a machine-readable medium. As an example and not by way of limitation, one or more of the modules and / or units in the apparatus 600 can be implemented using software and / or firmware, e.g., machine-executable instructions stored on a machine-readable medium. As an example and not by way of limitation, one or more of the modules and / or units in the apparatus 600 can be implemented at least in part by one or more hardware logic components. As an example and not by way of limitation, example types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip systems (SOCs), complex programmable logic devices (CPLDs), etc.

[0129] FIG. 12 illustrates a block diagram of an electronic device 1200 in which one or more embodiments of the present disclosure can be implemented. It should be understood that the electronic device 1200 illustrated in FIG. 12 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The special effect generation platform 110 of FIG. 1 or the apparatus 1100 of FIG. 11 can be implemented as or included in one or more electronic devices 1200.

[0130] As shown in FIG. 12, the electronic device 1200 is in the form of a general- purpose computing device. Components of the electronic device 1200 can include, but are not limited to, one or more processors or processing units 1210, a memory 1220, a storage device 1230, one or more communication units 1240, one or more input devices 1250, and one or more output devices 1260. The processing unit 1210 can be a real or virtual processor and capable of executing various processing in accordance with programs stored in the memory 1220. In a multi-processing system, multiple processing units execute computer-executable instructions in parallel to improve the processing power of the electronic device 1200.

[0131] The electronic device 1200 typically includes a plurality of computer storage media. Such media can be volatile and / or non-volatile storage media and can be removable and / or non-removable media implemented in any access means as accessible by the electronic device 1200. The memory 1220 can be volatile (e.g., registers, cache, random access memory (RAM)), non-volatile (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1230 can be a removable or non-removable media and can include machine-readable media, such as a flash drive, a disk drive, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within the electronic device 1200.

[0132] The electronic device 1200 can further include additional detachable / non-detachable, volatile / non-volatile storage media. Although not shown in FIG. 12, a disk drive for reading from or writing to a detachable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a detachable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In these cases, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 1220 can include a computer program product 1225 having one or more program modules configured to carry out the various methods or acts of the various embodiments of the present disclosure.

[0133] The communication unit 1240 enables communication with other electronic devices through a communication medium. Additionally, the functionality of the components of the electronic device 1200 can be implemented in a single computing cluster or a plurality of computer machines capable of communicating over a communication connection. As such, the electronic device 1200 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in the networking environment.

[0134] The input device 1250 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 1260 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 1200 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc., through the communication unit 1240, as needed, with one or more devices that enable a user to interact with the electronic device 1200, or with any devices (e.g., a network card, a modem, etc.) that enable the electronic device 1200 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).

[0135] According to an example implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, where the computer-executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, where the computer-executable instructions are executed by a processor to implement the method described above.

[0136] Various aspects of the disclosure are now described with reference to the drawings. In general, the drawings relate to methods, apparatuses, devices, and computer program products implemented in accordance with the present disclosure. It will be understood that each block of the flowchart illustrations, and combinations of blocks in the flowchart illustrations, can be implemented by computer-readable program instructions.

[0137] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0138] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0139] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the

Claims

1. A method for object special effect generation, comprising: presenting a virtual environment and a plurality of reference points on a motion trajectory of a target object, the virtual environment configured to simulate a target environment, the target object being presentable in the target environment; receiving at least one of a position adjustment to at least one of the plurality of reference points, a motion trajectory adjustment to the target object; determining, based on at least one of the received position adjustment and the motion trajectory adjustment, positions of a set of reference points for defining a target motion trajectory of the target object; and in response to receiving a confirmation indication, generating, based on the positions of the set of reference points and the target object, an executable file corresponding to the target object, the executable file being executable to present a special effect of the target object moving along the target motion trajectory.

2. The method of claim 1, further comprising: presenting, in the virtual environment, the motion trajectory of the target object defined by the plurality of reference points; and presenting, in the virtual environment, the motion trajectory of the target object defined by the adjusted plurality of reference points based on at least one of the received position adjustment and the trajectory adjustment.

3. The method of claim 1, wherein the plurality of reference points comprises at least a motion starting point of the virtual object and a predetermined point in the virtual environment, and the target motion trajectory comprises at least a first segment of the motion trajectory from the motion starting point to the predetermined point.

4. The method of claim 1, wherein the target motion trajectory comprises a second segment of the motion trajectory positioned relative to each of at least one reference region of the virtual environment, and wherein the set of reference points for defining the target motion trajectory comprises a plurality of relative reference points in a relative coordinate system of a first reference region of the at least one reference region.

5. The method of claim 4, further comprising presenting, in the virtual environment, the plurality of relative reference points and the second segment of the motion trajectory relative to the first reference region by: generating a first curve from a first relative reference point to a second relative reference point of the plurality of relative reference points, the first curve at least partially surrounding the first reference region, and generating a second curve from a third relative reference point to a fourth relative reference point of the plurality of relative reference points, an end point of the second curve being away from the first reference region.

6. The method of claim 4, further comprising: generating a transition curve from a predetermined point in the virtual environment to a starting point of the second segment of the motion trajectory, the transition curve transitioning the second segment of the motion trajectory and another segment of the motion trajectory of the target object in the virtual environment; generating an adjusted second segment of the motion trajectory based on receiving a position adjustment to at least one of the plurality of relative reference points or a motion trajectory adjustment to the second segment of the motion trajectory; and generating an adjusted transition curve based on the starting point of the adjusted second segment of the motion trajectory.

7. The method of claim 4, further comprising: ​ ​ in response to receiving a selection of a second reference region in the virtual environment, transforming positions of a plurality of relative reference points in a relative coordinate system of the first reference region to a relative coordinate system of the second reference region; and based on the positions of the plurality of relative reference points in the second reference region, presenting the second segment of motion trajectory in the virtual environment relative to the second reference region.

8. The method of claim 4, wherein the virtual environment comprises a live environment, the at least one reference region comprises a user identification region of at least one live user joining the live environment, and the target object comprises a virtual resource provided in the live environment.

9. The method of claim 1, wherein the target motion trajectory is composed of at least one Bezier curve, a reference point of each Bezier curve comprises a start point, an end point, and at least one control point.

10. The method of claim 9, further comprising: determining a first Bezier curve and a second Bezier curve connected in the target motion trajectory, the end point of the first Bezier curve is the start point of the second Bezier curve; based on a first straight line segment composed of the end point of the first Bezier curve and a first control point adjacent to the end point, adjusting a position of a second control point adjacent to the start point in the second Bezier curve such that a second straight line segment composed of the start point and the adjusted second control point is a mirror of the first straight line segment; and adjusting the second Bezier curve based on the position of the adjusted second control point.

11. An apparatus for object special effect generation, comprising: a presentation module configured to present a virtual environment and a plurality of reference points on a motion trajectory of a target object, the virtual environment configured to simulate a target environment, the target object capable of being presented in the target environment; a receiving module configured to receive at least one of a position adjustment of at least one reference point in the plurality of reference points, a motion trajectory adjustment of the target object; a determination module configured to determine, based on at least one of the received position adjustment and the motion trajectory adjustment, a position of a set of reference points for defining a target motion trajectory of the target object; and a generation module configured to generate, in response to receiving a confirmation indication, an executable file corresponding to the target object based on the position of the set of reference points and the target object, the executable file executable to present a special effect of the target object moving along the target motion trajectory.

12. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, cause the device to perform the method according to any one of claims 1-10.

13. A computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1-10.

14. A computer program product, the computer program product being tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for manufacturing visual track plug-in

    CN111522544A

  • Movement control method and device for target object, medium and electronic equipment

    CN112121437A

  • Special effect information generation method, and special effect playing control method and device

    CN115375803A

  • Human-computer interaction method and device, equipment and storage medium

    CN117369627A

  • Method and device for recommending gift and mobile terminal

    US20200143447A1