Virtual scene control method and device, computer program product and electronic equipment
By introducing the switching functions of time static and dynamic time states in the virtual scene, the problem of insufficient convenience and freedom of user creation is solved, and the effect of editing is achieved without exiting the photo mode.
Patent Information
- Application Number
- CN202411919193.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-24
AI Technical Summary
In the prior art, users have little convenience and freedom to create photo-taking works in virtual scenes, and need to frequently exit and re-enter the photo-taking mode for editing.
By providing a graphical user interface on the terminal device, the user can control the virtual scene to enter the time-stop state or the dynamic time state in the photography mode, thereby supporting the free switch of the time-stop function in the photography mode.
This enables users to edit the virtual scenes twice without exiting the camera photography mode, enhancing the convenience and freedom of users to create photography works.
Smart Images

Figure CN119701347A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a virtual scene control method, a virtual scene control device, a computer program product, and an electronic device. Background Art
[0002] By shooting virtual scenes, users can create their own personalized photos and publish them.
[0003] In the related art, the user enters the photo mode of the virtual camera by triggering the photo button configured in the interface to capture the virtual scene. If the currently obtained photo does not meet the user's needs, it is necessary to exit the photo mode and then re-enter the photo mode to edit it again before taking the photo. The convenience and freedom of user creation are low.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present disclosure provides a virtual scene control method, a virtual scene control device, a computer program product and an electronic device, so as to at least to some extent solve the problems of low convenience and freedom of user creation in related technologies.
[0006] According to a first aspect of the present disclosure, a virtual scene control method is provided, in which a graphical user interface is provided through a terminal device, and the content displayed in the graphical user interface includes at least part of the virtual scene. The method includes: responding to a photo trigger operation, controlling the virtual scene to enter a photo mode; in the photo mode, responding to a first time stop trigger operation, controlling the virtual scene to enter a time static state; when the virtual scene is in the time static state, responding to a photo confirmation operation, controlling a virtual camera to capture a picture of the virtual scene to obtain a first virtual scene picture; in the photo mode, responding to a second time stop trigger operation, controlling the virtual scene to enter a dynamic time state; when the virtual scene is in the dynamic time state, responding to a photo confirmation operation, controlling the virtual camera to capture a picture of the virtual scene to obtain a second virtual scene picture.
[0007] According to a second aspect of the present disclosure, a virtual scene control device is provided, which provides a graphical user interface through a terminal device, and the content displayed in the graphical user interface includes at least part of the virtual scene. The device includes: a photo mode entry module, which is used to respond to a photo trigger operation and control the virtual scene to enter a photo mode; a static state entry module, which is used to respond to a first time stop trigger operation in the photo mode and control the virtual scene to enter a time static state; a first picture acquisition module, which is used to respond to a photo confirmation operation when the virtual scene is in the time static state and control a virtual camera to acquire a picture of the virtual scene to obtain a first virtual scene picture; a dynamic state entry module, which is used to respond to a second time stop trigger operation in the photo mode and control the virtual scene to enter a dynamic time state; and a second picture acquisition module, which is used to respond to a photo confirmation operation when the virtual scene is in the dynamic time state and control the virtual camera to acquire a picture of the virtual scene to obtain a second virtual scene picture.
[0008] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the virtual scene control method of the first aspect and possible implementation methods thereof are implemented.
[0009] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the virtual scene control method of the above-mentioned first aspect and its possible implementation method by executing the executable instructions.
[0010] The technical solution disclosed in this disclosure has the following beneficial effects:
[0011] In the above virtual scene control process, in response to the photo trigger operation, the virtual scene is controlled to enter the photo mode; in the photo mode, in response to the first time stop trigger operation, the virtual scene is controlled to enter the time static state; when the virtual scene is in the time static state, in response to the photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene to obtain the first virtual scene image; in the photo mode, in response to the second time stop trigger operation, the virtual scene is controlled to enter the dynamic time state; when the virtual scene is in the dynamic time state, in response to the photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene to obtain the second virtual scene image. After entering the camera photo mode, the present invention controls the virtual scene to enter the time static state or the dynamic time state through the time stop trigger operation, and can support the free switch of the time stop function in the photo mode, so that the user does not need to exit the camera photo mode when performing secondary editing on the scene, thereby enhancing the convenience and freedom of the user in creating photo works. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A flowchart of a virtual scene control method in this exemplary embodiment is shown;
[0013] Figure 2 A schematic diagram of an interface of a PC game display time still control widget in this exemplary embodiment is shown;
[0014] Figure 3 A schematic diagram of an interface of a controller game display time static control control component in this exemplary embodiment is shown;
[0015] Figure 4 A schematic diagram of an interface of a mobile phone game display time static control widget in this exemplary embodiment is shown;
[0016] Figure 5 A schematic diagram showing a non-editable prompt in this exemplary embodiment;
[0017] Figure 6 A schematic diagram showing another non-editable prompt in this exemplary embodiment;
[0018] Figure 7 A schematic diagram showing an editing scene role action in this exemplary embodiment is shown;
[0019] Figure 8 A schematic diagram of an interface of a first sub-interface in this exemplary embodiment is shown;
[0020] Fig. 9 A schematic diagram of an interface of a second sub-interface in this exemplary embodiment is shown;
[0021] Fig.10 A flow chart showing a scene state switching in this exemplary embodiment is shown;
[0022] Fig.11 A flowchart of a scene secondary editing in this exemplary embodiment is shown;
[0023] Fig.12 A structural block diagram of a virtual scene control device in this exemplary embodiment is shown;
[0024] Fig.13 An electronic device for implementing the above-mentioned virtual scene control method in this exemplary embodiment is shown. DETAILED DESCRIPTION
[0025] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.
[0026] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.
[0027] In the related art, the user enters the photo mode of the virtual camera by triggering the photo button configured in the interface to capture the virtual scene. If the currently obtained photo does not meet the user's needs, it is necessary to exit the photo mode and then re-enter the photo mode to edit it again before taking the photo. The convenience and freedom of user creation are low.
[0028] In view of one or more of the above problems, exemplary embodiments of the present disclosure provide a virtual scene control method, a virtual scene control device, a computer program product, and an electronic device.
[0029] In one embodiment of the present disclosure, the virtual scene control method can be run on a local terminal device or a server. When the virtual scene control method is run on a server, the virtual scene control method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0030] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the virtual scene control method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, a game console, etc.; but the cloud game server in the cloud is used for game processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0031] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0032] In an optional embodiment, reference Figure 1 As shown, a flowchart of a virtual scene control method is provided, wherein a graphical user interface is provided by a terminal device, and the content displayed in the graphical user interface includes at least part of the virtual scene, and specifically includes the following steps S110 to S150:
[0033] Step S110, responding to a photo triggering operation, controlling the virtual scene to enter a photo mode;
[0034] Step S120, in the photographing mode, in response to the first time stop triggering operation, controlling the virtual scene to enter a time still state;
[0035] Step S130, when the virtual scene is in a time-stationary state, in response to a photograph confirmation operation, controlling the virtual camera to capture a picture of the virtual scene to obtain a first virtual scene picture;
[0036] Step S140, in the photographing mode, in response to the second time stop triggering operation, controlling the virtual scene to enter a dynamic time state;
[0037] Step S150, when the virtual scene is in a dynamic time state, in response to a photograph confirmation operation, controlling the virtual camera to capture a picture of the virtual scene to obtain a second virtual scene picture.
[0038] Figure 1 In the method shown, after entering the camera shooting mode, the virtual scene is controlled to enter a time still state or a dynamic time state through a time stop trigger operation, and the free switching of the time stop function in the shooting mode can be supported, so that the user does not need to exit the camera shooting mode when performing secondary editing of the scene, thereby enhancing the convenience and freedom of the user in creating photographic works.
[0039] It should be noted that although Figure 1There are flow arrows between step S110 and step S150, but this does not mean that these steps are executed in the order of the arrows, that is, it does not mean that after executing S110, S120 will be executed, it may also be S140. It depends on the game settings. The settings can be pre-set by the system or customized by the player. If it is set that the time is static by default after entering the photo mode, S140 can be executed after executing S110. If it is set that the time is dynamic by default after entering the photo mode, S120 can be executed after executing S110. The present disclosure does not make specific limitations on this.
[0040] It should be noted that the virtual scene in the present disclosure may be a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment, and the present disclosure does not specifically limit this. The virtual scene may include but is not limited to game scenes such as PC (Personal Computer) games, gamepad games, and mobile games.
[0041] Optionally, the virtual scene may be a scene corresponding to a single-player game, wherein a single-player game, also known as a stand-alone game, refers to a game played by a single user. In an online game or a multiplayer game, after entering the photo mode of the virtual camera, the time-stop function may be controlled to be ineffective, so as to avoid affecting the creation progress of other users due to a single user turning on the time-stop function.
[0042] The virtual camera may be a virtual camera placed in a virtual scene for capturing images of the virtual scene. Specifically, the virtual camera may shoot the virtual scene based on different camera parameters, including but not limited to camera position, camera orientation, focal length, and focal plane.
[0043] Below Figure 1 Provide detailed instructions for each step.
[0044] Step S110, responding to the photo triggering operation, controlling the virtual scene to enter the photo mode.
[0045] The photo trigger operation refers to the operation of controlling the game scene to enter the photo mode, which can be a click operation, a long press operation, etc., and the present disclosure does not specifically limit this. In the photo mode, the virtual camera can capture the screen of the virtual scene to facilitate the user to create works.
[0046] Among them, the photo mode may include two states: "time still state" and "dynamic time state". "Time still state" means that the virtual scene is in a photo state in which the time is still, and the virtual scene can play the scene content at a speed close to zero or zero speed in the time still state. "Dynamic time state" means that the virtual scene is in a photo state in which the time is still, and the virtual scene can play the scene content at a preset non-zero speed in the dynamic time state, such as playing the scene content at the normal playback speed before entering the photo mode.
[0047] Taking PC games as an example, users can trigger the virtual camera by clicking the "F7" key or the main menu camera button to enter the camera photo mode.
[0048] Taking the game controller as an example, the user can trigger the virtual camera through the camera key View+RB on the HUD (Heads Up Display) or the camera button on the main menu to enter the camera shooting mode.
[0049] Taking mobile games as an example, users can trigger the virtual camera through the HUD shortcut button or the main menu camera button to enter the camera photo mode.
[0050] Optionally, the virtual camera may include one or more photo triggering entrances, such as a time-stop snapshot entrance and a normal photo entrance. Different camera triggering entrances have different default states for entering the virtual scene, so as to quickly meet the different creative needs of users.
[0051] In an optional implementation, the above-mentioned response to the photo trigger operation and control of the virtual scene to enter the photo mode can be achieved through the following steps: responding to the first photo trigger operation, controlling the virtual scene to enter the photo mode, and controlling the virtual scene to enter a time-still state.
[0052] The first photo-taking triggering operation refers to an operation of triggering the camera photo-taking mode and turning on the time-freezing function.
[0053] Exemplarily, in response to a trigger operation of a first camera entry of the virtual camera, the virtual scene may be controlled to enter a photographing mode and a time-still state, wherein the first camera entry may be a time-stop snapshot entry.
[0054] Taking PC games as an example, users can enter the photo mode from the first camera entrance by clicking the "F7" key, and start the time stop function by default, that is, entering a virtual scene where time is still, and playing the scene content at near zero speed or zero speed.
[0055] By responding to the first photo triggering operation, controlling the virtual scene to enter the photo mode, and controlling the virtual scene to enter a time still state by default, the convenience of static scene shooting can be improved.
[0056] In an optional implementation, the above-mentioned response to the photo trigger operation and control of the virtual scene to enter the photo mode can be achieved through the following steps: responding to the second photo trigger operation, controlling the virtual scene to enter the photo mode, and controlling the virtual scene to be in a dynamic time state.
[0057] The second photo triggering operation refers to an operation of triggering the camera photo mode and turning off the time freeze function. Exemplarily, in response to the triggering operation of the second camera entrance of the virtual camera, the virtual scene can be controlled to enter the photo mode and be in a dynamic time state. The second camera entrance can be a normal photo entrance.
[0058] Taking PC games as an example, users can enter the photo mode from the second camera entrance by clicking the "F8" key, and turn off the time stop function by default, that is, enter a virtual scene in a dynamic time state and play the scene content at a preset non-zero speed.
[0059] By responding to the second photo triggering operation, the virtual scene is controlled to enter the photo mode, and the virtual scene is controlled to be in a dynamic time state by default, which can improve the convenience of dynamic scene shooting.
[0060] Optionally, after controlling the virtual scene to enter the photo mode, controls related to photo taking can be added to the graphical user interface, such as field of view adjustment keys, camera distance, photo taking keys, camera position restoration keys, etc., and controls unrelated to photo taking in the graphical user interface, such as character skill controls, user information viewing controls, etc., can also be hidden to reduce interface redundancy, and this disclosure does not specifically limit this. It should be noted that in actual application, after controlling the virtual scene to enter the photo mode, the original control layout of the interface can also be adjusted according to actual needs to facilitate users to view the game interface, and this disclosure does not specifically limit this.
[0061] Optionally, when the virtual scene is in a time-still state, scene character control controls such as character control controls and action control controls may be hidden to reduce interface redundancy and avoid user misoperation in the time-still state.
[0062] Optionally, when the virtual scene is in a dynamic time state, scene character control controls such as character control controls and action control controls may be displayed to facilitate the user to adjust the position or action of the controlled virtual character.
[0063] Optionally, after controlling the virtual scene to enter the photo taking mode, a time stillness control widget may be displayed on the graphical user interface.
[0064] For example, Figure 2As shown, a schematic diagram of an interface for displaying a time-freezing control control for a PC game is provided, wherein a time-freezing control control 201 can be used to control a virtual scene to enter a time-freezing state, and can include two states, open and closed, and can be displayed in an interface key area 210. The interface key area is used for key operation prompts.
[0065] For example, Figure 3 As shown, a schematic diagram of an interface of a handle game displaying a time-freezing control control is provided, wherein a time-freezing control control 301 can be used to control a virtual scene to enter a time-freezing state, and can include two states, open and closed, and can be displayed in an interface key area 310. The interface key area is used for key operation prompts.
[0066] For example, Figure 4 As shown, a schematic diagram of an interface for displaying a time-still control control for a mobile game is provided, wherein a time-still control control 401 can be used to control a virtual scene to enter a time-still state, and can include two states, open and closed, and can be displayed in the upper area of the interface.
[0067] In an optional implementation, the above-mentioned display of the time freeze control widget in the graphical user interface can be achieved through the following steps: determining whether the virtual scene is a scene corresponding to a single-player game, and if so, displaying the time freeze control widget in the graphical user interface.
[0068] Step S120: In the photographing mode, in response to the first time stop triggering operation, the virtual scene is controlled to enter a time still state.
[0069] Among them, the first time stop trigger operation refers to the trigger operation of turning on the time stop function, which can control the virtual scene to enter a time still state.
[0070] Optionally, after controlling the virtual scene to enter the photo taking mode, when the graphical user interface displays the time stop control control, the above-mentioned controlling the virtual scene to enter the time stop state in response to the first time stop trigger operation in the photo taking mode can be achieved through the following steps: in the photo taking mode, in response to the first time stop trigger operation for the time stop control control, controlling the virtual scene to enter the time stop state.
[0071] The time-still control widget may include two states: on and off, and the first time-stop trigger operation may be an on operation of the time-still control widget.
[0072] Exemplarily, in response to an opening operation of a time-still control widget, ie, a first time-stop triggering operation, the virtual scene may be controlled to enter a time-still state.
[0073] Exemplarily, in the photo-taking mode, the virtual scene can be controlled to enter a time-still state in response to a first time-stop trigger operation of a time-still control control for a first display state, wherein the first display state is used to represent that the virtual scene is currently in a dynamic time state.
[0074] The time still control widget may include two display states, a first display state and a second display state, which may respectively indicate that the virtual scene is currently in a dynamic time state and a time still state, so as to prompt the user of the current state of the virtual scene. The first display state and the second display state of the time still control widget may be different display states, which may be pre-configured by the developer, and the present disclosure does not specifically limit this.
[0075] The first display state may be a display state when the time stillness control widget is closed.
[0076] Step S130, when the virtual scene is in a time-stationary state, in response to a photograph confirmation operation, controlling the virtual camera to capture a picture of the virtual scene to obtain a first virtual scene picture.
[0077] The photo confirmation operation may be a click operation or a long press operation on the photo key, which is not specifically limited in the present disclosure. Optionally, when the virtual scene is in a time-stationary state, a camera photo instruction may be generated in response to the photo confirmation operation, and the virtual camera may be controlled to capture a picture of the virtual scene according to the camera photo instruction to obtain a first virtual scene picture.
[0078] The first virtual scene picture refers to the scene picture captured by the virtual camera when the virtual scene is in a time-stationary state.
[0079] For example, when the virtual scene is in a time-stationary state, the camera shooting parameters can be adjusted in response to the camera shooting parameter configuration operation. Optionally, the camera shooting parameter configuration operation may include but is not limited to panning the lens, rotating the lens, zooming the viewport, etc., which is not specifically limited in the present disclosure.
[0080] In an optional embodiment, the following steps may also be performed: when the virtual scene is in a time-stationary state, in response to a picture acquisition template selection operation, a target picture acquisition template is determined from candidate picture acquisition templates; based on the target picture acquisition template, a camera shooting instruction of the virtual camera is determined; and based on the camera shooting instruction of the virtual camera, the virtual camera is controlled to capture the picture of the virtual scene to obtain a first virtual scene picture.
[0081] Among them, the candidate screen capture template can provide a configuration template for the camera shooting parameters of the virtual camera, so that the virtual camera can capture the virtual scene based on the camera shooting parameters configured by the configuration template and take the same work as the screen capture template, thereby improving the convenience of taking pictures.
[0082] Optionally, the candidate screen capture templates include capture templates corresponding to historically released works and / or capture templates corresponding to preset works, and the historically released works and / or preset works do not include virtual scene images captured in a static state.
[0083] Among them, historically published works refer to the photographic works for the virtual scene that have been published by users in the past, and preset works refer to the photographic works for the virtual scene that have been pre-made by developers.
[0084] By providing candidate screen capture templates, users can save labor costs for shooting and improve creative output efficiency. Since the virtual camera may be in mid-air or in battle when time is still, it is not suitable or unlikely to shoot the same work. Therefore, users can be provided with screen capture templates corresponding to works that do not include time stillness for selection.
[0085] Step S140: In the photographing mode, in response to the second time stop triggering operation, the virtual scene is controlled to enter a dynamic time state.
[0086] Among them, the second time stop trigger operation refers to the trigger operation of turning off the time stop function. When the time stop function is turned off, the virtual scene can be controlled to enter a dynamic time state.
[0087] Optionally, after controlling the virtual scene to enter the photo taking mode, when the graphical user interface displays the time stillness control control, the above-mentioned control of controlling the virtual scene to enter the dynamic time state in response to the second time stop trigger operation in the photo taking mode can be achieved through the following steps: In the photo taking mode, in response to the second time stop trigger operation for the time stillness control control, controlling the virtual scene to enter the dynamic time state.
[0088] The time-still control component may include two states: on and off, and the second time-stop trigger operation may be a closing operation of the time-still control component.
[0089] Exemplarily, in response to a closing operation of the time stillness control widget, ie, a second time stop triggering operation, the virtual scene may be controlled to enter a dynamic time state.
[0090] Exemplarily, in response to a second time stop trigger operation of the time stillness control control for the second display state, the virtual scene is controlled to enter a dynamic time state, wherein the second display state is used to represent that the virtual scene is currently in a time stillness state.
[0091] The time still control widget may include two display states, a first display state and a second display state, which may respectively represent that the virtual scene is currently in a dynamic time state and a time still state, so as to improve the state of the user's virtual scene. The first display state and the second display state of the time still control widget may be different display states, which may be pre-configured by the developer, and the present disclosure does not specifically limit this.
[0092] The second display state may be a display state when the time stillness control widget is turned on.
[0093] Step S150, when the virtual scene is in a dynamic time state, in response to a photograph confirmation operation, controlling the virtual camera to capture a picture of the virtual scene to obtain a second virtual scene picture.
[0094] The photo confirmation operation may be a click operation or a long press operation on the photo key, which is not specifically limited in the present disclosure. Optionally, when the virtual scene is in a dynamic time state, a camera photo instruction may be generated in response to the photo confirmation operation, and the virtual camera may be controlled to capture a picture of the virtual scene according to the camera photo instruction to obtain a second virtual scene picture.
[0095] The second virtual scene picture refers to the scene picture captured by the virtual camera when the virtual scene is in a dynamic time state.
[0096] Exemplarily, when the virtual scene is in a dynamic time state, the camera shooting parameters may be adjusted in response to the camera shooting parameter configuration operation. Optionally, the camera shooting parameter configuration operation may include but is not limited to panning the lens, rotating the lens, zooming the viewport, etc., which is not specifically limited in the present disclosure.
[0097] In an optional implementation, when the virtual scene is in a time-still state, the virtual scene can be controlled to switch from the time-still state to the dynamic time state in response to a second time-stop trigger operation.
[0098] Since the images captured when entering the time-still state may not meet the needs of the user, the time-stop can be turned off through a second time-stop trigger operation to allow the game to continue, thereby meeting the user's personalized image capture needs.
[0099] In an optional embodiment, after the above-mentioned control of the virtual scene switching from a time-still state to a dynamic time state, it can also be achieved through the following steps: in response to a first time stop trigger operation, the virtual scene is controlled from a dynamic time state to a time-still state, in response to a photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene to obtain a first virtual scene image.
[0100] After entering the dynamic time state, you can enter the time stop state again through the first time stop trigger operation. If the current time stop interface meets user needs, you can continue to take pictures.
[0101] In an optional implementation, when the virtual scene is in a dynamic time state, the virtual scene can be controlled to switch from the dynamic time state to a time static state in response to a first time stop trigger operation.
[0102] Taking PC games as an example, after entering the camera mode, you can use the "Enter" key to control the time stillness control to turn on and off, so that the virtual scene can flexibly switch between dynamic time state and time stillness state.
[0103] Taking the game controller as an example, after entering the camera mode, you can use the "Options" key to control the time stillness control to turn on and off, so that the virtual scene can flexibly switch between the dynamic time state and the time stillness state.
[0104] Taking mobile games as an example, after entering the camera mode, the time stop switch button can be used to control the time stop control to be turned on and off, so that the virtual scene can flexibly switch between the dynamic time state and the time stop state.
[0105] After entering the photo mode, you can freely turn on and off the time-still effect, and flexibly switch the virtual scene between the dynamic time state and the time-still state, which can meet the user's personalized creative needs.
[0106] In an optional implementation, when the virtual scene is in a time-stationary state, the control function of the controlled virtual character may be disabled. Exemplarily, when the virtual scene is in a time-stationary state, in response to a control operation on the controlled virtual character in the virtual scene, an uncontrollable prompt message may be generated, and the controlled virtual character may not be controlled to perform an action corresponding to the control operation, so as to avoid the user from mistakenly controlling the controlled virtual character when the virtual scene is in a time-stationary state.
[0107] In an optional implementation, when the virtual scene is in a dynamic time state, it can respond to control operations on a controlled virtual character in the virtual scene and control the controlled virtual character to perform actions corresponding to the control operations to meet the user's diverse photography needs.
[0108] Taking PC games as an example, when the virtual scene is in a dynamic time state, you can switch to the character movement mode by clicking the "Tab" key, and use the "WASD" keys to control the movement of the controlled virtual character.
[0109] Among them, the controlled virtual character is the control object of the terminal device in the game scene, which can be a virtual person, a cartoon character, etc., and the present disclosure does not make specific limitations on this.
[0110] In an optional implementation, the following steps may also be performed: in response to a photo-taking trigger operation, a scene editing control is displayed in a graphical user interface; the scene editing control is used to edit the virtual scene in an editable state.
[0111] Optionally, the scene editing control may include but is not limited to the scene character editing control. The scene character editing control can be used to edit the controlled virtual character in the virtual scene, such as editing the displacement, sight, expression, movement, rotation, etc., which is not specifically limited in the present disclosure.
[0112] By displaying scene editing controls in a graphical user interface, an editing basis can be provided for secondary editing by users.
[0113] In an optional implementation, the following steps may also be performed: when the virtual scene is in a time-stationary state, controlling part or all of the scene editing controls to be in a non-editable state.
[0114] Exemplarily, when the scene editing control includes a scene character editing control, if the virtual scene is in a time-stationary state, the scene character editing control can be controlled to be in a non-editable state. The scene character editing control can be, for example, an editing control for displacement, sight, expression, movement, rotation, etc.
[0115] Exemplarily, when the scene role editing control is in a non-editable state, the scene role editing control may be grayed out in a closed state to prompt the user that the corresponding scene role control is non-editable.
[0116] Exemplarily, when the scene role editing control is in a non-editable state, the scene role editing control may be hidden to prevent the user from triggering it by mistake and reduce visual interference to the user.
[0117] Optionally, a non-editable prompt may be generated in response to a trigger operation on a scene editing control that is in a non-editable state.
[0118] Exemplarily, the scene editing control may be an editing area and / or an interface key area displayed in a graphical user interface. In response to a triggering operation of the scene editing control in a non-editable state in the editing area, a non-editable prompt may be generated.
[0119] like Figure 5 As shown, a schematic diagram of a non-editable prompt is provided. Taking the line of sight adjustment control as an example, when the virtual scene is in a time-stop state, the line of sight adjustment control is in a closed state. If the user clicks the line of sight adjustment control, a prompt message that is the same as or similar to "the line of sight cannot be adjusted in the time-stop state" may be generated. The present disclosure does not make specific limitations on this.
[0120] like Figure 6As shown, a schematic diagram of another non-editable prompt is provided. Taking the expression action adjustment control as an example, when the virtual scene is in a time-stop state, if the user clicks the expression action adjustment control, a prompt message that is the same or similar to "expression actions cannot be played in the time-stop state" may be generated. The present disclosure does not make specific limitations on this.
[0121] Since scene role editing may interact with the scene model, difficult-to-solve abnormal performance can be avoided by limiting scene role editing when the virtual scene is in a time-static state.
[0122] In an optional implementation, the following steps may also be performed: when the virtual scene is in a dynamic time state, controlling the scene editing control to be in an editable state.
[0123] For example, if the virtual scene is switched to the dynamic time state, the scene editing controls can be restored to the editable state, and at this time, the virtual scene can be controlled and edited in response to the editing operation of the scene editing controls in the editable state, so as to realize the secondary editing of the scene in the camera shooting mode. Among them, the editing operation can be the adjustment of the sight line, expression, action, position, etc. of the controlled virtual character in the scene, which is not specifically limited in the present disclosure.
[0124] like Figure 7 As shown, a schematic diagram of editing scene character actions is provided. The user can edit the actions of the controlled virtual character by selecting the corresponding action configuration so that the controlled virtual character plays the corresponding action.
[0125] In an optional embodiment, the following steps can also be performed: in response to a photo trigger operation, a mode control control is displayed in a graphical user interface; the mode control control is used to control the switching of a mobile manipulation object, and the mobile manipulation object includes one of a virtual camera and a controlled virtual character; when the virtual scene is in a time-static state, the control mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the control mode control control is in a switchable state.
[0126] The mode control can be used to switch the manipulated object. In the default state, it can manipulate the movement of the virtual camera. After clicking, it changes to manipulating the movement of the scene character to meet the different operation needs of users, such as Figure 2 The "Switch Mode" control 202 in the middle interface key area is shown.
[0127] Exemplarily, when the virtual scene is in a static time state, the mode control control may be disabled, so that the mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the mode control control may be undisabled, so that the mode control control is in a switchable state.
[0128] After the collection of the virtual scene images is completed, a work that can be published can be obtained. In an optional implementation, after the collection of the virtual scene images is completed, the following steps can be performed: in response to a pre-publishing operation for the target work, a first sub-interface is generated; the first sub-interface is used to edit the publishing information of the target work; the target work includes the collected first virtual scene images; in response to a publishing operation for the target work, the target work is published based on the publishing information edited in the first sub-interface.
[0129] The pre-publishing operation refers to the operation of opening the first sub-interface to edit the publishing information of the target work.
[0130] The target work includes the first virtual scene picture collected, that is, the virtual scene picture collected in a static state. Optionally, the target work may also include the second virtual scene picture collected, that is, the virtual scene picture collected in a dynamic state, which is not specifically limited in the present disclosure.
[0131] The published information may include, but is not limited to, the title of the work, description of the work, etc., and this disclosure does not specifically limit this.
[0132] Optionally, the first sub-interface may display a prompt message that the target work is not supported as a screen capture template, so as to remind the user that the current target work cannot be used as a screen capture template because it contains virtual scene images captured in a time-still state.
[0133] It should be noted that the first sub-interface may also include other information that needs to be displayed to the user, such as a preview interface, a publish control, a cancel control, a crop control, etc., which is not specifically limited in the present disclosure.
[0134] For example, Figure 8 As shown, a schematic diagram of the interface of the first sub-interface is provided. After editing the publishing information in the first sub-interface 801, the target work can be published in response to the triggering operation of the publishing control to enrich the photography creation content.
[0135] In an optional implementation, after the target work is published, the following steps may be performed: in response to the information display operation of the target work, a second sub-interface is generated, wherein the second sub-interface includes work information of the target work.
[0136] Among them, the information display operation can open the second sub-interface so that the user can view the details of the target work, such as the work title, work description, work comments, preview interface, etc., and this disclosure does not make specific limitations on this.
[0137] Optionally, when the target work includes the collected first virtual scene picture, that is, the virtual scene picture collected in a time-still state, the second sub-interface may include a time-still state mark to prompt the user that the target work includes the virtual scene picture collected in a time-still state.
[0138] Optionally, when the target work includes the captured first virtual scene image, that is, the virtual scene image captured in a time-still state, the "Apply Same" control in the second sub-interface may be grayed out to prompt the user that the target work is not supported as a screen capture template.
[0139] For example, Fig. 9 As shown, a schematic diagram of an interface of a second sub-interface is provided, and the second sub-interface may include a time static state mark 901 and an "apply same style" control 902, wherein the "apply same style" control 902 may be in a gray state.
[0140] In an optional implementation, in response to an application operation on a target work, a prompt message is generated indicating that the target work does not support being used as a picture acquisition template. Fig. 9 As shown, in response to the trigger operation of the "Apply Same Style" control 902, a prompt message that is the same as or similar to "Time-stop photography works are not supported for application yet" can be displayed in the picture preview interface to prompt the user that the target work currently being viewed is not supported as a picture acquisition template.
[0141] For example, Fig.10 As shown, a flowchart of scene state switching is also provided, which may specifically include the following steps:
[0142] Step S1001, responding to a photo triggering operation, controlling the virtual scene to enter a photo mode, and controlling the virtual scene to enter a time static state;
[0143] Step S1002, when the virtual scene is in a time-stationary state, in response to a photo confirmation operation, controlling the virtual camera to capture a picture of the virtual scene to obtain a first virtual scene picture;
[0144] Step S1003, when the virtual scene is in a time-stationary state, in response to a second time-stop trigger operation, controlling the virtual scene to switch from the time-stationary state to the dynamic time state;
[0145] Step S1004, when the virtual scene is in a dynamic time state, in response to a photo confirmation operation, controlling the virtual camera to capture a picture of the virtual scene to obtain a second virtual scene picture;
[0146] Step S1005, when the virtual scene is in a dynamic time state, in response to a first time stop trigger operation, the virtual scene is controlled to switch from a dynamic time state to a time still state, in response to a photo confirmation operation, the virtual camera is controlled to capture a picture of the virtual scene, and a first virtual scene picture is obtained.
[0147] Fig.10 In the steps shown, through the time stop trigger operation, the effect of freely switching the time stop after entering the photo mode can be achieved to meet the user's personalized picture acquisition needs.
[0148] For example, Fig.11 As shown, a flowchart of scene secondary editing is also provided, which may specifically include the following steps:
[0149] Step S1101, in response to the time stillness control control being switched from the on state to the off state, controlling the virtual scene to enter the dynamic time state, and releasing the editing restriction on the scene editing control, so that the scene editing control is in an editable state;
[0150] Step S1102, in response to an editing operation of a scene editing control in an editable state, controlling editing of a virtual scene.
[0151] Fig.11 In the steps shown, the user can flexibly make secondary adjustments to the scene through the free switch time-stop effect.
[0152] The exemplary embodiment of the present disclosure also provides a virtual scene control device, which provides a graphical user interface through a terminal device, and the content displayed in the graphical user interface includes at least part of the virtual scene, referring to Fig.12 As shown, the virtual scene control device 1200 may include the following program modules:
[0153] The photographing mode entry module 1210 is used to respond to the photographing trigger operation and control the virtual scene to enter the photographing mode;
[0154] The static state entering module 1220 is used to control the virtual scene to enter a time static state in response to a first time stop trigger operation in the photographing mode;
[0155] The first picture acquisition module 1230 is used to control the virtual camera to acquire a picture of the virtual scene in response to a photo confirmation operation when the virtual scene is in a time-stationary state, so as to obtain a first virtual scene picture;
[0156] The dynamic state entry module 1240 is used to control the virtual scene to enter the dynamic time state in response to the second time stop trigger operation in the photo mode;
[0157] The second picture acquisition module 1250 is used to control the virtual camera to acquire the picture of the virtual scene in response to the photo confirmation operation when the virtual scene is in a dynamic time state, so as to obtain the second virtual scene picture.
[0158] In an optional implementation, based on the above solution, the photographing mode entry module 1210 may be configured to: respond to the first photographing trigger operation, control the virtual scene to enter the photographing mode, and control the virtual scene to enter the time static state. The virtual scene control device 1200 also includes: a first scene state switching module, which may be configured to: when the virtual scene is in the time static state, respond to the second time stop trigger operation, control the virtual scene to switch from the time static state to the dynamic time state.
[0159] In an optional embodiment, based on the aforementioned scheme, after controlling the virtual scene to switch from a time-still state to a dynamic time state, the virtual scene control device 1200 further includes: a time stop trigger module, which is used to control the virtual scene from a dynamic time state to a time-still state in response to a first time stop trigger operation, and to control the virtual camera to capture the image of the virtual scene in response to a photo confirmation operation to obtain a first virtual scene image.
[0160] In an optional embodiment, based on the aforementioned scheme, the photo mode entry module 1210 can be configured to: in response to the second photo trigger operation, control the virtual scene to enter the photo mode, and control the virtual scene to be in a dynamic time state; the virtual scene control device 1200 also includes: a second scene state switching module, which can be configured to: when the virtual scene is in the dynamic time state, in response to the first time stop trigger operation, control the virtual scene to switch from the dynamic time state to the time still state.
[0161] In an optional embodiment, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a character control module, which is used to respond to the control operation on the controlled virtual character in the virtual scene when the virtual scene is in a dynamic time state, and control the controlled virtual character to perform an action corresponding to the control operation.
[0162] In an optional implementation, based on the above solution, after controlling the virtual scene to enter the photographing mode, the virtual scene control device 1200 further includes: a time still control control display module, which is used to display the time still control control in the graphical user interface. The still state entry module 1220 can be configured to: in the photographing mode, in response to the first time stop trigger operation on the time still control control, control the virtual scene to enter the time still state. The dynamic state entry module 1240 can be configured to: in the photographing mode, in response to the second time stop trigger operation on the time still control control, control the virtual scene to enter the dynamic time state.
[0163] In an optional implementation, based on the above solution, the static state entry module 1220 may be configured to: in response to a first time stop trigger operation of a time static control control for a first display state, control the virtual scene to enter a time static state, wherein the first display state is used to represent that the virtual scene is currently in a dynamic time state. The dynamic state entry module 1240 may be configured to: in response to a second time stop trigger operation of a time static control control for a second display state, control the virtual scene to enter a dynamic time state, wherein the second display state is used to represent that the virtual scene is currently in a time static state.
[0164] In an optional implementation, based on the above solution, the virtual scene is a virtual scene corresponding to a single-player game.
[0165] In an optional implementation, based on the aforementioned solution, the virtual scene control device 1200 further includes: a scene editing module, which is used to respond to a photo triggering operation and display a scene editing control in a graphical user interface; the scene editing control is used to edit the virtual scene in an editable state.
[0166] In an optional implementation, based on the above solution, the virtual scene control device 1200 further includes: an editing restriction module, which is used to control part or all of the scene editing controls to be in a non-editable state when the virtual scene is in a time-static state.
[0167] In an optional implementation, based on the above solution, the scene editing control includes a scene role editing control, and the editing restriction module can be configured to: when the virtual scene is in a time-static state, control the scene role editing control to be in a non-editable state.
[0168] In an optional implementation, based on the above solution, the non-editable prompt module is used to generate a non-editable prompt in response to a trigger operation on a scene editing control in a non-editable state.
[0169] In an optional implementation, based on the above solution, the virtual scene control device 1200 further includes: a restriction release module, which is used to control the scene editing control to be in an editable state when the virtual scene is in a dynamic time state.
[0170] In an optional implementation, based on the above solution, the virtual scene control device 1200 further includes: a secondary editing module, which is used to control the editing of the virtual scene in response to the editing operation of the scene editing control in the editable state.
[0171] In an optional embodiment, based on the aforementioned scheme, the virtual scene control device 1200 also includes: a mode control module, which can be configured to: respond to a photo trigger operation and display a mode control control in a graphical user interface; the mode control control is used to control the switching of a mobile control object, and the mobile control object includes one of a virtual camera and a controlled virtual character; when the virtual scene is in a time-static state, the control mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the control mode control control is in a switchable state.
[0172] In an optional embodiment, based on the aforementioned scheme, the virtual scene control device 1200 also includes: a template application module, which can be configured to: when the virtual scene is in a time-static state, in response to a picture acquisition template selection operation, determine a target picture acquisition template from candidate picture acquisition templates; determine a camera shooting instruction of the virtual camera according to the target picture acquisition template; and control the virtual camera to capture the picture of the virtual scene according to the camera shooting instruction of the virtual camera to obtain a first virtual scene picture.
[0173] In an optional implementation, based on the aforementioned solution, the candidate screen capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works, and the historically published works and / or preset works do not include virtual scene images captured in a time-static state.
[0174] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a work publishing module, used to generate a first sub-interface in response to a pre-publishing operation on a target work; the first sub-interface is used to edit the publishing information of the target work; the target work includes the collected first virtual scene image; in response to the publishing operation on the target work, the target work is published based on the publishing information edited in the first sub-interface.
[0175] In an optional implementation, based on the above solution, a prompt message is displayed in the first sub-interface indicating that the target work is not supported as a screen capture template.
[0176] In an optional implementation, based on the aforementioned solution, after the target work is published, the virtual scene control device 1200 further includes: an information display module, which is used to generate a second sub-interface in response to the information display operation of the target work, and the second sub-interface includes the work information of the target work.
[0177] In an optional implementation, based on the above solution, the second sub-interface includes a time static state mark.
[0178] In an optional implementation, based on the above solution, the virtual scene control device 1200 further includes: an application prompt module, which is used to respond to the application operation on the target work and generate a prompt message that the target work is not supported as a picture acquisition template.
[0179] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
[0180] The exemplary embodiments of the present disclosure also provide a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the virtual scene control method is implemented.
[0181] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.
[0182] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.
[0183] The code of the computer program can be written in one or more programming languages. Programming languages such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).
[0184] The computer program may be carried or transmitted via electrical, magnetic, optical, electromagnetic, infrared, or other signals. The electronic device may convert the signal carrying the computer program into a digital signal, thereby running the computer program. When the computer program is run on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device may execute) the method steps of various exemplary embodiments of the present disclosure. Exemplarily, the following steps may be included:
[0185] Respond to the photo triggering operation and control the virtual scene to enter the photo mode;
[0186] In the photo taking mode, in response to the first time stop triggering operation, the virtual scene is controlled to enter a time stop state;
[0187] When the virtual scene is in a time-stationary state, in response to a photographing confirmation operation, the virtual camera is controlled to capture a picture of the virtual scene to obtain a first virtual scene picture;
[0188] In the photo taking mode, in response to the second time stop triggering operation, the virtual scene is controlled to enter a dynamic time state;
[0189] When the virtual scene is in a dynamic time state, in response to a photographing confirmation operation, the virtual camera is controlled to capture a picture of the virtual scene to obtain a second virtual scene picture.
[0190] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the photo trigger operation and control of the virtual scene to enter the photo mode can be achieved through the following steps: responding to the first photo trigger operation, controlling the virtual scene to enter the photo mode, and controlling the virtual scene to enter a time-still state; the following steps can also be performed: when the virtual scene is in a time-still state, responding to the second time-stop trigger operation, controlling the virtual scene to switch from a time-still state to a dynamic time state.
[0191] In an optional embodiment, based on the aforementioned scheme, after controlling the virtual scene to switch from a time-still state to a dynamic time state, the following steps can also be performed: in response to a first time stop trigger operation, the virtual scene is controlled to enter a time-still state from a dynamic time state, and in response to a photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene to obtain a first virtual scene image.
[0192] In an optional implementation, based on the aforementioned scheme, responding to a photo trigger operation and controlling the virtual scene to enter a photo mode can be achieved through the following steps: responding to a second photo trigger operation, controlling the virtual scene to enter a photo mode, and controlling the virtual scene to be in a dynamic time state; the following steps can also be performed: when the virtual scene is in a dynamic time state, responding to a first time stop trigger operation, controlling the virtual scene to switch from a dynamic time state to a time still state.
[0193] In an optional implementation, based on the above solution, the following steps may also be performed: when the virtual scene is in a dynamic time state, responding to a control operation on a controlled virtual character in the virtual scene, controlling the controlled virtual character to perform an action corresponding to the control operation.
[0194] In an optional embodiment, based on the aforementioned scheme, after controlling the virtual scene to enter the photo taking mode, the following steps may also be performed: displaying a time stillness control control on a graphical user interface; the above-mentioned in the photo taking mode, in response to a first time stop trigger operation, controlling the virtual scene to enter a time stillness state may be achieved through the following steps: in the photo taking mode, in response to a first time stop trigger operation for the time stillness control control, controlling the virtual scene to enter a time stillness state; the above-mentioned in the photo taking mode, in response to a second time stop trigger operation, controlling the virtual scene to enter a dynamic time state may be achieved through the following steps: in the photo taking mode, in response to a second time stop trigger operation for the time stillness control control, controlling the virtual scene to enter a dynamic time state.
[0195] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the first time stop trigger operation for the time still control control control to control the virtual scene to enter the time still state can be achieved through the following steps: in response to the first time stop trigger operation for the time still control control for the first display state, the virtual scene is controlled to enter the time still state, wherein the first display state is used to characterize that the virtual scene is currently in a dynamic time state; the above-mentioned response to the second time stop trigger operation for the time still control control to control the virtual scene to enter the dynamic time state can be achieved through the following steps: in response to the second time stop trigger operation for the time still control control for the second display state, the virtual scene is controlled to enter the dynamic time state, wherein the second display state is used to characterize that the virtual scene is currently in a time still state.
[0196] In an optional implementation, based on the above solution, the virtual scene is a virtual scene corresponding to a single-player game.
[0197] In an optional implementation, based on the above solution, the following steps may also be performed: in response to a photo triggering operation, a scene editing control is displayed in a graphical user interface; the scene editing control is used to edit the virtual scene in an editable state.
[0198] In an optional implementation, based on the above solution, the following steps may also be performed: when the virtual scene is in a time-stationary state, controlling part or all of the scene editing controls to be in a non-editable state.
[0199] In an optional implementation, based on the aforementioned scheme, the scene editing control includes a scene character editing control. When the virtual scene is in a time-still state, some scene editing controls are controlled to be in an uneditable state. This can be achieved by the following steps: When the virtual scene is in a time-still state, the scene character editing controls are controlled to be in an uneditable state.
[0200] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a trigger operation on a scene editing control that is in a non-editable state, a non-editable prompt is generated.
[0201] In an optional implementation, based on the above solution, the following steps may also be performed: when the virtual scene is in a dynamic time state, the scene editing control is controlled to be in an editable state.
[0202] In an optional implementation, based on the above solution, the following steps may also be performed: in response to an editing operation of a scene editing control in an editable state, controlling the editing of the virtual scene.
[0203] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: in response to a photo trigger operation, a mode control control is displayed in a graphical user interface; the mode control control is used to control the switching of a mobile manipulation object, and the mobile manipulation object includes one of a virtual camera and a controlled virtual character; when the virtual scene is in a time-static state, the control mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the control mode control control is in a switchable state.
[0204] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a time-stationary state, in response to a picture acquisition template selection operation, a target picture acquisition template is determined from candidate picture acquisition templates; according to the target picture acquisition template, a camera shooting instruction of the virtual camera is determined; according to the camera shooting instruction of the virtual camera, the virtual camera is controlled to capture the picture of the virtual scene to obtain a first virtual scene picture.
[0205] In an optional implementation, based on the aforementioned solution, the candidate screen capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works, and the historically published works and / or preset works do not include virtual scene images captured in a time-static state.
[0206] In an optional implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a pre-publishing operation on a target work, a first sub-interface is generated; the first sub-interface is used to edit publishing information of the target work; the target work includes the collected first virtual scene image; in response to a publishing operation on the target work, the target work is published based on the publishing information edited in the first sub-interface.
[0207] In an optional implementation, based on the above solution, a prompt message is displayed in the first sub-interface indicating that the target work is not supported as a screen capture template.
[0208] In an optional implementation, based on the above solution, after the target work is published, the following steps may be performed: in response to the information display operation of the target work, a second sub-interface is generated, wherein the second sub-interface includes the work information of the target work.
[0209] In an optional implementation, based on the above solution, the second sub-interface includes a time static state mark.
[0210] In an optional implementation, based on the above solution, the following steps may be further performed: in response to an apply operation on a target work, a prompt message is generated indicating that the target work is not supported as a screen capture template.
[0211] In the above steps, after entering the camera shooting mode, the virtual scene is controlled to enter a time-still state or a dynamic time state through the time stop trigger operation, and the free switching of the time stop function in the shooting mode can be supported, so that the user does not need to exit the camera shooting mode when performing secondary editing of the scene, thereby enhancing the convenience and freedom of users in creating photographic works.
[0212] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned virtual scene control method. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the method in the exemplary embodiment by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.
[0213] Reference below Fig.13 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Fig.13 The electronic device 1300 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0214] like Fig.13As shown, the electronic device 1300 may include: a processor 1310 , a memory 1320 , a bus 1330 , an I / O (input / output) interface 1340 , a network adapter 1350 , and a display 1360 .
[0215] The memory 1320 may include a volatile memory, such as a RAM 1321, a cache unit 1322, and may also include a non-volatile memory, such as a ROM 1323. The memory 1320 may also include one or more program modules 1324, such program modules 1324 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 1324 may include each module in the above-mentioned device.
[0216] The processor 1310 may include one or more processing units. For example, the processor 1310 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.
[0217] The processor 1310 may be configured to execute executable instructions stored in the memory 1320 , such as executing any one or more method steps in the exemplary embodiment.
[0218] Exemplarily, the processor 1310 may perform the following steps:
[0219] Respond to the photo triggering operation and control the virtual scene to enter the photo mode;
[0220] In the photo taking mode, in response to the first time stop triggering operation, the virtual scene is controlled to enter a time stop state;
[0221] When the virtual scene is in a time-stationary state, in response to a photographing confirmation operation, the virtual camera is controlled to capture a picture of the virtual scene to obtain a first virtual scene picture;
[0222] In the photo taking mode, in response to the second time stop triggering operation, the virtual scene is controlled to enter a dynamic time state;
[0223] When the virtual scene is in a dynamic time state, in response to a photographing confirmation operation, the virtual camera is controlled to capture a picture of the virtual scene to obtain a second virtual scene picture.
[0224] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the photo trigger operation and control of the virtual scene to enter the photo mode can be achieved through the following steps: responding to the first photo trigger operation, controlling the virtual scene to enter the photo mode, and controlling the virtual scene to enter a time-still state; the following steps can also be performed: when the virtual scene is in a time-still state, responding to the second time-stop trigger operation, controlling the virtual scene to switch from a time-still state to a dynamic time state.
[0225] In an optional embodiment, based on the aforementioned scheme, after controlling the virtual scene to switch from a time-still state to a dynamic time state, the following steps can also be performed: in response to a first time stop trigger operation, the virtual scene is controlled to enter a time-still state from a dynamic time state, and in response to a photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene to obtain a first virtual scene image.
[0226] In an optional implementation, based on the aforementioned scheme, responding to a photo trigger operation and controlling the virtual scene to enter a photo mode can be achieved through the following steps: responding to a second photo trigger operation, controlling the virtual scene to enter a photo mode, and controlling the virtual scene to be in a dynamic time state; the following steps can also be performed: when the virtual scene is in a dynamic time state, responding to a first time stop trigger operation, controlling the virtual scene to switch from a dynamic time state to a time still state.
[0227] In an optional implementation, based on the above solution, the following steps may also be performed: when the virtual scene is in a dynamic time state, responding to a control operation on a controlled virtual character in the virtual scene, controlling the controlled virtual character to perform an action corresponding to the control operation.
[0228] In an optional embodiment, based on the aforementioned scheme, after controlling the virtual scene to enter the photo taking mode, the following steps may also be performed: displaying a time stillness control control on a graphical user interface; the above-mentioned in the photo taking mode, in response to a first time stop trigger operation, controlling the virtual scene to enter a time stillness state may be achieved through the following steps: in the photo taking mode, in response to a first time stop trigger operation for the time stillness control control, controlling the virtual scene to enter a time stillness state; the above-mentioned in the photo taking mode, in response to a second time stop trigger operation, controlling the virtual scene to enter a dynamic time state may be achieved through the following steps: in the photo taking mode, in response to a second time stop trigger operation for the time stillness control control, controlling the virtual scene to enter a dynamic time state.
[0229] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the first time stop trigger operation for the time still control control control to control the virtual scene to enter the time still state can be achieved through the following steps: in response to the first time stop trigger operation for the time still control control for the first display state, the virtual scene is controlled to enter the time still state, wherein the first display state is used to characterize that the virtual scene is currently in a dynamic time state; the above-mentioned response to the second time stop trigger operation for the time still control control to control the virtual scene to enter the dynamic time state can be achieved through the following steps: in response to the second time stop trigger operation for the time still control control for the second display state, the virtual scene is controlled to enter the dynamic time state, wherein the second display state is used to characterize that the virtual scene is currently in a time still state.
[0230] In an optional implementation, based on the above solution, the virtual scene is a virtual scene corresponding to a single-player game.
[0231] In an optional implementation, based on the above solution, the following steps may also be performed: in response to a photo triggering operation, a scene editing control is displayed in a graphical user interface; the scene editing control is used to edit the virtual scene in an editable state.
[0232] In an optional implementation, based on the above solution, the following steps may also be performed: when the virtual scene is in a time-stationary state, controlling part or all of the scene editing controls to be in a non-editable state.
[0233] In an optional implementation, based on the aforementioned scheme, the scene editing control includes a scene character editing control. When the virtual scene is in a time-still state, some scene editing controls are controlled to be in an uneditable state. This can be achieved by the following steps: When the virtual scene is in a time-still state, the scene character editing controls are controlled to be in an uneditable state.
[0234] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a trigger operation on a scene editing control that is in a non-editable state, a non-editable prompt is generated.
[0235] In an optional implementation, based on the above solution, the following steps may also be performed: when the virtual scene is in a dynamic time state, the scene editing control is controlled to be in an editable state.
[0236] In an optional implementation, based on the above solution, the following steps may also be performed: in response to an editing operation of a scene editing control in an editable state, controlling the editing of the virtual scene.
[0237] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: in response to a photo trigger operation, a mode control control is displayed in a graphical user interface; the mode control control is used to control the switching of a mobile manipulation object, and the mobile manipulation object includes one of a virtual camera and a controlled virtual character; when the virtual scene is in a time-static state, the control mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the control mode control control is in a switchable state.
[0238] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a time-stationary state, in response to a picture acquisition template selection operation, a target picture acquisition template is determined from candidate picture acquisition templates; according to the target picture acquisition template, a camera shooting instruction of the virtual camera is determined; according to the camera shooting instruction of the virtual camera, the virtual camera is controlled to capture the picture of the virtual scene to obtain a first virtual scene picture.
[0239] In an optional implementation, based on the aforementioned solution, the candidate screen capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works, and the historically published works and / or preset works do not include virtual scene images captured in a time-static state.
[0240] In an optional implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a pre-publishing operation on a target work, a first sub-interface is generated; the first sub-interface is used to edit publishing information of the target work; the target work includes the collected first virtual scene image; in response to a publishing operation on the target work, the target work is published based on the publishing information edited in the first sub-interface.
[0241] In an optional implementation, based on the above solution, a prompt message is displayed in the first sub-interface indicating that the target work is not supported as a screen capture template.
[0242] In an optional implementation, based on the above solution, after the target work is published, the following steps may be performed: in response to the information display operation of the target work, a second sub-interface is generated, wherein the second sub-interface includes the work information of the target work.
[0243] In an optional implementation, based on the above solution, the second sub-interface includes a time static state mark.
[0244] In an optional implementation, based on the above solution, the following steps may be further performed: in response to an apply operation on a target work, a prompt message is generated indicating that the target work is not supported as a screen capture template.
[0245] In the above steps, after entering the camera shooting mode, the virtual scene is controlled to enter a time-still state or a dynamic time state through the time stop trigger operation, and the free switching of the time stop function in the shooting mode can be supported, so that the user does not need to exit the camera shooting mode when performing secondary editing of the scene, thereby enhancing the convenience and freedom of users in creating photographic works.
[0246] The bus 1330 is used to realize the connection between different components of the electronic device 1300, and may include a data bus, an address bus, and a control bus.
[0247] The electronic device 1300 can communicate with one or more external devices 1400 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 1340 .
[0248] The electronic device 1300 can communicate with one or more networks through the network adapter 1350. For example, the network adapter 1350 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 1350 can communicate with other modules of the electronic device 1300 through the bus 1330.
[0249] The electronic device 1300 may display a graphical user interface and the like through the display 1360 .
[0250] although Fig.13 Not shown, other hardware and / or software modules may also be provided in the electronic device 1300, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID (Redundant Arrays of Independent Disks) system, a tape drive, and a data backup storage system.
[0251] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0252] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0253] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A virtual scene control method, characterized in that: Providing a graphical user interface through a terminal device, wherein the content displayed in the graphical user interface includes at least a portion of a virtual scene, the method comprising: In response to a photo triggering operation, controlling the virtual scene to enter a photo mode; In the photographing mode, in response to a first time stop trigger operation, controlling the virtual scene to enter a time still state; When the virtual scene is in the time-stationary state, in response to a photographing confirmation operation, controlling a virtual camera to capture a picture of the virtual scene to obtain a first virtual scene picture; In the photographing mode, in response to a second time stop trigger operation, controlling the virtual scene to enter a dynamic time state; When the virtual scene is in the dynamic time state, in response to a photographing confirmation operation, the virtual camera is controlled to capture a picture of the virtual scene to obtain a second virtual scene picture.
2. The method according to claim 1, characterized in that The step of responding to the photo triggering operation and controlling the virtual scene to enter a photo mode includes: In response to a first photographing triggering operation, controlling the virtual scene to enter a photographing mode, and controlling the virtual scene to enter a time-still state; The method further comprises: When the virtual scene is in the time static state, in response to a second time stop trigger operation, the virtual scene is controlled to switch from the time static state to a dynamic time state.
3. The method according to claim 2, characterized in that After controlling the virtual scene to switch from the static time state to the dynamic time state, the method further includes: In response to the first time stop trigger operation, the virtual scene is controlled to enter the time static state from the dynamic time state, and in response to the photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene to obtain the first virtual scene image.
4. The method according to claim 1, characterized in that The step of responding to the photo triggering operation and controlling the virtual scene to enter a photo mode includes: In response to a second photographing triggering operation, controlling the virtual scene to enter a photographing mode, and controlling the virtual scene to be in a dynamic time state; The method further comprises: When the virtual scene is in the dynamic time state, in response to a first time stop trigger operation, the virtual scene is controlled to switch from the dynamic time state to a time static state.
5. The method according to claim 1, characterized in that The method further comprises: When the virtual scene is in the dynamic time state, in response to a control operation on a controlled virtual character in the virtual scene, the controlled virtual character is controlled to perform an action corresponding to the control operation.
6. The method according to claim 1, characterized in that After controlling the virtual scene to enter a photographing mode, the method further includes: displaying a time-still control control on the graphical user interface; In the photographing mode, in response to a first time stop trigger operation, controlling the virtual scene to enter a time static state includes: In the photographing mode, in response to a first time stop trigger operation on the time stillness control component, controlling the virtual scene to enter a time stillness state; In the photographing mode, in response to the second time stop trigger operation, controlling the virtual scene to enter a dynamic time state includes: In the photographing mode, in response to a second time stop triggering operation on the time stillness control component, the virtual scene is controlled to enter a dynamic time state.
7. The method according to claim 6, characterized in that The step of controlling the virtual scene to enter a time-still state in response to a first time-stop trigger operation on the time-still control component comprises: In response to a first time stop trigger operation of a time stop control control for a first display state, controlling the virtual scene to enter a time stop state, wherein the first display state is used to represent that the virtual scene is currently in a dynamic time state; In response to the second time stop trigger operation on the time still control component, controlling the virtual scene to enter a dynamic time state includes: In response to a second time stop trigger operation of the time stillness control control for a second display state, the virtual scene is controlled to enter a dynamic time state, wherein the second display state is used to represent that the virtual scene is currently in a time stillness state.
8. The method according to claim 1, characterized in that: The virtual scene is a virtual scene corresponding to a single-player game.
9. The method according to claim 1, characterized in that: The method further comprises: In response to a photo-taking trigger operation, a scene editing control is displayed in the graphical user interface; the scene editing control is used to edit the virtual scene in an editable state.
10. The method according to claim 9, characterized in that The method further comprises: When the virtual scene is in the time static state, part or all of the scene editing controls are controlled to be in a non-editable state.
11. The method according to claim 10, characterized in that The scene editing control includes a scene role editing control, and when the virtual scene is in the time static state, the scene editing control is controlled to be in a non-editable state, including: When the virtual scene is in the time static state, the scene role editing control is controlled to be in a non-editable state.
12. The method according to claim 10, characterized in that The method further comprises: In response to a trigger operation on a scene editing control that is in a non-editable state, a non-editable prompt is generated.
13. The method according to claim 9, characterized in that The method further comprises: When the virtual scene is in the dynamic time state, the scene editing control is controlled to be in an editable state.
14. The method according to claim 13, characterized in that The method further comprises: In response to an editing operation of a scene editing control in an editable state, editing of the virtual scene is controlled.
15. The method according to claim 1, characterized in that The method further comprises: In response to a photo triggering operation, a mode control control is displayed in the graphical user interface; the mode control control is used to control the switching of a mobile control object, wherein the mobile control object includes one of a virtual camera and a controlled virtual character; When the virtual scene is in the time static state, controlling the mode control component to be in a non-switchable state; When the virtual scene is in the dynamic time state, the mode control widget is controlled to be in a switchable state.
16. The method according to claim 1, characterized in that The method further comprises: When the virtual scene is in the time static state, in response to a picture acquisition template selection operation, determining a target picture acquisition template from candidate picture acquisition templates; Determining a camera shooting instruction of the virtual camera according to the target picture acquisition template; According to the camera shooting instruction of the virtual camera, the virtual camera is controlled to capture the image of the virtual scene to obtain a first virtual scene image.
17. The method according to claim 16, characterized in that The candidate screen capture templates include capture templates corresponding to historically released works and / or capture templates corresponding to preset works, and the historically released works and / or preset works do not include virtual scene screens captured in a static state.
18. The method according to claim 1, characterized in that The method comprises: In response to a pre-publishing operation for a target work, a first sub-interface is generated; the first sub-interface is used to edit the publishing information of the target work; the target work includes the collected first virtual scene picture; In response to a publishing operation for the target work, the target work is published based on the publishing information edited in the first sub-interface.
19. The method according to claim 18, characterized in that The first sub-interface displays a prompt message indicating that the target work is not supported as a screen capture template.
20. The method according to claim 18, characterized in that After the target work is published, the method further includes: In response to the information display operation of the target work, a second sub-interface is generated, wherein the second sub-interface includes the work information of the target work.
21. The method according to claim 20, characterized in that The second sub-interface includes a time static state mark.
22. The method according to claim 20, characterized in that The method comprises: In response to the application operation on the target work, a prompt message is generated indicating that the target work is not supported as a picture acquisition template.
23. A virtual scene control device, characterized in that: A graphical user interface is provided by a terminal device, wherein the content displayed in the graphical user interface includes at least a part of a virtual scene, and the apparatus includes: A photographing mode entry module, used to respond to a photographing trigger operation and control the virtual scene to enter a photographing mode; A static state entering module, configured to control the virtual scene to enter a time static state in response to a first time stop triggering operation in the photographing mode; A first picture acquisition module is used to control the virtual camera to acquire a picture of the virtual scene in response to a photo confirmation operation when the virtual scene is in the time static state, so as to obtain a first virtual scene picture; A dynamic state entry module, configured to control the virtual scene to enter a dynamic time state in response to a second time stop trigger operation in the photographing mode; The second picture acquisition module is used to control the virtual camera to acquire the picture of the virtual scene in response to a photo confirmation operation when the virtual scene is in the dynamic time state, so as to obtain a second virtual scene picture.
24. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 22 is implemented.
25. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 22 by executing the executable instructions.
Citation Information
Patent Citations
Video acquisition method, electronic equipment, storage medium and program product
CN115461707A
Interaction control method and device, computer equipment and storage medium
CN115738243A
Game animation editing method and device, program product and electronic equipment
CN118949426A
Group photo method and device for multiple virtual roles, storage medium and electronic equipment
CN119139703A
Image recorder and image recording method
JP2015041990A