Virtual scene control method and device, computer program product and electronic device
By introducing a photo mode that switches between time freeze and dynamic time states in a virtual scene, the problem of users frequently exiting and re-entering the photo mode is solved, improving the convenience and freedom of virtual scene photo creation.
Patent Information
- Application Number
- CN202411919193.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2044-12-24
AI Technical Summary
When users create content by taking photos in virtual scenes, the existing technology offers limited convenience and freedom, requiring frequent exits and re-entries into photo mode for editing.
By introducing a time-freeze state and a dynamic time state switching in the photo mode within a virtual scene, users can perform secondary editing without exiting the photo mode and freely switch states through time-stop trigger operations.
It enhances the convenience and freedom of users in taking photos in virtual scenes, reduces the number of times they need to exit and re-enter the photo mode, and improves creative efficiency.
Smart Images

Figure CN119701347B_ABST
Abstract
Description
Technical Field
[0001] This 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 Technology
[0002] By shooting virtual scenes, users can create and publish personalized photographic works.
[0003] In related technologies, users enter the virtual camera's shooting mode by triggering the shutter button configured on the interface to capture virtual scene images. If the currently obtained photo does not meet the user's needs, they need to exit the shooting mode and re-enter the shooting mode to edit and take another photo. This results in low convenience and freedom for user creation.
[0004] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0005] This disclosure provides a virtual scene control method, a virtual scene control device, a computer program product, and an electronic device to at least partially solve the problems of low convenience and freedom of user creation in related technologies.
[0006] According to a first aspect of this disclosure, a virtual scene control method is provided, which provides a graphical user interface through a terminal device. The content displayed in the graphical user interface includes at least a portion of a virtual scene. The method includes: responding to a photo-taking trigger operation, controlling the virtual scene to enter a photo-taking mode; in the photo-taking mode, responding to a first time-stop trigger operation, controlling the virtual scene to enter a time-freeze state; while the virtual scene is in the time-freeze state, responding to a photo-taking confirmation operation, controlling a virtual camera to capture an image of the virtual scene to obtain a first virtual scene image; in the photo-taking mode, responding to a second time-stop trigger operation, controlling the virtual scene to enter a dynamic time state; while the virtual scene is in the dynamic time state, responding to a photo-taking confirmation operation, controlling the virtual camera to capture an image of the virtual scene to obtain a second virtual scene image.
[0007] According to a second aspect of this disclosure, a virtual scene control device is provided, which provides a graphical user interface through a terminal device. The content displayed in the graphical user interface includes at least a portion of a virtual scene. The device includes: a photo mode entry module, configured to control the virtual scene to enter a photo mode in response to a photo trigger operation; a still state entry module, configured to control the virtual scene to enter a time-still state in response to a first time-stop trigger operation in the photo mode; a first image acquisition module, configured to control a virtual camera to acquire an image of the virtual scene in response to a photo confirmation operation when the virtual scene is in the time-still state, thereby obtaining a first virtual scene image; 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 photo mode; and a second image acquisition module, configured to control the virtual camera to acquire an image of the virtual scene in response to a photo confirmation operation when the virtual scene is in the dynamic time state, thereby obtaining a second virtual scene image.
[0008] According to a third aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the virtual scene control method of the first aspect and its possible implementations.
[0009] According to a fourth aspect of this 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 first aspect and possible implementations thereof by executing the executable instructions.
[0010] The technical solution disclosed herein has the following beneficial effects:
[0011] In the aforementioned virtual scene control process, in response to a photo-taking trigger operation, the virtual scene is controlled to enter photo-taking mode. In photo-taking mode, in response to a first time-stop trigger operation, the virtual scene is controlled to enter a time-freeze state. While the virtual scene is in a time-freeze state, in response to a photo-taking confirmation operation, the virtual camera is controlled to capture the image of the virtual scene, resulting in a first virtual scene image. In photo-taking mode, in response to a second time-stop trigger operation, the virtual scene is controlled to enter a dynamic time state. While the virtual scene is in a dynamic time state, in response to a photo-taking confirmation operation, the virtual camera is controlled to capture the image of the virtual scene, resulting in a second virtual scene image. This disclosure allows the virtual scene to enter either a time-freeze or dynamic time state after entering camera photo-taking mode via a time-stop trigger operation. It supports the free switching of the time-stop function in photo-taking mode, allowing users to edit the scene without exiting camera photo-taking mode, thus enhancing the convenience and freedom of creating photographic works. Attached Figure Description
[0012] Figure 1 This diagram illustrates a virtual scene control method according to an exemplary embodiment.
[0013] Figure 2 This illustration shows a schematic diagram of the interface of a PC game display time freeze control control in this exemplary embodiment;
[0014] Figure 3 This illustration shows a schematic diagram of the interface of a game controller displaying a time freeze control control in this exemplary embodiment;
[0015] Figure 4 This illustration shows a schematic diagram of the interface for displaying a time freeze control in a mobile game according to this exemplary embodiment;
[0016] Figure 5 This illustration shows a non-editable prompt in this exemplary embodiment;
[0017] Figure 6 This illustration shows another non-editable prompt in this exemplary embodiment;
[0018] Figure 7 This diagram illustrates an example of editing scene character actions in this exemplary embodiment;
[0019] Figure 8 A schematic diagram of a first sub-interface is shown in this exemplary embodiment;
[0020] Figure 9 A schematic diagram of a second sub-interface in this exemplary embodiment is shown;
[0021] Figure 10 This diagram illustrates a scene state switching process in this exemplary embodiment.
[0022] Figure 11 This diagram illustrates a flowchart of a scenario secondary editing method in this exemplary embodiment;
[0023] Figure 12 This diagram illustrates a structural block diagram of a virtual scene control device according to this exemplary embodiment.
[0024] Figure 13 An electronic device for implementing the virtual scene control method described above is shown in this exemplary embodiment. Detailed Implementation
[0025] Exemplary embodiments of this disclosure will be described more fully below with reference to the accompanying drawings.
[0026] The accompanying drawings are schematic illustrations of this disclosure and are not necessarily drawn to scale. Some block diagrams shown in the drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in hardware modules or integrated circuits, or in networks, processors, or microcontrollers. Implementations can be carried out in various forms and should not be construed as limited to the examples set forth herein. The features, structures, or characteristics described in this disclosure can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough description of embodiments of this disclosure. However, those skilled in the art will recognize that one or more specific details may be omitted when implementing the technical solutions of this disclosure, or other methods, components, apparatuses, steps, etc., may be used to replace one or more specific details.
[0027] In related technologies, users enter the virtual camera's shooting mode by triggering the shutter button configured on the interface to capture virtual scene images. If the currently obtained photo does not meet the user's needs, they need to exit the shooting mode and re-enter the shooting mode to edit and take another photo. This results in low convenience and freedom for user creation.
[0028] In view of one or more of the above-mentioned problems, exemplary embodiments of this 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 this disclosure, the virtual scene control method can run on a local terminal device or a server. When the virtual scene control method runs on a server, it 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 one alternative implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and execution of the virtual scene control method are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, PDA, or game controller; however, the game processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0031] In one alternative implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0032] In one alternative implementation, refer to Figure 1 The flowchart shown illustrates a virtual scene control method. A graphical user interface (GUI) is provided via a terminal device. The GUI displays at least a portion of the virtual scene, specifically including the following steps S110 to S150:
[0033] Step S110: Respond to the photo-taking trigger operation and control the virtual scene to enter photo-taking mode;
[0034] Step S120: In photo mode, in response to the first time-stop trigger operation, control the virtual scene to enter a time-stop state;
[0035] Step S130: When the virtual scene is in a time-freeze state, in response to the photo confirmation operation, control the virtual camera to capture the image of the virtual scene and obtain the first virtual scene image;
[0036] Step S140: In photo mode, in response to the second time stop trigger operation, control the virtual scene to enter a dynamic time state;
[0037] In step S150, when the virtual scene is in a 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.
[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 the time-stop trigger operation. It can support the free switching of the time-stop function in the shooting mode, so that users do not need to exit the camera shooting mode when making secondary editing of the scene, which enhances the convenience and freedom of users to create photographic works.
[0039] It should be noted that, although Figure 1There are flow arrows between steps S110 and 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, depending on the game settings. These settings can be preset by the system or customized by the player. If the setting is that time is frozen by default after entering photo mode, then S140 can be executed after S110. If the setting is that dynamic time is enabled by default after entering photo mode, then S120 can be executed after S110. This disclosure does not make specific limitations on this.
[0040] It should be noted that the virtual scene in this disclosure can be a simulation environment of the real world, a semi-simulated and semi-fictional virtual environment, or a purely fictional virtual environment; this disclosure does not impose any specific limitations on it. 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 can be a scene corresponding to a single-player game, where a single-player game, also known as a single-player game, refers to a game participated in by a single user. In online or multiplayer games, after entering the virtual camera's photo mode, the time-stop function can be disabled to prevent a single user's activation of time-stop from affecting the creative progress of other users.
[0042] The virtual camera can be a virtual camera placed in a virtual scene to capture images of the virtual scene. Specifically, the virtual camera can capture images of the virtual scene based on different camera parameters, including but not limited to camera position, camera orientation, focal length, and focus plane.
[0043] The following is about Figure 1 Each step in the process will be explained in detail.
[0044] Step S110: Respond to the photo-taking trigger operation and control the virtual scene to enter photo-taking mode.
[0045] The "photo-triggering operation" refers to the operation that controls the game scene to enter photo mode, which can be a click operation, a long press operation, etc., and this disclosure does not specify a particular operation. In photo mode, the virtual camera can capture images of the virtual scene to facilitate user creation.
[0046] The photo-taking mode includes two states: "Time Freeze" and "Dynamic Time State." "Time Freeze" indicates that the virtual scene is in a time-frozen state, during which the scene content can play at near-zero or zero speed. "Dynamic Time State" indicates that the virtual scene is in a dynamic time state, during which the scene content can play at a preset non-zero speed, such as the normal playback speed before entering photo mode.
[0047] Taking PC games as an example, users can trigger the virtual camera and enter the camera shooting mode by clicking the "F7" key or the camera button in the main menu.
[0048] Taking gamepad games as an example, users can trigger the virtual camera and enter the camera shooting mode by pressing View+RB on the HUD (Heads Up Display) or the camera button on the main menu.
[0049] Taking mobile games as an example, users can trigger the virtual camera and enter the camera shooting mode through the HUD shortcut button or the camera button in the main menu.
[0050] Optionally, the virtual camera may include one or more photo-taking trigger entries, such as a time-stop snapshot entry and a normal photo-taking entry. Different camera trigger entries will enter different virtual scene states by default, so as to quickly meet the different creative needs of users.
[0051] In one optional implementation, the above-mentioned response to the photo-taking trigger operation, controlling the virtual scene to enter the photo-taking mode, can be achieved through the following steps: responding to the first photo-taking trigger operation, controlling the virtual scene to enter the photo-taking mode, and controlling the virtual scene to enter a time-freeze state.
[0052] The first photo-taking trigger operation refers to the operation of triggering the camera's photo-taking mode and activating the time freeze function.
[0053] For example, in response to a trigger operation of the first camera entry point of the virtual camera, the virtual scene can be controlled to enter the photo-taking mode and to enter a time-freeze state. The first camera entry point can be a time-stop snapshot entry point.
[0054] Taking PC games as an example, users can enter the photo mode from the first camera entry by clicking the "F7" key, and the time-stop function will be started by default, that is, enter a virtual scene in a state of time freeze, and play the scene content at near zero speed or zero speed.
[0055] By responding to the first photo-taking trigger, the virtual scene is controlled to enter the photo-taking mode, and the virtual scene is controlled to enter a time-freeze state by default, which can improve the convenience of shooting static scenes.
[0056] In one alternative implementation, the above-mentioned response to the photo-taking trigger operation, controlling the virtual scene to enter the photo-taking mode, can be achieved through the following steps: responding to the second photo-taking trigger operation, controlling the virtual scene to enter the photo-taking mode, and controlling the virtual scene to be in a dynamic time state.
[0057] The second photo-taking trigger operation refers to the operation of triggering the camera's photo-taking mode and disabling the time freeze function. For example, in response to the trigger operation of the virtual camera's second camera entry point, the virtual scene can be controlled to enter photo-taking mode and to be in a dynamic time state. The second camera entry point can be a regular photo-taking entry point.
[0058] Taking PC games as an example, users can enter the photo mode through the second camera entrance by clicking the "F8" key, and the time stop function is turned off by default. This means entering a virtual scene with dynamic time status and playing scene content at a preset non-zero speed.
[0059] By responding to the second photo-taking trigger operation, the virtual scene is controlled to enter the photo-taking mode, and the virtual scene is controlled to be in a dynamic time state by default, which can improve the convenience of shooting dynamic scenes.
[0060] Optionally, after controlling the virtual scene to enter photo mode, photo-related controls can be added to the graphical user interface, such as field of view adjustment buttons, camera distance, photo capture button, and camera position restore button. Controls unrelated to photo capture, such as character skill controls and user information viewing controls, can also be hidden to reduce interface redundancy. This disclosure does not impose specific limitations on this. It should be noted that in practical applications, after controlling the virtual scene to enter photo mode, the layout of the original controls on the interface can be adjusted as needed to facilitate user viewing of the game interface. This disclosure does not impose specific limitations on this.
[0061] Optionally, when the virtual scene is in a time-freeze state, scene character control controls such as character control controls and action control controls can be hidden to reduce interface redundancy and avoid user misoperation in a time-freeze 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 can be displayed to allow users to adjust the position or actions of the controlled virtual character.
[0063] Optionally, after the virtual scene enters the photo mode, a time freeze control can also be displayed in the graphical user interface.
[0064] For example, such as Figure 2The diagram illustrates an interface for displaying a time-freeze control in a PC game. The time-freeze control 201 can be used to control a virtual scene to enter a time-freeze state, and can include two states: on and off. It is displayed in the interface key area 210. The interface key area is used for key operation prompts.
[0065] For example, such as Figure 3 The diagram illustrates an interface for displaying a time-freeze control in a game controller. The time-freeze control 301 can be used to control a virtual scene to enter a time-freeze state, and can include two states: on and off. It is displayed in the interface key area 310. The interface key area is used for key operation prompts.
[0066] For example, such as Figure 4 As shown, a schematic diagram of a mobile game interface for displaying a time freeze control control is provided. The time freeze control control 401 can be used to control the virtual scene to enter a time freeze state, and can include two states: on and off, which can be displayed in the upper area of the interface.
[0067] In an optional implementation, the above-mentioned display of the time freeze control control 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; if so, the time freeze control control can be displayed in the graphical user interface.
[0068] In step S120, in photo mode, in response to the first time-stop trigger operation, the virtual scene is controlled to enter a time-stop state.
[0069] The first time-stop trigger operation refers to the trigger operation that enables the time-stop function, which can control the virtual scene to enter a time-stopped state.
[0070] Optionally, after the virtual scene enters the photo mode, when the graphical user interface displays the time freeze control control, the above-mentioned control of the virtual scene to enter the time freeze state in response to the first time stop trigger operation in the photo mode can be achieved through the following steps: In the photo mode, in response to the first time stop trigger operation on the time freeze control control, control the virtual scene to enter the time freeze state.
[0071] The time freeze control can have two states: on and off. The first time freeze trigger operation can be the on operation of the time freeze control.
[0072] For example, in response to the activation of the time freeze control control, i.e. the first time stop trigger operation, the virtual scene can be controlled to enter a time freeze state.
[0073] For example, in photo mode, the virtual scene can be controlled to enter a time-freeze state in response to a first time-stop trigger operation of the time-freeze control control for the 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 freeze control can include two display states: a first display state and a second display state. These states can respectively represent the current state of the virtual scene as a dynamic time state and a time freeze state, thus indicating to the user the current state of the virtual scene. The first and second display states of the time freeze control can be different, and can be pre-configured by the developers. This disclosure does not impose any specific limitations on this.
[0075] The first display state can be the display state when the time freeze control is turned off.
[0076] In step S130, when the virtual scene is in a time-freeze 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.
[0077] The photo confirmation operation can be a click or long press on the shutter button, etc., and this disclosure does not specify any particular method. Optionally, when the virtual scene is in a time-freeze state, a camera shutter command can be generated in response to the photo confirmation operation, and the virtual camera can be controlled to capture the image of the virtual scene according to the camera shutter command to obtain the first virtual scene image.
[0078] The first virtual scene image refers to the scene image captured by the virtual camera when the virtual scene is in a time-freeze state.
[0079] For example, when the virtual scene is in a time-frozen state, the camera shooting parameters can be adjusted in response to a camera shooting parameter configuration operation. Optionally, the camera shooting parameter configuration operation may include, but is not limited to, panning the camera, rotating the camera, zooming the viewport, etc., and this disclosure does not specifically limit it.
[0080] In an optional implementation, the following steps may also be performed: when the virtual scene is in a time-freeze state, in response to the image capture template selection operation, a target image capture template is determined from the candidate image capture templates; based on the target image capture template, a camera shooting command for the virtual camera is determined; based on the camera shooting command for the virtual camera, the virtual camera is controlled to capture images of the virtual scene to obtain a first virtual scene image.
[0081] Among them, the candidate image capture template can provide a configuration template for the camera shooting parameters of the virtual camera, so that the virtual camera can capture virtual scenes based on the camera shooting parameters configured in the configuration template and take the same kind of work as the image capture template, thus improving the convenience of taking pictures.
[0082] Optionally, the candidate image capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works. Historically published works and / or preset works do not include virtual scene images captured in a time-still state.
[0083] Among them, "historical published works" refers to the videos shot in the virtual scene that users have previously published, while "pre-set works" refers to videos shot in the virtual scene that have been pre-made by the developers.
[0084] By providing candidate image capture templates, users can save on shooting manpower costs and improve creative output efficiency. Since virtual cameras may be in mid-air or in battle when time is frozen, making it unsuitable or unlikely to capture the same work, users can be provided with image capture templates for works that do not involve time freeze for selection.
[0085] In step S140, in photo mode, in response to the second time-stop trigger operation, the virtual scene is controlled to enter a dynamic time state.
[0086] The second time-stop trigger operation refers to the trigger operation to disable the time-stop function. Disabling the time-stop function can control the virtual scene to enter a dynamic time state.
[0087] Optionally, after the virtual scene enters the photo mode, when the graphical user interface displays the time freeze control control, the above-mentioned control of the virtual scene to enter the dynamic time state in response to the second time stop trigger operation in the photo mode can be achieved through the following steps: In the photo mode, in response to the second time stop trigger operation on the time freeze control control, control the virtual scene to enter the dynamic time state.
[0088] The time freeze control can have two states: on and off. The second time stop trigger operation can be the closing operation of the time freeze control.
[0089] For example, in response to the closing operation of the time freeze control, i.e., the second time stop trigger operation, the virtual scene can be controlled to enter a dynamic time state.
[0090] For example, in response to a second time-stop trigger operation of a time-stop 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-stop state.
[0091] The time freeze control can include two display states: a first display state and a second display state. These states can respectively represent the current state of the virtual scene as a dynamic time state and a time freeze state, thereby enhancing the user's perception of the virtual scene's state. The first and second display states of the time freeze control can be different, and can be pre-configured by the developers. This disclosure does not impose any specific limitations on this.
[0092] The second display state can be the display state when the time freeze control is turned on.
[0093] In step S150, when the virtual scene is in a 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.
[0094] The photo confirmation operation can be a click or long press on the shutter button, etc., and this disclosure does not specify any particular method. Optionally, when the virtual scene is in a dynamic time state, a camera shutter command can be generated in response to the photo confirmation operation, and the virtual camera can be controlled to capture the image of the virtual scene according to the camera shutter command to obtain a second virtual scene image.
[0095] The second virtual scene image refers to the scene image captured by the virtual camera when the virtual scene is in a dynamic time state.
[0096] For example, when the virtual scene is in a dynamic time state, the camera shooting parameters can be adjusted in response to a camera shooting parameter configuration operation. Optionally, the camera shooting parameter configuration operation may include, but is not limited to, panning the camera, rotating the camera, zooming the viewport, etc., and this disclosure does not specifically limit it.
[0097] In one alternative implementation, when the virtual scene is in a time-freeze state, the virtual scene can be switched from a time-freeze state to a dynamic time state in response to a second time-stop trigger operation.
[0098] Since the footage captured during the time-stop state may not meet the user's needs, a second time-stop trigger operation can be used to control the time-stop to be turned off so that the game can continue, thereby satisfying the user's personalized footage capture needs.
[0099] In an optional implementation, after the virtual scene is switched from a time-static state to a dynamic time state, the following steps can be used: in response to the first time-stop trigger operation, the virtual scene is controlled to enter a time-static state from the dynamic time state, so as to respond to the photo confirmation operation and control the virtual camera to capture the image of the virtual scene to obtain the first virtual scene image.
[0100] After entering the dynamic time state, you can re-enter the time stop state by triggering the first time stop operation. If the current time stop interface meets the user's needs, you can continue taking pictures.
[0101] In one alternative implementation, when the virtual scene is in a dynamic time state, it can be controlled to switch from a dynamic time state to a time-still state in response to a first time-stop trigger operation.
[0102] Taking PC games as an example, after entering camera mode, you can use the "Enter" key to turn the time freeze control on and off, so that the virtual scene can flexibly switch between dynamic time state and time freeze state.
[0103] Taking gamepad games as an example, after entering camera mode, you can use the "Options" button to turn the time freeze control on and off, so that the virtual scene can flexibly switch between dynamic time state and time freeze state.
[0104] Taking mobile games as an example, after entering camera mode, the time freeze control can be turned on and off by using the time stop switch button, so that the virtual scene can flexibly switch between dynamic time state and time freeze state.
[0105] Once in photo mode, the time freeze effect can be freely turned on and off, allowing for flexible switching between dynamic and static time states in the virtual scene, thus meeting users' personalized creative needs.
[0106] In one optional implementation, the control functions of the controlled virtual character can be disabled when the virtual scene is in a time-frozen state. For example, when the virtual scene is in a time-frozen state, an uncontrollable prompt message can be generated in response to control operations performed on the controlled virtual character in the virtual scene, and the controlled virtual character can be prevented from performing actions corresponding to the control operations, thereby avoiding accidental control of the controlled virtual character by the user when the virtual scene is in a time-frozen state.
[0107] In one alternative 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, so as to meet the user's diverse photo-taking needs.
[0108] Taking PC games as an example, when the virtual scene is in a dynamic time state, you can switch to character movement mode by clicking the "Tab" key and control the virtual character to move by using the "WASD" key.
[0109] Among them, the controlled virtual character is the controlled object of the terminal device in the game scene, which can be a virtual character, an anime character, etc., and this disclosure does not make specific limitations on it.
[0110] In an alternative implementation, the following steps may also be performed: in response to a photo-triggering operation, displaying a scene editing control 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 controls may include, but are not limited to, scene character editing controls. Scene character editing controls can be used to edit controlled virtual characters in a virtual scene, such as their displacement, gaze, facial expressions, and rotation. This disclosure does not impose specific limitations on this.
[0112] By displaying scene editing controls in the graphical user interface, a foundation for secondary editing by users can be provided.
[0113] In an alternative implementation, the following steps may also be performed: when the virtual scene is in a time-freeze state, control some or all of the scene editing controls to be in an uneditable state.
[0114] For example, when the scene editing control includes a scene character editing control, if the virtual scene is in a time-frozen state, the scene character editing control can be controlled to be in an uneditable state. The scene character editing control can be, for example, an editing control for displacement, gaze, facial expressions, or rotation.
[0115] For example, when the scene character editing control is in an uneditable state, the scene character editing control can be grayed out to indicate to the user that the corresponding scene character control is uneditable.
[0116] For example, when the scene character editing control is in an uneditable state, it can be hidden to prevent users from accidentally triggering it and reduce visual interference to users.
[0117] Optionally, an uneditable prompt can be generated in response to a triggering operation on an edit control in a scene that is in an uneditable state.
[0118] For example, scene editing controls can be displayed in the editing area and / or the interface key area of a graphical user interface. A non-editable prompt can be generated in response to a triggered operation of a scene editing control in the editing area that is in a non-editable state.
[0119] like Figure 5 As shown, a schematic diagram of a non-editable prompt is provided. Taking the gaze adjustment control as an example, when the virtual scene is in a time-stopped state, the gaze adjustment control is in a closed state. If the user clicks the gaze adjustment control, a prompt message that is the same as or similar to "Cannot adjust gaze in time-stopped state" can be generated. This disclosure does not make any specific limitations on this.
[0120] like Figure 6As shown, another non-editable prompt is provided. Taking the facial expression adjustment control as an example, when the virtual scene is in a time-stopped state, if the user clicks the facial expression adjustment control, a prompt message that is the same as or similar to "facial expressions cannot be played in the time-stopped state" can be generated. This disclosure does not make any specific limitations on this.
[0121] Since scene character editing may involve interaction with the scene model, restricting scene character editing when the virtual scene is in a time-frozen state can prevent difficult-to-solve abnormal behaviors.
[0122] In an alternative implementation, the following steps may also be performed: when the virtual scene is in a dynamic time state, control the scene editing controls to be in an editable state.
[0123] For example, if the virtual scene switches to a dynamic time state, all scene editing controls can be restored to an editable state. At this time, the virtual scene can be edited in response to the editing operation of the scene editing controls in the editable state, so as to realize secondary editing of the scene in camera shooting mode. Among them, the editing operation can be the adjustment of the gaze, facial expression, movement, position, etc. of the controlled virtual character in the scene, and this disclosure does not specifically limit it.
[0124] like Figure 7 As shown, this diagram illustrates how to edit the actions of a scene character. Users can select the corresponding action configuration to edit the actions of the controlled virtual character, so that the controlled virtual character can perform the corresponding actions.
[0125] In an alternative implementation, the following steps may also be performed: in response to a photo-taking trigger operation, 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, which includes either a virtual camera or a controlled virtual character; when the virtual scene is in a time-static state, the mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the mode control control is in a switchable state.
[0126] The mode control can be used to switch the manipulated object. By default, it allows you to move the virtual camera; after clicking, it changes to moving a scene character, thus meeting different user operation needs, such as... Figure 2 The "Switch Mode" control 202 in the central interface key area is shown.
[0127] For example, when the virtual scene is in a time-static state, the mode control can be disabled, making the mode control unswitchable; when the virtual scene is in a dynamic time state, the mode control can be undisabled, making the mode control switchable.
[0128] After the virtual scene images are captured, a publishable work can be obtained. In one optional implementation, after the virtual scene images are captured, 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 contains the captured 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-release operation refers to the operation of opening the first sub-interface to edit the release information of the target work.
[0130] The target work includes the captured first virtual scene images, that is, virtual scene images captured in a time-static state. Optionally, the target work may also include the captured second virtual scene images, that is, virtual scene images captured in a dynamic time state; this disclosure does not specifically limit this.
[0131] The information to be published may include, but is not limited to, the title of the work, the description of the work, etc., and this disclosure does not impose specific limitations on this.
[0132] Optionally, the first sub-interface may display a message indicating that the target work is not supported as a screen capture template, to inform 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 contain other information that needs to be displayed to the user, such as preview interface, publish control, cancel control, trim control, etc. This disclosure does not impose specific limitations on this.
[0134] For example, such as Figure 8 As shown, a schematic diagram of a 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 trigger operation of the publishing control, thereby enriching the content of photo creation.
[0135] In one alternative 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, which contains the work information of the target work.
[0136] The information display function can open a second sub-interface to allow users to view details of the target work, such as the work title, work description, work comments, preview interface, etc. This disclosure does not impose specific limitations on this.
[0137] Optionally, if the target work contains the captured first virtual scene image, i.e., the virtual scene image captured in a time-still state, the second sub-interface may include a time-still state marker to prompt the user that the target work contains the virtual scene image captured in a time-still state.
[0138] Optionally, if the target work includes the captured first virtual scene image, that is, the virtual scene image captured in a time-still state, the "Apply the same style" control in the second sub-interface can be grayed out to prompt the user that the target work is not supported as an image capture template.
[0139] For example, such as Figure 9 As shown, a schematic diagram of a second sub-interface is provided. The second sub-interface may include a time freeze state marker 901 and a "Apply the same style" control 902, wherein the "Apply the same style" control 902 may be in a grayed-out state.
[0140] In one alternative implementation, a prompt message indicating that the target work is not supported as a screen capture template can also be generated in response to an application operation targeting the target work. For example, such as... Figure 9 As shown, in response to the trigger operation of the "Apply the same style" control 902, the same or similar prompt message as "Time-stop photograph works are not currently supported for application" can be displayed in the screen preview interface to inform the user that the target work currently being viewed is not supported as a screen capture template.
[0141] For example, such as Figure 10 As shown, a flowchart for scene state switching is also provided, which may include the following steps:
[0142] Step S1001: Respond to the photo-taking trigger operation, control the virtual scene to enter the photo-taking mode, and control the virtual scene to enter a time-freeze state;
[0143] Step S1002: When the virtual scene is in a time-freeze state, in response to the photo confirmation operation, control the virtual camera to capture the image of the virtual scene and obtain the first virtual scene image;
[0144] Step S1003: When the virtual scene is in a time-freeze state, respond to the second time-stop trigger operation and control the virtual scene to switch from a time-freeze state to a dynamic time state.
[0145] Step S1004: When the virtual scene is in a dynamic time state, in response to the photo confirmation operation, control the virtual camera to capture the image of the virtual scene and obtain the second virtual scene image.
[0146] In step S1005, when the virtual scene is in a dynamic time state, in response to the first time stop trigger operation, the virtual scene is controlled to switch from a dynamic time state to a time stop state in response to the photo confirmation operation, and the virtual camera is controlled to capture the image of the virtual scene to obtain the first virtual scene image.
[0147] Figure 10 In the steps shown, the time-stop trigger operation allows users to freely switch the time-stop function on and off after entering the photo mode, thus meeting their personalized image capture needs.
[0148] For example, such as Figure 11 As shown, a flowchart for secondary scene editing is also provided, which may include the following steps:
[0149] Step S1101: In response to the time freeze control switching from the on state to the off state, the virtual scene is controlled to enter the dynamic time state, and the editing restriction on the scene editing control is lifted, so that the scene editing control is in the editable state.
[0150] Step S1102: In response to the editing operation of the scene editing control in the editable state, control the editing of the virtual scene.
[0151] Figure 11 The steps shown allow users to flexibly adjust the scene by using the time-stop effect on and off.
[0152] Exemplary embodiments of this disclosure also provide a virtual scene control device, which provides a graphical user interface through a terminal device. The content displayed in the graphical user interface includes at least a portion of the virtual scene. (Refer to...) Figure 12 As shown, the virtual scene control device 1200 may include the following program modules:
[0153] The photo mode entry module 1210 is used to respond to the photo trigger operation and control the virtual scene to enter the photo mode;
[0154] The static state entry module 1220 is used in photo mode to control the virtual scene to enter a time-freeze state in response to the first time-stop trigger operation.
[0155] The first image acquisition module 1230 is used to control the virtual camera to acquire the image of the virtual scene in response to the photo confirmation operation when the virtual scene is in a time-freeze state, so as to obtain the first virtual scene image.
[0156] The dynamic state entry module 1240 is used to control the virtual scene to enter a dynamic time state in response to the second time stop trigger operation in photo mode.
[0157] The second image acquisition module 1250 is used to control the virtual camera to acquire the image 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 image.
[0158] In an optional implementation, based on the aforementioned scheme, the photo-taking mode entry module 1210 can be configured to: respond to a first photo-taking trigger operation, control the virtual scene to enter photo-taking mode, and control the virtual scene to enter a time-freeze state. The virtual scene control device 1200 further includes: a first scene state switching module, which can be configured to: when the virtual scene is in a time-freeze state, respond to a second time-stop trigger operation, control the virtual scene to switch from a time-freeze state to a dynamic time state.
[0159] In an optional implementation, based on the aforementioned scheme, after controlling the virtual scene to switch from a time-static state to a dynamic time state, the virtual scene control device 1200 further includes: a time-stop trigger module, used to respond to the first time-stop trigger operation, control the virtual scene to enter the time-static state from the dynamic time state, so as to respond to the photo confirmation operation, control the virtual camera to capture the image of the virtual scene, and obtain the first virtual scene image.
[0160] In an optional implementation, based on the aforementioned scheme, the photo mode entry module 1210 can be configured to: control the virtual scene to enter the photo mode in response to the second photo trigger operation, and control the virtual scene to be in a dynamic time state; the virtual scene control device 1200 further includes: a second scene state switching module, which can be configured to: control the virtual scene to switch from the dynamic time state to the time-stop state in response to the first time-stop trigger operation when the virtual scene is in a dynamic time state.
[0161] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a character control module, used to respond to control operations on a controlled virtual character in the virtual scene when the virtual scene is in a dynamic time state, and to control the controlled virtual character to perform actions corresponding to the control operations.
[0162] In an optional implementation, based on the aforementioned scheme, after controlling the virtual scene to enter the photo-taking mode, the virtual scene control device 1200 further includes: a time-freeze control control display module, used to display the time-freeze control control on the graphical user interface. The time-freeze state entry module 1220 can be configured to: in photo-taking mode, in response to a first time-stop trigger operation on the time-freeze control control, control the virtual scene to enter a time-freeze state. The dynamic state entry module 1240 can be configured to: in photo-taking mode, in response to a second time-stop trigger operation on the time-freeze control control, control the virtual scene to enter a dynamic time state.
[0163] In an optional implementation, based on the foregoing scheme, the static state entry module 1220 can be configured to: control the virtual scene to enter a time-static state in response to a first time-stop trigger operation of the time-static control control for the first display state, wherein the first display state is used to indicate that the virtual scene is currently in a dynamic time state. The dynamic state entry module 1240 can be configured to: control the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation of the time-static control control for the second display state, wherein the second display state is used to indicate that the virtual scene is currently in a time-static state.
[0164] In one alternative implementation, based on the aforementioned scheme, the virtual scene is a virtual scene corresponding to a single-player game.
[0165] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a scene editing module, used to respond to a photo-triggering operation and display scene editing controls in a graphical user interface; the scene editing controls are used to edit the virtual scene in an editable state.
[0166] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: an editing restriction module, used to control some or all scene editing controls to be in an uneditable state when the virtual scene is in a time-freeze state.
[0167] In an optional implementation, based on the aforementioned scheme, the scene editing control includes a scene character editing control, and the editing restriction module can be configured to: when the virtual scene is in a time-freeze state, control the scene character editing control to be in an uneditable state.
[0168] In one alternative implementation, based on the aforementioned scheme, the non-editable prompt module is used to generate a non-editable prompt in response to a trigger operation on a scene editing control that is in a non-editable state.
[0169] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a restriction removal module, used to control the scene editing controls to be in an editable state when the virtual scene is in a dynamic time state.
[0170] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a secondary editing module, used to control the editing of the virtual scene in response to the editing operation of the scene editing control in an editable state.
[0171] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a mode control module, which can be configured to: display mode control controls in a graphical user interface in response to a photo-taking trigger operation; the mode control controls are used to control the switching of the movable control object, which includes one of a virtual camera and a controlled virtual character; when the virtual scene is in a time-static state, the mode control controls are in a non-switchable state; when the virtual scene is in a dynamic time state, the mode control controls are in a switchable state.
[0172] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: a template application module, which can be configured to: when the virtual scene is in a time-freeze state, in response to the image acquisition template selection operation, determine a target image acquisition template from candidate image acquisition templates; determine a camera shooting command for the virtual camera according to the target image acquisition template; and control the virtual camera to acquire images of the virtual scene according to the camera shooting command of the virtual camera to obtain a first virtual scene image.
[0173] In one optional implementation, based on the aforementioned scheme, the candidate image capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works. Historically published works and / or preset works do not include virtual scene images captured in a time-still 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 for a target work; the first sub-interface is used to edit the publishing information of the target work; the target work includes the captured first virtual scene image; 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.
[0175] In one alternative implementation, based on the aforementioned scheme, the first sub-interface displays a prompt message indicating that the target work is not supported as a screen capture template.
[0176] In an optional implementation, based on the aforementioned scheme, after the target work is published, the virtual scene control device 1200 further includes: an information display module, used to generate a second sub-interface in response to the information display operation of the target work, the second sub-interface containing the work information of the target work.
[0177] In one alternative implementation, based on the aforementioned scheme, the second sub-interface includes a time-stationary state marker.
[0178] In an optional implementation, based on the aforementioned scheme, the virtual scene control device 1200 further includes: an application prompt module, used to respond to the application operation for the target work and generate a prompt message indicating that the target work does not support being used as a screen capture template.
[0179] The specific details of each part of the above-mentioned device have been described in detail in the method section of the implementation plan. For any undisclosed details, please refer to the implementation plan of the method section, and therefore will not be repeated here.
[0180] Exemplary embodiments of this disclosure also provide a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the virtual scene control method described above.
[0181] In one embodiment, the computer program product can be a tangible product containing a computer program, such as a computer-readable storage medium storing the computer program. The readable storage medium can 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, hard disk drive (HDD), solid-state drive (SSD), etc. For example, the computer program product can be implemented as a non-volatile storage medium storing the computer program, such as read-only memory, NAND flash memory, etc.
[0182] In one implementation, the computer program product can be an intangible product containing a computer program. For example, the computer program product can be implemented as a virtual digital product, such as an executable file, installation package, or other digital file storing the computer program.
[0183] Computer program code can be written in one or more programming languages. Examples of programming languages include C, Java, and C++. Program code can execute entirely on the user's computing device, partially on the user's computing device, or as a standalone software package. It can also execute partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, such as a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via an internet connection provided by a mobile network operator).
[0184] Computer programs can be carried or transmitted via signals such as electricity, magnetism, light, electromagnetic radiation, and infrared rays. Electronic devices can convert signals carrying computer programs into digital signals, thereby running the computer programs. When a computer program runs on an electronic device, its code causes the electronic device to execute (more specifically, the processor of the electronic device to execute) the method steps of various exemplary embodiments of this disclosure. Exemplarily, this may include the following steps:
[0185] Responding to the photo-taking trigger operation, control the virtual scene to enter photo-taking mode;
[0186] In photo mode, in response to the first time-stop trigger operation, the virtual scene is controlled to enter a time-freeze state.
[0187] When the virtual scene is in a time-freeze state, in response to the photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene and obtain the first virtual scene image;
[0188] In photo mode, in response to the second time-stop trigger 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 the photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene and obtain the second virtual scene image.
[0190] In an optional implementation, based on the aforementioned scheme, the above-mentioned response to the photo-taking trigger operation to control the virtual scene to enter the photo-taking mode can be achieved through the following steps: responding to the first photo-taking trigger operation to control the virtual scene to enter the photo-taking mode and control the virtual scene to enter a time-freeze state; it can also perform the following steps: when the virtual scene is in a time-freeze state, responding to the second time-stop trigger operation to control the virtual scene to switch from a time-freeze state to a dynamic time state.
[0191] In an optional implementation, based on the aforementioned scheme, after controlling the virtual scene to switch from a time-static state to a dynamic time state, the following steps can also be performed: in response to the first time-stop trigger operation, controlling the virtual scene to enter a time-static state from a dynamic time state, in response to the photo confirmation operation, controlling the virtual camera to capture the image of the virtual scene, and obtaining the first virtual scene image.
[0192] In an optional implementation, based on the aforementioned scheme, responding to a photo-taking trigger operation and controlling the virtual scene to enter the photo-taking mode can be achieved through the following steps: responding to a second photo-taking trigger operation, controlling the virtual scene to enter the photo-taking 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-stop state.
[0193] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a dynamic time state, respond to the control operation for the controlled virtual character in the virtual scene, and control the controlled virtual character to perform the action corresponding to the control operation.
[0194] In an optional implementation, based on the aforementioned scheme, after controlling the virtual scene to enter the photo-taking mode, the following steps can also be performed: displaying a time-freeze control control in the graphical user interface; the aforementioned control of the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation in the photo-taking mode can be achieved through the following steps: in the photo-taking mode, controlling the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation on the time-freeze control control; the aforementioned control of the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation in the photo-taking mode can be achieved through the following steps: in the photo-taking mode, controlling the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation on the time-freeze control control.
[0195] In an optional implementation, based on the foregoing scheme, the control of the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation of the time-freeze control control can be achieved through the following steps: controlling the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation of the time-freeze control control for a first display state, wherein the first display state is used to indicate that the virtual scene is currently in a dynamic time state; the control of the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation of the time-freeze control control can be achieved through the following steps: controlling the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation of the time-freeze control control for a second display state, wherein the second display state is used to indicate that the virtual scene is currently in a time-freeze state.
[0196] In one alternative implementation, based on the aforementioned scheme, the virtual scene is a virtual scene corresponding to a single-player game.
[0197] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a photo-triggering operation, display a scene editing control in the graphical user interface; the scene editing control is used to edit the virtual scene in an editable state.
[0198] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a time-freeze state, control some or all scene editing controls to be in an uneditable 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-freeze state, the scene editing control is controlled to be in an uneditable state. This can be achieved through the following steps: when the virtual scene is in a time-freeze state, the scene character editing control is controlled to be in an uneditable state.
[0200] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a trigger operation on a scene editing control that is in an uneditable state, generate an uneditable prompt.
[0201] In an alternative implementation, based on the aforementioned scheme, 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 alternative implementation, based on the foregoing scheme, the following steps may also be performed: in response to the editing operation of the scene editing control in an editable state, control the editing of the virtual scene.
[0203] In an optional implementation, based on the foregoing scheme, the following steps may also be performed: in response to a photo-taking trigger operation, a mode control control is displayed in a graphical user interface; the mode control control is used to control the switching of the movable control object, which includes either a virtual camera or a controlled virtual character; when the virtual scene is in a time-static state, the mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the mode control control is in a switchable state.
[0204] In an optional implementation, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a time-freeze state, in response to the image acquisition template selection operation, a target image acquisition template is determined from the candidate image acquisition templates; based on the target image acquisition template, a camera shooting command for the virtual camera is determined; based on the camera shooting command for the virtual camera, the virtual camera is controlled to acquire images of the virtual scene to obtain a first virtual scene image.
[0205] In one optional implementation, based on the aforementioned scheme, the candidate image capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works. Historically published works and / or preset works do not include virtual scene images captured in a time-still state.
[0206] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a pre-release operation for the target work, a first sub-interface is generated; the first sub-interface is used to edit the release information of the target work; the target work includes the captured first virtual scene image; in response to a release operation for the target work, the target work is released based on the release information edited in the first sub-interface.
[0207] In one alternative implementation, based on the aforementioned scheme, the first sub-interface displays a prompt message indicating that the target work is not supported as a screen capture template.
[0208] In an alternative implementation, based on the aforementioned scheme, after the target work is published, the following steps can also be performed: in response to the information display operation of the target work, a second sub-interface is generated, the second sub-interface containing the work information of the target work.
[0209] In one alternative implementation, based on the aforementioned scheme, the second sub-interface includes a time-stationary state marker.
[0210] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to the application operation for the 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 can be controlled to enter a time-still state or a dynamic time state through the time-stop trigger operation. The time-stop function in shooting mode can be freely switched on and off, allowing users to edit the scene without exiting the camera shooting mode, thus enhancing the convenience and freedom of users in creating photographic works.
[0212] The exemplary embodiments of this disclosure also provide an electronic device capable of implementing the above-described 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 executable instructions to perform the method of this exemplary embodiment. Furthermore, the electronic device may also include a display for displaying a graphical user interface.
[0213] The following is for reference. Figure 13 The electronic device is illustrated by way of a general-purpose computing device. It should be understood that... Figure 13 The electronic device 1300 shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0214] like Figure 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] Memory 1320 may include volatile memory, such as RAM 1321 and cache unit 1322, and may also include non-volatile memory, such as ROM 1323. Memory 1320 may also include one or more program modules 1324, such program modules 1324 including, but not limited to: operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. For example, program module 1324 may include the modules in the above-described apparatus.
[0216] The processor 1310 may include one or more processing units, such as 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).
[0217] The processor 1310 can be used to execute executable instructions stored in the memory 1320, such as performing any one or more method steps in this exemplary embodiment.
[0218] For example, processor 1310 may perform the following steps:
[0219] Responding to the photo-taking trigger operation, control the virtual scene to enter photo-taking mode;
[0220] In photo mode, in response to the first time-stop trigger operation, the virtual scene is controlled to enter a time-freeze state.
[0221] When the virtual scene is in a time-freeze state, in response to the photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene and obtain the first virtual scene image;
[0222] In photo mode, in response to the second time-stop trigger 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 the photo confirmation operation, the virtual camera is controlled to capture the image of the virtual scene and obtain the second virtual scene image.
[0224] In an optional implementation, based on the aforementioned scheme, the above-mentioned response to the photo-taking trigger operation to control the virtual scene to enter the photo-taking mode can be achieved through the following steps: responding to the first photo-taking trigger operation to control the virtual scene to enter the photo-taking mode and control the virtual scene to enter a time-freeze state; it can also perform the following steps: when the virtual scene is in a time-freeze state, responding to the second time-stop trigger operation to control the virtual scene to switch from a time-freeze state to a dynamic time state.
[0225] In an optional implementation, based on the aforementioned scheme, after controlling the virtual scene to switch from a time-static state to a dynamic time state, the following steps can also be performed: in response to the first time-stop trigger operation, controlling the virtual scene to enter a time-static state from a dynamic time state, in response to the photo confirmation operation, controlling the virtual camera to capture the image of the virtual scene, and obtaining the first virtual scene image.
[0226] In an optional implementation, based on the aforementioned scheme, responding to a photo-taking trigger operation and controlling the virtual scene to enter the photo-taking mode can be achieved through the following steps: responding to a second photo-taking trigger operation, controlling the virtual scene to enter the photo-taking 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-stop state.
[0227] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a dynamic time state, respond to the control operation for the controlled virtual character in the virtual scene, and control the controlled virtual character to perform the action corresponding to the control operation.
[0228] In an optional implementation, based on the aforementioned scheme, after controlling the virtual scene to enter the photo-taking mode, the following steps can also be performed: displaying a time-freeze control control in the graphical user interface; the aforementioned control of the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation in the photo-taking mode can be achieved through the following steps: in the photo-taking mode, controlling the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation on the time-freeze control control; the aforementioned control of the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation in the photo-taking mode can be achieved through the following steps: in the photo-taking mode, controlling the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation on the time-freeze control control.
[0229] In an optional implementation, based on the foregoing scheme, the control of the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation of the time-freeze control control can be achieved through the following steps: controlling the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation of the time-freeze control control for a first display state, wherein the first display state is used to indicate that the virtual scene is currently in a dynamic time state; the control of the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation of the time-freeze control control can be achieved through the following steps: controlling the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation of the time-freeze control control for a second display state, wherein the second display state is used to indicate that the virtual scene is currently in a time-freeze state.
[0230] In one alternative implementation, based on the aforementioned scheme, the virtual scene is a virtual scene corresponding to a single-player game.
[0231] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a photo-triggering operation, display a scene editing control in the graphical user interface; the scene editing control is used to edit the virtual scene in an editable state.
[0232] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a time-freeze state, control some or all scene editing controls to be in an uneditable 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-freeze state, the scene editing control is controlled to be in an uneditable state. This can be achieved through the following steps: when the virtual scene is in a time-freeze state, the scene character editing control is controlled to be in an uneditable state.
[0234] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a trigger operation on a scene editing control that is in an uneditable state, generate an uneditable prompt.
[0235] In an alternative implementation, based on the aforementioned scheme, 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 alternative implementation, based on the foregoing scheme, the following steps may also be performed: in response to the editing operation of the scene editing control in an editable state, control the editing of the virtual scene.
[0237] In an optional implementation, based on the foregoing scheme, the following steps may also be performed: in response to a photo-taking trigger operation, a mode control control is displayed in a graphical user interface; the mode control control is used to control the switching of the movable control object, which includes either a virtual camera or a controlled virtual character; when the virtual scene is in a time-static state, the mode control control is in a non-switchable state; when the virtual scene is in a dynamic time state, the mode control control is in a switchable state.
[0238] In an optional implementation, based on the aforementioned scheme, the following steps may also be performed: when the virtual scene is in a time-freeze state, in response to the image acquisition template selection operation, a target image acquisition template is determined from the candidate image acquisition templates; based on the target image acquisition template, a camera shooting command for the virtual camera is determined; based on the camera shooting command for the virtual camera, the virtual camera is controlled to acquire images of the virtual scene to obtain a first virtual scene image.
[0239] In one optional implementation, based on the aforementioned scheme, the candidate image capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works. Historically published works and / or preset works do not include virtual scene images captured in a time-still state.
[0240] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a pre-release operation for the target work, a first sub-interface is generated; the first sub-interface is used to edit the release information of the target work; the target work includes the captured first virtual scene image; in response to a release operation for the target work, the target work is released based on the release information edited in the first sub-interface.
[0241] In one alternative implementation, based on the aforementioned scheme, the first sub-interface displays a prompt message indicating that the target work is not supported as a screen capture template.
[0242] In an alternative implementation, based on the aforementioned scheme, after the target work is published, the following steps can also be performed: in response to the information display operation of the target work, a second sub-interface is generated, the second sub-interface containing the work information of the target work.
[0243] In one alternative implementation, based on the aforementioned scheme, the second sub-interface includes a time-stationary state marker.
[0244] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: in response to the application operation for the 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 can be controlled to enter a time-still state or a dynamic time state through the time-stop trigger operation. The time-stop function in shooting mode can be freely switched on and off, allowing users to edit the scene without exiting the camera shooting mode, thus enhancing the convenience and freedom of users in creating photographic works.
[0246] Bus 1330 is used to connect different components of electronic device 1300 and may include a data bus, an address bus and a control bus.
[0247] Electronic device 1300 can communicate with one or more external devices 1400 (such as keyboard, mouse, external controller, etc.) through I / O interface 1340.
[0248] Electronic device 1300 can communicate with one or more networks via network adapter 1350. For example, network adapter 1350 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, and near-field communication. Network adapter 1350 can communicate with other modules of electronic device 1300 via bus 1330.
[0249] Electronic device 1300 can display a graphical user interface, etc., via display 1360.
[0250] although Figure 13 As not shown in the diagram, other hardware and / or software modules may also be configured in the electronic device 1300, including but not limited to: a display, microcode, device driver, redundant processor, external disk drive array, RAID (Redundant Arrays of Independent Disks) system, tape drive, and data backup storage system.
[0251] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of this 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 and embodied by multiple modules or units.
[0252] Those skilled in the art will understand that various aspects of this disclosure can be implemented as systems, methods, or program products. Therefore, various aspects of this disclosure can be embodied in entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuit,” “module,” or “system.” Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0253] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is defined only by the appended claims.
Claims
1. A virtual scene control method, characterized in that, The method includes providing a graphical user interface via a terminal device, wherein the content displayed in the graphical user interface includes at least a portion of a virtual scene. In response to the photo-taking trigger operation, the virtual scene is controlled to enter photo-taking mode; In the photo-taking mode, in response to the first time-stop trigger operation, the virtual scene is controlled to enter a time-freeze state; When the virtual scene is in the time-freeze 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-taking mode, in response to the second time-stop trigger operation, the virtual scene is controlled to enter a 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 a second virtual scene image.
2. The method according to claim 1, characterized in that, The response to the photo-taking trigger operation, controlling the virtual scene to enter photo-taking mode, includes: In response to the first photo-taking trigger operation, the virtual scene is controlled to enter the photo-taking mode, and the virtual scene is controlled to enter a time-freeze state; The method further includes: When the virtual scene is in the time-freeze state, in response to the second time-stop trigger operation, the virtual scene is controlled to switch from the time-freeze state to the dynamic time state.
3. The method according to claim 2, characterized in that, After controlling the virtual scene to switch from the time-static 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-still state from the dynamic time state, so as to respond to the photo confirmation operation and control the virtual camera to capture the image of the virtual scene and obtain the first virtual scene image.
4. The method according to claim 1, characterized in that, The response to the photo-taking trigger operation, controlling the virtual scene to enter photo-taking mode, includes: In response to the second photo-taking trigger operation, the virtual scene is controlled to enter the photo-taking mode, and the virtual scene is controlled to be in a dynamic time state; The method further includes: When the virtual scene is in the dynamic time state, in response to the first time stop trigger operation, the virtual scene is controlled to switch from the dynamic time state to the time stop state.
5. The method according to claim 1, characterized in that, The method further includes: When the virtual scene is in the dynamic time state, in response to the control operation of the controlled virtual character in the virtual scene, the controlled virtual character is controlled to perform the action corresponding to the control operation.
6. The method according to claim 1, characterized in that, After controlling the virtual scene to enter the photo-taking mode, the method further includes: The graphical user interface displays a time freeze control. In the photo-taking mode, in response to a first time-stop trigger operation, controlling the virtual scene to enter a time-freeze state includes: In the photo mode, in response to a first time-stop trigger operation on the time-stop control control, the virtual scene is controlled to enter a time-stop state; In the photo-taking mode, in response to the second time-stop trigger operation, controlling the virtual scene to enter a dynamic time state includes: In the photo-taking mode, in response to a second time-stop trigger operation on the time-freeze control control, 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-freeze state in response to a first time-stop trigger operation on the time-freeze control control includes: In response to a first time-stop trigger operation of the time-stop control control for the first display state, the virtual scene is controlled to enter a time-stop state, wherein the first display state is used to characterize that the virtual scene is currently in a dynamic time state; The step of controlling the virtual scene to enter a dynamic time state in response to a second time-stop trigger operation on the time-stop control control includes: In response to a second time-stop trigger operation of the time-stop 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 indicate that the virtual scene is currently in a time-stop state.
8. The method according to claim 1, characterized in that, The virtual scene is the virtual scene corresponding to the single-player game.
9. The method according to claim 1, characterized in that, The method further includes: In response to a photo-taking trigger, 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 includes: When the virtual scene is in the time-freeze state, some or all of the scene editing controls are in an uneditable state.
11. The method according to claim 10, characterized in that, The scene editing control includes a scene character editing control. When the virtual scene is in the time-freeze state, the control portion of the scene editing control is in a non-editable state, including: When the virtual scene is in the time-freeze state, the scene character editing controls are made uneditable.
12. The method according to claim 10, characterized in that, The method further includes: In response to a trigger action on an edit control in a scene that is in an uneditable state, generate an uneditable prompt.
13. The method according to claim 9, characterized in that, The method further includes: 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 includes: In response to editing operations performed by scene editing controls that are in an editable state, the virtual scene is edited.
15. The method according to claim 1, characterized in that, The method further includes: In response to a photo-taking trigger operation, a mode control control is displayed in the graphical user interface; the mode control control is used to control the switching of the mobile control object, which includes either a virtual camera or a controlled virtual character. When the virtual scene is in the time-freeze state, the mode control control is kept in an unswitchable state. When the virtual scene is in the dynamic time state, the mode control control is in a switchable state.
16. The method according to claim 1, characterized in that, The method further includes: When the virtual scene is in the time-freeze state, in response to the image capture template selection operation, the target image capture template is determined from the candidate image capture templates; Based on the target image acquisition template, determine the camera capture command for the virtual camera; According to the camera shooting command of the virtual camera, the virtual camera is controlled to capture the image of the virtual scene to obtain the first virtual scene image.
17. The method according to claim 16, characterized in that, The candidate image capture templates include capture templates corresponding to historically published works and / or capture templates corresponding to preset works. The historically published works and / or preset works do not include virtual scene images captured in a time-still state.
18. The method according to claim 1, characterized in that, The method includes: In response to a pre-release operation for the target work, a first sub-interface is generated; the first sub-interface is used to edit the release information of the target work; the target work includes the captured images of the first virtual scene; In response to the 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 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 publishing the target work, the method further includes: In response to the information display operation of the target work, a second sub-interface is generated, which contains the work information of the target work.
21. The method according to claim 20, characterized in that, The second sub-interface includes a time-freeze state marker.
22. The method according to claim 20, characterized in that, The method includes: In response to the application operation for the target work, a prompt message is generated indicating that the target work is not supported as a screen capture template.
23. A virtual scene control device, characterized in that, A graphical user interface is provided via a terminal device, wherein the content displayed in the graphical user interface includes at least a portion of a virtual scene, and the device comprises: The photo mode entry module is used to respond to the photo-taking trigger operation and control the virtual scene to enter photo mode; A static state entry module is used in the photo-taking mode to control the virtual scene to enter a time-freeze state in response to a first time-stop trigger operation. The first image acquisition module is used to control the virtual camera to acquire the image of the virtual scene in response to the photo confirmation operation when the virtual scene is in the time-freeze state, so as to obtain the first virtual scene image. The dynamic state entry module is used in the photo mode to control the virtual scene to enter a dynamic time state in response to the second time stop trigger operation. The second image acquisition module is used to control the virtual camera to acquire the image of the virtual scene in response to the photo confirmation operation when the virtual scene is in the dynamic time state, so as to obtain the second virtual scene image.
24. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 22.
25. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute 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