Virtual scene shooting processing method and device, electronic equipment, storage medium and computer program product
By controlling virtual objects in virtual scenes to perform interactive operations, the shooting interaction methods are enriched, the problem of limited interactive methods in existing technologies is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202410330779.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2025-09-23
AI Technical Summary
The shooting and interactive methods of virtual scenes in existing technologies are relatively limited, affecting the user experience.
By controlling virtual objects to perform interactive operations that provide feedback on shooting operations, the shooting interaction methods of virtual scenes are enriched, real shooting scenes are simulated, and human-computer interaction is improved.
It improves the realism and interactivity of shooting in virtual scenes and enhances the user experience.
Smart Images

Figure CN120679155A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to computer application technology, and in particular to a method, device, electronic device, computer-readable storage medium, and computer program product for shooting and processing a virtual scene. Background Art
[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs. It has various typical application scenarios. For example, in virtual scenes such as games, it can simulate the real interaction process between virtual objects.
[0003] In related technologies, after a player receives a shooting task in a virtual scene, he shoots the virtual scene. When the target virtual object (such as a monster) shot is the virtual object set for the shooting task, the player can obtain a corresponding reward.
[0004] As can be seen from the above, the interactive shooting methods provided by relevant technologies are relatively limited, which affects the user experience. Summary of the Invention
[0005] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for shooting and processing a virtual scene, which can enrich the interactive mode of shooting in the virtual scene and improve the mode of human-computer interaction in the virtual scene.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] The present invention provides a method for capturing and processing a virtual scene, including:
[0008] Display virtual scenes;
[0009] In response to a capture trigger operation, performing a capture operation on the virtual scene, wherein a capture area of the capture operation is at least a portion of the virtual scene;
[0010] In response to the captured content of the capturing operation including at least one first virtual object in the virtual scene, the at least one first virtual object is controlled to perform an interactive operation for providing feedback on the capturing operation.
[0011] The embodiment of the present application provides a device for capturing and processing a virtual scene, comprising:
[0012] A display module, used for displaying a virtual scene;
[0013] a shooting module, configured to perform a shooting operation on the virtual scene in response to a shooting trigger operation, wherein a shooting area of the shooting operation is at least a portion of the virtual scene;
[0014] The interactive module is configured to control the at least one first virtual object to perform an interactive operation for providing feedback on the shooting operation in response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene.
[0015] An embodiment of the present application provides an electronic device, comprising:
[0016] Memory for storing computer programs or computer-executable instructions;
[0017] The processor is used to implement the virtual scene shooting processing method provided in the embodiment of the present application when executing the computer program or computer executable instructions stored in the memory.
[0018] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the method for shooting and processing a virtual scene provided in the embodiment of the present application is implemented.
[0019] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the method for shooting and processing a virtual scene provided in the embodiment of the present application is implemented.
[0020] The embodiments of the present application have the following beneficial effects:
[0021] By performing interactive operations for feedback of shooting operations through the first virtual object, the interactive mode of shooting in the virtual scene is enriched, and through this interactive mode, the real shooting scene is simulated, the authenticity of shooting in the virtual scene is improved, and interaction is promoted to improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1A 2 is a schematic diagram of a first application mode of a method for shooting and processing a virtual scene provided in an embodiment of the present application;
[0023] Figure 1B 2 is a schematic diagram of a second application mode of the virtual scene shooting and processing method provided in an embodiment of the present application;
[0024] Figure 2 is a structural diagram of an electronic device for photographing and processing provided by an embodiment of the present application;
[0025] Figure 3AThis is a first flow chart of a method for capturing and processing a virtual scene provided by an embodiment of the present application;
[0026] Figure 3B This is a second flow chart of the virtual scene shooting and processing method provided by an embodiment of the present application;
[0027] Figure 3C 3 is a schematic diagram of a third flow chart of a method for photographing and processing a virtual scene provided in an embodiment of the present application;
[0028] Figure 4 This is a first dialogue interface diagram provided in an embodiment of the present application;
[0029] Figure 5 is a schematic diagram of a shooting control provided in an embodiment of the present application;
[0030] Figure 6 is a schematic diagram of an anger state provided in an embodiment of the present application;
[0031] Figure 7 This is a second dialogue interface diagram provided in an embodiment of the present application;
[0032] Figure 8 is a schematic diagram of an article including photos taken by a player provided in an embodiment of the present application;
[0033] Figure 9 This is a flowchart of an embodiment of the present application for determining whether a captured photo meets task requirements;
[0034] Figure 10 This is a flowchart of determining whether a shot triggers feedback from a target, as provided in an embodiment of the present application;
[0035] Figure 11 This is a flow chart of generating an article after completing a shooting task, as provided in an embodiment of the present application;
[0036] Figure 12 This is a schematic diagram of receiving a shooting task provided in an embodiment of the present application.
[0037] It should be pointed out that the above-mentioned "first" and "second" are only used to distinguish different solutions, and do not represent the degree of distinction between the advantages and disadvantages of the solutions or the priority in the implementation process. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0039] In the following description, the terms "first\second" are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0040] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0041] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0043] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0044] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0045] 2) Client: An application running in a terminal to provide various services, such as a video player client, a game client, etc.
[0046] 3) Virtual scene: A virtual game scene displayed (or provided) when the game program is running on the terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimensions of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. The user can control the movement of virtual objects in the virtual scene.
[0047] 4) Virtual Objects: These are the images of various people and objects that can interact in a virtual scene, or movable objects within the virtual scene. These movable objects can be virtual people, virtual animals, animated characters, etc., such as people or animals displayed within the virtual scene. A virtual object can be a virtual avatar that represents the user within the virtual scene. A virtual scene can include multiple virtual objects, each with its own unique shape and volume, occupying a portion of the space within the virtual scene.
[0048] Among them, virtual command objects are virtual objects with command functions in the virtual scene (one player account can control at least one virtual command object), such as the gang leader or full-time commander of the in-game social group, responsible for coordinating the social group's current offensive strategy and team goal division. Virtual collaboration objects are virtual objects used to execute game tasks in the virtual scene (one player account can control at least one virtual collaboration object), such as ordinary members of the in-game social group, responsible for executing the social group's current offensive tasks.
[0049] 5) Scene data: This represents the various characteristics of virtual objects in a virtual scene during interaction, such as the location of the virtual objects in the virtual scene. Of course, different types of characteristics may be included depending on the type of virtual scene; for example, in a game's virtual scene, scene data may include the wait time required to activate various functions configured in the virtual scene (depending on the number of times the same function can be used within a specific timeframe), and may also represent the attribute values of various states of game characters, such as health (also known as red bar) and mana (also known as blue bar).
[0050] 6) Interaction process: the process by which virtual objects in a virtual scene develop based on the time or state of interaction, for example, the process by which virtual objects fight against each other in a game; the process by which virtual objects fight against each other in a scene in a game.
[0051] 7) User Interface (UI): refers to the overall design of the software's human-computer interaction, operating logic, and aesthetic interface. The user interface is the medium for interaction and information exchange between the system and the user. It realizes the conversion between the internal form of information and the form acceptable to humans. The user interface is designed to be the software between the user and the hardware for interaction and communication. The purpose is to enable users to operate the hardware conveniently and efficiently to achieve two-way interaction and complete the tasks they want to complete with the help of the hardware. The definition of user interface is broad, including human-computer interaction and graphical user interface. User interface exists in all fields involving information exchange between humans and machines.
[0052] The embodiments of the present application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for capturing and processing a virtual scene, which can enrich the interactive methods of capturing in a virtual scene and improve the methods of human-computer interaction in a virtual scene. To facilitate easier understanding of the method for capturing and processing a virtual scene provided by the embodiments of the present application, an exemplary implementation scenario of the method for capturing and processing a virtual scene provided by the embodiments of the present application is first described. The virtual scene in the method for capturing and processing a virtual scene provided by the embodiments of the present application can be completely output based on a terminal, or can be output based on the coordinated output of a terminal and a server.
[0053] In some embodiments, the virtual scene can be an environment for game characters to interact. For example, it can be an environment for game characters to fight in the virtual scene. By controlling the actions of the game characters, both parties can interact in the virtual scene, allowing users to relieve life stress during the game.
[0054] In one implementation scenario, see Figure 1A , Figure 1A This is a schematic diagram of the application mode of the shooting and processing method of the virtual scene provided in an embodiment of the present application. It is suitable for some application modes that completely rely on the graphics processing hardware computing power of the terminal 400 to complete the relevant data calculation of the virtual scene 100, such as stand-alone / offline mode games, and complete the output of the virtual scene through various types of terminals 400 such as smartphones, tablets and virtual reality / augmented reality devices.
[0055] As an example, types of graphics processing hardware include a central processing unit (CPU) and a graphics processing unit (GPU).
[0056] When forming the visual perception of the virtual scene 100, the terminal 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing and rendering of the display data, and outputs the video frames that can form the visual perception of the virtual scene on the graphics output hardware, for example, presenting two-dimensional video frames on the display screen of a smartphone, or projecting video frames on the lenses of augmented reality / virtual reality glasses to achieve a three-dimensional display effect; in addition, in order to enrich the perception effect, the terminal 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.
[0057] As an example, a client 410 (such as a stand-alone game application) is running on the terminal 400. During the operation of the client 410, a virtual scene including role-playing is output. The virtual scene can be an environment for game characters to interact, such as plains, streets, valleys, etc. for game characters to fight. Taking the first-person perspective display of the virtual scene 100 as an example, in response to a shooting trigger operation, a shooting operation is performed on the virtual scene 100, wherein the shooting area of the shooting operation is at least a part of the area in the virtual scene 100, and the shooting content in response to the shooting operation includes at least one first virtual object 110 in the virtual scene 100, and the at least one first virtual object 110 is controlled to perform an interactive operation for feedback of the shooting operation. The first virtual object 110 can be a game character controlled by a user (or player), that is, the virtual object is controlled by a real user and will operate in the virtual scene in response to the real user's operation on buttons (including joystick buttons, attack buttons, defense buttons, etc.). For example, when the real user moves the joystick button to the left, the first virtual object will move to the left in the virtual scene, and can also remain stationary, jump, and use various functions (such as skills and props). The first virtual object 110 can also be a non-player character (NPC) in the virtual scene interaction.
[0058] In another implementation scenario, see Figure 1B , Figure 1B It is a schematic diagram of the application mode of the shooting and processing method of the virtual scene provided in an embodiment of the present application, which is applied to the terminal 400 and the server 200, and is suitable for an application mode that relies on the computing power of the server 200 to complete the virtual scene calculation and output the virtual scene at the terminal 400.
[0059] Taking the visual perception of the virtual scene 100 as an example, the server 200 calculates the virtual scene-related display data (such as scene data) and sends it to the terminal 400 through the network 300. The terminal 400 relies on the graphics computing hardware to complete the loading, parsing and rendering of the calculated display data, and relies on the graphics output hardware to output the virtual scene to form visual perception. For example, a two-dimensional video frame can be presented on the display screen of a smartphone, or a video frame with a three-dimensional display effect can be projected on the lenses of augmented reality / virtual reality glasses. As for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal 400 can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.
[0060] As an example, a terminal 400 runs a client 410 (e.g., a network-based game application), which interacts with other users by connecting to a server 200 (e.g., a game server). The terminal 400 outputs a virtual scene 100 of the client 410, displaying the virtual scene 100 from a first-person perspective. In response to a capture trigger operation, a capture operation is performed on the virtual scene 100. The capture area of the capture operation is at least a portion of the virtual scene 100. The captured content in response to the capture operation includes at least one first virtual object 110 in the virtual scene 100. The at least one first virtual object 110 is controlled to perform an interactive operation for feedback of the capture operation. The first virtual object 110 can be a game character controlled by a user (or player). That is, the virtual object is controlled by a real user and will operate in the virtual scene in response to the real user's operation on buttons (including joystick buttons, attack buttons, defense buttons, etc.). For example, when the real user moves the joystick button to the left, the first virtual object will move to the left in the virtual scene. It can also remain stationary, jump, and use various functions (such as skills and props). The first virtual object 110 may also be a non-player character (NPC) in a virtual scene interaction.
[0061] In some embodiments, the terminal 400 can implement the shooting and processing method of the virtual scene provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, APPlication), that is, a program that needs to be installed in the operating system to run, such as a battle game APP (i.e., the above-mentioned client 410); it can also be a game applet that can be embedded in any APP, that is, a program that can be run only by downloading it into a browser environment. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0062] Taking a computer program as an application, in actual implementation, terminal 400 installs and runs an application that supports a virtual scene. This application can be any of a first-person shooter (FPS), a third-person shooter, a virtual reality application, a three-dimensional map program, or a multiplayer shooter survival game. A user uses terminal 400 to manipulate virtual objects in the virtual scene to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and constructing virtual buildings. Illustratively, the virtual object can be a virtual character, such as a simulated human character or an anime character.
[0063] In some embodiments, Figure 1B The server 200 in the example can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 400 can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to these. The terminal 400 and the server 200 can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0064] The following describes the structure of the electronic device for photographing and processing provided by the embodiment of the present application. Figure 2 , Figure 2 1 is a structural diagram of an electronic device 500 for shooting processing provided in an embodiment of the present application. Taking the electronic device 500 as a terminal as an example, Figure 2 The electronic device 500 for shooting processing shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 2 Various buses are labeled as bus system 540 .
[0065] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0066] The memory 550 includes a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory. The memory 550 may optionally include one or more storage devices physically remote from the processor 510.
[0067] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.
[0068] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0069] A network communication module 552 for reaching other electronic devices via one or more (wired or wireless) network interfaces 520 . Exemplary network interfaces 520 include Bluetooth, WiFi, and USB.
[0070] In some embodiments, the virtual scene shooting and processing device provided in the embodiments of the present application can be implemented in software. The virtual scene shooting and processing device provided in the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes.
[0071] Figure 2 A shooting and processing device 555 of a virtual scene stored in a memory 550 is shown, which can be software in the form of a program and a plug-in, and includes a series of modules, including a display module 5551, a shooting module 5552, and an interaction module 5553. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0072] As mentioned above, the virtual scene shooting processing method provided in the embodiment of the present application can be implemented by various types of electronic devices, such as terminals, servers, or a combination of the two. Therefore, the execution body of each step will not be repeated below. Figure 3A , Figure 3A This is a flow chart of a method for photographing and processing a virtual scene provided by an embodiment of the present application, combined with Figure 3A The steps shown are explained.
[0073] It should be noted that Figure 3A The method shown can be executed by various forms of computer programs running on the terminal 400, and is not limited to the above-mentioned client 410, but can also be the above-mentioned operating system 461, software modules and scripts. Therefore, the client should not be regarded as a limitation on the embodiments of the present application.
[0074] In step 101, a virtual scene is displayed.
[0075] The virtual scene includes at least one virtual object.
[0076] In step 102 , in response to a capture triggering operation, a capture operation is performed on the virtual scene, wherein the capture area of the capture operation is at least a partial area of the virtual scene.
[0077] Among them, the embodiments of the present application are not limited to the form of shooting trigger operation, for example, the shooting trigger operation is realized by triggering the shooting control, the shooting trigger operation is realized by somatosensory instructions, and the shooting trigger operation is realized by voice.
[0078] See also Figure 3B , Figure 3B is a flow chart of a method for photographing and processing a virtual scene provided in an embodiment of the present application. Figure 3B Before step 102, step 201 is also included: in step 201, in response to the operation of receiving the shooting task, the shooting control is displayed in the virtual scene; correspondingly, step 102 can be implemented through step 1021: in step 1021, in response to the triggering operation of the shooting control, the virtual scene is shot.
[0079] The shooting task is used to instruct to perform a shooting operation according to the task requirements. If the shooting content of the shooting operation matches the task requirements of the shooting task, it means that the shooting operation completes the shooting task.
[0080] In some embodiments, step 201 may be implemented by: displaying a shooting task in a virtual scene; and displaying shooting controls in the virtual scene in response to a triggering operation for the shooting task, wherein the receiving operation includes a triggering operation.
[0081] The shooting task may be issued by the background controlling the virtual scene. For example, when the virtual scene is a game, the shooting task is a built-in task issued by the background of the game.
[0082] As an example, a shooting task is displayed in a virtual scene. When a player wants to receive a shooting task, he or she triggers the shooting task to receive the shooting task. After receiving the shooting task, a shooting control is displayed in the virtual scene to enable the player to actively receive the shooting task issued by the background.
[0083] In some embodiments, step 201 can be implemented by: displaying a shooting task in a virtual scene; and displaying shooting controls in the virtual scene in response to a triggering operation of a second virtual object on the shooting task, wherein the second virtual object is a virtual object controlled by an account that logs into the virtual scene.
[0084] The shooting task may be issued by the background controlling the virtual scene. For example, when the virtual scene is a game, the shooting task is a built-in task issued by the background of the game.
[0085] like Figure 12 As shown, a shooting task 1202 is displayed in a virtual scene 1201. When the player wants to receive the shooting task, the shooting task is triggered by controlling the second virtual object 1203 to receive the shooting task. After receiving the shooting task, a shooting control 1204 is displayed in the virtual scene 1201 to enable the player to control the second virtual object to actively receive the shooting task issued by the background.
[0086] In some embodiments, step 201 can be implemented by displaying a conversation interface in a virtual scene logged in by a first account, and displaying a photography delegation request sent by a second account in the conversation interface, wherein the photography delegation request includes a photography task; and displaying photography controls in the virtual scene in response to the first account's approval of the photography delegation request. The claiming operation includes the first account's approval of the photography delegation request. Therefore, embodiments of the present application can accept the photography delegation request from the second account through a conversation to claim the photography task.
[0087] Among them, the embodiment of the present application is not limited to the form of the first account through the shooting entrustment request. For example, the first account triggers the shooting task sent by the second account through the conversation interface, and the shooting entrustment request can be passed; the first account completes the conversation with the second account through the conversation interface, and the shooting entrustment request can be passed, such as Figure 4 As shown, the "little baby" in the conversation interface 401 is the second account. The second account sends a photo entrustment to the first account, "Please help me take some photos of XX beasts." The first account replies "No problem", which completes the conversation with the second account and approves the photo entrustment request.
[0088] In some embodiments, after step 102, in response to the completion of the capture task corresponding to the capture request, the captured content of the capture operation is sent to the second account; and a push message is displayed, wherein the push message is used to instruct the first account to view the multimedia information generated by the second account based on the captured content. The embodiments of the present application are not limited to the form of the multimedia information; for example, the multimedia information may be graphics, text, pictures, videos, etc. The embodiments of the present application are not limited to the form of the captured content of the capture operation; the captured content may be pictures, text, pictures, videos, etc.
[0089] Continuing with the above example, Figure 8 As shown, after the first account (the player's account) completes the photo shoot, the content of the photo shoot is sent to the second account. The second account then references the photo 801 (i.e., the content of the photo shoot) taken by the first account to generate an article 802 (i.e., multimedia information) and publishes the article on the corresponding subscription account or newspaper 803. At the same time, the player will also receive a push message about the article, which is used to remind the player to check the article on the corresponding subscription account or newspaper.
[0090] In some embodiments, step 201 may be implemented in the following manner: in response to a receiving operation of a shooting task, jumping to a shooting location associated with the shooting task, and displaying a shooting control at the shooting location.
[0091] As an example, when a set shooting location is associated with a shooting task, after the player receives the shooting task, he or she can directly jump to the corresponding location (ie, the shooting location) through the link of the shooting location.
[0092] In some embodiments, step 201 can be implemented by: in response to the operation of receiving the shooting task, controlling the second virtual object to move to the shooting position and displaying the shooting control at the shooting position, wherein the second virtual object is a virtual object controlled by the account logged into the virtual scene.
[0093] As an example, after the player receives the shooting task, he can control the second virtual object to move to the shooting position associated with the shooting task.
[0094] In step 103 , in response to the captured content of the capture operation including at least one first virtual object in the virtual scene, the at least one first virtual object is controlled to perform an interactive operation for providing feedback on the capture operation.
[0095] The embodiments of the present application are not limited to the form of the captured content of the shooting operation, and the captured content can be pictures, graphics, videos, etc. The first virtual object can be a game character controlled by a user (or player), that is, the first virtual object is controlled by a real user and will operate in the virtual scene in response to the real user's operation on buttons (including joystick buttons, attack buttons, defense buttons, etc.). The first virtual object can also be a non-player character (NPC) in the virtual scene interaction.
[0096] The captured content may be the content captured during the capture process, that is, the content of the virtual scene falling into the capture area during the capture process.
[0097] The captured content may be the content in the captured result (such as a picture or video) after the captured image is captured. In this regard, when the captured image includes the first virtual object, the first virtual object may perform an interactive operation.
[0098] In some embodiments, step 103 can be implemented by: in response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene, and the at least one first virtual object meets the interaction condition, controlling the at least one first virtual object to perform an interactive operation for feedback of the shooting operation.
[0099] For example, when the captured content includes at least one first virtual object, the trigger condition (i.e., interaction condition) of the captured reaction of the first virtual object is queried based on the capture of the first virtual object to determine whether the captured first virtual object needs to be interacted with. When the captured first virtual object meets the interaction condition, it is determined that the captured first virtual object needs to be interacted with.
[0100] In some embodiments, the interaction conditions include at least one of the following: the duration of the first virtual object being photographed is greater than a duration threshold; the ratio of the size of the first virtual object being photographed to the size of the first virtual object is greater than a ratio threshold; the first virtual object is photographed at a set time, the set time is the time associated with the shooting task, and the shooting content of the shooting operation is used to match the task requirements of the shooting task; the first virtual object is photographed at a set position, the set position is the position associated with the shooting task; the first virtual object is a virtual object associated with the shooting task; the state of the first virtual object when it is photographed is the set state.
[0101] For example, when the duration of the first virtual object being photographed is greater than the duration threshold, it means that the first virtual object is photographed for a long enough time, it is determined that the first virtual object is photographed, and the first virtual object can be controlled to interact; when the ratio of the size of the first virtual object being photographed to the size of the first virtual object is greater than the ratio threshold, it means that the first virtual object falls into the shooting screen large enough, it is determined that the first virtual object is photographed, and the first virtual object can be controlled to interact; when the set position is a position within a set distance from the second virtual object, when the first virtual object is photographed at a position within the set distance from the second virtual object, the first virtual object can be controlled to interact. The first virtual object can be controlled to interact with the second virtual object; the virtual object associated with the shooting task can be a virtual object that needs to be followed, a virtual object that needs to be found, etc. specified by the shooting task; for example, the setting state is a resting state, and when the first virtual object is photographed, it is in a resting state. Since the shooting operation alarms the resting first virtual object, the first virtual object will enter an attacking state and perform an interactive operation of attacking the second virtual object, and the second virtual object is a virtual object controlled by the account that logs in to the virtual scene; for example, when the setting state is that the first virtual object is in a combat state or a state of defeating a monster, the first virtual object can be controlled to interact.
[0102] In some embodiments, the set state may be triggered by a specific virtual prop released by a second virtual object, where the second virtual object is a virtual object controlled by an account logged into the virtual scene, and the specific virtual prop is a virtual prop held by the second virtual object. The specific virtual prop has a specific function, and the specific function is used to control the virtual object hit by the specific virtual prop to be in a set state, and the set state may be a locked state, a state in a specific posture, a state of performing a specific action, etc. The specific virtual prop may be a virtual prop received when the account logged into the virtual scene (or the second virtual object) receives the shooting task, or a virtual prop automatically synthesized according to the shooting task after the account logged into the virtual scene (or the second virtual object) receives the shooting task, or a virtual prop manually synthesized according to the shooting task after the account logged into the virtual scene (or the second virtual object) receives the shooting task.
[0103] As an example, the task requirement of a shooting task is to take a photo of a first virtual object in a specific posture. After the account that logs in to the virtual scene receives the shooting task, a specific virtual prop is automatically synthesized according to the shooting task. The second virtual object controlled by the account holds the specific virtual prop. When the second virtual object encounters the first virtual object, the specific virtual prop is released toward the first virtual object. The specific virtual prop hits the first virtual object, and the first virtual object is in a specific posture. In response to the shooting trigger operation, a shooting operation is performed on the first virtual object in the specific posture. In response to the shooting operation, the shooting content includes the first virtual object, and the first virtual object is controlled to perform an interactive operation for feedback of the shooting operation.
[0104] In some embodiments, before "controlling at least one first virtual object to perform an interactive operation for feedback of the shooting operation" in step 103, the shooting content may be displayed; in response to a selection operation on a first virtual object in the shooting content, the selected first virtual object is determined as the at least one first virtual object. The shooting content is the shooting image corresponding to the shooting operation.
[0105] For example, the shooting content includes at least one first virtual object, and the player can manually select the first virtual object that needs to be interacted with in the shooting content, so that in response to the selection operation of the first virtual object in the shooting content, the selected first virtual object is determined as at least one first virtual object.
[0106] In some embodiments, when at least one is plural, see Figure 3C , Figure 3C is a flow chart of a method for photographing and processing a virtual scene provided in an embodiment of the present application. Figure 3C Step 103 can be implemented by step 1031: In step 1031, in response to the captured content of the capture operation including at least one first virtual object in the virtual scene, different first virtual objects are controlled to perform different types of interactive operations, where the types of interactive operations include interference operations and cooperation operations, where the interference operation is used to provide negative feedback to the capture operation, and the cooperation operation is used to provide positive feedback to the capture operation. For example, from multiple first virtual objects, some first virtual objects for performing interference operations are determined to perform the interference operation; and from multiple first virtual objects, some first virtual objects for performing cooperation operations are determined to perform the cooperation operation.
[0107] The conflicting operation may include an attacking operation, an operation to avoid the camera, an operation to reduce intimacy with the second virtual object, etc. The cooperating operation may include a defensive operation, an operation to face the camera directly, an operation to increase intimacy with the second virtual object, etc. For example, the captured content includes four first virtual objects. The first first virtual object performs an attacking operation, the second first virtual object performs an operation to avoid the camera, the third first virtual object performs a defensive operation, and the fourth first virtual object performs an operation to face the camera directly.
[0108] Of course, at least one first virtual object may perform the same type of interactive operation. For example, at least one first virtual object may all perform a collision operation or a cooperation operation.
[0109] In some embodiments, before "controlling different first virtual objects to perform different types of interactive operations" in step 1031, in response to a first selection operation on at least one first virtual object, the first virtual object selected by the first selection operation can be determined as the first virtual object for performing a conflict operation; in response to a second selection operation on at least one first virtual object, the first virtual object selected by the second selection operation can be determined as the first virtual object for performing a cooperation operation.
[0110] For example, the shooting content includes multiple first virtual objects, and the player can manually select the first virtual object in the shooting content for performing the interference operation, so that in response to the first selection operation for at least one first virtual object, the first virtual object selected by the first selection operation is determined as the first virtual object for performing the interference operation; the player can manually select the first virtual object in the shooting content for performing the cooperation operation, so that in response to the second selection operation for at least one first virtual object, the first virtual object selected by the second selection operation is determined as the first virtual object for performing the cooperation operation.
[0111] In some embodiments, before "controlling different first virtual objects to perform different types of interactive operations" in step 1031, when the first virtual object meets a conflict condition, the first virtual object can be determined as the first virtual object for performing the conflict operation; when the first virtual object does not meet the conflict condition, the first virtual object can be determined as the first virtual object for performing the cooperation operation; wherein the conflict condition includes at least one of the following: an attribute of the first virtual object is a set attribute, and a position of the first virtual object in the shooting area is a set position.
[0112] Taking the example of the conflict condition including the attribute of the first virtual object being a set attribute, the set attribute is an attack attribute. When the attribute of the first virtual object is the attack attribute, the first virtual object is determined as the first virtual object for performing a conflict operation, and the first virtual object is controlled to perform a conflict operation corresponding to the set attribute, such as an attack operation; when the attribute of the first virtual object is the defense attribute, the first virtual object is determined as the first virtual object for performing a cooperation operation, and the first virtual object is controlled to perform a cooperation operation corresponding to the set attribute, such as a defense operation.
[0113] Taking the example where the interference condition includes the position of the first virtual object in the shooting area as a set position, the set position is the edge position of the shooting area. When the first virtual object is at the edge position of the shooting area, the first virtual object is determined as the first virtual object for performing the interference operation, and the first virtual object is controlled to perform the interference operation corresponding to the edge position, such as the operation of avoiding the lens to avoid accidentally entering the lens; when the first virtual object is in the middle position of the shooting area, the first virtual object is determined as the first virtual object for performing the cooperation operation, and the first virtual object is controlled to perform the cooperation operation corresponding to the edge position, such as the operation of facing the lens directly to better enter the lens.
[0114] In some embodiments, before "controlling different first virtual objects to perform different types of interactive operations" in step 1031, a prediction model can be called based on multiple first virtual objects to perform prediction processing to obtain a probability distribution of each first virtual object performing an interactive operation, wherein the probability distribution includes the probability of the first virtual object performing different types of interactive operations, and the prediction model is obtained by training virtual object samples and type annotations of the interactive operations performed by the virtual object samples; the following processing is performed for each type of interactive operation: from the probabilities included in multiple probability distributions, the maximum probability of the type of interactive operation is determined; and the first virtual object corresponding to the probability distribution including the maximum probability is determined to perform the type of interactive operation.
[0115] Among them, the embodiments of the present application are not limited to the model structure of the prediction model. For example, the prediction model can be a convolutional neural network, a deep neural network, etc.
[0116] It should be noted that before applying the prediction model, it is necessary to train the initial prediction model, and then put the trained prediction model into application. Among them, the prediction model is obtained by training virtual object samples and the type annotations of the interactive operations performed by the virtual object samples. For example, based on the virtual object samples, the initial prediction model is called for prediction processing to obtain the probability distribution of the virtual object samples performing interactive operations. After determining the value of the loss function of the prediction model through the probability distribution of the interactive operations performed by the virtual object samples and the type annotations of the interactive operations performed by the virtual object samples, it is possible to determine whether the value of the loss function exceeds the preset threshold. When the value of the loss function exceeds the preset threshold, the error signal of the prediction model is determined based on the loss function, the error information is back-propagated in the prediction model, and the model parameters of each layer are updated during the propagation process. Among them, the embodiments of the present application are not limited to the form of the loss function, for example, it can be a cross entropy loss function, an L2 loss function, etc.
[0117] Here, we explain backpropagation. Training sample data is input into the input layer of a neural network model, passing through the hidden layers, and finally reaching the output layer to output the result. This is the forward propagation process of the neural network model. Since there is an error between the output of the neural network model and the actual result, the error between the output and the actual value is calculated and propagated backward from the output layer to the hidden layers until it reaches the input layer. During the backpropagation process, the values of the model parameters are adjusted based on the error. Specifically, a loss function is constructed based on the error between the output and the actual value, and the partial derivatives of the loss function with respect to the model parameters are calculated layer by layer to generate the gradient of the loss function with respect to the model parameters of each layer. Since the direction of the gradient indicates the direction of error expansion, the gradient of the model parameters is negated and summed with the original parameters of each layer. The resulting sum is used as the updated model parameters of each layer, thereby reducing the error caused by the model parameters. This process is iterated continuously until convergence. The prediction model is a neural network model.
[0118] For example, if the multiple first virtual objects are virtual object 1 and virtual object 2, and the types of interactive operations include conflicting operations and cooperative operations, then the prediction model is called based on virtual object 1 and virtual object 2 for prediction processing to obtain probability distribution 1 of virtual object 1 performing the interactive operation (i.e., the probability of virtual object 1 performing the conflicting operation is 0.8, and the probability of virtual object 1 performing the cooperative operation is 0.2), and probability distribution 2 of virtual object 2 performing the interactive operation (i.e., the probability of virtual object 2 performing the conflicting operation is 0.7, and the probability of virtual object 2 performing the cooperative operation is 0.3). In this regard, for the conflicting operation, since the maximum probability of performing the conflicting operation in probability distribution 1 and probability distribution 2 is 0.8, it is determined that the virtual object 1 corresponding to probability distribution 1 including 0.8 performs the conflicting operation; for the cooperative operation, since the maximum probability of performing the cooperative operation in probability distribution 1 and probability distribution 2 is 0.7, it is determined that the virtual object 2 corresponding to probability distribution 2 including 0.7 performs the cooperative operation.
[0119] In some embodiments, "controlling at least one first virtual object to perform an interactive operation for feeding back the shooting operation" in step 103 may be implemented by controlling different first virtual objects to perform interactive operations with different feedback levels.
[0120] Among them, the feedback degree is positively correlated with the following parameters: the intimacy between the first virtual object and the second virtual object, the second virtual object is a virtual object controlled by the account that logs into the virtual scene, the number of times the first virtual object is photographed, and the attribute value of the first virtual object; the feedback degree is negatively correlated with the following parameters: the distance between the first virtual object and the second virtual object.
[0121] Taking the intimacy between the first virtual object and the second virtual object as an example, if the interactive operation is a defensive operation, then the higher the intimacy between the first virtual object and the second virtual object, the first virtual object will perform a more defensive operation, so as to improve the defensive power of the first virtual object through the interactive operation, thereby effectively protecting the second virtual object.
[0122] Taking the number of times the first virtual object is photographed as an example, the interactive operation is a defensive operation. Then, the more times the first virtual object is photographed, the stronger the defensive operation performed by the first virtual object. The defensive power of the first virtual object is improved through the interactive operation, thereby effectively protecting the second virtual object.
[0123] For example, let's take the attribute value of a first virtual object as an example. For example, if the attribute value is an attack value and the interactive operation is an attack operation, then the higher the attack value of the first virtual object, the first virtual object will perform an attack operation with a stronger attack force, thereby increasing the difficulty of the shooting operation. However, the embodiments of the present application are not limited to the form of attribute values; for example, the attribute value can be an energy value, an attack value, a defense value, etc.
[0124] For example, the distance between the first virtual object and the second virtual object is used as an example for explanation. The interactive operation is a shaking operation, and the first virtual object is a leaf. Then, the closer the leaf is to the second virtual object, the more it shakes, thereby indicating the focus position of the lens through the degree of shaking.
[0125] In some embodiments, the shooting content of the shooting operation is used to match the task requirements of the shooting task; in response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene, when controlling at least one first virtual object to perform an interactive operation for feedback of the shooting operation, the shooting content of the shooting operation can partially match the task requirements of the shooting task, and prompt information can be displayed, wherein the prompt information is used to prompt the completion of part of the task requirements of the shooting task; in response to the shooting content of the shooting operation completely matching the task requirements of the shooting task, a reward corresponding to the shooting task is displayed.
[0126] For example, a shooting task has multiple task requirements. When the shooting content of the shooting operation matches one task requirement of the shooting task, a prompt message is displayed in the virtual scene, and the prompt message is used to prompt the completion of one task requirement; when the shooting content of the shooting operation matches multiple task requirements of the shooting task, a task completion prompt message is displayed in the virtual scene, and the task completion prompt message is used to prompt the completion of multiple task requirements, and the reward corresponding to the shooting task is displayed.
[0127] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.
[0128] The embodiments of the present application can be applied to various virtual scenes, such as virtual scenes of games, and can simulate the real interaction process between virtual objects. The following description will be made using games as an example.
[0129] In related technologies, after receiving a photography mission, players take photos of a virtual scene. If the captured virtual object (such as a monster) matches the virtual object specified in the mission, the player receives a corresponding reward. However, the interactive photography methods provided by related technologies are relatively limited, affecting the user experience.
[0130] In order to solve the above problems, the embodiments of the present application provide a method for shooting and processing virtual scenes. Shooting in virtual scenes is no longer limited to the shooting behavior itself, but can also form a chemical reaction with the shooting target (that is, the virtual object being photographed), such as angering monsters, scaring away monsters, angering the photographed heroes and causing a decrease in favorability, and so on. After the shooting is completed, the photographed photos can also cause subsequent content changes, that is, not only will the corresponding shooting tasks be completed, but virtual objects such as NPCs that issue shooting tasks will also use the photos taken by players as part of the article content, directly write the corresponding articles, and publish them on corresponding magazines or subscription accounts and other media.
[0131] The following combination Figure 4-Figure 8 , the shooting and processing method of the virtual scene provided in the embodiment of the present application is explained from the product side.
[0132] like Figure 4 As shown, other players or some NPCs can leave messages in the game through the chat interface 401 to entrust the player to help with shooting. In the embodiment of the present application, the message method can be used to ask players to help with some inspection behaviors. If the player accepts the shooting entrustment, the corresponding shooting task will be bound to the virtual object controlled by the player, for example, the shooting task logo will be displayed on the virtual object controlled by the player to remind the player to perform the shooting operation corresponding to the shooting task.
[0133] NPC-commissioned photography tasks can be triggered by completing a conversation. This means that after a player completes a conversation with an NPC about photography, they automatically accept the photography task. For photography tasks commissioned between players, players must manually edit the target using a template to generate the task, which is then sent to other players in the form of a structure in the conversation.
[0134] For some shooting tasks, you can also add corresponding location links or target links to the shooting tasks. When the player receives the shooting task and clicks on it, the virtual object controlled by the player will be directly teleported to the map corresponding to the location link or target link. If it is a single-player game, you can also directly teleport to the vicinity of the shooting target corresponding to the location link or target link, and then let the player continue to find the shooting target and shoot it.
[0135] After receiving the shooting task, the player can shoot at any time in the game. Figure 5 As shown, after the player receives the shooting task, the player triggers the shooting control 501 displayed in the virtual scene to perform the shooting operation. It should be noted that after the player receives the shooting task, the shooting system will make a corresponding judgment. If it is determined that some of the shooting requirements of the shooting task are met, the corresponding shooting task will be progressed accordingly, indicating that the part of the shooting task is completed; if it is determined that all the shooting requirements of the shooting task are met, the shooting task will be automatically completed.
[0136] When a player shoots a target (i.e., a virtual object associated with a shooting task), it is possible that the target will be triggered to perform an interactive operation to provide feedback on the shooting operation, such as triggering a change in the target's state. For example, the target is configured with a trigger condition (also known as an interaction condition), which means that the target may change state after being shot in a set state. For example, when shooting a monster, it may trigger the monster to flee, become angry (i.e., increase its attack power), cooperate with the shooting, and other state changes; Figure 6 As shown, when the virtual object 601 controlled by the player shoots the NPC 602, the anger state of the NPC 602 may be triggered, such as displaying an anger mark 603 on the NPC. After the NPC enters the angry state, the NPC may attack the virtual object controlled by the player or reduce the intimacy with the player.
[0137] After completing the corresponding shooting task, players can submit the photos they took in the corresponding dialogue. Figure 7 As shown, after completing some of the photography tasks entrusted by the NPC, a submission dialogue will be triggered, that is, a dialogue interface 701 will be displayed, and the player can then submit the photos 702 taken in the dialogue interface 701. When the photography task is completed, the player can receive the task reward corresponding to the photography task.
[0138] In some embodiments, some shooting tasks will be packaged as NPCs needing to write articles or reports and entrust players to help shoot. Figure 8As shown, after the player helps to take the photo, the NPC will quote the player's photo 801 to generate an article 802 and publish it on the corresponding subscription account or newspaper 803. At the same time, the player will also receive a push message of the article, which is used to remind the player to check the article on the corresponding subscription account or newspaper.
[0139] The following combination Figures 9-11 , from a technical perspective, the shooting and processing method of the virtual scene provided in the embodiment of the present application is explained.
[0140] like Figure 9 As shown, Figure 9 This is a flowchart of the embodiment of the present application for determining whether the photographed photo meets the task requirements, combined with Figure 9 The steps shown are explained.
[0141] Step 901: The client uploads the player's account (ID) and key elements contained in the photo to the server.
[0142] Here, after the player takes a photo of a virtual object in a virtual scene, the client will send the player's ID and key elements contained in the photo (such as the virtual object's identifier, shooting location, shooting time, etc.) to the server.
[0143] Step 902: The server determines whether the shooting task accepted by the player requires key elements. If the shooting task accepted by the player does not require key elements, the server proceeds to step 903A; if the shooting task accepted by the player requires key elements, the server proceeds to step 903B.
[0144] After receiving the key elements from the player's account and photo, the server determines whether any of the photo shoots the player has accepted require these key elements. A photo shoot consists of at least one task (one task with one requirement), and the server checks to see if the key elements meet the requirements. If they do, the task requires them; if they don't, the task doesn't require them.
[0145] Step 903A: The server sends a notification of no progress to the client.
[0146] Here, if the server determines that there are no related tasks requiring these key elements in the shooting tasks that the player has accepted, a notification of no progress will be sent to the client, and the client will not trigger any additional reactions after receiving the information.
[0147] Step 903B: The server sends the tasks that meet the task conditions and information about corresponding progress changes to the client.
[0148] If the server determines that a photo task already accepted requires these key elements, it will then determine whether the player's photo meets the required element types and combinations. If so, the corresponding task progress will be advanced. Simultaneously, the server will send the client information about the task that meets the requirements and the corresponding progress changes.
[0149] Step 904A: The client does not trigger additional reactions.
[0150] Here, the client receives a notification that there is no progress, but no additional reactions are triggered.
[0151] Step 904B: The client displays a progress change prompt of the corresponding task.
[0152] Here, after the client receives the tasks that meet the task conditions and the corresponding progress change information sent by the server, it will display the progress change prompt of the corresponding task. If a task has been completed, the corresponding task completion prompt will also be played.
[0153] like Figure 10 As shown, Figure 10 This is a flow chart of determining whether a shot triggers feedback from the target, provided by an embodiment of the present application. Figure 10 The steps shown are explained.
[0154] Step 1001: The client uploads the player's account (ID) and key elements contained in the photo to the server.
[0155] Here, after the player takes a photo of a virtual object in a virtual scene, the client will send the player's ID and key elements contained in the photo (such as the virtual object's identifier, shooting location, shooting time, etc.) to the server.
[0156] Step 1002: The server determines whether the triggering condition of the target's reaction to being photographed is met. If the triggering condition of the target's reaction to being photographed is not met, the server proceeds to step 1003A; if the triggering condition of the target's reaction to being photographed is met, the server proceeds to step 1003B.
[0157] Here, after receiving the player's account and key elements in the photo, the server will query the corresponding trigger conditions (i.e., interaction conditions) for the target being photographed and determine whether the target is met to trigger the photographed reaction. The photographed reaction is an interactive operation used to provide feedback on the photographing operation. For example, if Monster A's photographed reaction is anger, and the trigger condition is being photographed within 20 meters and having a 20% chance of anger, then after the player takes the photo, the server will determine whether Monster A's anger is triggered based on the trigger conditions of the photographed reaction.
[0158] Step 1003A: The server sends a no-response notification to the client.
[0159] Here, after the server completes the judgment, it will send the judgment result to the client. If the trigger condition of the photographed target's reaction is not met, the server will send a notification of no reaction.
[0160] Step 1003B: The server sends information about the shooting target and the corresponding shot reaction to the client.
[0161] Here, after the server has finished judging, it will send the judgment result to the client. If the triggering condition of the shooting target's reaction is met, the server will send the shooting target and the corresponding reaction information to the client.
[0162] Step 1004A: The client does not trigger additional reactions.
[0163] Here, after the client receives the notification of no response, it will not trigger additional responses of the shooting target.
[0164] Step 1004B: The client displays the target's reaction to being photographed.
[0165] Here, after the client receives the information of the shooting target and the corresponding shooting reaction sent by the server, it displays the shooting reaction of the shooting target.
[0166] like Figure 11 As shown, Figure 11 This is a flow chart of generating an article after completing a shooting task provided by the embodiment of the present application, combined with Figure 11 The steps shown are explained.
[0167] Step 1101: The server issues subsequent tasks.
[0168] Here, after the shooting is completed, the server will determine whether there are any subsequent tasks (such as sending an article or triggering an additional conversation, etc.). If there are subsequent tasks, the server will send the subsequent tasks (including triggering a conversation and the identification number (ID) of the article) to the client.
[0169] Step 1102: After receiving the subsequent task, the client displays prompts of the corresponding dialogue and article.
[0170] Step 1103: The client uploads the player's account and article, the conversation identification number, and the corresponding reading status.
[0171] Here, after seeing the prompt, the player will go to view the corresponding article or conversation. If the player opens the corresponding article or conversation, the client will upload the player's account and the identification number of the article or conversation as well as the corresponding reading status.
[0172] Step 1104 : The server determines whether an additional reward or title is triggered. If an additional reward or title is triggered, the process proceeds to step 1105 .
[0173] Here, after the server receives the player's account and article, the conversation identification number and the corresponding reading status uploaded by the client, it will determine whether additional rewards or titles will be triggered.
[0174] Step 1105: The server sends the triggered reward identifier or title identifier.
[0175] Here, if the player views the corresponding article or dialogue and there is a corresponding reward or title, the server sends the triggered reward identifier or title identifier to the client.
[0176] Step 1106: The client displays the reward or title.
[0177] Here, after the client receives the reward logo or title logo, it will display the reward or title to the player.
[0178] In summary, the virtual scene shooting processing method provided by the embodiment of the present application can not only realize NPC entrusting players to shoot, but also realize mutual entrustment of shooting between players, which directly enriches the content types of shooting gameplay and strengthens the social interaction between players; the shooting content is no longer limited to following virtual objects (such as monsters), searching for virtual objects (such as rare objects or scenery), etc., but can also be shooting other players fighting, the moment of defeating monsters, etc., which directly enhances the player's sense of pride in playing the game in daily life, and at the same time enhances the player's desire to play the game; shooting itself is no longer just one's own behavior, but may also form a chemical reaction with the shooting target, such as angering the monster, scaring it away A series of reactions such as monsters, angering the heroes photographed and reducing their favorability, etc., directly make the entire virtual world more real and deepen the player's sense of immersion. At the same time, due to the increase in the relative changes of the photographed objects after shooting, the fun of the shooting gameplay is also enhanced. After the shooting is completed, the photos taken can also cause subsequent content changes, that is, not only will the corresponding shooting tasks be completed, but the virtual objects such as NPCs that issue shooting tasks will also use the photos taken by players as part of the article content, directly write the corresponding articles, and publish them in the corresponding magazines or subscription accounts and other media. This will give players more sense of surprise and honor, and at the same time allow players to have more content to experience.
[0179] So far, the shooting and processing method of the virtual scene provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the various modules in the virtual scene shooting and processing device 555 provided by the embodiment of the present application that cooperate to implement the shooting and processing solution of the virtual scene.
[0180] The display module 5551 is used to display a virtual scene; the shooting module 5552 is used to perform a shooting operation on the virtual scene in response to a shooting trigger operation, wherein the shooting area of the shooting operation is at least a partial area in the virtual scene; the interactive module 5553 is used to control at least one of the first virtual objects to perform an interactive operation for feedback of the shooting operation in response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene.
[0181] In some embodiments, the interaction module 5553 is also used to control at least one first virtual object to perform an interactive operation for feedback on the shooting operation in response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene and at least one first virtual object meeting the interaction condition.
[0182] In some embodiments, the interaction condition includes at least one of the following: the duration of the first virtual object being photographed is greater than a duration threshold; the ratio of the size of the first virtual object being photographed to the size of the first virtual object is greater than a ratio threshold; the first virtual object is photographed at a set time, the set time is the time associated with the shooting task, and the shooting content of the shooting operation is used to match the task requirements of the shooting task; the first virtual object is photographed at a set position, the set position is the position associated with the shooting task; the first virtual object is a virtual object associated with the shooting task; the state of the first virtual object when it is photographed is the set state.
[0183] In some embodiments, before controlling at least one of the first virtual objects to perform an interactive operation for feedback on the shooting operation, the interactive module 5553 is also used to display the shooting content; in response to a selection operation on the first virtual object in the shooting content, the selected first virtual object is determined as at least one of the first virtual objects.
[0184] In some embodiments, when the at least one is multiple, the interaction module 5553 is also used to control different first virtual objects to perform different types of interaction operations, wherein the types of interaction operations include conflict operations and cooperation operations, the conflict operation is used to negatively feedback the shooting operation, and the cooperation operation is used to positively feedback the shooting operation.
[0185] In some embodiments, before controlling different first virtual objects to perform different types of interactive operations, the interactive module 5553 is further used to, in response to a first selection operation for at least one first virtual object, determine the first virtual object selected by the first selection operation as the first virtual object for performing the interference operation; and in response to a second selection operation for at least one first virtual object, determine the first virtual object selected by the second selection operation as the first virtual object for performing the cooperation operation.
[0186] In some embodiments, before controlling different first virtual objects to perform different types of interactive operations, the interactive module 5553 is further used to determine the first virtual object as the first virtual object for performing the interference operation when the first virtual object meets the interference condition; when the first virtual object does not meet the interference condition, determine the first virtual object as the first virtual object for performing the cooperation operation; wherein the interference condition includes at least one of the following: the attribute of the first virtual object is a set attribute, and the position of the first virtual object in the shooting area is a set position.
[0187] In some embodiments, before controlling different first virtual objects to perform different types of interactive operations, the interactive module 5553 is further used to call a prediction model based on multiple first virtual objects to perform prediction processing, and obtain a probability distribution of each first virtual object performing an interactive operation, wherein the probability distribution includes the probability of the first virtual object performing different types of interactive operations, and the prediction model is obtained by training virtual object samples and type annotations of the interactive operations performed by the virtual object samples; the following processing is performed for each of the interactive operations of the type: from the probabilities included in the multiple probability distributions, the maximum probability of the interactive operation of the type is determined; and the first virtual object corresponding to the probability distribution including the maximum probability is determined to perform the interactive operation of the type.
[0188] In some embodiments, the interaction module 5553 is further used to control different first virtual objects to perform interaction operations with different feedback levels.
[0189] In some embodiments, the feedback level is positively correlated with the following parameters: the intimacy between the first virtual object and the second virtual object, the second virtual object is a virtual object controlled by the account that logs into the virtual scene, the number of times the first virtual object is photographed, and the attribute value of the first virtual object; the feedback level is negatively correlated with the following parameters: the distance between the first virtual object and the second virtual object.
[0190] In some embodiments, the shooting content of the shooting operation is used to match the task requirements of the shooting task; in response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene, when controlling at least one first virtual object to perform an interactive operation for feedback of the shooting operation, the shooting module 5552 is also used to display prompt information in response to the shooting content of the shooting operation partially matching the task requirements of the shooting task, wherein the prompt information is used to prompt the completion of part of the task requirements of the shooting task; in response to the shooting content of the shooting operation completely matching the task requirements of the shooting task, display the reward corresponding to the shooting task.
[0191] In some embodiments, before performing a shooting operation on the virtual scene in response to a shooting trigger operation, the shooting module 5552 is also used to display shooting controls in the virtual scene in response to a shooting task receipt operation; and perform a shooting operation on the virtual scene in response to a trigger operation on the shooting controls.
[0192] In some embodiments, the shooting module 5552 is further configured to display the shooting task in the virtual scene; and display shooting controls in the virtual scene in response to a triggering operation for the shooting task.
[0193] In some embodiments, the shooting module 5552 is also used to display the shooting task in the virtual scene; in response to the triggering operation of the second virtual object for the shooting task, the shooting control is displayed in the virtual scene, wherein the second virtual object is a virtual object controlled by the account logged into the virtual scene.
[0194] In some embodiments, the shooting module 5552 is also used to display a session interface in the virtual scene where the first account is logged in, and to display a shooting delegation request sent by the second account in the session interface, wherein the shooting delegation request includes the shooting task; in response to the first account passing the shooting delegation request, a shooting control is displayed in the virtual scene.
[0195] In some embodiments, after performing a shooting operation on the virtual scene in response to a shooting trigger operation, the shooting module 5552 is also used to complete the shooting task corresponding to the shooting entrustment request in response to the shooting operation, and send the shooting content of the shooting operation to the second account; display push information, wherein the push information is used to instruct the first account to view the multimedia information generated by the second account based on the shooting content.
[0196] In some embodiments, the shooting module 5552 is also used to jump to the shooting location associated with the shooting task and display the shooting controls at the shooting location; or, control a second virtual object to move to the shooting location and display the shooting controls at the shooting location, wherein the second virtual object is a virtual object controlled by the account that logs in to the virtual scene.
[0197] The present invention provides a computer program product including a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer program or computer-executable instructions from the computer-readable storage medium and executes the computer program or computer-executable instructions, causing the electronic device to perform the virtual scene capture processing method described in the present invention.
[0198] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the virtual scene shooting processing method provided by the embodiment of the present application, for example, Figure 3A The shooting method of the virtual scene is shown.
[0199] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.
[0200] In some embodiments, computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0201] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0202] By way of example, computer-executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected by a communication network.
[0203] It is understandable that in the embodiments of the present application, when user information and other related data are involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0204] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.
Claims
1. A method for shooting and processing a virtual scene, characterized in that: The method comprises: Display virtual scenes; In response to a capture trigger operation, performing a capture operation on the virtual scene, wherein a capture area of the capture operation is at least a portion of the virtual scene; In response to the captured content of the capturing operation including at least one first virtual object in the virtual scene, the at least one first virtual object is controlled to perform an interactive operation for providing feedback on the capturing operation.
2. The method according to claim 1, characterized in that The captured content in response to the capturing operation includes at least one first virtual object in the virtual scene, and controlling the at least one first virtual object to perform an interactive operation for providing feedback on the capturing operation includes: In response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene, and at least one first virtual object meeting an interaction condition, the at least one first virtual object is controlled to perform an interaction operation for feeding back the shooting operation.
3. The method according to claim 2, characterized in that The interaction condition includes at least one of the following: The first virtual object is captured for a duration greater than a duration threshold; a ratio of a photographed size of the first virtual object to a size of the first virtual object is greater than a ratio threshold; The first virtual object is photographed at a set time, the set time being a time associated with a photographing task, and the photographing content of the photographing operation is used to match the task requirements of the photographing task; The first virtual object is photographed at a set position, where the set position is a position associated with a photographing task; The first virtual object is a virtual object associated with the shooting task; The state of the first virtual object when it is photographed is a set state.
4. The method according to claim 1, wherein Before controlling at least one of the first virtual objects to perform an interactive operation for providing feedback on the shooting operation, the method further includes: displaying the photographed content; In response to a selection operation on the first virtual object in the photographed content, the selected first virtual object is determined as at least one first virtual object.
5. The method according to claim 1, wherein When the at least one is plural, controlling the at least one first virtual object to perform an interactive operation for feeding back the shooting operation includes: Different first virtual objects are controlled to perform different types of interactive operations, wherein the types of the interactive operations include conflict operations and cooperation operations, the conflict operations are used to provide negative feedback to the shooting operation, and the cooperation operations are used to provide positive feedback to the shooting operation.
6. The method according to claim 5, characterized in that Before controlling different first virtual objects to perform different types of interactive operations, the method further includes: In response to a first selection operation on the at least one first virtual object, determining the first virtual object selected by the first selection operation as the first virtual object for performing the interference operation; In response to a second selection operation on the at least one first virtual object, the first virtual object selected by the second selection operation is determined as the first virtual object for performing the coordination operation.
7. The method according to claim 5, characterized in that Before controlling different first virtual objects to perform different types of interactive operations, the method further includes: When the first virtual object satisfies a conflict condition, determining the first virtual object as a first virtual object for performing the conflict operation; When the first virtual object does not satisfy the conflict condition, determining the first virtual object as the first virtual object for performing the cooperation operation; The conflict condition includes at least one of the following: an attribute of the first virtual object is a set attribute, and a position of the first virtual object in the shooting area is a set position.
8. The method according to claim 5, characterized in that Before controlling different first virtual objects to perform different types of interactive operations, the method further includes: Invoking a prediction model to perform prediction processing based on the plurality of first virtual objects to obtain a probability distribution of each first virtual object performing an interactive operation, wherein the probability distribution includes probabilities of the first virtual object performing different types of interactive operations, and the prediction model is trained by labeling virtual object samples and the types of interactive operations performed by the virtual object samples; For each interaction of the type described, the following processing is performed: Determining a maximum probability of the type of interactive operation from among the probabilities included in the plurality of probability distributions; Determine that the first virtual object corresponding to the probability distribution including the maximum probability performs the type of interactive operation.
9. The method according to claim 1, characterized in that The controlling at least one of the first virtual objects to perform an interactive operation for providing feedback on the shooting operation includes: Control different first virtual objects to perform interactive operations with different feedback levels.
10. The method according to claim 9, characterized in that The feedback level is positively correlated with the following parameters: the intimacy between the first virtual object and the second virtual object, the second virtual object being the virtual object controlled by the account that logged into the virtual scene, the number of times the first virtual object was photographed, and the attribute value of the first virtual object; The feedback degree is negatively correlated with the following parameter: the distance between the first virtual object and the second virtual object.
11. The method according to any one of claims 1 to 10, characterized in that The shooting content of the shooting operation is used to match the task requirements of the shooting task; In response to the captured content of the shooting operation including at least one first virtual object in the virtual scene, when controlling the at least one first virtual object to perform an interactive operation for providing feedback on the shooting operation, the method further includes: In response to the captured content of the shooting operation partially matching the task requirements of the shooting task, displaying prompt information, wherein the prompt information is used to prompt the completion of part of the task requirements of the shooting task; In response to the shooting content of the shooting operation completely matching the task requirements of the shooting task, a reward corresponding to the shooting task is displayed.
12. The method according to any one of claims 1 to 10, characterized in that Before performing a photographing operation on the virtual scene in response to a photographing triggering operation, the method further includes: In response to a receiving operation of a shooting task, displaying a shooting control in the virtual scene; The step of performing a shooting operation on the virtual scene in response to a shooting trigger operation includes: In response to a triggering operation on the shooting control, a shooting operation is performed on the virtual scene.
13. The method according to claim 12, characterized in that The step of displaying a shooting control in the virtual scene in response to the receiving operation of the shooting task includes: Displaying the shooting task in the virtual scene; In response to a triggering operation for the shooting task, a shooting control is displayed in the virtual scene.
14. The method according to claim 12, characterized in that The step of displaying a shooting control in the virtual scene in response to the receiving operation of the shooting task includes: Displaying the shooting task in the virtual scene; In response to a triggering operation of a second virtual object on the shooting task, a shooting control is displayed in the virtual scene, wherein the second virtual object is a virtual object controlled by an account that logs into the virtual scene.
15. The method according to claim 12, characterized in that The step of displaying a shooting control in the virtual scene in response to the receiving operation of the shooting task includes: Displaying a conversation interface in the virtual scene logged in by the first account, and displaying a photography entrustment request sent by the second account in the conversation interface, wherein the photography entrustment request includes the photography task; In response to the first account passing the photography delegation request, a photography control is displayed in the virtual scene.
16. The method according to claim 15, characterized in that After performing a photographing operation on the virtual scene in response to the photographing triggering operation, the method further includes: In response to the photographing operation completing the photographing task corresponding to the photographing entrustment request, sending the photographed content of the photographing operation to the second account; Display push information, wherein the push information is used to instruct the first account to view multimedia information generated by the second account based on the captured content.
17. The method according to claim 12, wherein: The displaying of the shooting controls in the virtual scene includes: Jump to the shooting location associated with the shooting task and display the shooting control at the shooting location; or, Control a second virtual object to move to the shooting position and display the shooting control at the shooting position, wherein the second virtual object is a virtual object controlled by the account that logs into the virtual scene.
18. A virtual scene shooting and processing device, characterized in that: The device comprises: A display module, used for displaying a virtual scene; a shooting module, configured to perform a shooting operation on the virtual scene in response to a shooting trigger operation, wherein a shooting area of the shooting operation is at least a portion of the virtual scene; The interactive module is configured to control the at least one first virtual object to perform an interactive operation for providing feedback on the shooting operation in response to the shooting content of the shooting operation including at least one first virtual object in the virtual scene.
19. An electronic device, characterized in that: The electronic device comprises: Memory for storing computer programs or computer-executable instructions; The processor is configured to implement the virtual scene shooting processing method according to any one of claims 1 to 17 when executing the computer program or computer executable instructions stored in the memory.
20. A computer-readable storage medium, characterized in that A computer program or computer executable instructions is stored, and when the computer program or computer executable instructions are executed by a processor, the virtual scene shooting processing method according to any one of claims 1 to 17 is implemented.
21. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instructions are executed by a processor, the virtual scene shooting and processing method according to any one of claims 1 to 7 is implemented.