CN114363598B - Three-dimensional scene interactive video generation method and generation device - Google Patents
Three-dimensional scene interactive video generation method and generation device Download PDFInfo
- Publication number
- CN114363598B CN114363598B CN202210016488.1A CN202210016488A CN114363598B CN 114363598 B CN114363598 B CN 114363598B CN 202210016488 A CN202210016488 A CN 202210016488A CN 114363598 B CN114363598 B CN 114363598B
- Authority
- CN
- China
- Prior art keywords
- scene
- elements
- video
- dimensional
- hotspot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/10—Processing, recording or transmission of stereoscopic or multi-view image signals
- H04N13/106—Processing image signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/10—Processing, recording or transmission of stereoscopic or multi-view image signals
- H04N13/106—Processing image signals
- H04N13/156—Mixing image signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/10—Processing, recording or transmission of stereoscopic or multi-view image signals
- H04N13/106—Processing image signals
- H04N13/172—Processing image signals image signals comprising non-image signal components, e.g. headers or format information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Or Creating Images (AREA)
Abstract
本发明提供一种三维场景互动视频生成方法,其包括:获取三维场景互动模板;展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个活动场景要素;设置活动场景要素的参数以及所有场景要素的触发条件;对固定场景热点、固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。本发明还提供一种三维场景互动视频生成装置,本发明的三维场景互动视频的生成流程简单且难度较低。
The invention provides a method for generating a three-dimensional scene interactive video, which includes: obtaining a three-dimensional scene interactive template; displaying a hot spot preview interface of fixed scene hot spots, and creating at least one active scene element in the hot spot preview interface based on the user's local media library; setting an activity Parameters of scene elements and trigger conditions of all scene elements; storage operations are performed on fixed scene hotspots, fixed scene elements and active scene elements to generate 3D scene interactive videos. The present invention also provides a three-dimensional scene interactive video generating device. The process of generating the three-dimensional scene interactive video in the present invention is simple and relatively low in difficulty.
Description
技术领域technical field
本发明涉及图像处理技术领域,特别是涉及一种三维场景互动视频生成方法及生成装置。The present invention relates to the technical field of image processing, in particular to a method and device for generating a three-dimensional scene interactive video.
背景技术Background technique
随着科技的发展,用户对视频图像的要求越来越高,比如与视频图像中的展示内容可以进行交互、对视频图像进行个性化设置等。With the development of technology, users have higher and higher requirements for video images, such as interacting with displayed content in the video images, and performing personalized settings on the video images.
但是现有的多媒体影像内容包括了三维视频、二维视频、三维图像、二维图像以及音频等多种内容,如需要对多种不同类型的多媒体影像内容进行整合,以生成对应的三维场景互动视频,一般需要专业的视频处理人员按照客户的要求对不同的多媒体影像内容进行编辑处理,处理过程专业性强、难度较大。However, the existing multimedia video content includes 3D video, 2D video, 3D image, 2D image, audio and other content. For example, it is necessary to integrate various types of multimedia video content to generate corresponding 3D scene interaction. Video generally requires professional video processing personnel to edit and process different multimedia video content according to customer requirements. The processing process is highly professional and difficult.
故,有必要提供一种三维场景互动视频生成方法及生成装置,以解决现有技术所存在的问题。Therefore, it is necessary to provide a 3D scene interactive video generation method and a generation device to solve the problems existing in the prior art.
发明内容Contents of the invention
本发明实施例提供一种可对多种不同类型的多媒体影像内容进行整合的三维场景互动视频生成方法及生成装置,以解决现有的三维场景互动视频生成方法及生成装置对不同的多媒体影像内容进行编辑处理的专业性较强、难度较大的技术问题。Embodiments of the present invention provide a 3D scene interactive video generation method and generation device that can integrate multiple different types of multimedia image content, so as to solve the problem of the existing 3D scene interactive video generation method and generation device for different multimedia image contents. Professional and difficult technical issues that need to be edited and dealt with.
本发明实施例提供一种三维场景互动视频生成方法,其包括:An embodiment of the present invention provides a method for generating a three-dimensional scene interactive video, which includes:
获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;Obtain a 3D scene interaction template, wherein the 3D scene interaction template includes fixed scene hotspots and fixed scene elements in the fixed scene hotspots; wherein the fixed scene hotspots include 3D pictures and/or 3D videos; and the fixed scene elements include 2D Image elements, 2D video elements or text elements;
展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个活动场景要素,其中所述活动场景要素包括二维图片要素、二维视频要素或文字要素;Displaying the hot spot preview interface of the fixed scene hot spot, and creating at least one active scene element in the hot spot 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 ;
设置所述活动场景要素的参数以及所有场景要素的触发条件;以及Setting parameters of the active scene element and trigger conditions of all scene elements; and
对所述固定场景热点、所述固定场景要素以及所述活动场景要素进行存储操作,以生成三维场景互动视频。A storage operation is performed on the fixed scene hot spots, the fixed scene elements and the active scene elements to generate a three-dimensional scene interactive video.
本发明还提供一种三维场景互动视频生成方法,其包括:The present invention also provides a method for generating a three-dimensional scene interactive video, which includes:
获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;所述模板活动场景要素包括二维图片要素、二维视频要素或文字要素;Obtain a three-dimensional scene interactive template, wherein the three-dimensional scene interactive template includes fixed scene hotspots, fixed scene elements in fixed scene hotspots, and template active scene elements; wherein the fixed scene hotspots include three-dimensional pictures and/or three-dimensional videos; the fixed scene hotspots include three-dimensional pictures and/or three-dimensional videos; The scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; the template activity scene elements include two-dimensional picture elements, two-dimensional video elements or text elements;
展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个本地活动场景要素,其中所述本地活动场景要素包括二维图片要素、二维视频要素或文字要素;Displaying the 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 Text elements;
设置所述模板活动场景要素和所述本地活动场景要素的参数以及所有场景要素的触发条件;以及Setting parameters of the template active scene elements and the local active scene elements and trigger conditions of all scene elements; and
对所述固定场景热点、所述固定场景要素、所述模板活动场景要素以及所述本地活动场景要素进行存储操作,以生成三维场景互动视频。A storage operation is performed on the fixed scene hot spots, the fixed scene elements, the template active scene elements and the local active scene elements to generate a three-dimensional scene interactive video.
本发明还提供一种三维场景互动视频生成装置,其包括:The present invention also provides a three-dimensional scene interactive video generation device, which includes:
模板获取模块,用于获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;A template acquiring module, configured to acquire a 3D scene interactive template, wherein the 3D scene interactive template includes fixed scene hotspots and fixed scene elements in the fixed scene hotspots; wherein the fixed scene hotspots include 3D pictures and/or 3D videos; the Fixed scene elements include 2D picture elements, 2D video elements or text elements;
活动场景要素创建模块,用于展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个活动场景要素,其中所述活动场景要素包括二维图片要素、二维视频要素或文字要素;The active scene element creation module is used to display the hot spot preview interface of the fixed scene hot spot, and create at least one active scene element in the hot spot preview interface based on the user's local media library, wherein the active scene element includes a two-dimensional image element , two-dimensional video elements or text elements;
场景要素设置模块,用于设置所述活动场景要素的参数以及所有场景要素的触发条件;以及A scene element setting module, used to set the parameters of the active scene element and trigger conditions of all scene elements; and
视频生成模块,用于对所述固定场景热点、所述固定场景要素以及所述活动场景要素进行存储操作,以生成三维场景互动视频。A video generating module, configured to store the fixed scene hotspots, the fixed scene elements and the active scene elements, so as to generate a 3D scene interactive video.
本发明还提供一种三维场景互动视频生成装置,其包括:The present invention also provides a three-dimensional scene interactive video generation device, which includes:
模板获取模块,用于获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;所述模板活动场景要素包括二维图片要素、二维视频要素或文字要素;A template acquiring module, configured to acquire a three-dimensional scene interactive template, wherein the three-dimensional scene interactive template includes fixed scene hotspots, fixed scene elements in fixed scene hotspots, and template active scene elements; wherein the fixed scene hotspots include three-dimensional pictures and/or Three-dimensional video; 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;
活动场景要素创建模块,用于展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个本地活动场景要素,其中所述本地活动场景要素包括二维图片要素、二维视频要素或文字要素;An active scene element creation module, configured to display the hot spot preview interface of the fixed scene hot spot, and create at least one local active scene element in the hot spot preview interface based on the user's local media library, wherein the local active scene element includes two-dimensional Image elements, 2D video elements or text elements;
场景要素设置模块,用于设置所述模板活动场景要素和所述本地活动场景要素的参数以及所有场景要素的触发条件;以及A scene element setting module, configured to set parameters of the template active scene element and the local active scene element and trigger conditions of all scene elements; and
视频生成模块,用于对所述固定场景热点、所述固定场景要素、所述模板活动场景要素以及所述本地活动场景要素进行存储操作,以生成三维场景互动视频。A video generation module, configured to store the fixed scene hot spots, the fixed scene elements, the template active scene elements and the local active scene elements, so as to generate a three-dimensional scene interactive video.
本发明实施例还提供一种计算机可读存储介质,其内存储有处理器可执行指令,所述指令由一个或一个以上处理器加载,以执行上述任一三维场景互动视频生成方法。An embodiment of the present invention also provides a computer-readable storage medium, which stores processor-executable instructions, and the instructions are loaded by one or more processors to execute any of the above-mentioned methods for generating interactive 3D scene videos.
相较于现有技术,本发明的三维场景互动视频生成方法和生成装置使用三维场景互动模板进行场景热点和场景要素的创建,使得用户便于在热点预览界面中进行不同类型的多媒体影像内容的整合,三维场景互动视频的生成流程简单且难度较低,有效解决了现有的三维场景互动视频生成方法及生成装置对不同的多媒体影像内容进行编辑处理的专业性较强、难度较大的技术问题。Compared with the prior art, the 3D scene interactive video generating method and generating device of the present invention use a 3D scene interactive template to create scene hotspots and scene elements, so that users can easily integrate different types of multimedia image content in the hotspot preview interface , the generation process of the 3D scene interactive video is simple and relatively low in difficulty, effectively solving the technical problem that the existing 3D scene interactive video generation method and generation device edit and process different multimedia image contents with strong professionalism and relatively high difficulty .
附图说明Description of drawings
图1为本发明的三维场景互动视频生成方法的一实施例的流程图;Fig. 1 is the flow chart of an embodiment of the three-dimensional scene interactive video generation method of the present invention;
图2为本发明的三维场景互动视频生成方法的第一实施例中的三维场景互动模板的生成流程图;Fig. 2 is a flow chart of generating a 3D scene interactive template in the first embodiment of the method for generating a 3D scene interactive video of the present invention;
图3为本发明的三维场景互动视频生成方法的第二实施例的流程图;3 is a flowchart of a second embodiment of the method for generating a 3D scene interactive video of the present invention;
图4为本发明的三维场景互动视频生成方法的第二实施例中的三维场景互动模板的生成流程图;Fig. 4 is a flow chart of generating a 3D scene interactive template in the second embodiment of the method for generating a 3D scene interactive video of the present invention;
图5为本发明的三维场景互动视频生成装置的第一实施例的结构示意图;FIG. 5 is a schematic structural diagram of the first embodiment of the three-dimensional scene interactive video generating device of the present invention;
图6为本发明的三维场景互动视频生成装置的第二实施例的结构示意图;FIG. 6 is a schematic structural diagram of the second embodiment of the 3D scene interactive video generating device of the present invention;
图7为本发明的三维场景互动模板的模板创建流程图;Fig. 7 is the template creation flowchart of the three-dimensional scene interactive template of the present invention;
图8a-8i为模板创建流程的示意图。8a-8i are schematic diagrams of template creation process.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.
本发明的三维场景互动视频生成方法及生成装置用于对不同类型的多媒体影像内容进行整合编辑的电子设备,该电子设备包括但不限于可穿戴设备、头戴设备、医疗健康平台、个人计算机、服务器计算机、手持式或膝上型设备、移动设备(比如移动电话、个人数字助理(PDA)、媒体播放器等等)、多处理器系统、消费型电子设备、小型计算机、大型计算机、包括上述任意系统或设备的分布式计算环境,等等。该电子设备优选为对多媒体影像内容进行整合编辑的内容编辑电子设备,以便对不同类型的多媒体影像内容进行整合编辑,生成对应的三维场景互动视频。The three-dimensional scene interactive video generation method and generation device of the present invention are used for electronic equipment that integrates and edits different types of multimedia image content, and the electronic equipment includes but is not limited to wearable equipment, head-mounted equipment, 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.), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, including the above Distributed computing environments for arbitrary systems or devices, etc. The electronic device is preferably a content editing electronic device for integrating and editing multimedia image content, so as to integrate and edit different types of multimedia image content to generate corresponding three-dimensional scene interactive videos.
请参照图1,图1为本发明的三维场景互动视频生成方法的第一实施例的流程图。本实施例的三维场景互动视频生成方法可使用上述的内容编辑电子设备进行实施。本实施例的三维场景互动视频生成方法包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a flowchart of a first embodiment of a method for generating a 3D scene interactive video according to the present invention. The method for generating a 3D scene interactive video in this embodiment can be implemented by using the above-mentioned content editing electronic device. The method for generating a three-dimensional scene interactive video in this embodiment includes the following steps:
步骤S101,获取三维场景互动模块,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;Step S101, obtaining a 3D scene interaction module, wherein the 3D scene interaction template includes fixed scene hotspots and fixed scene elements in the fixed scene hotspots; the fixed scene hotspots include 3D pictures and/or 3D videos; the fixed scene elements include 2D picture elements, 2D video elements or text elements;
步骤S102,展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个活动场景要素,其中活动场景要素包括二维图片要素、二维视频要素或文字要素;Step S102, displaying a hotspot preview interface of fixed scene hotspots, and creating 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;
步骤S103,设置活动场景要素的参数以及所有场景要素的触发条件;Step S103, setting parameters of active scene elements and trigger conditions of all scene elements;
步骤S104,对固定场景热点、固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。Step S104, storing the fixed scene hotspots, fixed scene elements and active scene elements to generate a 3D scene interactive video.
下面详细说明本实施例的三维场景互动视频生成方法的互动视频生成过程。The interactive video generation process of the method for generating a 3D scene interactive video in this embodiment will be described in detail below.
在步骤S101中,内容编辑电子设备获取三维场景互动模板;该三维场景互动模板包括固定场景热点以及固定场景要素,其中固定场景热点包括三维图片和/或三维视频,固定场景要素包括二维图片要素、二维视频要素或文字要素。In step S101, the content editing electronic device obtains a 3D scene interaction template; the 3D scene interaction template includes fixed scene hotspots and fixed scene elements, wherein the fixed scene hotspots include 3D pictures and/or 3D videos, and the fixed scene elements include 2D picture elements , 2D video features, or text features.
该三维场景互动模板为预先设置的多个固定场景热点以及多个固定场景要素的视频场景模板,比如冬季的雪景模板、圣诞模板、新年模板等,这样用户只需要在对应的三维场景互动模板上加上自己个性化的活动场景要素,即可形成个性化的三维场景互动视频,从而有效降低的用户制作个性化的三维场景互动视频的难度。The 3D scene interactive template is a video scene template with multiple fixed scene hotspots and multiple fixed scene elements preset, such as winter snow scene templates, Christmas templates, New Year templates, etc., so that users only need to click on the corresponding 3D scene interactive template. Adding your own personalized activity scene elements can form a personalized 3D scene interactive video, thereby effectively reducing the difficulty for users to make personalized 3D scene interactive videos.
在步骤S102中,内容编辑电子设备展示固定场景热点的热点预览界面。该热点预览界面为在对应的固定场景热点上设置对应的活动场景要素的场景界面。用户可将用户本地媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个活动场景要素,进而后续对活动场景要素进行编辑。In step S102, the content editing electronic device displays a hotspot preview interface of fixed scene hotspots. The hot spot preview interface is a scene interface for setting corresponding active scene elements on corresponding fixed scene hot spots. The user can set the 2D picture, 2D video 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 subsequently.
在步骤S103中,内容编辑电子设备设置活动场景要素的参数以及所有场景要素的触发条件。In step S103, the content editing electronic device sets parameters of active scene elements and trigger conditions of all scene elements.
具体的,如活动场景要素为二维图片要素,则内容编辑电子设备设置二维图片要素的尺寸参数、位置参数、图片透明度和要素寿命参数。二维图片要素的尺寸参数是指二维图片的尺寸大小参数;二维图片要素的位置参数是指二维图片在热点预览界面中的位置信息;二维图片要素的图片透明度是指二维图片在热点预览界面中的透明度信息;二维图片要素的要素寿命参数是指二维图片在热点预览界面中的嵌入寿命,如设置二维图片在三维视频中的嵌入入点时间以及嵌入出点时间等。Specifically, if the active scene element is a two-dimensional image element, the content editing electronic device sets the size parameters, position parameters, image transparency and element life parameters of the two-dimensional image element. The size parameter of the 2D image element refers to the size parameter of the 2D image; the position parameter of the 2D image element refers to the position information of the 2D image in the hotspot preview interface; the image transparency of the 2D image element refers to the Transparency information in the hotspot preview interface; the element life parameter of the 2D image element refers to the embedded life of the 2D image in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D image in the 3D video wait.
如活动场景要素为文字要素,则内容编辑电子设备设置文字要素的尺寸参数、位置参数、文字透明度和要素寿命参数。文字要素的尺寸参数是指文字要素的尺寸大小参数;文字要素的尺寸参数是指文字要素在热点预览界面中的位置信息;文字要素的文字透明度是指文字要素在热点预览界面中的透明度信息;文字要素的要素寿命参数是指文字要素在热点预览界面中的嵌入寿命,如设置文字要素在三维视频中的嵌入入点时间以及嵌入出点时间等。If the active scene element is a text element, the content editing electronic device sets the size parameters, position parameters, text transparency and element life parameters 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 in point time and embedding out point time of the text element in the 3D video, etc.
如活动场景要素为二维视频要素,则内容编辑电子设备设置二维视频要素的尺寸参数、位置参数、画面透明度、视频进度参数以及要素寿命参数。二维视频要素的尺寸参数是指二维视频的画面尺寸大小参数;二维视频要素的位置参数是指二维视频在热点预览界面中的位置信息;二维视频要素的画面透明度是指二维视频在热点预览界面中的透明度信息;二维视频要素的视频进度参数是指二维视频在热点预览界面中播放参数,比如是否循环播放、设置播放内容、以及设置播放控制器等参数。二维视频要素的要素寿命参数是指二维视频在热点预览界面中的嵌入寿命,如设置二维视频在三维视频中的嵌入入点时间以及嵌入出点时间等。If the active scene element is a two-dimensional video element, the content editing electronic device sets the size parameter, position parameter, screen transparency, video progress parameter and element life parameter of the two-dimensional video element. The size parameter of the 2D video element refers to the screen size parameter of the 2D video; the position parameter of the 2D video element refers to the position information of the 2D video in the hotspot preview interface; the screen transparency of the 2D video element refers to the 2D The transparency information of the video in the hotspot preview interface; the video progress parameter of the 2D video element refers to the playback parameters of the 2D video in the hotspot preview interface, such as whether to play in a loop, set the playback content, and set the playback controller and other parameters. The element life parameter of the 2D video element refers to the embedded life of the 2D video in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D video in the 3D video, etc.
场景要素的触发条件是指在热点预览界面中触发二维图片要素、二维视频要素或文字要素的条件。这里的触发可为对二维图片要素或文字要素的显示操作,以及对二维视频要素的播放操作。The triggering condition of the scene element refers to the condition of triggering the 2D picture element, 2D video element or text element in the hotspot preview interface. The trigger here can be a display operation on a 2D picture element or a text element, and a playback operation on a 2D video element.
为了进一步节省视频播放客户端的资源,内容编辑电子设备可设置场景要素的位置参数位于场景热点的显示范围内时,开启显示范围内容的场景要素,即显示对应的二维图片要素或文字要素,或播放对应的二维视频要素。如场景要素的位置参数没有位于场景热点的显示范围内时,由于用户本来就无法观察到场景热点的显示范围外的场景要素,因此关闭该显示范围外的场景要素,以节省视频播放客户端的资源。In order to further save the resources of the video playback client, the content editing electronic device can set the position parameter of the scene element to be within the display range of the scene hotspot, open the scene element of the display range content, that is, display the corresponding two-dimensional picture element or text element, or Play the corresponding 2D video element. If the position parameter of the scene element is not within the display range of the scene hotspot, since the user cannot observe the scene element outside the display range of the scene hotspot, the scene element outside the display range is closed to save the resources of the video playback client .
当然这里也可基于用户对场景要素的点击操作,开启或关闭对应的场景要素,即用户对场景要素进行手动开启或关闭控制。Of course, 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 controls the scene element to be turned on or off manually.
为了提高同一热点预览界面下不同场景要素的关联性,内容编辑电子设备可设置同一热点预览界面下不同场景要素的开启关联关系以及关闭关联关系,当一场景要素开启时,与状态切换的场景要素具有开启关联关系的其他场景要素一并开启。比如有一个电视打开按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频要素与其建立开启关联关系,当电视打开按钮被触发时,该电视的二维视频要素同时也被触发。或者当收音机的二维图片要素被触发时,设定广播电台的声音要素也同时被触发,从而给用户造成打开收音机的展示效果。In order to improve the relevance of different scene elements under the same hotspot preview interface, the content editing electronic device can set the open association relationship and close association relationship of different scene elements under the same hotspot preview interface. Other scene elements that have an open association relationship are opened together. For example, if there is a 2D picture element of a TV open button, you can set the 2D video element of the next TV on the hotspot preview interface to establish an open relationship with it. When the TV open button is triggered, the 2D video element of the TV is also activated at the same time. trigger. Or when the two-dimensional picture element of the radio is triggered, the sound element of setting the radio station is also triggered at the same time, thereby giving the user the display effect of turning on the radio.
同理,当一场景要素关闭时,与状态切换的场景要素具有关闭关联关系的其他场景要素一并关闭。比如有一个电视关闭按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频与其建立关闭关联关系,当电视关闭按钮被触发时,该电视的二维视频要素同时被关闭。Similarly, when a scene element is closed, other scene elements that have a closed association relationship with the scene element whose state is switched are closed together. For example, if there is a 2D picture element of a TV off button, you can set the 2D video of the next TV on the hotspot preview interface to establish a close relationship with it. When the TV off button is triggered, the 2D video element of the TV will be turned off at the same time.
当然这里场景要素的关闭也可与其他场景要素的开启相关联,场景要素的开启也可与其他场景要素的关闭相关联,这样用户可通过点击一个场景要素,实现多个场景要素之间的关联触发或关闭,便于用户对同一热点预览界面下多个场景要素的联动设置,提高了用户的互动视频的观看体验。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, so that users can click on a scene element to realize the association between multiple scene elements Triggered or closed, it is convenient for the user to set the linkage of multiple scene elements under the same hotspot preview interface, which improves the user's interactive video viewing experience.
由于固定场景要素的编辑和活动场景要素的编辑方法类似,且不会对整个三维场景互动模板的场景框架造成不可逆转的影响,因此这里设置用户可设置固定场景要素和活动场景要素的触发条件,但是不能改变固定场景要素的参数。Since the editing method of fixed scene elements is similar to that of active scene elements, and will not cause irreversible impact on the scene frame of the entire 3D scene interactive template, the user can set the trigger conditions for fixed scene elements and active scene elements here. But the parameters of fixed scene elements cannot be changed.
在步骤S104中,内容编辑电子设备对步骤S101获取的固定场景热点、对步骤S103获取的固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。用户可通过与三维场景互动视频进行互动,观看所有的场景热点以及场景热点中的场景要素。In step S104, the electronic content editing device stores the fixed scene hot spots obtained in step S101, the fixed scene elements and active scene elements obtained in step S103, so as to generate a three-dimensional scene interactive video. Users can interact with the 3D scene interactive video to watch all scene hotspots and scene elements in the scene hotspots.
这样即完成了本实施例的三维场景互动视频生成方法的三维场景互动视频的创建过程。In this way, the creation process of the 3D scene interactive video in the 3D scene interactive video generation method of this embodiment is completed.
下面详细说明本实施例中三维场景互动模板的生成过程,具体请参照图2,图2为本发明的三维场景互动视频生成方法的第一实施例中的三维场景互动模板的生成流程图。该三维场景互动模板的生成流程包括:The following describes the generation process of the 3D scene interaction template in this embodiment in detail. Please refer to FIG. 2 for details. FIG. 2 is a flowchart for generating a 3D scene interaction template in the first embodiment of the method for generating a 3D scene interaction video according to the present invention. The generation process of the 3D scene interactive template includes:
步骤S201,获取预设媒体库,其中预设媒体库中包括三维图片、二维图片、三维视频以及二维视频;Step S201, obtaining a preset media library, wherein the preset media library includes 3D pictures, 2D pictures, 3D videos and 2D videos;
步骤S202,展示场景预览界面,并基于用户的第一操作在场景预览界面中创建至少一个场景热点,其中场景热点为三维图片和/或三维视频;Step S202, displaying the scene preview interface, and creating at least one scene hot spot in the scene preview interface based on the user's first operation, where the scene hot spot is a 3D picture and/or 3D video;
步骤S203,基于用户的第二操作,设置场景热点的参数;Step S203, based on the user's second operation, setting the parameters of the scene hotspot;
步骤S204,展示场景热点的热点预览界面,并基于用户的第三操作在热点预览界面中创建至少一个场景要素,其中场景要素为二维图片要素、二维视频要素或文字要素;Step S204, displaying a hotspot preview interface of scene hotspots, and creating at least one scene element in the hotspot preview interface based on a third user operation, wherein the scene element is a 2D image element, a 2D video element or a text element;
步骤S205,基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件;Step S205, based on the user's fourth operation, setting the parameters of the scene elements and the trigger conditions of the scene elements;
步骤S206,将场景热点设置为固定场景热点,将场景要素设置为固定场景要素;Step S206, setting scene hotspots as fixed scene hotspots, setting scene elements as fixed scene elements;
步骤S207,根据固定场景热点以及固定场景热点中的固定场景要素,生成三维场景互动模板。Step S207, generating a three-dimensional scene interaction template according to the fixed scene hot spots and the fixed scene elements in the fixed scene hot spots.
下面详细说明本实施例的三维场景互动模板的生成流程。The following describes the process of generating the 3D scene interaction template in this embodiment in detail.
在步骤S201中,内容编辑电子设备获取预设媒体库,该预设媒体库用于存储三维图片、二维图片、三维视频以及二维视频等多媒体影像内容。In step S201, the content editing electronic device acquires a preset media library, which is used to store multimedia image content such as 3D pictures, 2D pictures, 3D videos, and 2D videos.
其中三维图片是以用户观察点为中心点的周围360度内容影像的全景图片;三维视频是以用户观察点为中心点的周围360度内容影像的全景视频;二维图片是某个区域范围的内容影像的平面图片;三维视频是某个区域范围的内容影像的平面视频。Among them, the 3D picture is a panoramic picture of the surrounding 360-degree content image with the user's observation point as the center point; the 3D video is the panoramic video of the surrounding 360-degree content image with the user's observation point as the center point; the 2D picture is a certain area range A flat image of a content image; 3D video is a flat video of an area-wide content image.
由于三维图片和三维视频展示的内容影像一般大于用户的实际观察范围,因此可将三维图片和三维视频设置为场景热点,以便创造用户周边的虚拟场景。同时二维图片和二维视频展示的内容影像一般小于用户的实际观察范围,因此可将二维图片和二维视频设置为场景热点中的场景要素,以便创造用户周边的虚拟场景中的部分虚拟要素。随后转到步骤S202。Since the content images displayed by 3D pictures and 3D videos are generally larger than the actual viewing range of the user, the 3D pictures and 3D videos can be set as scene hotspots, so as 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. Therefore, 2D pictures and 2D videos can be set as scene elements in the scene hotspots, so as to create part of the virtual scene in the virtual scene around the user. elements. Then go to step S202.
在步骤S202中,内容编辑电子设备展示场景预览界面,该场景预览界面是指用于设置场景热点的界面,用户可通过将预设媒体库中的三维图片以及三维视频设置到场景预览界面中,以便对场景热点进行编辑。In step S202, the content editing electronic device displays a scene preview interface. The scene preview interface refers to an interface for setting scene hotspots. The user can set the 3D pictures and 3D videos in the preset media library to the scene preview interface, In order to edit scene hotspots.
具体的,三维图片和三维视频可通过内容预览图的方式在预设媒体库中进行展示,这样用户可通过拖扯该内容预览图的方式将三维图片以及三维视频等场景热点添加到场景预览界面中。Specifically, 3D pictures and 3D videos can be displayed in the preset media library in the form of content previews, so that users can add scene hotspots such as 3D pictures and 3D videos to the scene preview interface by dragging and dropping the content previews middle.
此外,如基于用户的第一操作(拖扯内容预览图等),在场景预览界面中创建了多个场景热点,内容编辑电子设备还可基于用户的第一操作(创建不同场景热点之间的连接线)创建多个场景热点之间的连接关系,以便实现不同场景热点之间的切换。该场景热点的连接关系用于在对应的热点预览界面中设置连接关系对应的相邻热点链接。随后转到步骤S203。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 be based on the user's first operation (creating different scene hotspots). Connecting line) to create a connection relationship between multiple scene hotspots, so as to realize switching between different scene hotspots. The connection relationship of the scene hotspot is used to set the adjacent hotspot link corresponding to the connection relationship in the corresponding hotspot preview interface. Then go to step S203.
在步骤S203中,内容编辑电子设备基于用户的第二操作,设置场景热点的参数。In step S203, the content editing electronic device sets parameters of scene hotspots based on the user's second operation.
具体的,如场景热点为三维图片,则内容编辑电子设备则基于用户的第二操作,设置该三维图片的初始角度参数以及初始范围参数。该初始角度参数是指进入三维图片对应的场景热点时,用户可观察到的三维图片的初始角度。该初始范围参数是指进入三维图片对应的场景热点时,用户可观察到的三维图片的角度范围。这里的第二操作可为用户直接输入场景热点的参数或者在预设参数的基础上调整场景热点的参数的操作。Specifically, if the scene hotspot is a 3D picture, the content editing electronic device sets the initial angle parameter and the initial range parameter of the 3D picture based on the user's second operation. The initial angle parameter refers to an initial angle of the 3D picture that the user can observe when entering a scene hotspot corresponding to the 3D picture. The initial range parameter refers to the angle range of the 3D picture that the user can observe when entering the scene hotspot corresponding to the 3D picture. The second operation here may be an operation in which the user directly inputs the parameters of the scene hotspot or adjusts the parameters of the scene hotspot on the basis of preset parameters.
比如该三维图片是个卧室内部结构的三维图片,则该三维图片的初始角度参数可为用户背对卧室门口的角度,该三维图片的初始范围参数可为用户站在卧室门口可观察到的三维图片的大致120度范围的图片内容,这样即可较好的重建互动视频中用户进入该卧室内部的场景。For example, if the 3D picture is a 3D picture of the internal structure of a bedroom, the initial angle parameter of the 3D picture may be the angle at which the user faces away from the door of the bedroom, and the initial range parameter of the 3D picture may be the 3D picture that the user can observe while standing at the door of the bedroom In this way, the scene where the user enters the interior of the bedroom in the interactive video can be better reconstructed.
随后内容编辑电子设备基于设置的三维图片的初始角度参数以及初始范围参数,生成三维图片的热点预览界面。如该场景热点具有相邻场景热点,则可在三维图片的热点预览界面上设置该相邻场景热点的相邻热点链接。Then the content editing electronic device generates a hotspot preview interface of the 3D picture based on the set initial angle parameter and initial range parameter of the 3D picture. If the scene hotspot has an adjacent scene hotspot, the adjacent hotspot link of the adjacent scene hotspot can be set on the hotspot preview interface of the 3D picture.
如场景热点为三维视频,则内容编辑电子设备则基于用户的第二操作,设置该三维视频的初始角度参数、初始范围参数以及视频进度参数。该初始监督参数是指进入三维视频对应的场景热点时,用户可观察到的三维视频的初始角度。该初始范围参数是指进入三维视频对应的场景热点时,用户可观察到的三维视频的角度范围。视频进度参数是指进入三维视频对应的场景热点时,该三维视频的播放进度。If the hotspot of the scene is a 3D video, the content editing electronic device sets the initial angle parameter, initial range parameter and video progress parameter of the 3D video based on the user's second operation. The initial supervision parameter refers to an initial angle of the 3D video that the user can observe when entering a scene hotspot corresponding to the 3D video. The initial range parameter refers to an angle range of the 3D video that the user can observe when entering a scene hotspot corresponding to the 3D video. The video progress parameter refers to the playback progress of the 3D video when entering the scene hotspot corresponding to the 3D video.
随后内容编辑电子设备可基于设置的三维视频的初始角度参数、初始范围参数以及视频进度参数,生成三维视频的热点预览界面。如该场景热点具有相邻场景热点,则可在三维视频的热点预览界面上设置该相邻场景热点的相邻热点链接。Then the content editing electronic device can generate a hotspot preview interface of the 3D video based on the set initial angle parameter, initial range parameter and video progress parameter of the 3D video. If the scene hotspot has an adjacent scene hotspot, the adjacent hotspot link of the adjacent scene hotspot can be set on the hotspot preview interface of the 3D video.
这里一个场景热点可具有多个相邻场景热点,每个相邻场景热点均具有对应的相邻热点链接,其中某些相邻热点链接是设置在三维视频或三维图片的固定位置,某些相邻热点链接可设置在三维视频上的某个活动物体上(如三维视频上某个活动的人物),则内容编辑电子设备可基于三维视频的视频进度参数,在三维视频上活动设置场景热点的相邻热点链接,即基于该三维视频的视频进度参数的不同,该相邻热点链接在三维视频中的位置也有所不同。随后转到步骤S204。Here, a scene hotspot can have multiple adjacent scene hotspots, and each adjacent scene hotspot has a corresponding adjacent hotspot link, wherein some adjacent hotspot links are set at fixed positions of the 3D video or 3D picture, and some The adjacent hotspot link can be set on a certain active object on the 3D video (such as a certain active character on the 3D video), and then the content editing electronic device can actively set the location of the scene hotspot on the 3D video based on the video progress parameters of the 3D video. Adjacent hot links, that is, based on different video progress parameters of the 3D video, the positions of the adjacent hot links in the 3D video are also different. Then go to step S204.
在步骤S204中,内容编辑电子设备展示场景热点的热点预览界面。该热点预览界面为在对应的场景热点上设置对应的场景要素的场景界面。用户可通过第三操作将预设媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个场景要素,进而后续对场景要素进行编辑。该第三操作也可以是用户对场景要素的内容预览图的拖扯操作或者选择操作。In step S204, the content editing electronic device displays a hotspot preview interface of scene hotspots. The hotspot preview interface is a scene interface for setting corresponding scene elements on corresponding scene hotspots. The user can set the 2D pictures, 2D video and/or text elements 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 perform subsequent scene elements edit. The third operation may also be a user's drag operation or selection operation on the content preview image of the scene element.
具体的,由于场景热点的三维视频中具有活动内容,因此可能会与场景要素内容的展示发生冲突。Specifically, since the 3D video of the scene hotspot has active content, it may conflict with the display of the content of the scene element.
比如一般场景要素的展示界面应覆盖场景热点的展示界面,以实现场景要素在场景热点中的有效展示,比如在场景热点中设置一电视内容的二维视频作为场景要素,该电视内容的二维视频应位于最高层的展示界面。但是如场景要素的展示界面一直覆盖了场景热点的展示界面,如场景热点也具有活动的物体(如一活动的人),可能造成场景热点中活动的物体应该从电视前面经过,但是画面却是电视内容将该活动的物体遮挡住的冲突效果。For example, the display interface of general scene elements should cover the display interface of scene hotspots, so as to realize the effective display of scene elements in scene hotspots. Video should be on the topmost display screen. However, if the display interface of the scene elements has been covering the display interface of the scene hot spot, if the scene hot spot also has an active object (such as an active person), it may cause the active object in the scene hot spot to pass in front of the TV, but the picture is the TV The conflict effect that the content obscures the active object.
为了避免场景热点中的三维视频与场景要素中的内容发生冲突。这里内容编辑电子设备会获取三维视频中的静态区域,该静态区域是指三维视频播放过程中画面内容没有发生变化的区域。这样在展示场景热点的热点预览界面中,可在热点预览界面的静态区域创建静态场景要素(设置在静态区域的场景要素),由于静态区域的三维视频的内容是没有发生变化的,因此不会产生静态场景要素遮挡场景热点的活动内容的展示冲突,设置场景要素的展示界面覆盖场景热点的展示界面即可。随后转到步骤S205。In order to avoid conflicts between the 3D video in the scene hotspot and the content in the scene element. Here, the content editing electronic device will obtain a static area in the 3D video, and the static area refers to an area where the picture content does not change during the playback of the 3D video. In this way, in the hotspot preview interface showing scene hotspots, 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 3D video in the static area does not change, it will not To generate display conflicts of active content where static scene elements block scene hotspots, it is sufficient to set the display interface of scene elements to cover the display interface of scene hotspots. Then go to step S205.
在步骤S205中,内容编辑电子设备基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件。In step S205, the content editing electronic device sets parameters of scene elements and trigger conditions of scene elements based on the user's fourth operation.
具体的,如场景要素为二维图片要素,则内容编辑电子设备基于第四操作,设置二维图片要素的尺寸参数、位置参数、图片透明度和要素寿命参数。二维图片要素的尺寸参数是指二维图片的尺寸大小参数;二维图片要素的位置参数是指二维图片在热点预览界面中的位置信息;二维图片要素的图片透明度是指二维图片在热点预览界面中的透明度信息;二维图片要素的要素寿命参数是指二维图片在热点预览界面中的嵌入寿命,如设置二维图片在三维视频中的嵌入入点时间以及嵌入出点时间等。这里的第四操作可为用户直接输入二维图片要素的参数或者在预设参数的基础上调整二维图片要素的参数的操作。Specifically, if the scene element is a two-dimensional image element, the content editing electronic device sets the size parameter, position parameter, image transparency and element life parameter of the two-dimensional image element based on the fourth operation. The size parameter of the 2D image element refers to the size parameter of the 2D image; the position parameter of the 2D image element refers to the position information of the 2D image in the hotspot preview interface; the image transparency of the 2D image element refers to the Transparency information in the hotspot preview interface; the element life parameter of the 2D image element refers to the embedded life of the 2D image in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D image in the 3D video wait. The fourth operation here may 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 on the basis of preset parameters.
如场景要素为文字要素,则内容编辑电子设备基于第四操作,设置文字要素的尺寸参数、位置参数、文字透明度和要素寿命参数。文字要素的尺寸参数是指文字要素的尺寸大小参数;文字要素的尺寸参数是指文字要素在热点预览界面中的位置信息;文字要素的文字透明度是指文字要素在热点预览界面中的透明度信息;文字要素的要素寿命参数是指文字要素在热点预览界面中的嵌入寿命,如设置文字要素在三维视频中的嵌入入点时间以及嵌入出点时间等。这里的第四操作可为用户直接输入文字要素的参数或者在预设参数的基础上调整文字要素的参数的操作。If the scene element is a text element, based on the fourth operation, 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 in point time and embedding out point time of the text element in the 3D video, etc. The fourth operation here may be an operation in which the user directly inputs the parameters of the text element or adjusts the parameters of the text element on the basis of preset parameters.
如场景要素为二维视频要素,则内容编辑电子设备基于第四操作,设置二维视频要素的尺寸参数、位置参数、画面透明度、视频进度参数以及要素寿命参数。二维视频要素的尺寸参数是指二维视频的画面尺寸大小参数;二维视频要素的位置参数是指二维视频在热点预览界面中的位置信息;二维视频要素的画面透明度是指二维视频在热点预览界面中的透明度信息;二维视频要素的视频进度参数是指二维视频在热点预览界面中播放参数,比如是否循环播放、设置播放内容、以及设置播放控制器等参数。二维视频要素的要素寿命参数是指二维视频在热点预览界面中的嵌入寿命,如设置二维视频在三维视频中的嵌入入点时间以及嵌入出点时间等。这里的第四操作可为用户直接输入二维视频要素的参数或者在预设参数的基础上调整二维视频要素的参数的操作。If the scene element is a two-dimensional video element, the content editing electronic device sets the size parameter, position parameter, screen transparency, video progress parameter and element life parameter of the two-dimensional video element based on the fourth operation. The size parameter of the 2D video element refers to the screen size parameter of the 2D video; the position parameter of the 2D video element refers to the position information of the 2D video in the hotspot preview interface; the screen transparency of the 2D video element refers to the 2D The transparency information of the video in the hotspot preview interface; the video progress parameter of the 2D video element refers to the playback parameters of the 2D video in the hotspot preview interface, such as whether to play in a loop, set the playback content, and set the playback controller and other parameters. The element life parameter of the 2D video element refers to the embedded life of the 2D video in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D video in the 3D video, etc. The fourth operation here may be an operation in which the user directly inputs the parameters of the 2D video elements or adjusts the parameters of the 2D video elements on the basis of preset parameters.
场景要素的触发条件是指在热点预览界面中触发二维图片要素、二维视频要素或文字要素的条件。这里的触发可为对二维图片要素或文字要素的显示操作,以及对二维视频要素的播放操作。The triggering condition of the scene element refers to the condition of triggering the 2D picture element, 2D video element or text element in the hotspot preview interface. The trigger here can be a display operation on a 2D picture element or a text element, and a playback operation on a 2D video element.
为了进一步节省视频播放客户端的资源,内容编辑电子设备可设置场景要素的位置参数位于场景热点的显示范围内时,开启显示范围内容的场景要素,即显示对应的二维图片要素或文字要素,或播放对应的二维视频要素。如场景要素的位置参数没有位于场景热点的显示范围内时,由于用户本来就无法观察到场景热点的显示范围外的场景要素,因此关闭该显示范围外的场景要素,以节省视频播放客户端的资源。In order to further save the resources of the video playback client, the content editing electronic device can set the position parameter of the scene element to be within the display range of the scene hotspot, open the scene element of the display range content, that is, display the corresponding two-dimensional picture element or text element, or Play the corresponding 2D video element. If the position parameter of the scene element is not within the display range of the scene hotspot, since the user cannot observe the scene element outside the display range of the scene hotspot, the scene element outside the display range is closed to save the resources of the video playback client .
当然这里也可基于用户对场景要素的点击操作,开启或关闭对应的场景要素,即用户对场景要素进行手动开启或关闭控制。Of course, 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 controls the scene element to be turned on or off manually.
为了提高同一热点预览界面下不同场景要素的关联性,内容编辑电子设备可设置同一热点预览界面下不同场景要素的开启关联关系以及关闭关联关系,当一场景要素开启时,与状态切换的场景要素具有开启关联关系的其他场景要素一并开启。比如有一个电视打开按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频要素与其建立开启关联关系,当电视打开按钮被触发时,该电视的二维视频要素同时也被触发。或者当收音机的二维图片要素被触发时,设定广播电台的声音要素也同时被触发,从而给用户造成打开收音机的展示效果。In order to improve the relevance of different scene elements under the same hotspot preview interface, the content editing electronic device can set the open association relationship and close association relationship of different scene elements under the same hotspot preview interface. Other scene elements that have an open association relationship are opened together. For example, if there is a 2D picture element of a TV open button, you can set the 2D video element of the next TV on the hotspot preview interface to establish an open relationship with it. When the TV open button is triggered, the 2D video element of the TV is also activated at the same time. trigger. Or when the two-dimensional picture element of the radio is triggered, the sound element of setting the radio station is also triggered at the same time, thereby giving the user the display effect of turning on the radio.
同理,当一场景要素关闭时,与状态切换的场景要素具有关闭关联关系的其他场景要素一并关闭。比如有一个电视关闭按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频与其建立关闭关联关系,当电视关闭按钮被触发时,该电视的二维视频要素同时被关闭。Similarly, when a scene element is closed, other scene elements that have a closed association relationship with the scene element whose state is switched are closed together. For example, if there is a 2D picture element of a TV off button, you can set the 2D video of the next TV on the hotspot preview interface to establish a close relationship with it. When the TV off button is triggered, the 2D video element of the TV will be turned off at the same time.
当然这里场景要素的关闭也可与其他场景要素的开启相关联,场景要素的开启也可与其他场景要素的关闭相关联,这样用户可通过点击一个场景要素,实现多个场景要素之间的关联触发或关闭,便于用户对同一热点预览界面下多个场景要素的联动设置,提高了用户的互动视频的观看体验。随后转到步骤S206。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, so that users can click on a scene element to realize the association between multiple scene elements Triggered or closed, it is convenient for the user to set the linkage of multiple scene elements under the same hotspot preview interface, which improves the user's interactive video viewing experience. Then go to step S206.
在步骤S206中,内容编辑电子设备将步骤S202中设置的场景热点设置为固定场景热点,将步骤S204中设置的场景要素设置为固定场景要素;固定场景热点为三维场景互动模板不能进行参数更改的场景热点,固定场景要素为三维场景互动模板不能进行参数更改的场景要素,这样后面用户可方便的在三维场景互动模板上增加活动场景要素。随后转到步骤S207。In step S206, the content editing electronic device sets the scene hot spot set in step S202 as a fixed scene hot spot, and sets the scene element set in step S204 as a fixed scene element; the fixed scene hot spot is a three-dimensional scene interactive template that cannot be modified by parameters Scene hotspots, fixed scene elements are scene elements whose parameters cannot be changed in the 3D scene interactive template, so that later users can easily add active scene elements to the 3D scene interactive template. Then go to step S207.
在步骤S207中,内容编辑电子设备根据固定场景热点以及固定场景热点中的固定场景要素,生成三维场景互动模板,以便后续用户对该三维场景互动模板进行调用。In step S207, the content editing electronic device generates a 3D scene interactive template according to the fixed scene hotspot and the fixed scene elements in the fixed scene hotspot, so that the subsequent user can call the 3D scene interactive template.
本实施例的三维场景互动视频生成方法使用三维场景互动模板进行场景热点和场景要素的创建,使得用户便于在热点预览界面中进行不同类型的多媒体影像内容的整合,三维场景互动视频的生成流程简单且难度较低。The method for generating a 3D scene interactive video in this embodiment uses a 3D scene interactive template to create scene hotspots and scene elements, so that users can easily integrate different types of multimedia image content in the hotspot preview interface, and the generation process of a 3D scene interactive video is simple. And the difficulty is low.
请参照图3,图3为本发明的三维场景互动视频生成方法的第二实施例的流程图。本实施例的三维场景互动视频生成方法可使用上述的内容编辑电子设备进行实施。本实施例的三维场景互动视频生成方法包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a flowchart of a second embodiment of the method for generating a 3D scene interactive video according to the present invention. The method for generating a 3D scene interactive video in this embodiment can be implemented by using the above-mentioned content editing electronic device. The method for generating a three-dimensional scene interactive video in this embodiment includes the following steps:
步骤S301,获取三维场景互动模板,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;模板活动场景要素包括二维图片要素、二维视频要素或文字要素;Step S301, obtaining a 3D scene interaction template, wherein the 3D scene interaction template includes fixed scene hotspots, fixed scene elements in the fixed scene hotspots, and template active scene elements; wherein the fixed scene hotspots include 3D pictures and/or 3D videos; the fixed scene elements include Two-dimensional image elements, two-dimensional video elements or text elements; template activity scene elements include two-dimensional image elements, two-dimensional video elements or text elements;
步骤S302,展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个本地活动场景要素,其中本地活动场景要素包括二维图片要素、二维视频要素或文字要素;Step S302, displaying a hotspot preview interface of fixed scene hotspots, and creating at least one local event scene element in the hotspot preview interface based on the user's local media library, wherein the local event scene element includes a two-dimensional picture element, a two-dimensional video element or a text element;
步骤S303,设置模板活动场景要素和本地活动场景要素的参数以及所有场景要素的触发条件;Step S303, setting the parameters of template active scene elements and local active scene elements and the trigger conditions of all scene elements;
步骤S304,对固定场景热点、固定场景要素、模板活动场景要素以及本地活动场景要素进行存储操作,以生成三维场景互动视频。Step S304, storing the fixed scene hot spots, fixed scene elements, template active scene elements and local active scene elements to generate a 3D scene interactive video.
在三维场景互动视频生成方法的第一实施例的基础上,本实施例的三维场景互动视频生成方法的三维场景互动模板的固定场景热点中还设置有模板活动场景要素,这里的模板活动场景要素是指用户可以对其进行个性化编辑的活动场景要素。On the basis of the first embodiment of the three-dimensional scene interactive video generation method, the fixed scene hot spot of the three-dimensional scene interactive template of the three-dimensional scene interactive video generation method of this embodiment is also provided with template active scene elements, where the template active scene elements Refers to the active scene elements that the user can personalize and edit.
在步骤S302中,内容编辑电子设备展示固定场景热点的热点预览界面。该热点预览界面为在对应的固定场景热点上设置对应的活动场景要素的场景界面。用户可将用户本地媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个本地活动场景要素,进而后续对本地活动场景要素进行编辑。In step S302, the content editing electronic device displays a hotspot preview interface of fixed scene hotspots. The hot spot preview interface is a scene interface for setting corresponding active scene elements on corresponding fixed scene hot spots. The user can set two-dimensional pictures, two-dimensional video 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 perform subsequent local activity scene elements edit.
在步骤S303中,内容编辑电子设备设置模板活动场景要素和本地活动场景要素的参数以及所有场景要素的触发条件。In step S303, the content editing electronic device sets the parameters of the template active scene element and the local active scene element and trigger conditions of all scene elements.
模板活动场景要素和本地活动场景要素的具体设置流程与步骤S103中活动场景要素的设置流程相同或相似,具体请参见上述步骤S103中活动场景要素的设置流程。The specific setting process of template active scene elements and local active scene elements is the same or similar to the setting process of active scene elements in step S103. For details, please refer to the setting process of active scene elements in step S103 above.
在步骤S304中,内容编辑电子设备对获取的固定场景热点、固定场景要素、模板活动场景要素以及本地活动场景要素进行存储操作,以生成三维场景互动视频。用户可通过与三维场景互动视频进行互动,观看所有的场景热点以及场景热点中的模板活动场景要素以及本地活动场景要素。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 3D scene interactive video. Users can interact with the 3D scene interactive video to watch all scene hotspots, template active scene elements and local active scene elements in scene hotspots.
这样即完成了本实施例的三维场景互动视频生成方法的三维场景互动视频的创建过程。In this way, the creation process of the 3D scene interactive video in the 3D scene interactive video generation method of this embodiment is completed.
下面详细说明本实施例中三维场景互动模板的生成过程,具体请参照图4,图4为本发明的三维场景互动视频生成方法的第二实施例中的三维场景互动模板的生成流程图。该三维场景互动模板的生成流程包括:The following describes the generation process of the 3D scene interaction template in this embodiment in detail. Please refer to FIG. 4 for details. FIG. 4 is a flowchart for generating a 3D scene interaction template in the second embodiment of the method for generating a 3D scene interaction video of the present invention. The generation process of the 3D scene interactive template includes:
步骤S401,获取预设媒体库,其中预设媒体库中包括三维图片、二维图片、三维视频以及二维视频;Step S401, obtaining a preset media library, wherein the preset media library includes 3D pictures, 2D pictures, 3D videos and 2D videos;
步骤S402,展示场景预览界面,并基于用户的第一操作在场景预览界面中创建至少一个场景热点,其中场景热点为三维图片和/或三维视频;Step S402, displaying the scene preview interface, and creating at least one scene hot spot in the scene preview interface based on the user's first operation, where the scene hot spot is a 3D picture and/or 3D video;
步骤S403,基于用户的第二操作,设置场景热点的参数;Step S403, based on the user's second operation, setting the parameters of the scene hotspot;
步骤S404,展示场景热点的热点预览界面,并基于用户的第三操作在热点预览界面中创建至少一个场景要素,其中场景要素为二维图片要素、二维视频要素或文字要素;Step S404, displaying a hotspot preview interface of scene hotspots, and creating at least one scene element in the hotspot preview interface based on the user's third operation, where the scene element is a 2D image element, a 2D video element or a text element;
步骤S405,基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件;Step S405, based on the user's fourth operation, setting the parameters of the scene elements and the trigger conditions of the scene elements;
步骤S406,将场景热点设置为固定场景热点,设置场景要素中的固定场景要素以及模板活动场景要素;Step S406, setting the scene hotspot as a fixed scene hotspot, setting the fixed scene elements and template active scene elements in the scene elements;
步骤S407,根据所述固定场景热点以及所述固定场景热点中的固定场景要素以及模板活动场景要素,生成三维场景互动模板。Step S407, generating a three-dimensional scene interactive template according to the fixed scene hot spot, the fixed scene elements in the fixed scene hot spot, and the template active scene elements.
在第一实施例的基础上,本实施例的三维场景互动视频生成方法的三维场景互动模板在生成时,在固定场景要素中设置有固定场景要素以及模板活动场景要素,其中固定场景热点为三维场景互动模板不能进行参数更改的场景热点,固定场景要素为三维场景互动模板不能进行参数更改的场景要素,而模板活动场景要素为三维场景互动模板中能够进行参数更改的场景要素,这样后面用户可基于自己的个性化需要,在模板活动场景要素进行编辑,生成自己想要的三维场景互动视频。On the basis of the first embodiment, when the 3D scene interactive template of the 3D scene interactive video generation method of this embodiment is generated, fixed scene elements and template active scene elements are set in the fixed scene elements, wherein the fixed scene hot spots are 3D The scene hotspots whose parameters cannot be changed in the scene interaction template, the fixed scene elements are the scene elements whose parameters cannot be changed in the 3D scene interaction template, and the template active scene elements are the scene elements in the 3D scene interaction template that can be changed in parameters, so that later users can Based on your individual needs, you can edit the elements of the active scene in the template to generate the 3D scene interactive video you want.
在第一实施例的基础上,本实施例的三维场景互动模板中同时设置有固定场景要素和模板活动场景要素,用户可对三维场景互动模板中的模板活动场景要素进行编辑,进一步提高了用户对三维场景互动视频的编辑能力。On the basis of the first embodiment, the 3D scene interactive template of this embodiment is provided with fixed scene elements and template active scene elements at the same time, and the user can edit the template active scene elements in the 3D scene interactive template, which further improves the user experience. The ability to edit interactive videos of 3D scenes.
本发明还提供一种三维场景互动视频生成装置,请参照图5,图5为本发明的三维场景互动视频生成装置的第一实施例的结构示意图。本实施例的三维场景互动视频生成装置可使用上述的三维场景互动视频生成方法进行实施,该三维场景互动视频生成装置50包括模板获取模块51、活动场景要素创建模块52、场景要素设置模块53以及视频生成模块54。The present invention also provides a 3D scene interactive video generating device, please refer to FIG. 5 , which is a schematic structural diagram of a first embodiment of the 3D scene interactive video generating device of the present invention. The 3D scene interactive video generation device of this embodiment can be implemented using the above-mentioned 3D scene interactive video generation method. The 3D scene interactive
模板获取模块51用于获取三维场景互动模板,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;活动场景要素创建模块52用于展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个活动场景要素,其中活动场景要素包括二维图片要素、二维视频要素或文字要素;场景要素设置模块53用于设置活动场景要素的参数以及所有场景要素的触发条件;视频生成模块54用于对固定场景热点、固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。The
本实施例的三维场景互动视频生成装置50使用时,首先模板获取模块51获取三维场景互动模板;该三维场景互动模板包括固定场景热点以及固定场景要素,其中固定场景热点包括三维图片和/或三维视频,固定场景要素包括二维图片要素、二维视频要素或文字要素。When using the 3D scene interactive
随后活动场景要素创建模块52展示固定场景热点的热点预览界面。该热点预览界面为在对应的固定场景热点上设置对应的活动场景要素的场景界面。用户可将用户本地媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个活动场景要素,进而后续对活动场景要素进行编辑。Then the active scene
然后场景要素设置模块53设置活动场景要素的参数以及所有场景要素的触发条件。Then the scene
最后视频生成模块54对获取的固定场景热点、对获取的固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。用户可通过与三维场景互动视频进行互动,观看所有的场景热点以及场景热点中的场景要素。Finally, the
这样即完成了本实施例的三维场景互动视频生成装置50的三维场景互动视频的生成过程。In this way, the generating process of the 3D scene interactive video by the 3D scene interactive
本实施例的三维场景互动视频的生成过程与上述的三维场景互动视频生成方法的第一实施例中的三维场景互动视频的生成过程的相同或相似,具体请参见三维场景互动视频生成方法的第一实施例中的相关描述。The generation process of the 3D scene interactive video in this embodiment is the same or similar to the generation process of the 3D scene interactive video in the first embodiment of the above-mentioned 3D scene interactive video generation method. A related description in an embodiment.
请参照图6,图6为本发明的三维场景互动视频生成装置的第二实施例的结构示意图。本实施例的三维场景互动视频生成装置可使用上述的三维场景互动视频生成方法进行实施,该三维场景互动视频生成装置60包括模板获取模块61、活动场景要素创建模块62、场景要素设置模块63以及视频生成模块64。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a second embodiment of the device for generating 3D scene interactive video according to the present invention. The 3D scene interactive video generation device of this embodiment can be implemented using the above-mentioned 3D scene interactive video generation method. The 3D scene interactive
模板获取模块61用于获取三维场景互动模板,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中所述固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;模板活动场景要素包括二维图片要素、二维视频要素或文字要素;活动场景要素创建模块62用于展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个本地活动场景要素,其中本地活动场景要素包括二维图片要素、二维视频要素或文字要素;场景要素设置模块63用于设置模板活动场景要素和本地活动场景要素的参数以及所有场景要素的触发条件;视频生成模块64用于对固定场景热点、固定场景要素、模板活动场景要素以及本地活动场景要素进行存储操作,以生成三维场景互动视频。The
在第一实施例的基础上,本实施例的三维场景互动视频生成装置60的三维场景互动模板在生成时,在固定场景要素中设置有固定场景要素以及模板活动场景要素,其中固定场景热点为三维场景互动模板不能进行参数更改的场景热点,固定场景要素为三维场景互动模板不能进行参数更改的场景要素,而模板活动场景要素为三维场景互动模板中能够进行参数更改的场景要素,这样后面用户可基于自己的个性化需要,在模板活动场景要素进行编辑,生成自己想要的三维场景互动视频。On the basis of the first embodiment, when the three-dimensional scene interactive template of the three-dimensional scene interactive
本实施例的三维场景互动视频的生成过程与上述的三维场景互动视频生成方法的第二实施例中的三维场景互动视频的生成过程的相同或相似,具体请参见三维场景互动视频生成方法的第一实施例中的相关描述。The generation process of the 3D scene interactive video in this embodiment is the same or similar to the generation process of the 3D scene interactive video in the second embodiment of the above-mentioned 3D scene interactive video generation method. For details, please refer to Section 3 of the 3D scene interactive video generation method A related description in an embodiment.
在第一实施例的基础上,本实施例的三维场景互动模板中同时设置有固定场景要素和模板活动场景要素,用户可对三维场景互动模板中的模板活动场景要素进行编辑,进一步提高了用户对三维场景互动视频的编辑能力。On the basis of the first embodiment, the 3D scene interactive template of this embodiment is provided with fixed scene elements and template active scene elements at the same time, and the user can edit the template active scene elements in the 3D scene interactive template, which further improves the user experience. The ability to edit interactive videos of 3D scenes.
下面通过一具体实施例说明本发明的三维场景互动模板的创建过程。请参照图7以及图8a-8i,图7为本发明的三维场景互动模板的模板创建流程图。图8a-8i为模板创建流程的示意图。The creation process of the 3D scene interactive template of the present invention will be described below through a specific embodiment. Please refer to FIG. 7 and FIGS. 8a-8i. FIG. 7 is a template creation flow chart of the 3D scene interactive template of the present invention. 8a-8i are schematic diagrams of template creation process.
该内容编辑电子设备创建三维场景互动模板的流程包括:The process of creating a 3D scene interactive template by the content editing electronic device includes:
步骤S701,内容编辑电子设备创建预设媒体库,即将预备好的三维图片、二维图片、三维视频以及二维视频存储到预设媒体库中,如图8a所示的81所示。In 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 in the preset media library, as shown by 81 in FIG. 8a.
步骤S702,内容编辑电子设备展示场景预览界面,如图8b的场景预览界面82,用户可通过拖扯预设媒体库83中的场景热点的内容预览图至场景预览界面82中,以创建多个场景热点以及多个场景热点之间的连接关系(同时创建场景热点中的相邻热点链接)。如图8b中的热点预览界面84中即设置有相邻场景热点的相邻热点链接85。In step S702, the content editing electronic device displays a scene preview interface, such as the
步骤S703,内容编辑电子设备设置场景热点的参数。具体如图8c所示,该场景热点为三维视频,因此可通过进度控制器86设置该三维视频的视频进度参数,通过场景视角设置87的视场角调整设置该三维视频的初始范围参数,通过场景视角设置87的水平调整设置该三维视频的初始角度参数,即改变用户观察点的第一水平轴(基于现有用户观察点的左右方向轴)、第二水平轴(基于现有用户观察点的前后方向轴)、以及垂直轴(基于现有用户观察点的上下方向轴)的位置。同时可对热点预览界面84中的相邻热点链接85的位置进行调整,如该相邻热点链接85设置在一热点预览界面对应的场景热点的一活动物体上,则该相邻热点链接85可基于场景热点的视频进度参数,调整其在热点预览界面的位置。Step S703, the content editing electronic device sets the parameters of scene hotspots. Specifically as shown in Figure 8c, the scene hotspot is a 3D video, so the video progress parameter of the 3D video can be set by the
步骤S704,内容编辑电子设备展示场景热点的热点预览界面。如图8d中的热点预览界面84所示,用户可通过嵌入素材界面88在该热点预览界面中嵌入二维图片、三维图片、二维视频、三维视频、文字要素以及音频要素,从而在热点预览界面中创建多个场景要素。In step S704, the content editing electronic device displays a hotspot preview interface of scene hotspots. As shown in the hot
步骤S705,内容编辑电子设备基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件。Step S705, based on the user's fourth operation, the content editing electronic device sets the parameters of the scene elements and the trigger conditions of the scene elements.
文字要素的场景要素的参数设置如图8e所示,用户可通过文字素材嵌入界面89设置文字要素的尺寸参数、位置参数、展示角度参数、文字透明度和要素寿命参数。The parameter setting of the scene element of the text element is shown in FIG. 8e . The user can set the size parameter, position parameter, display angle parameter, text transparency and element life parameter of the text element through the text
二维图片、三维图片的场景要素的参数设置如图8f所示,用户可通过图片素材嵌入界面8a设置二维图片和三维图片的尺寸参数、位置参数、展示角度参数、文字透明度和要素寿命参数。The parameter settings of scene elements of 2D pictures and 3D pictures are shown in Figure 8f. Users can set the size parameters, position parameters, display angle parameters, text transparency and element life parameters of 2D pictures and 3D pictures through the picture
二维视频、三维视频的场景要素的参数设置如图8g所示,用户可通过视频素材嵌入界面8b设置二维视频和三维视频的尺寸参数、位置参数、画面透明度、视频进度参数以及要素寿命参数。The parameter settings of the scene elements of 2D video and 3D video are shown in Figure 8g, the user can set the size parameters, position parameters, screen transparency, video progress parameters and element life parameters of 2D video and 3D video through the video
音频要素的参数设置如图8h所示,用户可通过音频素材嵌入界面8c设置音频要素的位置参数、音量参数以及要素寿命参数。The parameter setting of the audio element is shown in Fig. 8h. The user can set the position parameter, the volume parameter and the element life parameter of the audio element through the audio
进一步的,内容编辑电子设备还可设置不同场景要素的开启关联关系以及关闭关联关系,具体如图8h中的音频素材嵌入界面8c的界面8d所示,用户可设置该音频素材和其他场景要素的关联关系,同理用户可设置所有不同类型的场景要素之间的关联关系。Further, the content editing electronic device can also set the open association relationship and close association relationship of different scene elements, as shown in the
步骤S706,内容编辑电子设备将编辑好的场景热点以及场景热点中的场景要素进行保存,生成三维场景互动模板,如图8i所示。In step S706, the content editing electronic device saves the edited scene hotspot and the scene elements in the scene hotspot, and generates a three-dimensional scene interactive template, as shown in FIG. 8i.
本发明的三维场景互动视频生成方法和生成装置使用三维场景互动模板进行场景热点和场景要素的创建,使得用户便于在热点预览界面中进行不同类型的多媒体影像内容的整合,三维场景互动视频的生成流程简单且难度较低,有效解决了现有的三维场景互动视频生成方法及生成装置对不同的多媒体影像内容进行编辑处理的专业性较强、难度较大的技术问题。The 3D scene interactive video generating method and generating device of the present invention use a 3D scene interactive template to create scene hotspots and scene elements, so that users can easily integrate different types of multimedia image content in the hotspot preview interface and generate 3D scene interactive videos The process is simple and the difficulty is relatively low, and effectively solves the technical problem that the existing three-dimensional scene interactive video generation method and the generation device edit and process different multimedia image contents with strong professionalism and relatively high difficulty.
综上所述,虽然本发明已以实施例揭露如上,实施例前的序号仅为描述方便而使用,对本发明各实施例的顺序不造成限制。并且,上述实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。In summary, although the present invention has been disclosed as above with the embodiments, the serial numbers before the embodiments are used for convenience of description only, and do not limit the sequence of the embodiments of the present invention. Moreover, the above-mentioned embodiments are not intended to limit the present invention. Those 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 is defined by the claims range prevails.
Claims (7)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210016488.1A CN114363598B (en) | 2022-01-07 | 2022-01-07 | Three-dimensional scene interactive video generation method and generation device |
| CN202310237717.7A CN116233382B (en) | 2022-01-07 | 2022-01-07 | Three-dimensional scene interaction video generation method and generation device based on scene elements |
| PCT/CN2022/077937 WO2023130544A1 (en) | 2022-01-07 | 2022-02-25 | Three-dimensional scene interaction video generation method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210016488.1A CN114363598B (en) | 2022-01-07 | 2022-01-07 | Three-dimensional scene interactive video generation method and generation device |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310237717.7A Division CN116233382B (en) | 2022-01-07 | 2022-01-07 | Three-dimensional scene interaction video generation method and generation device based on scene elements |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114363598A CN114363598A (en) | 2022-04-15 |
| CN114363598B true CN114363598B (en) | 2023-04-07 |
Family
ID=81106480
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210016488.1A Active CN114363598B (en) | 2022-01-07 | 2022-01-07 | Three-dimensional scene interactive video generation method and generation device |
| CN202310237717.7A Active CN116233382B (en) | 2022-01-07 | 2022-01-07 | Three-dimensional scene interaction video generation method and generation device based on scene elements |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310237717.7A Active CN116233382B (en) | 2022-01-07 | 2022-01-07 | Three-dimensional scene interaction video generation method and generation device based on scene elements |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN114363598B (en) |
| WO (1) | WO2023130544A1 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106408631A (en) * | 2016-09-30 | 2017-02-15 | 厦门亿力吉奥信息科技有限公司 | Three-dimensional macro display method and system |
| CN106530392A (en) * | 2016-10-20 | 2017-03-22 | 中国农业大学 | Method and system for interactive display of cultivation culture virtual scene |
| WO2018045927A1 (en) * | 2016-09-06 | 2018-03-15 | 星播网(深圳)信息有限公司 | Three-dimensional virtual technology based internet real-time interactive live broadcasting method and device |
| CN112616063A (en) * | 2020-12-11 | 2021-04-06 | 北京字跳网络技术有限公司 | Live broadcast interaction method, device, equipment and medium |
| CN113691796A (en) * | 2021-08-16 | 2021-11-23 | 福建凯米网络科技有限公司 | Three-dimensional scene interaction method through two-dimensional simulation and computer-readable storage medium |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5067476B2 (en) * | 2010-12-28 | 2012-11-07 | カシオ計算機株式会社 | 3D model creation system |
| US10019415B1 (en) * | 2015-08-28 | 2018-07-10 | Animoto Inc. | System and method for consistent cross-platform text layout |
| CN105608745B (en) * | 2015-12-21 | 2019-01-29 | 大连新锐天地文化科技有限公司 | AR display system applied to image or video |
| CN105872814B (en) * | 2016-03-31 | 2019-04-12 | 北京奇艺世纪科技有限公司 | A kind of methods of exhibiting and device of video information |
| CN106200956A (en) * | 2016-07-07 | 2016-12-07 | 北京时代拓灵科技有限公司 | A kind of field of virtual reality multimedia presents and mutual method |
| CN109003334A (en) * | 2017-06-07 | 2018-12-14 | 上海福沁高科技企业发展有限公司 | A kind of binocular three-dimensional virtual reality scenario building system based on WebGL |
| CN113350793B (en) * | 2021-06-16 | 2024-04-30 | 网易(杭州)网络有限公司 | Interface element setting method and device, electronic equipment and storage medium |
| CN113672226B (en) * | 2021-08-26 | 2025-03-28 | 深圳市腾讯网络信息技术有限公司 | A front-end component generation method, display method and related device |
| CN113706664B (en) * | 2021-08-31 | 2023-11-10 | 重庆杰夫与友文化创意有限公司 | Marketing content generation method, system and storage medium based on intelligent scene recognition |
| CN114363687B (en) * | 2022-01-07 | 2023-11-24 | 深圳看到科技有限公司 | Three-dimensional scene interactive video creation method and creation device |
-
2022
- 2022-01-07 CN CN202210016488.1A patent/CN114363598B/en active Active
- 2022-01-07 CN CN202310237717.7A patent/CN116233382B/en active Active
- 2022-02-25 WO PCT/CN2022/077937 patent/WO2023130544A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018045927A1 (en) * | 2016-09-06 | 2018-03-15 | 星播网(深圳)信息有限公司 | Three-dimensional virtual technology based internet real-time interactive live broadcasting method and device |
| CN106408631A (en) * | 2016-09-30 | 2017-02-15 | 厦门亿力吉奥信息科技有限公司 | Three-dimensional macro display method and system |
| CN106530392A (en) * | 2016-10-20 | 2017-03-22 | 中国农业大学 | Method and system for interactive display of cultivation culture virtual scene |
| CN112616063A (en) * | 2020-12-11 | 2021-04-06 | 北京字跳网络技术有限公司 | Live broadcast interaction method, device, equipment and medium |
| CN113691796A (en) * | 2021-08-16 | 2021-11-23 | 福建凯米网络科技有限公司 | Three-dimensional scene interaction method through two-dimensional simulation and computer-readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2023130544A1 (en) | 2023-07-13 |
| CN114363598A (en) | 2022-04-15 |
| CN116233382B (en) | 2024-09-20 |
| CN116233382A (en) | 2023-06-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111901476B (en) | User interface for capturing and managing visual media | |
| US8584043B2 (en) | Mobile terminal including touch screen and method of controlling operation thereof | |
| CN110321048B (en) | Three-dimensional panoramic scene information processing and interacting method and device | |
| WO2021135655A1 (en) | Method and device for generating multimedia resources | |
| JP7038226B2 (en) | Video processing methods, devices, terminals and media | |
| EP3324582A1 (en) | Mobile terminal and method for controlling the same | |
| US20150169166A1 (en) | Mobile terminal and method for controlling the same | |
| CN111107418A (en) | Video data processing method, video data processing device, computer equipment and storage medium | |
| US9852764B2 (en) | System and method for providing and interacting with coordinated presentations | |
| WO2021082639A1 (en) | Method and apparatus for operating user interface, electronic device, and storage medium | |
| CN110636365B (en) | Video character adding method and device, electronic equipment and storage medium | |
| CN112230914B (en) | Method, device, terminal and storage medium for producing small program | |
| CN108924440B (en) | Sticker display method, device, terminal and computer-readable storage medium | |
| WO2016106997A1 (en) | Screen capture method and device, and mobile terminal | |
| CN101523909B (en) | Image display device, image data providing device, image display system, image display system control method, control program, and recording medium | |
| WO2024198947A1 (en) | Virtual scene processing method and apparatus, and electronic device and storage medium | |
| US20240221122A1 (en) | Image splicing method and electronic device | |
| CN114363687B (en) | Three-dimensional scene interactive video creation method and creation device | |
| CN113055750A (en) | Live broadcast method, device, terminal and storage medium | |
| CN117333256A (en) | Page display method and device, electronic equipment and storage medium | |
| CN111835972B (en) | Shooting method and device and electronic equipment | |
| WO2024222356A1 (en) | Special-effect generation method and apparatus, and computer device and storage medium | |
| CN114363598B (en) | Three-dimensional scene interactive video generation method and generation device | |
| CN112995401A (en) | Control display method, device, equipment and medium | |
| CN114500852B (en) | Photographing method, photographing device, electronic device and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |