Virtual scene processing method and apparatus, and electronic device and storage medium

By associating virtual camera parameters in the video editing interface, customized adjustments and multi-angle display of virtual scene images are realized, which solves the problem of low virtual scene display efficiency in video production and improves user experience and data storage efficiency.

WO2024198947A1PCT designated stage expired Publication Date: 2024-10-03BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
PCT/CN2024/081533
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-27
Filing Date
2024-03-13
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

During the video production process, users need to frequently adjust the display angle of the virtual scene, resulting in low video production efficiency and poor user experience. Moreover, existing technology cannot effectively meet users' needs for multi-directional display of virtual scenes.

Method used

By displaying the scene shooting position in the video editing interface, receiving changes and adjustment operations, and associating virtual camera parameters, custom adjustment and storage of virtual scene images is achieved, and multi-angle switching display is supported.

Benefits of technology

It improves the display effect and user experience of virtual scene images, reduces the amount of data storage, meets the personalized needs of users, and simplifies the video production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081533_03102024_PF_FP_ABST
    Figure CN2024081533_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a virtual scene processing method and apparatus, and an electronic device and a storage medium. The method comprises: displaying a video editing interface, wherein the video editing interface comprises at least one scene photographing camera position; receiving a change trigger operation for the scene photographing camera position, and displaying a virtual scene picture corresponding to the scene photographing camera position; receiving a picture adjustment operation for the virtual scene picture, adjusting display information of a virtual scene corresponding to the virtual scene picture, and displaying the adjusted virtual scene picture; and in response to a confirmation trigger operation for the scene photographing camera position, acquiring camera parameters of a virtual camera corresponding to the displayed adjusted virtual scene picture, and associating the camera parameters with the scene photographing camera position.
Need to check novelty before this filing date? Find Prior Art

Description

Virtual scene processing method, device, electronic device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese invention patent application number 202310308965.6, entitled “Virtual scene processing method, device, electronic device and storage medium” and filed on March 27, 2023, and the entire application is incorporated herein by reference. Technical Field

[0003] The embodiments of the present disclosure relate to the field of human-computer interaction technology, and in particular to a virtual scene processing method, device, electronic device, and storage medium. Background Art

[0004] With the continuous development of image processing technology and computer vision technology, it is now possible to display pre-built virtual scenes on the display interface, bringing a new visual experience to users.

[0005] In the related art, when creating a video using a virtual scene, the video is generally generated based on the image of the virtual scene currently displayed in the video editing interface. If the user needs to change the display angle of the virtual scene in the video, the display of the virtual scene in the video editing interface must be readjusted and the video regenerated based on the adjusted virtual scene.

[0006] However, in video production scenarios, users often have varying display requirements for virtual scenes. When faced with the same user's need to switch between multiple angles of a virtual scene, users are required to perform complex adjustments. Even for previously used display angles, they must readjust them based on the current display. This significantly increases the time consumption of video production, reduces production efficiency, and results in a poor user experience.

[0007] Summary of the Invention

[0008] The present disclosure provides a virtual scene processing method, device, electronic device and storage medium, so as to achieve customized adjustment of the virtual scene picture of the original scene shooting position while reducing the data storage amount, so as to obtain the effect of the virtual scene picture that meets the user's needs and improve the display effect of the virtual scene picture.

[0009] In a first aspect, an embodiment of the present disclosure provides a virtual scene processing method, the method comprising:

[0010] Displaying a video editing interface, wherein the video editing interface includes at least one scene shooting camera position;

[0011] receiving a trigger operation for changing the camera position of the scene, and displaying a virtual scene image corresponding to the camera position of the scene;

[0012] receiving a picture adjustment operation for the virtual scene picture, adjusting display information of the virtual scene corresponding to the virtual scene picture, and displaying the adjusted virtual scene picture;

[0013] In response to a confirmation trigger operation for the scene shooting position, camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image are acquired, and the camera parameters are associated with the scene shooting position.

[0014] In a second aspect, an embodiment of the present disclosure further provides a virtual scene processing device, the device comprising:

[0015] An interface display module, configured to display a video editing interface, wherein the video editing interface includes at least one scene shooting camera position;

[0016] A picture display module, configured to receive a trigger operation for changing the scene shooting position and display a virtual scene picture corresponding to the scene shooting position;

[0017] a picture adjustment module, configured to receive a picture adjustment operation for the virtual scene picture, adjust display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture;

[0018] The camera position confirmation operation is used to obtain the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image in response to the confirmation trigger operation for the scene shooting position, and associate the camera parameters with the scene shooting position.

[0019] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0020] one or more processors;

[0021] a storage device for storing one or more programs,

[0022] When the one or more programs are executed by the one or more processors, the one or more processors implement the virtual scene processing method as described in any one of the embodiments of the present disclosure.

[0023] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the virtual scene processing method as described in any one of the embodiments of the present disclosure.

[0024] The technical solution of the embodiment of the present disclosure is to display a video editing interface and display the scene shooting camera position in the video editing interface, then receive a change trigger operation for the scene shooting camera position, display the virtual scene picture corresponding to the scene shooting camera position, and associate the scene shooting camera position with the virtual scene picture, so as to realize effective storage of the shooting camera position of the virtual scene for user reuse, and realize the demand for switching and displaying pictures of multiple angles of the virtual scene through multiple scene shooting cameras, further receive a picture adjustment operation for the virtual scene picture, adjust the display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture, and finally, respond to the confirmation trigger operation for the scene shooting camera position, Obtaining the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene picture and associating the camera parameters with the scene shooting position can further meet the user's adjustment of the existing scene shooting position, and meet the user's personalized needs for virtual scene display during the video production process. It solves the problems of repetitive adjustment of the virtual scene picture corresponding to the scene shooting position in the related technology, and the inability of the display of the virtual scene picture to meet the user's multi-directional display needs. It realizes the customized adjustment of the virtual scene picture of the existing scene shooting position under the premise of reducing the data storage amount, so as to obtain the virtual scene picture effect that meets the user's needs, improves the display effect of the virtual scene picture, and enhances the user experience of the application software. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0026] FIG1 is a flow chart of a virtual scene processing method provided by an embodiment of the present disclosure;

[0027] FIG2 is a schematic diagram of a video editing interface provided by an embodiment of the present disclosure;

[0028] FIG3 is a flow chart of another virtual scene processing method provided by an embodiment of the present disclosure;

[0029] FIG4 is a schematic diagram of a video editing interface provided by an embodiment of the present disclosure;

[0030] FIG5 is a flow chart of another virtual scene processing method provided by an embodiment of the present disclosure;

[0031] FIG6 is a flow chart of a virtual scene processing method provided by an embodiment of the present disclosure;

[0032] FIG7 is a schematic structural diagram of a virtual scene processing device provided by an embodiment of the present disclosure;

[0033] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

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

[0036] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

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

[0038] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0040] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0041] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0042] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0043] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

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

[0045] Before introducing the present technical solution, an example description of the application scenario can be given first. The technical solution of the embodiment of the present disclosure can be applied to any scenario that requires a multi-camera display of a virtual scene. The virtual scene can be a three-dimensional virtual scene or a two-dimensional virtual scene. For example, in order to realize the multi-camera display of the virtual scene, multiple shooting positions can be determined first, and the virtual scene pictures of the virtual scene under different shooting positions can be determined, and the virtual scene pictures and the corresponding shooting positions can be stored in the storage space, so that when the virtual scene pictures are displayed on the display interface, the pre-stored virtual scene pictures can be retrieved for display. However, the number of virtual scene pictures that can be stored in the storage space is limited. At the same time, during the application process, the shooting positions predetermined by the developer may not meet the user's needs, resulting in the inability to display the virtual scene pictures that meet the user's needs, affecting the display effect of the virtual scene and the user's experience. Based on this, based on the solution of the embodiment of the present disclosure, the virtual scene picture corresponding to the scene shooting position can be adjusted on the basis of the original scene shooting position, and the adjusted virtual scene picture can be associated with the scene shooting position, so as to achieve the effect of obtaining a virtual scene picture that meets user needs by adjusting the virtual scene picture corresponding to the original scene shooting position.

[0046] Figure 1 is a flow chart of a virtual scene processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where the virtual scene picture of the original scene shooting position is adjusted on the premise of the original scene shooting position, so as to change the camera parameters corresponding to the scene shooting position based on the adjusted virtual scene picture. The method can be executed by a virtual scene processing device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0047] As shown in FIG1 , the method of this embodiment may specifically include:

[0048] S110: Display a video editing interface.

[0049] In this embodiment, the video editing interface can be a visual interface for editing video footage. In the disclosed embodiment, the video editing interface can be a visual editing interface that supports users in producing videos based on virtual reality scenes. The video editing interface includes at least one scene camera position. A scene camera position can correspond to the shooting parameters of a virtual camera in a virtual scene. That is, each scene camera position corresponds to a video of the virtual scene from the same or different shooting angles. The video editing interface can include multiple functional areas, each of which can display corresponding display information. Optionally, the video editing interface includes a camera position configuration area, which can be used to display scene camera positions. The camera position configuration area can be any area in the video editing interface, optionally, the bottom area of ​​the video editing interface. For example, as shown in FIG2 , which is a schematic diagram of the video editing interface, the video editing interface can include a virtual scene image display area for displaying virtual scene images and a camera position configuration area for displaying scene camera positions. Among them, the camera configuration area can include scene shooting camera 1-scene shooting camera N. When a trigger operation on any scene shooting camera is detected, the virtual scene picture corresponding to the scene shooting camera can be displayed in the virtual scene picture display area.

[0050] In this embodiment, an interface display trigger operation for displaying the video editing interface can be pre-developed so that when the interface display trigger operation is detected, the corresponding video editing interface is displayed. Optionally, the interface display trigger operation can include at least one of the following: triggering an interface display control; receiving an interface display instruction; or including a wake-up word corresponding to the interface display operation in audio information.

[0051] Among them, a control for triggering the display of a video editing interface can be developed in advance. When it is detected that a user triggers the control, the interface display trigger operation can be responded to, thereby displaying the video editing interface on the display interface. It should be noted that the video editing interface display control can be set on the desktop of the terminal device or in a menu list, and the embodiments of the present disclosure do not specifically limit this. For example, a click operation on the video editing interface display control in the menu list is received, and then, the click operation is responded to and the video editing interface is displayed. The click operation can be a single click operation or a multiple click operation (such as a double-click operation, etc.).

[0052] Another implementation method is to pre-develop a program code for triggering the display of the video editing interface, so that when the program code is received, the interface display trigger operation can be responded to and the video editing interface can be displayed on the display interface.

[0053] Another implementation method is: the user's audio information can be collected in advance, and the collected audio information can be analyzed and processed to identify the text corresponding to the audio information. If a pre-set wake-up word is detected in the text corresponding to the audio information, the wake-up word can optionally be: "Please open the video editing interface" or "Please show the video editing interface" and other types of words, then the video editing interface can be displayed in the display interface.

[0054] S120: Receive a trigger operation for changing the scene shooting position, and display a virtual scene image corresponding to the scene shooting position.

[0055] In this embodiment, after the video editing interface is displayed in the display interface, a change trigger operation can be input for one or more scene shooting positions included in the video editing interface, thereby displaying a virtual scene screen corresponding to the scene shooting position. The change trigger operation can be any trigger operation for the scene shooting position that needs to be changed. For example, a click operation on the scene shooting position included in the video editing interface. The click operation can be a single click operation or a multiple click operation (such as a double-click operation, etc.). To facilitate user operation, the change trigger operation for the scene shooting position can also be that when it is detected that the user pauses on any scene shooting position based on the input device or touch point for a preset time, the scene shooting position can be selected as the selected scene shooting position and a virtual scene screen corresponding to the scene shooting position is displayed. The virtual scene screen can be a screen of the virtual scene under the corresponding shooting angle.

[0056] In actual applications, when a trigger operation is detected for changing a scene camera position included in the video editing interface, a virtual scene image corresponding to the scene camera position can be determined and displayed. In this embodiment, there are at least two ways to determine the virtual scene image, and the two determination methods are described below.

[0057] One method may be: when a trigger operation for changing the shooting position of any scene in the video editing interface is detected, the virtual scene can be shot in real time according to the shooting parameters corresponding to the shooting position of the scene, and then the shot picture can be used as the virtual scene picture corresponding to the shooting position of the scene and displayed.

[0058] Another method may be: the virtual scene may be shot in advance according to different scene shooting positions to obtain virtual scene images of the virtual scene under different scene shooting positions. Furthermore, the virtual scene images may be associated with the scene shooting positions, and the virtual scene images may be stored in the storage space of the terminal device, so that when a trigger operation of a change to any scene shooting position is detected, the corresponding virtual scene images may be retrieved from the storage space and displayed according to the pre-established association relationship.

[0059] It should be noted that the video editing interface may include a virtual scene screen display area, which can be used to display a virtual scene screen. When a display trigger operation on the video editing interface is detected and the video editing interface is displayed on the display interface, the virtual scene screen display area may display a virtual scene screen corresponding to the default scene shooting position, or a blank screen may be displayed, so that when a change trigger operation on any scene shooting position is detected, the screen in the virtual scene screen display area may be replaced with a virtual scene screen corresponding to the scene shooting position. In this embodiment, the default scene shooting position may be a scene shooting position pre-set by the developer during the development phase, or it may be a scene shooting position customized by the user during the application phase. The default scene shooting position may be a shooting position corresponding to any shooting perspective, and optionally, a shooting position corresponding to a panoramic shooting perspective may be used as the default shooting position.

[0060] For example, referring to Figure 2, when the mouse cursor (arrow in the figure) moves to scene shooting position 1 and a click operation is input on the scene shooting position, the virtual scene picture corresponding to the scene shooting position 1 will be displayed in the virtual scene picture display area. When the mouse cursor moves to the "Change" control and a click operation is input on the control, the virtual scene picture in the virtual scene picture display area can be switched to an editable state, so that the virtual scene picture corresponding to the scene shooting position 1 can be adjusted.

[0061] In actual applications, in order to facilitate users to adjust the virtual scene picture, so that users who do not understand the adjustment method can also make customized adjustments to the virtual scene picture, prompt information including the virtual scene picture adjustment method can be displayed on the display interface so that users can adjust the virtual scene picture according to the prompt information.

[0062] Based on this, after receiving the trigger operation for changing the scene shooting position, it also includes: displaying adjustment prompt information.

[0063] The adjustment prompt information is used to prompt the operation method for adjusting the virtual scene screen. The operation method can be any method for adjusting the virtual scene screen, optionally including a drag operation on the virtual scene screen, or adjusting the virtual scene screen based on a trigger operation of a direction adjustment control.

[0064] In actual applications, after receiving a trigger operation for a scene camera position, a text box can pop up in any area of ​​the video editing interface. This text box can include adjustment prompt information for prompting the operation method for adjusting the scene camera position. The user can adjust the virtual scene image according to the operation method displayed in the adjustment prompt information. The advantage of this setting is that it helps users understand the operation method for adjusting the virtual scene image in detail, thereby improving the user experience.

[0065] It should be noted that if the adjustment prompt information is displayed in an area other than the virtual scene screen display area in the video editing interface, the text box including the adjustment prompt information can be a text box of any form, and the transparency of the text box can also be any value; if the adjustment prompt information is displayed in the display area corresponding to the virtual scene screen in the video editing interface, in order to fully display the adjusted virtual scene screen during the screen adjustment process and improve the adjustment display effect of the virtual scene screen, the text box including the adjustment prompt information can be overlaid on the virtual scene screen according to a preset transparency. Optionally, the preset transparency can be 30%, 40% or 50%, etc.

[0066] S130: Receive a picture adjustment operation for a virtual scene picture, adjust display information of a virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture.

[0067] In this embodiment, the picture adjustment operation can be an operation for adjusting the virtual scene picture displayed in the video editing interface. Optionally, the picture adjustment operation may include operations such as dragging, clicking and / or inputting picture adjustment parameters on the virtual scene picture. In actual applications, after the virtual scene picture is displayed in the corresponding area of ​​the video editing interface, a picture adjustment operation can be input to the virtual scene picture based on an input device or a touch point, so that when the picture adjustment operation is received, the virtual scene picture can be adjusted based on the picture adjustment operation. It should be noted that, depending on the different objects corresponding to the picture adjustment operation, the picture adjustment operation for the virtual scene picture can include at least two methods, and these two methods can be described separately below.

[0068] One method may be: receiving a picture adjustment operation on a virtual scene picture, including: receiving a picture dragging operation acting on the virtual scene picture.

[0069] In this embodiment, the screen dragging operation can be an operation corresponding to the movement of the virtual scene screen by dragging the virtual scene screen based on the input device or touch point. In actual application, the virtual scene screen can be set to a draggable state in advance, and the switching trigger operation of the draggable state can be pre-set. In this embodiment, the receiving of the trigger operation for changing the scene shooting position can be used as the switching trigger operation of the draggable state, so that when the trigger operation for changing the scene shooting position is detected, the virtual scene screen can be switched to a draggable state. Then, when the user detects a trigger operation based on the input device or touch point in any area of ​​the virtual scene screen, the virtual scene screen can be translated or rotated in any direction according to the trigger operation, and when it is detected that the input device or touch point stays in any area of ​​the virtual scene screen for a preset time, the virtual scene screen displayed in the current video editing interface can be used as the adjusted virtual scene screen. Exemplarily, the screen dragging operation can be inputting a right-click long press operation on the virtual scene screen with the mouse, and then moving the mouse to drag the virtual scene screen.

[0070] It should be noted that the virtual scene screen is adjusted according to the screen dragging operation on the virtual scene screen, and the corresponding adjustment translation distance and adjustment rotation angle are both related to the movement distance and rotation angle of the input device that implements the screen dragging operation.

[0071] Another method may be: receiving a control trigger operation that acts on a preset direction adjustment control corresponding to the virtual scene image.

[0072] In this embodiment, the direction adjustment control can be a pre-set control for controlling the movement of the virtual scene along a preset direction. In actual applications, the direction adjustment control can be a control on an input device used to operate the terminal device (such as a key on a keyboard). Specifically, one or more preset directions for the virtual scene to move can be predetermined, and then each preset direction can be associated with an existing control on the input device used to operate the terminal device. One preset direction corresponds to one existing control, so that by clicking the existing control, the virtual scene can be controlled to move along the corresponding preset direction. In this case, the existing control associated with the preset direction can be used as the direction adjustment control. For example, if the input device is a keyboard, the direction adjustment control can include: the letter Q key - horizontal descent; the letter W key - forward; the letter E key - horizontal ascent; the letter A key - left movement; the letter S key - back movement; the letter D key - right movement. In order to facilitate user operation, the direction adjustment control can also be displayed on the display interface, and can be a control based on an input device or touch point touch (such as a display control on the screen). Specifically, multiple direction adjustment controls for controlling the movement of the virtual scene along a preset direction can be developed in advance, and while the virtual scene image is displayed on the video editing interface, the direction adjustment control is displayed in any area on the video editing interface. The user can input a touch operation to the direction adjustment control through the input device or touch point to control the virtual scene to move along the preset direction corresponding to the direction adjustment control. For example, a click operation is input for the direction adjustment control to control the movement of the virtual scene. Among them, the click operation can be a single click operation or a multiple click operation (such as a double-click operation, etc.).

[0073] It should be noted that the advantage of setting a variety of different screen adjustment operations to adjust the virtual scene screen is that the virtual scene screen can be customized according to user needs, which enriches the operation methods of screen adjustment, increases the fun of screen adjustment, and enhances the user experience.

[0074] It should be noted that for each preset direction adjustment control, the virtual scene movement distance corresponding to a single triggering of the direction adjustment control can be predetermined, and a mapping relationship between each virtual scene movement distance and the corresponding direction adjustment control can be established, so that when a single triggering operation of any direction adjustment control is detected, the virtual scene can be controlled to move according to the preset direction and corresponding movement distance corresponding to the direction adjustment control according to the mapping relationship.

[0075] In actual applications, each virtual scene picture has a corresponding set of camera parameters of a virtual camera. That is to say, when the virtual camera shoots the virtual scene according to the corresponding camera parameters, the virtual scene picture corresponding to the camera parameters can be obtained. Different camera parameters can correspond to different virtual scene pictures. Therefore, when adjusting the virtual scene picture, the camera parameters of the virtual camera corresponding to the virtual scene picture before adjustment can be obtained first, and then the adjusted virtual scene picture can be determined according to the picture adjustment operation and the camera parameters.

[0076] Optionally, the display information of the virtual scene corresponding to the virtual scene picture is adjusted, including: updating the camera parameters of the virtual camera corresponding to the virtual scene picture based on the picture adjustment operation and the currently displayed virtual scene picture; determining the display information of the virtual scene based on the updated camera parameters, and determining the adjusted virtual scene picture based on the display information.

[0077] The virtual camera can be a camera that captures a virtual scene, or it can be understood as a configuration file that can perform real-world camera behaviors. Camera parameters can be parameters that characterize the camera's intrinsic and / or external properties. Camera parameters can include camera pose and lens parameters, i.e., extrinsic and intrinsic parameters. Camera pose can be a parameter that characterizes the camera's external properties, or it can be understood as parameters of the camera in a virtual coordinate system, such as the camera's spatial position and rotational orientation. Lens parameters can be parameters that characterize the camera's intrinsic properties. Optionally, lens parameters include at least one of a focal length parameter, a frame parameter, and an aperture parameter. Those skilled in the art will understand that the focal length parameter refers to the distance from the lens's optical rear principal point to the focal point. The focal length determines the image size, field of view, depth of field, and viewing angle of the image. The frame parameter refers to the size of the camera's film. The aperture parameter is a numerical value that characterizes the size of the camera's aperture. The aperture parameter can be controlled to adjust the aperture size, thereby controlling the amount of light entering the camera.

[0078] In this embodiment, the virtual scene can be a digital scene built by developers during the development phase based on computer vision technology. The virtual scene can include one or more scene elements, which can be constructed based on three-dimensional models. It should be noted that the virtual scene can be configured based on product requirements or user needs. The display information can be the information displayed on the display interface of the virtual scene, that is, the information corresponding to the user's perspective when observing the virtual scene.

[0079] In practical applications, the camera parameters of the virtual camera corresponding to the currently displayed virtual scene image before adjustment can be first obtained. Then, when an image adjustment operation is received for the virtual scene image, the obtained camera parameters can be updated according to the image adjustment operation. Furthermore, the virtual scene is photographed according to the updated camera parameters to obtain display information of the virtual scene under the camera parameters, and the adjusted virtual scene image can be determined based on the display information. The advantage of this setting is that the camera parameters corresponding to the original scene shooting position can be updated by adjusting the virtual scene image, thereby improving the adjustment efficiency of the virtual scene image and ensuring the display effect of the adjusted virtual scene image.

[0080] S140 . In response to a confirmation trigger operation for the scene shooting position, obtain camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image, and associate the camera parameters with the scene shooting position.

[0081] In this embodiment, the confirmation trigger operation can be used to confirm the adjustment of the virtual scene image corresponding to the scene shooting camera position. In actual application, an adjustment confirmation control can be pre-developed, or a program code for triggering confirmation can be pre-set. When a user triggers the control or receives the program code, the confirmation trigger operation can be responded to, thereby obtaining the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image.

[0082] In actual applications, when a confirmation trigger operation for a scene shooting position is detected, the camera parameters for shooting the virtual scene based on the virtual camera and obtaining the virtual scene picture can be determined based on the currently displayed virtual scene picture. Furthermore, the camera parameters associated with the scene shooting position can be updated based on the camera parameters, that is, the camera parameters corresponding to the virtual scene picture before adjustment are overwritten based on the camera parameters corresponding to the adjusted virtual scene picture, so that the camera parameters corresponding to the adjusted virtual scene picture can be associated with the scene shooting position, so that when a trigger operation for the scene shooting position is detected, the display information of the virtual scene can be determined based on the updated camera parameters, and then, the virtual scene picture corresponding to the scene shooting position can be determined based on the display information.

[0083] The technical solution of the embodiment of the present disclosure is to display a video editing interface and display the scene shooting camera position in the video editing interface, then receive a change trigger operation for the scene shooting camera position, display the virtual scene picture corresponding to the scene shooting camera position, and associate the scene shooting camera position with the virtual scene picture, so as to realize effective storage of the shooting camera position of the virtual scene for user reuse, and realize the demand for switching and displaying pictures of multiple angles of the virtual scene through multiple scene shooting cameras, further receive a picture adjustment operation for the virtual scene picture, adjust the display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture, and finally, respond to the confirmation trigger operation for the scene shooting camera position, Obtaining the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene picture and associating the camera parameters with the scene shooting position can further meet the user's adjustment of the existing scene shooting position, and meet the user's personalized needs for virtual scene display during the video production process. It solves the problems of repetitive adjustment of the virtual scene picture corresponding to the scene shooting position in the related technology, and the inability of the display of the virtual scene picture to meet the user's multi-directional display needs. It realizes the customized adjustment of the virtual scene picture of the existing scene shooting position under the premise of reducing the data storage amount, so as to obtain the virtual scene picture effect that meets the user's needs, improves the display effect of the virtual scene picture, and enhances the user experience of the application software.

[0084] FIG3 is a flow chart of another virtual scene processing method provided by an embodiment of the present disclosure. The technical solution of this embodiment, based on the above-mentioned embodiment, can also receive a camera position addition operation, determine the virtual scene image corresponding to the scene shooting position to be added, and associate the camera parameters of the corresponding virtual camera with the scene shooting position, and display it in the camera position configuration area of ​​the video editing interface. For specific implementation methods, please refer to the description of this embodiment. Technical features that are the same or similar to those of the above-mentioned embodiments will not be repeated here.

[0085] As shown in FIG3 , the method of this embodiment may specifically include:

[0086] S210: Display a video editing interface.

[0087] S220: Receive a trigger operation for changing the scene shooting position, and display a virtual scene image corresponding to the scene shooting position.

[0088] S230: Receive a picture adjustment operation for the virtual scene picture, adjust display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture.

[0089] S240 . In response to a confirmation trigger operation for the scene shooting position, obtain camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image, and associate the camera parameters with the scene shooting position.

[0090] S250: Receive a camera position adding operation, and determine a virtual scene image corresponding to the scene shooting camera position to be added.

[0091] In this embodiment, the camera adding operation can be the operation corresponding to adding a new scene shooting camera position on the basis of the original scene shooting camera position. In actual applications, a camera adding control can be developed in advance, and when a user triggering operation on the control is detected, it can be determined that the camera adding operation has been triggered. Optionally, the camera adding control can be a display control displayed in any area of ​​the video editing interface, and when a triggering operation on the display control is detected, it can be determined that the camera adding operation has been triggered; or, it can be a display control displayed in a function menu. Specifically, a click operation can be input for any area of ​​the video editing interface, and then, in response to the click operation, a function menu is displayed in the area. The function menu includes one or more display controls representing different functions. When a triggering operation on the camera adding control in the function menu is detected, it can be determined that the camera adding operation has been triggered.

[0092] The scene shooting position to be added may be a shooting position that needs to be added to the video editing interface. At the same time, the shooting position is different from the scene shooting position displayed in the video editing interface.

[0093] In actual applications, in addition to the existing scene shooting positions in the video editing interface, users can also customize and add one or more scene shooting positions in the video editing interface according to their own needs. Specifically, when a position adding operation is detected, the scene shooting position to be added can be determined according to the position adding operation, and then, the virtual scene screen corresponding to the scene shooting position to be added can be determined.

[0094] It should be noted that, depending on the different objects corresponding to the camera adding operation, the virtual scene image corresponding to the scene shooting camera to be added can correspond to at least two determination methods, and these two methods will be described below respectively.

[0095] One method may be: receiving a camera position adding operation, and determining a virtual scene picture corresponding to the scene shooting camera position to be added, including: receiving a camera position adding operation, and displaying the scene shooting camera position to be added in the camera position configuration area; and responding to a picture confirmation operation input for the scene shooting camera position, and using the confirmed virtual scene picture as the virtual scene picture corresponding to the scene shooting camera position.

[0096] In this embodiment, a screen confirmation control can be developed in advance and displayed in any area of ​​the video editing interface, or any key of the input device that controls the operation of the terminal device can be pre-associated with the screen confirmation function, so that when it is detected that the user triggers the screen confirmation control, or the key on the input device used to represent the screen confirmation function, it is determined that the screen confirmation operation has been triggered.

[0097] In actual application, when a user triggers a camera position addition operation, the scene shooting position to be added can be displayed in the camera position configuration area. At this time, the virtual scene screen corresponding to the scene shooting position is a blank screen. In addition, while the scene shooting position to be added is displayed in the camera position configuration area, the virtual scene screen displayed in the video convenience interface can be converted to an editable state. The user can input a screen adjustment operation on the virtual scene screen through an input device or a touch point to adjust the display information of the virtual scene corresponding to the virtual scene screen, and the adjusted virtual scene screen is displayed. Furthermore, after determining the virtual scene screen, the screen confirmation operation can be input for the scene shooting position. At this time, the confirmed virtual scene screen displayed in the display interface can be used as the virtual scene screen corresponding to the scene shooting position to be added. The advantage of this setting is that it enhances the fun of the camera position addition process and improves the flexibility of adjusting the virtual scene screen corresponding to the scene shooting position during the modification process of the scene shooting position to be added, so that the added scene shooting position can better meet the user's personalized needs.

[0098] Another method may be: receiving a camera position adding operation, and determining a virtual scene picture corresponding to the scene shooting camera position to be added, including: receiving a camera position adding operation acting on a virtual scene picture, and determining the virtual scene picture to be a virtual scene picture corresponding to the scene shooting camera position to be added.

[0099] In actual applications, when the virtual scene screen is in an editable state, the user can directly adjust the virtual scene screen displayed in the video editing interface. Specifically, the virtual scene screen can be adjusted by inputting a screen adjustment operation on the virtual scene screen through an input device or a touch point. During the adjustment process, the user can determine whether the currently adjusted virtual scene screen meets the camera position addition requirements based on the virtual scene screen displayed in the video editing interface. When a camera position addition operation for the virtual scene screen is detected, the virtual scene screen displayed in the video editing interface at the current moment can be used as the virtual scene screen corresponding to the scene shooting camera position to be added. In other words, when the camera position addition operation is triggered, the camera parameters of the virtual scene screen displayed in the video editing interface can be captured to generate a scene shooting camera position corresponding to the virtual scene screen. The advantage of this setting is that the scene shooting camera position can be generated simply and quickly based on the virtual scene screen displayed in the video editing interface, which simplifies the operation steps of the camera position addition operation, improves the efficiency of camera position addition, and enhances the user experience.

[0100] For example, a certain scene shooting camera position can be selected first, and the virtual scene screen corresponding to the scene shooting camera position can be displayed. Then, the virtual scene screen can be adjusted to obtain the adjusted display screen. When the trigger camera position addition operation is received, the scene shooting camera position is directly generated based on the currently displayed virtual scene screen. The advantage of this setting is that it can be adjusted by selecting a virtual display screen with shooting parameters similar to the virtual display screen of the scene shooting camera position to be added as the starting screen, saving time in adjusting the virtual display screen and improving the efficiency of generating scene shooting camera positions.

[0101] It should be noted that when determining the virtual scene picture corresponding to the scene shooting camera to be added, the camera name of the scene shooting camera to be added can also be customized and edited, so that when the scene shooting camera is displayed in the camera configuration area, the camera name can be associated with the scene shooting camera.

[0102] S260: Associating the camera parameters of the virtual camera corresponding to the virtual scene image with the scene shooting position, and displaying the scene shooting position in the camera position configuration area.

[0103] In actual applications, after determining the virtual scene picture corresponding to the scene shooting position to be added, the camera parameters of the virtual camera when shooting the virtual scene and obtaining the virtual scene picture can be determined based on the virtual scene picture. Afterwards, the camera parameters can be written into the configuration parameters corresponding to the scene shooting position to establish an association between the camera parameters and the scene shooting position. At the same time, the scene shooting position can also be displayed in the position configuration area, and when displayed in the position configuration area, the identification information corresponding to the scene shooting position can be displayed. Optionally, the identification information can include a thumbnail of the virtual scene picture and / or a text identification corresponding to the scene shooting position, etc.

[0104] For example, as shown in FIG4 , the virtual scene picture displayed in the virtual scene picture display area may be the virtual scene picture corresponding to the scene shooting position to be added. When the mouse cursor (arrow in the figure) moves to the “+ Add” control and a click operation is input on the control, a “Add Shooting Position” text box (small rectangular box in the figure) may pop up. The text box may include a thumbnail of the virtual scene picture, a position name editing control, a “Cancel” control, and a “Confirm Add” control. The user can edit the position name in the position name editing control, for example, “Free Position 1”. Further, when the mouse cursor moves to the “Confirm Add” control and a click operation is input on the control, the free position 1 and the thumbnail of the corresponding virtual scene picture may be displayed in the position configuration area.

[0105] In actual applications, in addition to receiving camera position addition operations, camera position deletion operations can also be received. Specifically, when a camera position deletion operation is received, the virtual scene image corresponding to the scene shooting position to be deleted and the camera parameters of the virtual camera corresponding to the virtual scene image can be deleted from the local storage space. The advantage of this setting is that it can reduce the data storage capacity of the application software, thereby increasing the response rate of the application software and improving the user experience.

[0106] It should be noted that the camera position adding operation in step S250 and the change triggering operation in step S220 are two independent operations in the video editing scenario. There is no execution order between the two operations, that is, the camera position adding operation can be performed in any scene shooting scene, for example, it can be performed in the scene before adjusting the scene shooting position, that is, before receiving the change triggering operation for the scene shooting position, or it can be performed in the scene after adjusting the scene shooting position, that is, after the scene shooting position is displayed in the camera position configuration area. The embodiment of the present disclosure does not make specific limitations on this.

[0107] The technical solution of the embodiment of the present disclosure is to display a video editing interface, then receive a change trigger operation for a scene shooting position, display a virtual scene picture corresponding to the scene shooting position, and then receive a picture adjustment operation for the virtual scene picture, adjust the display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture. Furthermore, in response to a confirmation trigger operation for the scene shooting position, obtain the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene picture, and associate the camera parameters with the scene shooting position, receive a position adding operation, determine the virtual scene picture corresponding to the scene shooting position to be added, and finally, associate the camera parameters of the virtual camera corresponding to the virtual scene picture with the scene shooting position, and display the scene shooting position in the position configuration area, thereby realizing the effect of customized configuration based on user needs and adding scene shooting positions, meeting the personalized needs of users, and improving the display effect of virtual scenes and the user experience of the application software.

[0108] Figure 5 is a flow chart illustrating another virtual scene processing method provided by an embodiment of the present disclosure. The technical solution of this embodiment, based on the above embodiment, optionally further includes: receiving a video addition operation for a scene camera position, and associating at least part of the information in the added video with the scene camera position. For a detailed implementation, please refer to the description of this embodiment. Technical features that are identical or similar to those of the above embodiment are not repeated here.

[0109] As shown in FIG5 , the method of this embodiment may specifically include:

[0110] S310: Display a video editing interface.

[0111] S320: Receive a trigger operation for changing the scene shooting position, and display a virtual scene image corresponding to the scene shooting position.

[0112] S330: Receive a picture adjustment operation for the virtual scene picture, adjust display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture.

[0113] S340: In response to a confirmation trigger operation for the scene shooting position, obtain camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image, and associate the camera parameters with the scene shooting position.

[0114] S350: Receive a video adding operation for a scene shooting camera position, and associate at least part of the information in the added video with the scene shooting camera position.

[0115] In this embodiment, the video adding operation can be used to add part of the information in the video to the virtual scene screen. In actual applications, a video adding control can be developed in advance. When a triggering operation on the control is detected, it can be determined that the video adding operation is triggered, thereby determining the video that needs to be added to the virtual scene screen. Among them, the added video can be a video shot in real time based on the terminal device (such as a live video), or it can be a video preset and stored in the storage space. Optionally, at least part of the information in the video can be audio information in the video, any subject object information in the video, or all video information, etc. Exemplarily, any subject object information can include dynamic subject objects, such as people or animals, etc.; and / or, static subject objects, such as plants or buildings, etc.

[0116] In actual applications, for one or more scene shooting positions displayed in the camera configuration area, a trigger operation can be first input for the scene shooting position, and then a scene configuration page corresponding to the scene shooting position can be displayed in any area of ​​the video editing interface. Furthermore, a video adding operation for the scene shooting position can be input in the scene configuration page. Specifically, a click operation can be input for the video adding control displayed in the scene configuration page. At this time, a list of videos to be added can be displayed in the scene configuration page, and the list can include one or more videos to be added. The user can select from the videos to be added through the trigger operation. When the user triggers any video to be added, the video to be added can be used as the added video corresponding to the scene shooting position. Furthermore, based on user needs, at least part information of the video that can be added to the virtual scene screen can be determined and obtained, and the obtained at least part of the video information can be updated to the configuration parameters corresponding to the scene shooting position, so that this information can be associated with the scene shooting position, so that when the trigger operation for the scene shooting position is detected, at least part of the information in the added video can be displayed while displaying the corresponding virtual scene screen. The advantage of this setting is that it realizes the fusion of virtual scene images and video information shot in the real world, thereby obtaining a scene image that combines virtual and real.

[0117] It should be noted that the same scene shooting position can be associated with one added video or multiple added videos. The embodiment of the present disclosure does not specifically limit the number of videos associated with the scene shooting position.

[0118] It should also be noted that at least part of the information of the same video can be associated with one scene shooting camera position or multiple scene shooting cameras. The embodiment of the present disclosure does not specifically limit the number of scene shooting cameras associated with the video.

[0119] It should be noted that the video adding operation in step S350 can be performed before step 320. If the video adding operation in step S350 is performed before step 320, the scene shooting position associated with at least part of the information in the added video is the scene shooting position before the change, and thus, the virtual scene picture in the video screen finally obtained is the virtual scene picture before the adjustment; if the video adding operation in step S350 is performed after step 320, the scene shooting position associated with at least part of the information in the added video is the scene shooting position after the change, and thus, the virtual scene picture in the video screen finally obtained is the virtual scene picture after the adjustment.

[0120] The technical solution of the embodiment of the present disclosure is to display a video editing interface, then receive a change trigger operation for a scene shooting position, display a virtual scene picture corresponding to the scene shooting position, and then receive a picture adjustment operation for the virtual scene picture, adjust the display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture. Furthermore, in response to a confirmation trigger operation for the scene shooting position, obtain the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene picture, and associate the camera parameters with the scene shooting position, receive a video adding operation for the scene shooting position, and associate at least part of the information in the added video with the scene shooting position, thereby achieving an effect of fusing the virtual scene picture with the video information shot in the real world, thereby obtaining a scene picture that combines the virtual and the real, and improving the display effect of the virtual scene picture.

[0121] FIG6 is a flow chart of a virtual scene processing method provided by an embodiment of the present disclosure. This embodiment is an optional embodiment of the above-mentioned disclosed embodiments, taking the scene shooting position as a primary perspective camera as an example. Specifically, the method of the embodiment of the present disclosure may include the following steps:

[0122] 1. Receive trigger operations for changing the shooting position of the scene and determine the main viewing angle camera;

[0123] 2. Receive an image adjustment operation for the virtual scene image corresponding to the primary view camera, and update the camera parameters (focal length, aperture) of the primary view camera according to the image adjustment operation to obtain an adjusted virtual scene image;

[0124] 3. Receive the camera position addition operation. In the camera roaming state, determine the virtual scene image of the scene shooting position to be added;

[0125] 4. Determine the corresponding camera parameters (posture, focal length, aperture, etc.) based on the virtual scene image;

[0126] 5. Associate the camera parameters with the scene shooting position to be added to generate a new scene shooting position;

[0127] 6. Input the signal source to be added;

[0128] 7. Receive the video adding operation for the main view camera, and determine the signal source to be added from the pre-input signal sources according to the signal switching operation;

[0129] 8. Synthesize the real image from the signal source to be added with the virtual scene image corresponding to the primary view camera, and display the virtual scene image and the real image.

[0130] The technical solution of the disclosed embodiment displays a video editing interface, then receives a change trigger operation for a scene shooting position, displays a virtual scene picture corresponding to the scene shooting position, further receives a picture adjustment operation for the virtual scene picture, adjusts the display information of the virtual scene corresponding to the virtual scene picture, and displays the adjusted virtual scene picture, and finally, in response to a confirmation trigger operation for the scene shooting position, obtains the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene picture, and associates the camera parameters with the scene shooting position, thereby solving the problem that the virtual scene picture corresponding to the scene shooting position in the prior art is fixed and cannot be adjusted, which leads to the virtual scene picture being unable to meet user needs, and realizes customized adjustment of the virtual scene picture of the existing scene shooting position under the premise of reducing the amount of data storage to obtain the effect of the virtual scene picture that meets user needs, thereby improving the display effect of the virtual scene picture and enhancing the user experience of the application software.

[0131] FIG7 is a structural diagram of a virtual scene processing device provided by an embodiment of the present disclosure. As shown in FIG7 , the device includes: an interface display module 410 , a picture display module 420 , a picture adjustment module 430 , and a camera position confirmation operation 440 .

[0132] The interface display module 410 is used to display a video editing interface, wherein the video editing interface includes at least one scene shooting camera position;

[0133] The image display module 420 is configured to receive a trigger operation for changing the camera position of the scene and display a virtual scene image corresponding to the camera position of the scene;

[0134] The picture adjustment module 430 is used to receive a picture adjustment operation for the virtual scene picture, adjust the display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture;

[0135] The camera position confirmation operation 440 is used to obtain the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image in response to the confirmation trigger operation for the scene shooting position, and associate the camera parameters with the scene shooting position.

[0136] On the basis of the above technical solutions, the picture adjustment module 430 includes: a first picture adjustment unit and a second picture adjustment unit.

[0137] a first picture adjustment unit, configured to receive a picture dragging operation acting on the virtual scene picture; and / or,

[0138] The second screen adjustment unit is used to receive a control trigger operation acting on a preset direction adjustment control corresponding to the virtual scene screen, wherein the direction adjustment control is used to control the virtual scene to move along a preset direction.

[0139] On the basis of the above technical solutions, the device further includes: a prompt information display module.

[0140] The prompt information display module is used to display adjustment prompt information after receiving the camera position change trigger operation for the scene shooting camera position, wherein the adjustment prompt information is used to prompt the operation method for adjusting the virtual scene image.

[0141] Based on the above technical solutions, the video editing interface includes a camera configuration area, which is used to display the scene shooting camera position; accordingly, the device also includes: a virtual scene picture determination module and a scene shooting camera position display module.

[0142] A virtual scene picture determination module is used to receive a camera position addition operation and determine a virtual scene picture corresponding to the scene shooting camera position to be added;

[0143] The camera parameter associating module is used to associate the camera parameters of the virtual camera corresponding to the virtual scene image with the scene shooting position, and display the scene shooting position in the position configuration area.

[0144] On the basis of the above technical solutions, the virtual scene picture determination module includes: a scene shooting camera position display unit and a virtual scene picture first determination unit.

[0145] A scene shooting camera position display unit, configured to receive a camera position adding operation and display the scene shooting camera position to be added in the camera position configuration area;

[0146] The first virtual scene picture determining unit is configured to, in response to a picture confirmation operation inputted for the scene shooting position, use the confirmed virtual scene picture as the virtual scene picture corresponding to the scene shooting position.

[0147] On the basis of the above technical solutions, the virtual scene picture determination module further includes: a virtual scene picture second determination unit.

[0148] The second virtual scene picture determining unit is configured to receive a camera position adding operation acting on the virtual scene picture, and determine the virtual scene picture as a virtual scene picture corresponding to the scene shooting camera position to be added.

[0149] Based on the above technical solutions, the device further includes: an information association module.

[0150] The information association module is configured to receive a video adding operation for the scene shooting camera position and associate at least part of the information in the added video with the scene shooting camera position.

[0151] On the basis of the above technical solutions, the picture adjustment module 430 further includes: a camera parameter updating unit and a display information determining unit.

[0152] A camera parameter updating unit, configured to update the camera parameters of the virtual camera corresponding to the virtual scene picture based on the picture adjustment operation and the currently displayed virtual scene picture;

[0153] The display information determining unit is configured to determine the display information of the virtual scene based on the updated camera parameters, and determine an adjusted virtual scene image based on the display information.

[0154] Based on the above technical solutions, the camera parameters include camera posture and lens parameters, and the lens parameters include at least one of focal length parameters, frame parameters and aperture parameters.

[0155] The technical solution of the embodiment of the present disclosure is to display a video editing interface and display the scene shooting camera position in the video editing interface, then receive a change trigger operation for the scene shooting camera position, display the virtual scene picture corresponding to the scene shooting camera position, and associate the scene shooting camera position with the virtual scene picture, so as to realize effective storage of the shooting camera position of the virtual scene for user reuse, and realize the demand for switching and displaying pictures of multiple angles of the virtual scene through multiple scene shooting cameras, further receive a picture adjustment operation for the virtual scene picture, adjust the display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture, and finally, respond to the confirmation trigger operation for the scene shooting camera position, Obtaining the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene picture and associating the camera parameters with the scene shooting position can further meet the user's adjustment of the existing scene shooting position, and meet the user's personalized needs for virtual scene display during the video production process. It solves the problems of repetitive adjustment of the virtual scene picture corresponding to the scene shooting position in the related technology, and the inability of the display of the virtual scene picture to meet the user's multi-directional display needs. It realizes the customized adjustment of the virtual scene picture of the existing scene shooting position under the premise of reducing the data storage amount, so as to obtain the virtual scene picture effect that meets the user's needs, improves the display effect of the virtual scene picture, and enhances the user experience of the application software.

[0156] The virtual scene processing device provided by the embodiments of the present disclosure can execute the virtual scene processing method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

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

[0158] FIG8 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG8 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG8 ) 500 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG8 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

[0159] As shown in FIG8 , the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0160] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 500 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0161] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0162] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0163] The electronic device provided by the embodiment of the present disclosure and the virtual scene processing method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0164] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the virtual scene processing method provided in the above embodiment is implemented.

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

[0166] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0167] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0168] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a video editing interface, wherein the video editing interface includes at least one scene shooting camera position;

[0169] receiving a trigger operation for changing the camera position of the scene, and displaying a virtual scene image corresponding to the camera position of the scene;

[0170] receiving a picture adjustment operation for the virtual scene picture, adjusting display information of the virtual scene corresponding to the virtual scene picture, and displaying the adjusted virtual scene picture;

[0171] In response to a confirmation trigger operation for the scene shooting position, camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image are acquired, and the camera parameters are associated with the scene shooting position.

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

[0173] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0174] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."

[0175] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

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

[0177] According to one or more embodiments of the present disclosure, [Example 1] provides a virtual scene processing method, the method comprising:

[0178] Displaying a video editing interface, wherein the video editing interface includes at least one scene shooting camera position;

[0179] receiving a trigger operation for changing the camera position of the scene, and displaying a virtual scene image corresponding to the camera position of the scene;

[0180] receiving a picture adjustment operation for the virtual scene picture, adjusting display information of the virtual scene corresponding to the virtual scene picture, and displaying the adjusted virtual scene picture;

[0181] In response to a confirmation trigger operation for the scene shooting position, camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image are acquired, and the camera parameters are associated with the scene shooting position.

[0182] According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, which further includes:

[0183] Optionally, receiving a drag operation on the virtual scene image; and / or,

[0184] A control triggering operation is received that acts on a preset direction adjustment control corresponding to the virtual scene image, wherein the direction adjustment control is used to control the virtual scene to move along a preset direction.

[0185] According to one or more embodiments of the present disclosure, [Example 3] provides the method of Example 1. The method, after receiving a camera position change trigger operation for the scene shooting camera position, further includes:

[0186] Optionally, adjustment prompt information is displayed, wherein the adjustment prompt information is used to prompt an operation method for adjusting the virtual scene image.

[0187] According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 1, wherein the video editing interface includes a camera configuration area, the camera configuration area being used to display the camera position for shooting the scene, and the method further includes:

[0188] Optionally, receiving a camera position adding operation, and determining a virtual scene image corresponding to the scene shooting camera position to be added;

[0189] The camera parameters of the virtual camera corresponding to the virtual scene image are associated with the scene shooting position, and the scene shooting position is displayed in the position configuration area.

[0190] According to one or more embodiments of the present disclosure, [Example 5] provides the method of Example 4, which further includes:

[0191] Optionally, receiving a camera position adding operation, and displaying the scene shooting camera position to be added in the camera position configuration area;

[0192] In response to a picture confirmation operation input for the scene shooting camera position, the confirmed virtual scene picture is used as the virtual scene picture corresponding to the scene shooting camera position.

[0193] According to one or more embodiments of the present disclosure, [Example 6] provides the method of Example 4, which further includes:

[0194] Optionally, a camera position adding operation acting on the virtual scene picture is received, and the virtual scene picture is determined to be a virtual scene picture corresponding to the scene shooting camera position to be added.

[0195] According to one or more embodiments of the present disclosure, [Example 7] provides the method of Example 1, which further includes:

[0196] Optionally, a video adding operation for the scene shooting camera position is received, and at least part of the information in the added video is associated with the scene shooting camera position.

[0197] According to one or more embodiments of the present disclosure, [Example 8] provides the method of Example 1, which further includes:

[0198] Optionally, updating camera parameters of a virtual camera corresponding to the virtual scene picture based on the picture adjustment operation and the currently displayed virtual scene picture;

[0199] Display information of the virtual scene is determined based on the updated camera parameters, and an adjusted virtual scene image is determined based on the display information.

[0200] According to one or more embodiments of the present disclosure, [Example 9] provides the method of Example 1, which further includes:

[0201] Optionally, the camera parameters include camera posture and lens parameters, and the lens parameters include at least one of a focal length parameter, a frame parameter, and an aperture parameter.

[0202] According to one or more embodiments of the present disclosure, [Example 10] provides a virtual scene processing device, the device comprising:

[0203] An interface display module, configured to display a video editing interface, wherein the video editing interface includes at least one scene shooting camera position;

[0204] A picture display module, configured to receive a trigger operation for changing the scene shooting position and display a virtual scene picture corresponding to the scene shooting position;

[0205] a picture adjustment module, configured to receive a picture adjustment operation for the virtual scene picture, adjust display information of the virtual scene corresponding to the virtual scene picture, and display the adjusted virtual scene picture;

[0206] The camera position confirmation operation is used to obtain the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image in response to the confirmation trigger operation for the scene shooting position, and associate the camera parameters with the scene shooting position.

[0207] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0208] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0209] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A virtual scene processing method, comprising: Displaying a video editing interface, wherein the video editing interface includes at least one scene shooting camera position; receiving a trigger operation for changing the scene shooting position, and displaying a virtual scene picture corresponding to the scene shooting position; receiving a picture adjustment operation for the virtual scene picture, adjusting display information of the virtual scene corresponding to the virtual scene picture, and displaying the adjusted virtual scene picture; In response to a confirmation trigger operation for the scene shooting position, camera parameters of a virtual camera corresponding to the displayed adjusted virtual scene image are acquired, and the camera parameters are associated with the scene shooting position.

2. The virtual scene processing method according to claim 1, wherein: The receiving a picture adjustment operation for the virtual scene picture and displaying the adjusted virtual scene picture comprises: receiving a screen dragging operation acting on the virtual scene screen; and / or, A control triggering operation is received that acts on a preset direction adjustment control corresponding to the virtual scene image, wherein the direction adjustment control is used to control the virtual scene to move along a preset direction.

3. The virtual scene processing method according to claim 1, wherein: After receiving the camera position change trigger operation for the scene shooting camera position, the method further includes: Adjustment prompt information is displayed, wherein the adjustment prompt information is used to prompt an operation method for adjusting the virtual scene image.

4. The virtual scene processing method according to claim 1, wherein: The video editing interface includes a camera position configuration area, and the camera position configuration area is used to display the scene shooting camera position; The virtual scene processing method further includes: Receive a camera position adding operation, and determine a virtual scene picture corresponding to the scene shooting camera position to be added; The camera parameters of the virtual camera corresponding to the virtual scene image are associated with the scene shooting position, and the scene shooting position is displayed in the position configuration area.

5. The virtual scene processing method according to claim 4, wherein: The receiving camera position adding operation determines a virtual scene picture corresponding to the scene shooting camera position to be added, including: Receive a camera position adding operation, and display the scene shooting camera position to be added in the camera position configuration area; In response to a picture confirmation operation input for the scene shooting position, the confirmed virtual scene picture is used as the virtual scene picture corresponding to the scene shooting position.

6. The virtual scene processing method according to claim 4, wherein: The receiving camera position adding operation determines a virtual scene picture corresponding to the scene shooting camera position to be added, including: A camera position adding operation acting on the virtual scene picture is received, and the virtual scene picture is determined to be a virtual scene picture corresponding to the scene shooting camera position to be added.

7. The virtual scene processing method according to claim 1, further comprising: A video adding operation for the scene shooting position is received, and at least part of the information in the added video is associated with the scene shooting position.

8. The virtual scene processing method according to claim 1, wherein: The adjusting the display information of the virtual scene corresponding to the virtual scene picture includes: Based on the picture adjustment operation and the currently displayed virtual scene picture, updating the camera parameters of the virtual camera corresponding to the virtual scene picture; Display information of the virtual scene is determined based on the updated camera parameters, and an adjusted virtual scene image is determined based on the display information.

9. The virtual scene processing method according to claim 1, wherein: The camera parameters include camera posture and lens parameters, and the lens parameters include at least one of a focal length parameter, a frame parameter, and an aperture parameter.

10. A virtual scene processing device, comprising: An interface display module, used to display a video editing interface, wherein the video editing interface includes at least one scene shooting position; A picture display module, used for receiving a trigger operation for changing the scene shooting position, and displaying a virtual scene picture corresponding to the scene shooting position; A picture adjustment module, used for receiving a picture adjustment operation for the virtual scene picture, adjusting display information of the virtual scene corresponding to the virtual scene picture, and displaying the adjusted virtual scene picture; The camera position confirmation operation is used to obtain the camera parameters of the virtual camera corresponding to the displayed adjusted virtual scene image in response to the confirmation trigger operation for the scene shooting position, and associate the camera parameters with the scene shooting position.

11. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors perform actions, including: Displaying a video editing interface, wherein the video editing interface includes at least one scene shooting camera position; receiving a trigger operation for changing the scene shooting position, and displaying a virtual scene picture corresponding to the scene shooting position; receiving a picture adjustment operation for the virtual scene picture, adjusting display information of the virtual scene corresponding to the virtual scene picture, and displaying the adjusted virtual scene picture; In response to a confirmation trigger operation for the scene shooting position, camera parameters of a virtual camera corresponding to the displayed adjusted virtual scene image are acquired, and the camera parameters are associated with the scene shooting position.

12. The electronic device according to claim 11, wherein: The receiving a picture adjustment operation for the virtual scene picture and displaying the adjusted virtual scene picture comprises: receiving a screen dragging operation acting on the virtual scene screen; and / or, A control triggering operation is received that acts on a preset direction adjustment control corresponding to the virtual scene image, wherein the direction adjustment control is used to control the virtual scene to move along a preset direction.

13. The electronic device according to claim 11, wherein: After receiving the camera position change trigger operation for the scene shooting camera position, the method further includes the following actions: Adjustment prompt information is displayed, wherein the adjustment prompt information is used to prompt an operation method for adjusting the virtual scene image.

14. The electronic device according to claim 11, wherein: The video editing interface includes a camera position configuration area, and the camera position configuration area is used to display the scene shooting camera position; The actions also include: Receive a camera position adding operation, and determine a virtual scene picture corresponding to the scene shooting camera position to be added; The camera parameters of the virtual camera corresponding to the virtual scene image are associated with the scene shooting position, and the scene shooting position is displayed in the position configuration area.

15. The electronic device according to claim 14, wherein: The receiving camera position adding operation determines a virtual scene picture corresponding to the scene shooting camera position to be added, including: Receive a camera position adding operation, and display the scene shooting camera position to be added in the camera position configuration area; In response to a picture confirmation operation input for the scene shooting position, the confirmed virtual scene picture is used as the virtual scene picture corresponding to the scene shooting position.

16. The electronic device according to claim 14, wherein: The receiving camera position adding operation determines a virtual scene picture corresponding to the scene shooting camera position to be added, including: A camera position adding operation acting on the virtual scene picture is received, and the virtual scene picture is determined to be a virtual scene picture corresponding to the scene shooting camera position to be added.

17. The electronic device according to claim 11, the actions further comprising: A video adding operation for the scene shooting position is received, and at least part of the information in the added video is associated with the scene shooting position.

18. The electronic device according to claim 11, wherein: The adjusting the display information of the virtual scene corresponding to the virtual scene picture includes: Based on the picture adjustment operation and the currently displayed virtual scene picture, updating the camera parameters of the virtual camera corresponding to the virtual scene picture; Display information of the virtual scene is determined based on the updated camera parameters, and an adjusted virtual scene image is determined based on the display information.

19. The electronic device according to claim 11, wherein: The camera parameters include camera posture and lens parameters, and the lens parameters include at least one of a focal length parameter, a frame parameter, and an aperture parameter.

20. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the virtual scene processing method according to any one of claims 1 to 9 when executed by a computer processor.

Citation Information

Patent Citations

  • Virtual scene adjusting method and device in game, electronic device, and storage medium

    CN109550247A

  • Virtual scene processing method and device, storage medium and electronic equipment

    CN114202576A

  • Object rendering method and device, storage medium and electronic device

    CN114898029A

  • Multimedia data editing method and device, electronic equipment and storage medium

    CN115830224A

  • Virtual scene processing method and device, electronic equipment and storage medium

    CN116301530A

Cited By

  • Lens scheduling method and device for twin scene, equipment, medium and program product

    CN120499500A