Method and device for generating three-dimensional scene interactive video based on scene elements
By obtaining and setting fixed and active scene elements in the three-dimensional scene interactive template, users can create and edit content in the hotspot preview interface, which solves the professional and difficult problems of three-dimensional scene interactive video generation in the existing technology and achieves simplicity and simplicity. Low-level multimedia content integration and video generation.
Patent Information
- Application Number
- CN202310237717.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-01-07
AI Technical Summary
Existing three-dimensional scene interactive video generation methods and devices are highly professional and difficult to edit and process different types of multimedia image content, making it difficult for users to perform personalized settings on their own.
By obtaining the 3D scene interaction template, fixed scene hot spots and scene elements are displayed, allowing users to create and set active scene elements in the hotspot preview interface, including 2D pictures, videos and text elements, and set trigger conditions to generate 3D scene interaction videos.
It simplifies the generation process of three-dimensional scene interactive videos and reduces the difficulty, allowing users to easily integrate different types of multimedia content and generate personalized three-dimensional scene interactive videos.
Smart Images

Figure CN116233382B
Abstract
Description
[0001] This application is a divisional application of the invention patent with application number "202210016488.1", application date "2022.01.07", and name "Three-dimensional scene interactive video generation method and generation device". Technical Field
[0002] The present invention relates to the technical field of image processing, and in particular to a method and a device for generating a three-dimensional scene interactive video. Background Art
[0003] With the development of technology, users have higher and higher requirements for video images, such as being able to interact with the displayed content in the video images and personalizing the video images.
[0004] However, existing multimedia image content includes three-dimensional video, two-dimensional video, three-dimensional image, two-dimensional image and audio and other contents. If it is necessary to integrate multiple different types of multimedia image content to generate corresponding three-dimensional scene interactive videos, professional video processing personnel are generally required to edit and process different multimedia image contents according to customer requirements. The processing process is highly professional and difficult.
[0005] Therefore, it is necessary to provide a three-dimensional scene interactive video generation method and generation device to solve the problems existing in the prior art. Summary of the invention
[0006] The embodiments of the present invention provide a three-dimensional scene interactive video generation method and generation device that can integrate a variety of different types of multimedia image content, so as to solve the technical problem that the existing three-dimensional scene interactive video generation method and generation device have high professionalism and great difficulty in editing and processing different multimedia image content.
[0007] An embodiment of the present invention provides a method for generating a three-dimensional scene interactive video, which includes:
[0008] Acquire a 3D scene interaction template, wherein the 3D scene interaction template includes a fixed scene hotspot and a fixed scene element in the fixed scene hotspot; wherein the fixed scene hotspot includes a 3D picture and / or a 3D video; and the fixed scene element includes a 2D picture element, a 2D video element or a text element;
[0009] Displaying a hotspot preview interface of the fixed scene hotspot, and creating at least one active scene element in the hotspot preview interface based on a user's local media library, wherein the active scene element includes a two-dimensional picture element, a two-dimensional video element, or a text element;
[0010] Setting the parameters of the active scene elements and the triggering conditions of all scene elements; and
[0011] The fixed scene hotspots, the fixed scene elements and the active scene elements are stored to generate a three-dimensional scene interactive video.
[0012] The present invention also provides a method for generating a three-dimensional scene interactive video, which comprises:
[0013] Acquire a 3D scene interaction template, wherein the 3D scene interaction template includes a fixed scene hotspot, a fixed scene element in the fixed scene hotspot, and a template active scene element; wherein the fixed scene hotspot includes a 3D picture and / or a 3D video; the fixed scene element includes a 2D picture element, a 2D video element, or a text element; and the template active scene element includes a 2D picture element, a 2D video element, or a text element;
[0014] Displaying a hotspot preview interface of the fixed scene hotspot, and creating at least one local activity scene element in the hotspot preview interface based on the user's local media library, wherein the local activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element;
[0015] Setting parameters of the template active scene elements and the local active scene elements and triggering conditions of all scene elements; and
[0016] The fixed scene hotspots, the fixed scene elements, the template active scene elements and the local active scene elements are stored to generate a three-dimensional scene interactive video.
[0017] The present invention also provides a three-dimensional scene interactive video generation device, which comprises:
[0018] A template acquisition module, used to acquire a 3D scene interaction template, wherein the 3D scene interaction template includes a fixed scene hotspot and a fixed scene element in the fixed scene hotspot; wherein the fixed scene hotspot includes a 3D picture and / or a 3D video; and the fixed scene element includes a 2D picture element, a 2D video element or a text element;
[0019] An activity scene element creation module, used to display a hotspot preview interface of the fixed scene hotspot, and create at least one activity scene element in the hotspot preview interface based on a user's local media library, wherein the activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element;
[0020] A scene element setting module, used to set the parameters of the active scene elements and the triggering conditions of all scene elements; and
[0021] The video generation module is used to store the fixed scene hotspots, the fixed scene elements and the active scene elements to generate a three-dimensional scene interactive video.
[0022] The present invention also provides a three-dimensional scene interactive video generation device, which comprises:
[0023] A template acquisition module is used to acquire a 3D scene interaction template, wherein the 3D scene interaction template includes a fixed scene hotspot, fixed scene elements in the fixed scene hotspot, and a template active scene element; wherein the fixed scene hotspot includes a 3D picture and / or a 3D video; the fixed scene element includes a 2D picture element, a 2D video element, or a text element; and the template active scene element includes a 2D picture element, a 2D video element, or a text element;
[0024] An activity scene element creation module, used to display a hotspot preview interface of the fixed scene hotspot, and create at least one local activity scene element in the hotspot preview interface based on a user's local media library, wherein the local activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element;
[0025] A scene element setting module, used to set the parameters of the template active scene element and the local active scene element and the triggering conditions of all scene elements; and
[0026] The video generation module is used to store the fixed scene hotspots, the fixed scene elements, the template active scene elements and the local active scene elements to generate a three-dimensional scene interactive video.
[0027] An embodiment of the present invention further provides a computer-readable storage medium storing processor-executable instructions, wherein the instructions are loaded by one or more processors to execute any of the above-mentioned three-dimensional scene interactive video generation methods.
[0028] Compared with the prior art, the three-dimensional scene interactive video generation method and generation device of the present invention use three-dimensional scene interactive templates to create scene hotspots and scene elements, making it easy for users to integrate different types of multimedia image content in the hotspot preview interface. The generation process of the three-dimensional scene interactive video is simple and of low difficulty, which effectively solves the technical problems of the existing three-dimensional scene interactive video generation method and generation device that require high professionalism and difficulty in editing and processing different multimedia image content. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A flowchart of an embodiment of a method for generating a three-dimensional scene interactive video according to the present invention;
[0030] Figure 2A flow chart of generating a three-dimensional scene interactive template in the first embodiment of the three-dimensional scene interactive video generating method of the present invention;
[0031] Figure 3 A flowchart of a second embodiment of the method for generating a three-dimensional scene interactive video according to the present invention;
[0032] Figure 4 A flow chart of generating a three-dimensional scene interactive template in the second embodiment of the three-dimensional scene interactive video generating method of the present invention;
[0033] Figure 5 It is a structural schematic diagram of a first embodiment of a three-dimensional scene interactive video generating device of the present invention;
[0034] Figure 6 It is a structural schematic diagram of a second embodiment of the three-dimensional scene interactive video generating device of the present invention;
[0035] Figure 7 A template creation flow chart for the three-dimensional scene interactive template of the present invention;
[0036] Figures 8a-8i A diagram of the process for creating a template. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0038] The three-dimensional scene interactive video generation method and generation device of the present invention are used for electronic devices that integrate and edit different types of multimedia image content, and the electronic devices include but are not limited to wearable devices, head-mounted devices, medical and health platforms, personal computers, server computers, handheld or laptop devices, mobile devices (such as mobile phones, personal digital assistants (PDAs), media players, etc.), multi-processor systems, consumer electronic devices, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The electronic device is preferably a content editing electronic device that integrates and edits multimedia image content, so as to integrate and edit different types of multimedia image content and generate corresponding three-dimensional scene interactive videos.
[0039] Please refer to Figure 1 , Figure 1Flow chart of the first embodiment of the method for generating a three-dimensional scene interactive video of the present invention. The method for generating a three-dimensional scene interactive video of the present embodiment can be implemented using the above-mentioned content editing electronic device. The method for generating a three-dimensional scene interactive video of the present embodiment includes the following steps:
[0040] Step S101, obtaining a 3D scene interaction module, wherein the 3D scene interaction template includes a fixed scene hotspot and a fixed scene element in the fixed scene hotspot; wherein the fixed scene hotspot includes a 3D picture and / or a 3D video; and the fixed scene element includes a 2D picture element, a 2D video element or a text element;
[0041] Step S102, displaying a hotspot preview interface of a fixed scene hotspot, and creating at least one active scene element in the hotspot preview interface based on a user's local media library, wherein the active scene element includes a two-dimensional picture element, a two-dimensional video element, or a text element;
[0042] Step S103, setting parameters of the active scene elements and triggering conditions of all scene elements;
[0043] Step S104, storing the fixed scene hotspots, fixed scene elements and active scene elements to generate a three-dimensional scene interactive video.
[0044] The interactive video generation process of the three-dimensional scene interactive video generation method of this embodiment is described in detail below.
[0045] In step S101, the content editing electronic device obtains a three-dimensional scene interaction template; the three-dimensional scene interaction template includes fixed scene hotspots and fixed scene elements, wherein the fixed scene hotspots include three-dimensional pictures and / or three-dimensional videos, and the fixed scene elements include two-dimensional picture elements, two-dimensional video elements or text elements.
[0046] The three-dimensional scene interaction template is a video scene template with multiple pre-set fixed scene hotspots and multiple fixed scene elements, such as winter snow scene template, Christmas template, New Year template, etc., so that users only need to add their own personalized activity scene elements to the corresponding three-dimensional scene interaction template to form a personalized three-dimensional scene interaction video, thereby effectively reducing the difficulty for users to make personalized three-dimensional scene interaction videos.
[0047] In step S102, the content editing electronic device displays a hotspot preview interface of a fixed scene hotspot. The hotspot preview interface is a scene interface for setting corresponding active scene elements on the corresponding fixed scene hotspot. The user can set two-dimensional pictures, two-dimensional videos and / or text elements in the user's local media library to the hotspot preview interface, so as to create at least one active scene element in the hotspot preview interface, and then edit the active scene element later.
[0048] In step S103, the content editing electronic device sets the parameters of the active scene elements and the triggering conditions of all scene elements.
[0049] Specifically, if the active scene element is a two-dimensional picture element, the content editing electronic device sets the size parameters, position parameters, picture transparency and element life parameters of the two-dimensional picture element. The size parameters of the two-dimensional picture element refer to the size parameters of the two-dimensional picture; the position parameters of the two-dimensional picture element refer to the position information of the two-dimensional picture in the hotspot preview interface; the picture transparency of the two-dimensional picture element refers to the transparency information of the two-dimensional picture in the hotspot preview interface; the element life parameter of the two-dimensional picture element refers to the embedding life of the two-dimensional picture in the hotspot preview interface, such as setting the embedding entry point time and embedding exit point time of the two-dimensional picture in the three-dimensional video.
[0050] If the active scene element is a text element, the content editing electronic device sets the size parameter, position parameter, text transparency and element life parameter of the text element. The size parameter of the text element refers to the size parameter of the text element; the size parameter of the text element refers to the position information of the text element in the hotspot preview interface; the text transparency of the text element refers to the transparency information of the text element in the hotspot preview interface; the element life parameter of the text element refers to the embedding life of the text element in the hotspot preview interface, such as setting the embedding entry point time and embedding exit point time of the text element in the three-dimensional video.
[0051] If the active scene element is a two-dimensional video element, the content editing electronic device sets the size parameters, position parameters, screen transparency, video progress parameters and element life parameters of the two-dimensional video element. The size parameters of the two-dimensional video element refer to the screen size parameters of the two-dimensional video; the position parameters of the two-dimensional video element refer to the position information of the two-dimensional video in the hotspot preview interface; the screen transparency of the two-dimensional video element refers to the transparency information of the two-dimensional video in the hotspot preview interface; the video progress parameters of the two-dimensional video element refer to the playback parameters of the two-dimensional video in the hotspot preview interface, such as whether to loop playback, set playback content, and set playback controller parameters. The element life parameters of the two-dimensional video element refer to the embedded life of the two-dimensional video in the hotspot preview interface, such as setting the embedding entry point time and embedding exit point time of the two-dimensional video in the three-dimensional video.
[0052] The triggering condition of the scene element refers to the condition for triggering the 2D picture element, 2D video element or text element in the hotspot preview interface. The triggering here can be the display operation of the 2D picture element or text element, and the playback operation of the 2D video element.
[0053] In order to further save resources of the video playback client, the content editing electronic device can set the scene element position parameter to be within the display range of the scene hotspot, and then turn on the scene element of the display range content, that is, display the corresponding two-dimensional picture element or text element, or play the corresponding two-dimensional video element. If the scene element position parameter is not within the display range of the scene hotspot, the user cannot observe the scene element outside the display range of the scene hotspot, so the scene element outside the display range is turned off to save resources of the video playback client.
[0054] Of course, here the corresponding scene element can also be turned on or off based on the user's click operation on the scene element, that is, the user manually turns on or off the scene element.
[0055] In order to improve the relevance of different scene elements in the same hotspot preview interface, the content editing electronic device can set the open association relationship and the closed association relationship of different scene elements in the same hotspot preview interface. When a scene element is turned on, other scene elements that have an open association relationship with the scene element of the state switching are turned on together. For example, if there is a two-dimensional picture element with a TV on button, a two-dimensional video element of a TV under the hotspot preview interface can be set to establish an open association relationship with it. When the TV on button is triggered, the two-dimensional video element of the TV is also triggered at the same time. Or when the two-dimensional picture element of the radio is triggered, the sound element of the radio station is also triggered at the same time, so as to give the user a display effect of turning on the radio.
[0056] Similarly, when a scene element is closed, other scene elements that have a closing association relationship with the scene element whose state is switched are closed together. For example, if there is a 2D picture element with a TV closing button, the 2D video of the TV under the hotspot preview interface can be set to establish a closing association relationship with it. When the TV closing button is triggered, the 2D video element of the TV is closed at the same time.
[0057] Of course, the closing of scene elements here can also be associated with the opening of other scene elements, and the opening of scene elements can also be associated with the closing of other scene elements. In this way, users can click on a scene element to trigger or close the association between multiple scene elements, which is convenient for users to set the linkage of multiple scene elements in the same hotspot preview interface, thereby improving the user's interactive video viewing experience.
[0058] Since the editing methods of fixed scene elements and active scene elements are similar and will not cause irreversible impact on the scene framework of the entire three-dimensional scene interactive template, users can set the trigger conditions of fixed scene elements and active scene elements here, but cannot change the parameters of fixed scene elements.
[0059] In step S104, the content editing electronic device stores the fixed scene hotspots obtained in step S101, the fixed scene elements and the active scene elements obtained in step S103 to generate a three-dimensional scene interactive video. The user can interact with the three-dimensional scene interactive video to view all scene hotspots and scene elements in the scene hotspots.
[0060] This completes the creation process of the three-dimensional scene interactive video of the three-dimensional scene interactive video generation method of this embodiment.
[0061] The following is a detailed description of the generation process of the three-dimensional scene interaction template in this embodiment. Figure 2 , Figure 2 The flowchart of generating a 3D scene interactive template in the first embodiment of the 3D scene interactive video generating method of the present invention is shown in FIG. The generating process of the 3D scene interactive template includes:
[0062] Step S201, obtaining a preset media library, wherein the preset media library includes 3D pictures, 2D pictures, 3D videos and 2D videos;
[0063] Step S202, displaying a scene preview interface, and creating at least one scene hotspot in the scene preview interface based on the user's first operation, wherein the scene hotspot is a three-dimensional picture and / or a three-dimensional video;
[0064] Step S203, setting parameters of the scene hotspot based on the user's second operation;
[0065] Step S204, displaying a hotspot preview interface of the scene hotspot, and creating at least one scene element in the hotspot preview interface based on a third operation of the user, wherein the scene element is a two-dimensional picture element, a two-dimensional video element, or a text element;
[0066] Step S205, setting parameters of scene elements and triggering conditions of scene elements based on the fourth operation of the user;
[0067] Step S206, setting the scene hotspot as a fixed scene hotspot, and setting the scene element as a fixed scene element;
[0068] Step S207, generating a three-dimensional scene interaction template according to the fixed scene hotspots and the fixed scene elements in the fixed scene hotspots.
[0069] The following is a detailed description of the generation process of the three-dimensional scene interaction template of this embodiment.
[0070] In step S201, the content editing electronic device obtains a preset media library, which is used to store multimedia image content such as 3D pictures, 2D pictures, 3D videos and 2D videos.
[0071] Among them, a three-dimensional picture is a panoramic picture of the 360-degree content image around the user's observation point as the center point; a three-dimensional video is a panoramic video of the 360-degree content image around the user's observation point as the center point; a two-dimensional picture is a flat picture of the content image of a certain area; and a three-dimensional video is a flat video of the content image of a certain area.
[0072] Since the content images displayed by 3D pictures and 3D videos are generally larger than the actual observation range of the user, the 3D pictures and 3D videos can be set as scene hotspots to create a virtual scene around the user. At the same time, the content images displayed by 2D pictures and 2D videos are generally smaller than the actual observation range of the user, so the 2D pictures and 2D videos can be set as scene elements in the scene hotspots to create some virtual elements in the virtual scene around the user. Then go to step S202.
[0073] In step S202, the content editing electronic device displays a scene preview interface, which is an interface for setting scene hotspots. Users can edit scene hotspots by setting 3D pictures and 3D videos in a preset media library to the scene preview interface.
[0074] Specifically, 3D images and 3D videos can be displayed in a preset media library in the form of content preview images, so that users can add scene hotspots such as 3D images and 3D videos to the scene preview interface by dragging the content preview image.
[0075] In addition, if multiple scene hotspots are created in the scene preview interface based on the user's first operation (dragging the content preview image, etc.), the content editing electronic device can also create a connection relationship between the multiple scene hotspots based on the user's first operation (creating a connection line between different scene hotspots) to achieve switching between different scene hotspots. The connection relationship of the scene hotspot is used to set an adjacent hotspot link corresponding to the connection relationship in the corresponding hotspot preview interface. Then go to step S203.
[0076] In step S203, the content editing electronic device sets the parameters of the scene hotspot based on the user's second operation.
[0077] Specifically, if the scene hotspot is a three-dimensional picture, the content editing electronic device sets the initial angle parameter and initial range parameter of the three-dimensional picture based on the user's second operation. The initial angle parameter refers to the initial angle of the three-dimensional picture that the user can observe when entering the scene hotspot corresponding to the three-dimensional picture. The initial range parameter refers to the angle range of the three-dimensional picture that the user can observe when entering the scene hotspot corresponding to the three-dimensional picture. The second operation here can be an operation in which the user directly inputs the parameters of the scene hotspot or adjusts the parameters of the scene hotspot based on preset parameters.
[0078] For example, if the three-dimensional image is a three-dimensional image of the interior structure of a bedroom, the initial angle parameter of the three-dimensional image may be the angle of the user with his back to the bedroom door, and the initial range parameter of the three-dimensional image may be the image content within a range of approximately 120 degrees that the user can observe when standing at the bedroom door. In this way, the scene of the user entering the bedroom in the interactive video can be better reconstructed.
[0079] Then, the content editing electronic device generates a hotspot preview interface of the 3D image based on the set initial angle parameters and initial range parameters of the 3D image. If the scene hotspot has an adjacent scene hotspot, an adjacent hotspot link of the adjacent scene hotspot can be set on the hotspot preview interface of the 3D image.
[0080] If the scene hotspot is a three-dimensional video, the content editing electronic device sets the initial angle parameter, initial range parameter and video progress parameter of the three-dimensional video based on the user's second operation. The initial monitoring parameter refers to the initial angle of the three-dimensional video that the user can observe when entering the scene hotspot corresponding to the three-dimensional video. The initial range parameter refers to the angle range of the three-dimensional video that the user can observe when entering the scene hotspot corresponding to the three-dimensional video. The video progress parameter refers to the playback progress of the three-dimensional video when entering the scene hotspot corresponding to the three-dimensional video.
[0081] The content editing electronic device can then generate a hotspot preview interface for the 3D video based on the set initial angle parameters, initial range parameters, and video progress parameters of the 3D video. If the scene hotspot has an adjacent scene hotspot, an adjacent hotspot link of the adjacent scene hotspot can be set on the hotspot preview interface for the 3D video.
[0082] Here, a scene hotspot may have multiple adjacent scene hotspots, each adjacent scene hotspot has a corresponding adjacent hotspot link, some of which are set at fixed positions in the 3D video or 3D picture, and some adjacent hotspot links may be set on an active object in the 3D video (such as an active person in the 3D video). Then, the content editing electronic device may set the adjacent hotspot link of the scene hotspot on the 3D video based on the video progress parameter of the 3D video, that is, based on the different video progress parameters of the 3D video, the position of the adjacent hotspot link in the 3D video is also different. Then go to step S204.
[0083] In step S204, the content editing electronic device displays a hotspot preview interface of the scene hotspot. The hotspot preview interface is a scene interface for setting corresponding scene elements on the corresponding scene hotspot. The user can set the two-dimensional picture, two-dimensional video and / or text element in the preset media library to the hotspot preview interface through the third operation, so as to create at least one scene element in the hotspot preview interface, and then edit the scene element later. The third operation can also be a drag operation or a selection operation of the user on the content preview image of the scene element.
[0084] Specifically, since the three-dimensional video of the scene hotspot contains active content, it may conflict with the display of the scene element content.
[0085] For example, the display interface of general scene elements should cover the display interface of scene hotspots to achieve effective display of scene elements in scene hotspots. For example, if a two-dimensional video of TV content is set as a scene element in a scene hotspot, the two-dimensional video of the TV content should be located in the highest display interface. However, if the display interface of the scene element always covers the display interface of the scene hotspot, and if the scene hotspot also has an active object (such as an active person), it may cause a conflicting effect that the active object in the scene hotspot should pass in front of the TV, but the picture shows that the TV content blocks the active object.
[0086] In order to avoid conflicts between the three-dimensional video in the scene hotspot and the content in the scene elements. Here, the content editing electronic device will obtain the static area in the three-dimensional video, which refers to the area where the picture content does not change during the playback of the three-dimensional video. In this way, in the hotspot preview interface that displays the scene hotspot, static scene elements (scene elements set in the static area) can be created in the static area of the hotspot preview interface. Since the content of the three-dimensional video in the static area has not changed, there will be no display conflict of the static scene elements blocking the active content of the scene hotspot. It is sufficient to set the display interface of the scene elements to cover the display interface of the scene hotspot. Then go to step S205.
[0087] In step S205, the content editing electronic device sets the parameters of the scene elements and the triggering conditions of the scene elements based on the fourth operation of the user.
[0088] Specifically, if the scene element is a two-dimensional picture element, the content editing electronic device sets the size parameters, position parameters, image transparency and element life parameters of the two-dimensional picture element based on the fourth operation. The size parameters of the two-dimensional picture element refer to the size parameters of the two-dimensional picture; the position parameters of the two-dimensional picture element refer to the position information of the two-dimensional picture in the hotspot preview interface; the image transparency of the two-dimensional picture element refers to the transparency information of the two-dimensional picture in the hotspot preview interface; the element life parameter of the two-dimensional picture element refers to the embedding life of the two-dimensional picture in the hotspot preview interface, such as setting the embedding entry point time and embedding exit point time of the two-dimensional picture in the three-dimensional video. The fourth operation here can be an operation in which the user directly inputs the parameters of the two-dimensional picture element or adjusts the parameters of the two-dimensional picture element based on the preset parameters.
[0089] If the scene element is a text element, the content editing electronic device sets the size parameter, position parameter, text transparency and element life parameter of the text element based on the fourth operation. The size parameter of the text element refers to the size parameter of the text element; the size parameter of the text element refers to the position information of the text element in the hotspot preview interface; the text transparency of the text element refers to the transparency information of the text element in the hotspot preview interface; the element life parameter of the text element refers to the embedding life of the text element in the hotspot preview interface, such as setting the embedding entry point time and embedding exit point time of the text element in the three-dimensional video. The fourth operation here can be an operation in which the user directly inputs the parameters of the text element or adjusts the parameters of the text element based on the preset parameters.
[0090] If the scene element is a two-dimensional video element, the content editing electronic device sets the size parameters, position parameters, screen transparency, video progress parameters and element life parameters of the two-dimensional video element based on the fourth operation. The size parameters of the two-dimensional video element refer to the screen size parameters of the two-dimensional video; the position parameters of the two-dimensional video element refer to the position information of the two-dimensional video in the hotspot preview interface; the screen transparency of the two-dimensional video element refers to the transparency information of the two-dimensional video in the hotspot preview interface; the video progress parameters of the two-dimensional video element refer to the playback parameters of the two-dimensional video in the hotspot preview interface, such as whether to play in a loop, set the playback content, and set the playback controller. The element life parameter of the two-dimensional video element refers to the embedded life of the two-dimensional video in the hotspot preview interface, such as setting the embedding entry point time and embedding exit point time of the two-dimensional video in the three-dimensional video. The fourth operation here can be an operation in which the user directly inputs the parameters of the two-dimensional video element or adjusts the parameters of the two-dimensional video element based on the preset parameters.
[0091] The triggering condition of the scene element refers to the condition for triggering the 2D picture element, 2D video element or text element in the hotspot preview interface. The triggering here can be the display operation of the 2D picture element or text element, and the playback operation of the 2D video element.
[0092] In order to further save resources of the video playback client, the content editing electronic device can set the scene element position parameter to be within the display range of the scene hotspot, and then turn on the scene element of the display range content, that is, display the corresponding two-dimensional picture element or text element, or play the corresponding two-dimensional video element. If the scene element position parameter is not within the display range of the scene hotspot, the user cannot observe the scene element outside the display range of the scene hotspot, so the scene element outside the display range is turned off to save resources of the video playback client.
[0093] Of course, here the corresponding scene element can also be turned on or off based on the user's click operation on the scene element, that is, the user manually turns on or off the scene element.
[0094] In order to improve the relevance of different scene elements in the same hotspot preview interface, the content editing electronic device can set the open association relationship and the closed association relationship of different scene elements in the same hotspot preview interface. When a scene element is turned on, other scene elements that have an open association relationship with the scene element of the state switching are turned on together. For example, if there is a two-dimensional picture element with a TV on button, a two-dimensional video element of a TV under the hotspot preview interface can be set to establish an open association relationship with it. When the TV on button is triggered, the two-dimensional video element of the TV is also triggered at the same time. Or when the two-dimensional picture element of the radio is triggered, the sound element of the radio station is also triggered at the same time, so as to give the user a display effect of turning on the radio.
[0095] Similarly, when a scene element is closed, other scene elements that have a closing association relationship with the scene element whose state is switched are closed together. For example, if there is a 2D picture element with a TV closing button, the 2D video of the TV under the hotspot preview interface can be set to establish a closing association relationship with it. When the TV closing button is triggered, the 2D video element of the TV is closed at the same time.
[0096] Of course, the closing of a scene element can also be associated with the opening of other scene elements, and the opening of a scene element can also be associated with the closing of other scene elements, so that the user can click on a scene element to trigger or close the association between multiple scene elements, which is convenient for the user to set the linkage of multiple scene elements in the same hotspot preview interface, thereby improving the user's interactive video viewing experience. Then go to step S206.
[0097] In step S206, the content editing electronic device sets the scene hotspot set in step S202 as a fixed scene hotspot, and sets the scene element set in step S204 as a fixed scene element; a fixed scene hotspot is a scene hotspot whose parameters cannot be changed in the three-dimensional scene interactive template, and a fixed scene element is a scene element whose parameters cannot be changed in the three-dimensional scene interactive template, so that the user can conveniently add active scene elements to the three-dimensional scene interactive template later. Then go to step S207.
[0098] In step S207, the content editing electronic device generates a three-dimensional scene interaction template according to the fixed scene hotspots and the fixed scene elements in the fixed scene hotspots, so that subsequent users can call the three-dimensional scene interaction template.
[0099] The three-dimensional scene interactive video generation method of this embodiment uses a three-dimensional scene interactive template to create scene hotspots and scene elements, making it easy for users to integrate different types of multimedia image content in the hotspot preview interface. The generation process of the three-dimensional scene interactive video is simple and of low difficulty.
[0100] Please refer to Figure 3 , Figure 3 Flow chart of the second embodiment of the method for generating a three-dimensional scene interactive video of the present invention. The method for generating a three-dimensional scene interactive video of the present embodiment can be implemented using the above-mentioned content editing electronic device. The method for generating a three-dimensional scene interactive video of the present embodiment includes the following steps:
[0101] Step S301, obtaining a 3D scene interaction template, wherein the 3D scene interaction template includes a fixed scene hotspot, fixed scene elements in the fixed scene hotspot, and a template active scene element; wherein the fixed scene hotspot includes a 3D picture and / or a 3D video; the fixed scene element includes a 2D picture element, a 2D video element, or a text element; and the template active scene element includes a 2D picture element, a 2D video element, or a text element;
[0102] Step S302, displaying a hotspot preview interface of a fixed scene hotspot, and creating at least one local activity scene element in the hotspot preview interface based on the user's local media library, wherein the local activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element;
[0103] Step S303, setting parameters of template active scene elements and local active scene elements and triggering conditions of all scene elements;
[0104] Step S304, storing the fixed scene hotspots, fixed scene elements, template active scene elements and local active scene elements to generate a three-dimensional scene interactive video.
[0105] Based on the first embodiment of the three-dimensional scene interactive video generation method, the three-dimensional scene interactive video generation method of this embodiment also provides template active scene elements in the fixed scene hotspots of the three-dimensional scene interactive template, and the template active scene elements here refer to active scene elements that can be personalized edited by users.
[0106] In step S302, the content editing electronic device displays a hotspot preview interface of a fixed scene hotspot. The hotspot preview interface is a scene interface for setting corresponding activity scene elements on the corresponding fixed scene hotspot. The user can set two-dimensional pictures, two-dimensional videos and / or text elements in the user's local media library to the hotspot preview interface, so as to create at least one local activity scene element in the hotspot preview interface, and then edit the local activity scene element later.
[0107] In step S303, the content editing electronic device sets parameters of the template active scene elements and the local active scene elements and trigger conditions of all scene elements.
[0108] The specific setting process of the template active scene elements and the local active scene elements is the same as or similar to the setting process of the active scene elements in step S103. For details, please refer to the setting process of the active scene elements in the above step S103.
[0109] In step S304, the content editing electronic device stores the acquired fixed scene hotspots, fixed scene elements, template active scene elements, and local active scene elements to generate a three-dimensional scene interactive video. The user can interact with the three-dimensional scene interactive video to watch all scene hotspots and the template active scene elements and local active scene elements in the scene hotspots.
[0110] This completes the creation process of the three-dimensional scene interactive video of the three-dimensional scene interactive video generation method of this embodiment.
[0111] The following is a detailed description of the generation process of the three-dimensional scene interaction template in this embodiment. Figure 4 , Figure 4 The flowchart of generating a 3D scene interactive template in the second embodiment of the 3D scene interactive video generating method of the present invention is shown in FIG. The generating process of the 3D scene interactive template includes:
[0112] Step S401, obtaining a preset media library, wherein the preset media library includes 3D pictures, 2D pictures, 3D videos and 2D videos;
[0113] Step S402, displaying a scene preview interface, and creating at least one scene hotspot in the scene preview interface based on the user's first operation, wherein the scene hotspot is a three-dimensional picture and / or a three-dimensional video;
[0114] Step S403, based on the second operation of the user, setting the parameters of the scene hotspot;
[0115] Step S404, displaying a hotspot preview interface of the scene hotspot, and creating at least one scene element in the hotspot preview interface based on a third operation of the user, wherein the scene element is a two-dimensional picture element, a two-dimensional video element, or a text element;
[0116] Step S405, setting parameters of scene elements and triggering conditions of scene elements based on the fourth operation of the user;
[0117] Step S406, setting the scene hotspot as a fixed scene hotspot, setting the fixed scene elements and the template active scene elements in the scene elements;
[0118] Step S407, generating a three-dimensional scene interactive template according to the fixed scene hotspot, the fixed scene elements in the fixed scene hotspot, and the template active scene elements.
[0119] On the basis of the first embodiment, when generating the 3D scene interaction template of the 3D scene interaction video generation method of this embodiment, fixed scene elements and template active scene elements are set in the fixed scene elements, wherein the fixed scene hotspots are scene hotspots whose parameters cannot be changed in the 3D scene interaction template, the fixed scene elements are scene elements whose parameters cannot be changed in the 3D scene interaction template, and the template active scene elements are scene elements whose parameters can be changed in the 3D scene interaction template, so that users can later edit the template active scene elements based on their personalized needs to generate the 3D scene interaction video they want.
[0120] Based on the first embodiment, the three-dimensional scene interaction template of this embodiment is provided with both fixed scene elements and template active scene elements. The user can edit the template active scene elements in the three-dimensional scene interaction template, further improving the user's editing ability for the three-dimensional scene interaction video.
[0121] The present invention also provides a three-dimensional scene interactive video generation device, please refer to Figure 5 , Figure 5 Schematic diagram of the structure of the first embodiment of the three-dimensional scene interactive video generation device of the present invention. The three-dimensional scene interactive video generation device of this embodiment can be implemented using the above-mentioned three-dimensional scene interactive video generation method, and the three-dimensional scene interactive video generation device 50 includes a template acquisition module 51, an activity scene element creation module 52, a scene element setting module 53 and a video generation module 54.
[0122] The template acquisition module 51 is used to obtain a three-dimensional scene interaction template, wherein the three-dimensional scene interaction template includes a fixed scene hotspot and fixed scene elements in the fixed scene hotspot; wherein the fixed scene hotspot includes a three-dimensional picture and / or a three-dimensional video; the fixed scene elements include a two-dimensional picture element, a two-dimensional video element or a text element; the active scene element creation module 52 is used to display the hotspot preview interface of the fixed scene hotspot, and create at least one active scene element in the hotspot preview interface based on the user's local media library, wherein the active scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; the scene element setting module 53 is used to set the parameters of the active scene element and the trigger conditions of all scene elements; the video generation module 54 is used to store the fixed scene hotspots, the fixed scene elements and the active scene elements to generate a three-dimensional scene interaction video.
[0123] When the three-dimensional scene interactive video generating device 50 of this embodiment is used, the template acquisition module 51 first acquires the three-dimensional scene interactive template; the three-dimensional scene interactive template includes fixed scene hotspots and fixed scene elements, wherein the fixed scene hotspots include three-dimensional pictures and / or three-dimensional videos, and the fixed scene elements include two-dimensional picture elements, two-dimensional video elements or text elements.
[0124] Then the activity scene element creation module 52 displays the hotspot preview interface of the fixed scene hotspot. The hotspot preview interface is a scene interface for setting the corresponding activity scene element on the corresponding fixed scene hotspot. The user can set the two-dimensional picture, two-dimensional video and / or text element in the user's local media library to the hotspot preview interface, so as to create at least one activity scene element in the hotspot preview interface, and then edit the activity scene element later.
[0125] Then the scene element setting module 53 sets the parameters of the active scene elements and the triggering conditions of all scene elements.
[0126] Finally, the video generation module 54 stores the obtained fixed scene hot spots, the obtained fixed scene elements and the active scene elements to generate a three-dimensional scene interactive video. The user can interact with the three-dimensional scene interactive video to watch all the scene hot spots and the scene elements in the scene hot spots.
[0127] This completes the process of generating the three-dimensional scene interactive video by the three-dimensional scene interactive video generating device 50 of this embodiment.
[0128] The generation process of the three-dimensional scene interactive video in this embodiment is the same as or similar to the generation process of the three-dimensional scene interactive video in the first embodiment of the three-dimensional scene interactive video generation method mentioned above. For details, please refer to the relevant description in the first embodiment of the three-dimensional scene interactive video generation method.
[0129] Please refer to Figure 6 , Figure 6 Schematic diagram of the structure of the second embodiment of the three-dimensional scene interactive video generation device of the present invention. The three-dimensional scene interactive video generation device of this embodiment can be implemented using the above-mentioned three-dimensional scene interactive video generation method, and the three-dimensional scene interactive video generation device 60 includes a template acquisition module 61, an activity scene element creation module 62, a scene element setting module 63 and a video generation module 64.
[0130] The template acquisition module 61 is used to obtain a three-dimensional scene interaction template, wherein the three-dimensional scene interaction template includes a fixed scene hotspot and fixed scene elements in the fixed scene hotspot and a template active scene element; wherein the fixed scene hotspot includes a three-dimensional picture and / or a three-dimensional video; the fixed scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; the template active scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; the active scene element creation module 62 is used to display the hotspot preview interface of the fixed scene hotspot, and create at least one local active scene element in the hotspot preview interface based on the user's local media library, wherein the local active scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; the scene element setting module 63 is used to set the parameters of the template active scene element and the local active scene element and the trigger conditions of all scene elements; the video generation module 64 is used to store the fixed scene hotspot, the fixed scene element, the template active scene element and the local active scene element to generate a three-dimensional scene interaction video.
[0131] On the basis of the first embodiment, when generating the three-dimensional scene interaction template of the three-dimensional scene interaction video generating device 60 of this embodiment, fixed scene elements and template active scene elements are set in the fixed scene elements, wherein the fixed scene hotspots are scene hotspots whose parameters cannot be changed in the three-dimensional scene interaction template, the fixed scene elements are scene elements whose parameters cannot be changed in the three-dimensional scene interaction template, and the template active scene elements are scene elements whose parameters can be changed in the three-dimensional scene interaction template, so that users can later edit the template active scene elements based on their own personalized needs to generate the three-dimensional scene interaction video they want.
[0132] The generation process of the three-dimensional scene interactive video in this embodiment is the same as or similar to the generation process of the three-dimensional scene interactive video in the second embodiment of the three-dimensional scene interactive video generation method mentioned above. For details, please refer to the relevant description in the first embodiment of the three-dimensional scene interactive video generation method.
[0133] Based on the first embodiment, the three-dimensional scene interaction template of this embodiment is provided with both fixed scene elements and template active scene elements. The user can edit the template active scene elements in the three-dimensional scene interaction template, further improving the user's editing ability for the three-dimensional scene interaction video.
[0134] The following is a specific example to illustrate the creation process of the three-dimensional scene interactive template of the present invention. Figure 7 as well as Figures 8a-8i , Figure 7 A template creation flow chart for the three-dimensional scene interactive template of the present invention. Figures 8a-8i A diagram of the process for creating a template.
[0135] The process of creating a three-dimensional scene interactive template by the content editing electronic device includes:
[0136] Step S701: the content editing electronic device creates a preset media library, that is, stores the prepared 3D pictures, 2D pictures, 3D videos and 2D videos into the preset media library. Figure 8a 81 schools shown
[0137] Step S702: the content editing electronic device displays a scene preview interface, such as Figure 8b The scene preview interface 82 of the present invention can be used by the user to drag the content preview image of the scene hotspot in the preset media library 83 to the scene preview interface 82 to create multiple scene hotspots and connection relationships between multiple scene hotspots (and create adjacent hotspot links in the scene hotspots). Figure 8b The hotspot preview interface 84 is provided with adjacent hotspot links 85 of adjacent scene hotspots.
[0138] Step S703: the content editing electronic device sets the parameters of the scene hotspot. Figure 8c As shown, the scene hotspot is a three-dimensional video, so the video progress parameter of the three-dimensional video can be set through the progress controller 86, the initial range parameter of the three-dimensional video can be set through the field of view adjustment of the scene perspective setting 87, and the initial angle parameter of the three-dimensional video can be set through the horizontal adjustment of the scene perspective setting 87, that is, the position of the first horizontal axis (based on the left-right direction axis of the existing user observation point), the second horizontal axis (based on the front-back direction axis of the existing user observation point), and the vertical axis (based on the up-down direction axis of the existing user observation point) of the user observation point is changed. At the same time, the position of the adjacent hotspot link 85 in the hotspot preview interface 84 can be adjusted. If the adjacent hotspot link 85 is set on an active object of a scene hotspot corresponding to a hotspot preview interface, the adjacent hotspot link 85 can adjust its position in the hotspot preview interface based on the video progress parameter of the scene hotspot.
[0139] Step S704: the content editing electronic device displays a hotspot preview interface of the scene hotspot. Figure 8d As shown in the hotspot preview interface 84, the user can embed two-dimensional pictures, three-dimensional pictures, two-dimensional videos, three-dimensional videos, text elements and audio elements in the hotspot preview interface through the embed material interface 88, thereby creating multiple scene elements in the hotspot preview interface.
[0140] Step S705: The content editing electronic device sets the parameters of the scene elements and the triggering conditions of the scene elements based on the fourth operation of the user.
[0141] The parameter settings of the scene elements of the text elements are as follows Figure 8e As shown, the user can set the size parameters, position parameters, display angle parameters, text transparency and element life parameters of the text element through the text material embedding interface 89.
[0142] The parameter settings of the scene elements of 2D and 3D images are as follows: Figure 8f As shown, the user can set the size parameters, position parameters, display angle parameters, text transparency and element life parameters of the two-dimensional and three-dimensional images through the picture material embedding interface 8a.
[0143] The parameter settings of the scene elements of 2D and 3D videos are as follows: Figure 8g As shown, the user can set the size parameters, position parameters, picture transparency, video progress parameters and element life parameters of the two-dimensional video and the three-dimensional video through the video material embedding interface 8b.
[0144] The audio element parameter settings are as follows Figure 8h As shown, the user can set the position parameters, volume parameters and element life parameters of the audio element through the audio material embedding interface 8c.
[0145] Furthermore, the content editing electronic device can also set the opening and closing associations of different scene elements, as shown in the following example: Figure 8h As shown in interface 8d of the audio material embedding interface 8c, the user can set the association relationship between the audio material and other scene elements. Similarly, the user can set the association relationship between all different types of scene elements.
[0146] Step S706, the content editing electronic device saves the edited scene hotspots and scene elements in the scene hotspots to generate a three-dimensional scene interactive template, such as Figure 8i shown.
[0147] The three-dimensional scene interactive video generation method and generation device of the present invention use three-dimensional scene interactive templates to create scene hotspots and scene elements, making it easy for users to integrate different types of multimedia image content in the hotspot preview interface. The generation process of the three-dimensional scene interactive video is simple and of low difficulty, and effectively solves the technical problem that the existing three-dimensional scene interactive video generation method and generation device have high professionalism and high difficulty in editing and processing different multimedia image content.
[0148] In summary, although the present invention has been disclosed as above by embodiments, the serial numbers before the embodiments are only used for convenience of description and do not limit the order of the embodiments of the present invention. Moreover, the above embodiments are not used to limit the present invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A method for generating a three-dimensional scene interactive video based on scene elements, characterized in that: include: Acquire a three-dimensional scene interaction template, wherein the three-dimensional scene interaction template includes a fixed scene hotspot and fixed scene elements in the fixed scene hotspot; The fixed scene hotspots include three-dimensional pictures and / or three-dimensional videos; the fixed scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; Displaying a hotspot preview interface of the fixed scene hotspot, and creating at least one active scene element in the hotspot preview interface based on a user's local media library, wherein the active scene element includes a two-dimensional picture element, a two-dimensional video element, or a text element; Setting parameters of the activity scene elements and triggering conditions of all scene elements; as well as Performing storage operations on the fixed scene hotspots, the fixed scene elements, and the active scene elements to generate a three-dimensional scene interactive video; The step of setting the parameters of the activity scene elements comprises: If the activity scene element is a two-dimensional picture element, then the size parameter, position parameter, picture transparency and element life parameter of the two-dimensional picture element are set; If the activity scene element is a text element, then the size parameter, position parameter, text transparency and element life parameter of the text element are set; If the activity scene element is a two-dimensional video element, then based on setting the size parameter, position parameter, screen transparency, video progress parameter and element life parameter of the two-dimensional video element; The trigger conditions for setting all scene elements include: When the position parameter of the scene element is within the display range of the scene hotspot, the scene element within the display range is turned on; when the position parameter of the scene element is not within the display range of the scene hotspot, the scene element outside the display range is turned off; Based on the user's click operation on the scene element, turn on or off the corresponding scene element; Setting the activation association relationship of scene elements, when a scene element is activated, other scene elements that have activation association relationship with the scene element whose state is switched are activated together; and / or Set the closing association relationship of scene elements. When a scene element is closed, other scene elements that have a closing association relationship with the scene element whose state is switched are closed together.
2. The method for generating a three-dimensional scene interactive video based on scene elements according to claim 1, characterized in that: The three-dimensional scene interaction template is generated by following the steps below: Acquire a preset media library, wherein the preset media library includes three-dimensional pictures, two-dimensional pictures, three-dimensional videos, and two-dimensional videos; Displaying a scene preview interface, and creating at least one scene hotspot in the scene preview interface based on a first operation of a user, wherein the scene hotspot is a three-dimensional picture and / or a three-dimensional video; Based on the second operation of the user, setting parameters of the scene hotspot; Displaying a hotspot preview interface of the scene hotspot, and creating at least one scene element in the hotspot preview interface based on a third operation of the user, wherein the scene element is a two-dimensional picture element, a two-dimensional video element, or a text element; Based on a fourth operation of the user, setting parameters of the scene element and a triggering condition of the scene element; Setting the scene hotspot as a fixed scene hotspot and setting the scene element as a fixed scene element; A three-dimensional scene interaction template is generated according to the fixed scene hotspot and the fixed scene elements in the fixed scene hotspot.
3. A method for generating a three-dimensional scene interactive video based on scene elements, characterized in that: include: Acquire a three-dimensional scene interaction template, wherein the three-dimensional scene interaction template includes a fixed scene hotspot, fixed scene elements in the fixed scene hotspot, and template active scene elements; The fixed scene hotspots include three-dimensional pictures and / or three-dimensional videos; the fixed scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; the template active scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; Displaying a hotspot preview interface of the fixed scene hotspot, and creating at least one local activity scene element in the hotspot preview interface based on the user's local media library, wherein the local activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; Setting parameters of the template active scene elements and the local active scene elements and triggering conditions of all scene elements; as well as Performing a storage operation on the fixed scene hotspots, the fixed scene elements, the template active scene elements, and the local active scene elements to generate a three-dimensional scene interactive video; The step of setting parameters of the template activity scene elements and the local activity scene elements comprises: If the activity scene element is a two-dimensional picture element, then the size parameter, position parameter, picture transparency and element life parameter of the two-dimensional picture element are set; If the activity scene element is a text element, then the size parameter, position parameter, text transparency and element life parameter of the text element are set; If the activity scene element is a two-dimensional video element, then based on setting the size parameter, position parameter, screen transparency, video progress parameter and element life parameter of the two-dimensional video element; The trigger conditions for setting all scene elements include: When the position parameter of the scene element is within the display range of the scene hotspot, the scene element within the display range is turned on; when the position parameter of the scene element is not within the display range of the scene hotspot, the scene element outside the display range is turned off; Based on the user's click operation on the scene element, turn on or off the corresponding scene element; Setting the activation association relationship of scene elements, when a scene element is activated, other scene elements that have activation association relationship with the scene element whose state is switched are activated together; and / or Set the closing association relationship of scene elements. When a scene element is closed, other scene elements that have a closing association relationship with the scene element whose state is switched are closed together.
4. The method for generating a three-dimensional scene interactive video based on scene elements according to claim 3, characterized in that: The three-dimensional scene interaction template is generated by following the steps below: Acquire a preset media library, wherein the preset media library includes three-dimensional pictures, two-dimensional pictures, three-dimensional videos, and two-dimensional videos; Displaying a scene preview interface, and creating at least one scene hotspot in the scene preview interface based on a first operation of a user, wherein the scene hotspot is a three-dimensional picture and / or a three-dimensional video; Based on the second operation of the user, setting parameters of the scene hotspot; Displaying a hotspot preview interface of the scene hotspot, and creating at least one scene element in the hotspot preview interface based on a third operation of the user, wherein the scene element is a two-dimensional picture element, a two-dimensional video element, or a text element; Based on a fourth operation of the user, setting parameters of the scene element and a triggering condition of the scene element; The scene hotspot is set as a fixed scene hotspot, and the fixed scene elements and the template active scene elements in the scene elements are set; A three-dimensional scene interaction template is generated according to the fixed scene hotspot, the fixed scene elements in the fixed scene hotspot, and the template active scene elements.
5. A three-dimensional scene interactive video generation device based on scene elements, characterized in that: include: A template acquisition module, used to acquire a three-dimensional scene interaction template, wherein the three-dimensional scene interaction template includes a fixed scene hotspot and fixed scene elements in the fixed scene hotspot; The fixed scene hotspots include three-dimensional pictures and / or three-dimensional videos; the fixed scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; An activity scene element creation module, used to display a hotspot preview interface of the fixed scene hotspot, and create at least one activity scene element in the hotspot preview interface based on a user's local media library, wherein the activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; A scene element setting module, used to set the parameters of the active scene elements and the triggering conditions of all scene elements; as well as A video generation module, used for storing the fixed scene hot spots, the fixed scene elements and the active scene elements to generate a three-dimensional scene interactive video; The parameters of the activity scene elements are set by the following steps: If the activity scene element is a two-dimensional picture element, then the size parameter, position parameter, picture transparency and element life parameter of the two-dimensional picture element are set; If the activity scene element is a text element, then the size parameter, position parameter, text transparency and element life parameter of the text element are set; If the activity scene element is a two-dimensional video element, then based on setting the size parameter, position parameter, screen transparency, video progress parameter and element life parameter of the two-dimensional video element; The trigger conditions for all scene elements are set through the following steps: When the position parameter of the scene element is within the display range of the scene hotspot, the scene element within the display range is turned on; when the position parameter of the scene element is not within the display range of the scene hotspot, the scene element outside the display range is turned off; Based on the user's click operation on the scene element, turn on or off the corresponding scene element; Setting the activation association relationship of scene elements, when a scene element is activated, other scene elements that have activation association relationship with the scene element whose state is switched are activated together; and / or Set the closing association relationship of scene elements. When a scene element is closed, other scene elements that have a closing association relationship with the scene element whose state is switched are closed together.
6. A three-dimensional scene interactive video generation device based on scene elements, characterized in that: include: A template acquisition module is used to acquire a 3D scene interaction template, wherein the 3D scene interaction template includes a fixed scene hotspot, fixed scene elements in the fixed scene hotspot, and a template active scene element; wherein the fixed scene hotspot includes a 3D picture and / or a 3D video; the fixed scene element includes a 2D picture element, a 2D video element, or a text element; and the template active scene element includes a 2D picture element, a 2D video element, or a text element; An activity scene element creation module, used to display a hotspot preview interface of the fixed scene hotspot, and create at least one local activity scene element in the hotspot preview interface based on a user's local media library, wherein the local activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; A scene element setting module, used to set the parameters of the template active scene element and the local active scene element and the triggering conditions of all scene elements; as well as A video generation module, used for performing storage operations on the fixed scene hotspots, the fixed scene elements, the template active scene elements and the local active scene elements to generate a three-dimensional scene interactive video; The parameters of the activity scene elements are set by the following steps: If the activity scene element is a two-dimensional picture element, then the size parameter, position parameter, picture transparency and element life parameter of the two-dimensional picture element are set; If the activity scene element is a text element, then the size parameter, position parameter, text transparency and element life parameter of the text element are set; If the activity scene element is a two-dimensional video element, then based on setting the size parameter, position parameter, screen transparency, video progress parameter and element life parameter of the two-dimensional video element; The trigger conditions for all scene elements are set through the following steps: When the position parameter of the scene element is within the display range of the scene hotspot, the scene element within the display range is turned on; when the position parameter of the scene element is not within the display range of the scene hotspot, the scene element outside the display range is turned off; Based on the user's click operation on the scene element, turn on or off the corresponding scene element; Setting the activation association relationship of scene elements, when a scene element is activated, other scene elements that have activation association relationship with the scene element whose state is switched are activated together; and / or Set the closing association relationship of scene elements. When a scene element is closed, other scene elements that have a closing association relationship with the scene element whose state is switched are closed together.
