Object observation method and apparatus
By setting up multiple observation positions in the game scene, evaluating and selecting the highest quality observation position, and adjusting the viewing angle and position of the observation camera, the problem of game objects not being displayed due to camera obstruction was solved, thus improving the game experience for players.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-03
- Publication Date
- 2026-03-17
AI Technical Summary
In existing technologies, cameras cannot flexibly adjust their viewing angle in game scenes, resulting in game objects not being effectively displayed when they are obscured, thus reducing the gaming experience for players.
By pre-setting multiple observation locations, evaluating and selecting the highest quality updated observation location, and adjusting the viewing angle and position of the observation camera, the complete display of the target object is ensured.
This allows the target object to be displayed to the player without obscuring it, thus improving the player's gaming experience.
Smart Images

Figure CN115814416B_ABST
Abstract
Description
Technical Field
[0001] The embodiments in this specification relate to the field of game technology, and in particular to an object observation method. Background Technology
[0002] With the continuous development of computer technology and gaming technology, cameras are set up in game scenes to facilitate gamers' gameplay. These cameras move by following objects, models, and other game objects in the game scene, thereby rendering the objects, models, and other game objects within the camera's field of view onto the game interface for display to the gamers.
[0003] However, existing cameras only follow the movement of game objects and cannot flexibly adjust the camera's angle. When the camera is obscured by other models in the game scene, it cannot properly display the game objects to the player, thus reducing the player's gaming experience. Summary of the Invention
[0004] In view of this, embodiments of this specification provide a method for object observation. One or more embodiments of this specification also relate to an object observation apparatus, a computing device, a computer-readable storage medium, and a computer program to address the technical deficiencies existing in the prior art.
[0005] According to a first aspect of the embodiments of this specification, an object observation method is provided, comprising:
[0006] Determine the current observation status of the camera observing the target object at the current observation location;
[0007] If the current observation state is determined to meet the update conditions, at least two preset observation positions of the target object are evaluated to obtain an updated observation position, wherein the updated observation position is one of the at least two preset observation positions;
[0008] The observation camera is moved from the current observation position to the updated observation position to observe the target object.
[0009] According to a second aspect of the embodiments of this specification, an object observation device is provided, comprising:
[0010] The state determination module is configured to determine the current observation state of the observation camera of the target object at the current observation position;
[0011] The location evaluation module is configured to evaluate at least two preset observation locations of the target object to obtain an updated observation location when the current observation state meets the update conditions, wherein the updated observation location is one of the at least two preset observation locations;
[0012] The camera transfer module is configured to transfer the observation camera from the current observation position to the updated observation position to observe the target object.
[0013] According to a third aspect of the embodiments of this specification, a computing device is provided, comprising:
[0014] Memory and processor;
[0015] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the object observation method described above.
[0016] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided that stores computer-executable instructions that, when executed by a processor, implement the steps of the object observation method described above.
[0017] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, it causes the computer to perform the steps of the object observation method described above.
[0018] An object observation method provided in this specification includes: determining the current observation state of an observation camera of a target object at a current observation position; evaluating at least two preset observation positions of the target object to obtain an updated observation position when the current observation state meets update conditions, wherein the updated observation position is one of the at least two preset observation positions; and transferring the observation camera from the current observation position to the updated observation position to observe the target object.
[0019] Specifically, this method pre-sets at least two preset observation positions for the target object. When the current observation state of the current observation position meets the update conditions, an updated observation position is selected from the at least two preset observation positions, and the observation camera is moved to the updated observation position to observe the target object. This allows for flexible adjustment of the observation angle and position of the observation camera, avoiding the problem of the target object not being displayed to the game player due to the observation camera being blocked, thus improving the game player's gaming experience. Attached Figure Description
[0020] Figure 1 This is a schematic diagram illustrating the application of an object observation method provided in one embodiment of this specification;
[0021] Figure 2 This is a flowchart of an object observation method provided in one embodiment of this specification;
[0022] Figure 3 This is a schematic diagram of the camera position in an object observation method provided in one embodiment of this specification;
[0023] Figure 4 This is a flowchart illustrating the processing procedure of an object observation method provided in one embodiment of this specification;
[0024] Figure 5 This is a schematic diagram of the structure of an object observation device provided in one embodiment of this specification;
[0025] Figure 6 This is a structural block diagram of a computing device provided in one embodiment of this specification. Detailed Implementation
[0026] Many specific details are set forth in the following description to provide a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.
[0027] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of this specification. The singular forms “a,” “described,” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0028] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this specification, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."
[0029] First, the terms and concepts used in one or more embodiments of this specification will be explained.
[0030] NPC: Short for non-player character. An NPC is a type of character in a game that is not controlled by a real player.
[0031] This specification provides a method for observing an object, and also relates to an object observation device, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.
[0032] See Figure 1 , Figure 1 This diagram illustrates an application of an object observation method according to an embodiment of this specification; based on Figure 1 It is known that multiple camera positions are pre-set around the target character, for example, four pre-set camera positions; simultaneously, a corresponding virtual camera exists for the target character, capable of capturing images of the target character and rendering the target character within its field of view onto the object display interface, thus showcasing the target character to the game player. However, when the target character leaves the virtual camera's field of view, the virtual camera cannot capture images of the target character. Therefore, it is necessary to select the highest quality optimal camera position from the four pre-set camera positions corresponding to the target character, move the virtual camera from its current shooting position to the optimal camera position, and capture images of the target character, thereby obtaining a complete display of the target character to the game player and improving the game player's gaming experience. Here, the virtual camera can be an observation camera, the target character can be the target object, the camera position can be a pre-set observation position, and the optimal camera position can be an updated observation position.
[0033] Based on this, the object observation method provided in this manual can flexibly adjust the observation angle and position of the observation camera, avoiding the problem that the target object cannot be well displayed to the game player due to reasons such as the observation camera being blocked, the target object leaving the observation field of view of the observation camera, or the distance between the observation camera and the target object being too close or too far, thus improving the game player's gaming experience.
[0034] See Figure 2 , Figure 2 A flowchart of an object observation method according to an embodiment of this specification is shown, which specifically includes the following steps.
[0035] Step 202: Determine the current observation status of the observation camera of the target object at the current observation position.
[0036] The target object can be understood as the object that needs to be observed by the camera, such as game models in a game scene, including but not limited to game character models controlled by the player, NPCs that move automatically in the game scene, and animal or pet models that move automatically in the game scene.
[0037] The observation camera can be understood as a camera in the game. This observation camera can take pictures of the game scene or the models in the game scene, and can also render the captured game scene or models to the object display interface, thereby displaying the game scene or models to the game players through the object display interface.
[0038] The current observation position can be understood as the observation location of the observation camera, for example, the current camera position. In the embodiments provided in this specification, the current observation position does not move with the target object; that is, the current observation position is a fixed observation position.
[0039] The current observation state can be understood as information that characterizes the current observation state of the observation camera towards the target object. For example, the current observation state includes information such as the distance between the observation camera and the target object, and whether the observation camera is occluded.
[0040] Specifically, in the object observation method provided in this specification, the target object has a corresponding observation camera, which is capable of observing the target object. Based on this, the method can determine the current observation state of the observation camera for the target object at the current observation location. In one embodiment provided in this specification, the operation of determining the current observation state can be triggered by a timed trigger. That is, the object observation method provided in this specification determines the current observation state of the observation camera for the target object at the current observation location according to a preset time interval. Alternatively, the operation of determining the current observation state can also be triggered by a request. That is, the object observation method provided in this specification can receive a status determination request for the current observation state and, in response to the status determination request, determine the current observation state of the observation camera for the target object at the current observation location. This status determination request can be a status determination request sent by a user.
[0041] It should be noted that the object observation method provided in this manual can be applied to either the server or the client, depending on the specific application scenario. The object display interface can be understood as the interface used to display the target object on the client side. For example, the client can be a user terminal, and the object display interface can be the image display device of the user terminal, such as a mobile phone screen or a computer screen.
[0042] Step 204: If the current observation state meets the update conditions, evaluate at least two preset observation positions of the target object to obtain an updated observation position, wherein the updated observation position is one of the at least two preset observation positions.
[0043] The determination that the current observation state meets the update condition can be set according to the actual application scenario, and this specification does not impose specific limitations on it. For example, when the current observation state is the interval distance between the observation camera and the target object, determining that the current observation state meets the update condition includes: determining that the current observation state meets the update condition when the interval distance is greater than the maximum interval distance threshold; that is, determining that the current observation state meets the update condition when the interval distance between the observation camera and the target object is too large.
[0044] Alternatively, if the interval distance is determined to be less than the minimum interval distance threshold, the current observation state is determined to meet the update condition; that is, if the interval distance between the observation camera and the target object is too small, the current observation state is determined to meet the update condition.
[0045] For example, the current observation state is information indicating whether the observation camera is obscured. This information can be a value of 1 or 0, where 1 indicates the observation camera is not obscured, and 0 indicates the observation camera is obscured. In this case, determining that the current observation state meets the update conditions includes:
[0046] If the current observation state is determined to be consistent with the preset occlusion parameter, then the current observation state is determined to meet the update condition. The preset occlusion parameter is a value of 0.
[0047] Alternatively, the current observation state can be an occlusion ratio characterizing the degree of occlusion of the observation camera. This occlusion ratio can be any value within the range of 0% to 100%, where 0% indicates the observation camera is not occluded, and 100% indicates the observation camera is completely occluded. Alternatively, the occlusion ratio can be any value within the range of [0,1] or [0,100], where a value of 0 indicates the observation camera is not occluded, and a value of 1 or 100 indicates the observation camera is completely occluded. Based on this, determining that the current observation state meets the update conditions includes:
[0048] If the occlusion ratio of the observation camera is determined to be greater than or equal to a preset occlusion threshold, the current observation state is determined to meet the update condition. The preset occlusion threshold can be set according to the actual scene, for example, a value of 0.5, a value of 50, 50%, etc.
[0049] A preset observation position can be understood as a pre-set position for observing the target object. For example, the preset observation position can be a pre-set camera position. These preset observation positions can be distributed around the target object; a preset distance is maintained between the preset observation position and the target object, such as 5 meters, 10 meters, etc. The preset observation position can move with the target object. That is, the coordinate information of the preset observation position will be adjusted according to the coordinate information of the target object, thereby achieving the operation of following the target object's movement. For example, see... Figure 3 , Figure 3 for Figure 3 This is a schematic diagram of the camera position in an object observation method provided in one embodiment of this specification; based on Figure 3 As can be seen, the object observation method provided in this specification sets up multiple camera positions around the target object, for example... Figure 3 Camera positions 1 to 8 are used. Each camera position maintains a certain distance from the target object, and these multiple camera positions will move along with the target object.
[0050] The number of preset observation locations can be set according to the actual application scenario. For example, the at least two preset observation locations can be at least four preset observation locations, at least eight preset observation locations, at least twelve preset observation locations, etc.
[0051] The updated observation location can be understood as the preset observation location to which the observation location needs to be moved.
[0052] In one embodiment provided in this specification, evaluating at least two preset observation positions of the target object to obtain updated observation positions includes:
[0053] Determine at least two preset observation positions of the target object, and perform quality assessment on the at least two preset observation positions to obtain the quality assessment results of the at least two preset observation positions;
[0054] Based on the quality assessment results, an updated observation location is determined from the at least two preset observation locations.
[0055] The quality assessment result can be understood as a result that characterizes the observation quality at the preset observation location. For example, the quality assessment result can be a quality assessment score.
[0056] Specifically, the object observation method provided in this specification first performs quality assessments on at least two preset observation locations of the target object during the process of determining the updated observation location, thereby obtaining the quality assessment results of the at least two preset observation locations, wherein each preset observation location has a corresponding quality assessment result.
[0057] Subsequently, based on the quality assessment results, the best-quality preset observation position is selected from the at least two preset observation positions, and this best-quality preset observation position is used as the updated observation position. In the future, the target object can be better observed from the updated observation position, thereby improving the game experience for players.
[0058] The following example, using the object observation method provided in this manual in a scenario of observing a target game pet, illustrates the operation of determining and updating observation positions. This object observation method is applied on the client side, the quality assessment result is a quality assessment score, and the target object is the target game pet. Based on this, when the client determines that the current observation state of the game camera meets the update conditions, the client will identify eight camera positions set around the target game pet and perform a quality assessment on these eight positions, thereby obtaining a quality assessment score for each position.
[0059] The highest quality assessment score is then determined from these scores, and the camera position corresponding to this highest quality assessment score is identified as the optimal camera position. The game camera will then be moved to this optimal camera position.
[0060] In the embodiments provided in this specification, to ensure the accuracy of the quality assessment and further accurately select the best-quality updated observation location, the object observation method provided in this specification will perform a quality assessment on the preset observation location based on multiple quality assessment strategies; specifically, the quality assessment of the at least two preset observation locations to obtain the quality assessment results of the at least two preset observation locations includes:
[0061] Determine the observation location to be evaluated from among the at least two preset observation locations, wherein the observation location to be evaluated is one of the at least two preset observation locations;
[0062] Based on at least two quality assessment strategies, the quality assessment of the observation location to be assessed is performed to obtain at least two initial assessment results corresponding to the observation location to be assessed.
[0063] Based on the at least two initial evaluation results, determine the quality evaluation results of the at least two preset observation locations.
[0064] The observation location to be evaluated can be understood as any one of the at least two preset observation locations.
[0065] The quality assessment strategy can be understood as a strategy for assessing the observation location to be assessed, and the initial assessment result can be understood as the assessment result of the at least two quality assessment strategies for the observation location to be assessed; for example, the initial assessment result can be the initial assessment score.
[0066] Using the previous example, in the process of evaluating the preset camera positions, it is necessary to determine multiple preset camera positions corresponding to the target game pet, and to evaluate the quality of these multiple preset camera positions based on the preset quality evaluation strategy to obtain multiple evaluation scores. Then, based on the multiple evaluation scores of each preset camera position, the final evaluation score of each preset camera position is calculated.
[0067] In one embodiment provided in this specification, in order to ensure the accuracy of the quality assessment, the preset observation location will be assessed based on multiple quality assessment strategies. Specifically, the quality assessment of the observation location to be assessed is based on at least two quality assessment strategies to obtain at least two initial assessment results corresponding to the observation location to be assessed, including steps one to five.
[0068] Step 1: Evaluate the observation location to be evaluated based on the location information of the target object to obtain the first initial evaluation result.
[0069] The location information of the target object can be understood as the coordinate information of the target object.
[0070] Furthermore, the step of evaluating the observation location to be evaluated based on the location information of the target object to obtain a first initial evaluation result includes:
[0071] Determine the distance between the location information of the target object and the observation location to be evaluated;
[0072] Based on the first preset result matching rule, an evaluation result that matches the interval distance is determined, and the evaluation result is determined as the first initial evaluation result of the observation position to be evaluated.
[0073] The first preset result matching rule can be understood as a rule that determines a matching evaluation result for each interval distance. In practical applications, the object observation method provided in this specification will pre-set the evaluation results corresponding to different interval distances. For example, when the interval distance between the target object and the observation position to be evaluated is greater than 10 meters or less than 1 meter, the evaluation result corresponding to that interval distance is 0 points. When the interval distance between the target object and the observation position to be evaluated is within the range of 4 to 6 meters, the evaluation result for that interval distance is 1 point.
[0074] Specifically, the object observation method provided in this specification can determine the location information of the target object and calculate the distance between the location information of the target object and the observation location to be evaluated, for example, the distance is 5 meters.
[0075] Then, according to the preset result matching rules, a matching evaluation result is determined for the interval distance, for example, 1 point. Then, this evaluation result is determined as the first initial evaluation result for the observation position to be evaluated. Subsequently, the best quality updated observation position can be accurately determined based on this first initial evaluation result, and unsuitable positions can be filtered out.
[0076] Step 2: Evaluate the current observation status corresponding to the observation location to be evaluated to obtain a second initial evaluation result.
[0077] The current observation state corresponding to the observation location to be evaluated can be understood as the current observation state of the observation camera when the camera is located at the observation location to be evaluated.
[0078] Specifically, the step of evaluating the current observation state corresponding to the observation location to be evaluated to obtain a second initial evaluation result includes:
[0079] Based on the obstacle objects between the observation location to be evaluated and the target object, determine the current observation status of the observation location to be evaluated;
[0080] Based on the current observation state, a second initial evaluation result is determined for the observation location to be evaluated.
[0081] In this context, the obstacle object can be understood as a game model existing between the observation location to be evaluated and the target object. For example, the obstacle object can be a tree model, a terrain model, an NPC, etc.
[0082] Specifically, the object observation method provided in this specification can determine whether there is an obstacle between the observation location to be evaluated and the target object, and determine the observation state of the observation camera when it is currently located at the observation location to be evaluated based on the obstacle. For example, the current observation state is information characterizing whether the observation camera is occluded. This information can be a value of 1 or a value of 0, where a value of 1 indicates that the observation camera is not occluded, and a value of 0 indicates that the observation camera is occluded.
[0083] Then, the current observation state is used as the second initial evaluation result of the observation position to be evaluated, so as to facilitate the subsequent determination of the preset observation position with a better current observation angle and no obstruction based on the second initial evaluation result.
[0084] Continuing with the previous example, this object observation method can determine whether there are other game models between the preset camera position and the target game pet. In practical applications, one or more rays can be emitted from the preset camera position to the current coordinates of the target game pet. Whether these rays are blocked by other models is determined; if they are blocked, it can be determined that there are other game models between the preset camera position and the target game pet. Based on this, it can be determined whether the game camera is occluded when it is located at the preset camera position. When the game camera at the preset camera position is occluded, the evaluation score of the preset camera position is determined to be 0 points; when the game camera at the preset camera position is not occluded, the evaluation score of the preset camera position is determined to be 1 point.
[0085] Step 3: Evaluate the observation location to be evaluated based on the current observation location of the observation camera to obtain a third initial evaluation result.
[0086] Specifically, the evaluation of the observation location to be evaluated based on the current observation location of the observation camera to obtain a third initial evaluation result includes:
[0087] Determine the distance between the current observation position of the observation camera and the observation position to be evaluated;
[0088] Based on the second preset result matching rule, an evaluation result that matches the interval distance is determined, and the evaluation result is determined as the third initial evaluation result of the observation position to be evaluated.
[0089] The second preset result matching rule can be understood as a rule that determines a matching evaluation result for each interval distance. In practical applications, the object observation method provided in this specification pre-sets evaluation results corresponding to different interval distances. For example, when the interval distance between the current observation position of the observation camera and the observation position to be evaluated is greater than 10 meters, the evaluation result corresponding to this interval distance is 0 points. When the interval distance between the current observation position of the observation camera and the observation position to be evaluated is less than 1 meter, the evaluation result for this interval distance is 1 point. That is to say, the evaluation result is negatively correlated with the interval distance; the smaller the interval distance, the higher the evaluation result score.
[0090] Specifically, the object observation method provided in this manual can determine the distance between the current observation position of the observation camera and the observation position to be evaluated; for example, 0.5 meters.
[0091] Then, based on the second preset result matching rule, a matching evaluation result is determined for the interval distance, such as 1 point. This evaluation result is then determined as the third initial evaluation result for the observation position to be evaluated. Subsequently, the best quality updated observation position can be accurately determined based on this third initial evaluation result, and the camera position switching will be kept as close as possible to the previous position, reducing the dizziness caused by switching camera positions and improving the game experience for players.
[0092] Step 4: Based on the observation angle between the current observation position and the observation position to be evaluated, evaluate the observation position to be evaluated to obtain the fourth initial evaluation result.
[0093] Specifically, the step of evaluating the observation position to be evaluated based on the observation angle between the current observation position and the observation position to be evaluated, and obtaining a fourth initial evaluation result, includes:
[0094] Determine the location information of the target object, and determine a first observation vector of the observation location to be evaluated relative to the location information, and a second observation vector of the current observation location relative to the location information;
[0095] Based on the first observation vector and the second observation vector, the observation angle between the current observation position and the observation position to be evaluated is determined;
[0096] Based on the observation angle, a fourth initial evaluation result is determined for the observation location to be evaluated.
[0097] Specifically, the object observation method provided in this specification can determine the location information of the target object, and based on the location information and the observation position to be evaluated, determine a first observation vector from the observation position to the target object; and based on the location information and the current observation position of the observation camera, determine a second observation vector from the observation camera to the target object.
[0098] The observation angle between the current observation position and the observation position to be evaluated is calculated based on the first and second observation vectors. Then, an evaluation result matching this observation angle is determined. The evaluation result is negatively correlated with the observation angle; that is, the smaller the observation angle, the higher the evaluation score. This evaluation result is then used as the fourth initial evaluation result for the observation position to be evaluated. Subsequently, based on this fourth initial evaluation result, the optimal updated observation position can be accurately determined, and the camera position switching will maintain the previous angle as much as possible, preserving camera stability and reducing dizziness caused by camera position switching.
[0099] Step 5: Take the first initial evaluation result, the second initial evaluation result, the third initial evaluation result, and the fourth initial evaluation result as at least two initial evaluation results corresponding to the observation location to be evaluated.
[0100] Specifically, after determining the first initial assessment result, the second initial assessment result, the third initial assessment result, and the fourth initial assessment result of the observation location to be assessed through the above-mentioned quality assessment strategy, the first initial assessment result, the second initial assessment result, the third initial assessment result, and the fourth initial assessment result are used as at least two initial assessment results corresponding to the observation location to be assessed, so as to facilitate the subsequent calculation to obtain the quality assessment results of the at least two preset observation locations.
[0101] In one embodiment provided in this specification, the initial evaluation result is an initial evaluation score;
[0102] Accordingly, determining the quality assessment results of the at least two preset observation locations based on the at least two initial assessment results includes:
[0103] Based on at least two initial evaluation scores, calculate the quality evaluation scores for the at least two preset observation locations.
[0104] The initial evaluation score can be understood as a score that characterizes the quality of the preset observation location, for example, any value within the range of [0,1].
[0105] Following the previous example, the initial assessment result is the initial assessment score. Based on this, after determining the first, second, third, and fourth initial assessment scores of the observation location to be assessed, the final quality score corresponding to the observation location to be assessed can be calculated based on these scores. The specific calculation method can be found in the following formula (1).
[0106] Final score = (①+④)*②*③ Formula (1)
[0107] The final score is the final quality score, ① is the first initial assessment score, ④ is the fourth initial assessment score, ② is the second initial assessment score, and ③ is the third initial assessment score.
[0108] It should be noted that the algorithm for calculating the camera position quality score (final score) can be dynamically adjusted based on the actual application requirements to calculate a quality score that meets the specific needs. The quality assessment strategy for this camera position, and the number of such strategies, can also be set according to the actual application scenario; this manual does not impose specific limitations on this.
[0109] In one embodiment provided in this specification, during the process of selecting the optimal camera position from multiple camera positions based on the final quality score, the preset camera position with the highest final quality score will be used as the current optimal camera position; however, if the final calculated maximum final quality score is at least two, that is, at least two preset camera positions have the same final quality score and both are the maximum, then it is necessary to select one of the at least two preset camera positions as the final optimal camera position. Specifically, the quality assessment result is the quality assessment score.
[0110] Accordingly, determining the updated observation location from the at least two preset observation locations based on the quality assessment results includes:
[0111] The maximum quality assessment score is determined from the quality assessment scores of the at least two preset observation locations;
[0112] If there is only one maximum quality assessment score, the preset observation position corresponding to the maximum quality assessment score will be determined as the updated observation position.
[0113] If there are at least two maximum quality assessment scores, an updated observation position is determined from the preset observation positions corresponding to the at least two maximum quality assessment scores.
[0114] Following the previous example, after calculating the final quality score for each preset camera position using the method provided in the above embodiment, it is necessary to select the highest final quality score from the final quality scores of each preset camera position. If there is only one highest final quality score, then the preset camera position corresponding to that final quality score is directly taken as the optimal camera position. Based on this, it is possible to quickly determine the updated observation position for the observation camera based on the quality assessment score, further improving the relocation efficiency of the observation camera.
[0115] However, if there are at least two maximum final quality scores, it means that there are multiple preset camera positions with better quality. Therefore, it is necessary to determine the preset camera position corresponding to each maximum final quality score and select an optimal camera position for the game camera from these preset camera positions. Based on this, it is possible to ensure that the observed object can make high-quality observations of the target object.
[0116] In one embodiment provided in this specification, if at least two preset camera positions have the same quality assessment score and both are the maximum quality assessment score, then any one of the at least two preset camera positions can be randomly selected as the optimal camera position, thereby quickly determining an optimal camera position for the camera; specifically, determining the updated observation position from the preset observation positions corresponding to the at least two maximum quality assessment scores includes:
[0117] Select any one of the preset observation locations from at least two of the maximum quality assessment scores as the updated observation location.
[0118] Following the example above, in the object observation method provided in this specification, when there are two maximum final quality scores, it is necessary to determine the preset camera position corresponding to each final quality score, and arbitrarily select one preset camera position from the multiple preset camera positions as the optimal camera position for the camera. Based on this, this embodiment improves the selection efficiency of updating the observation position and further improves the transfer efficiency of the observation camera, thereby achieving high-quality observation of the target object.
[0119] Furthermore, in one embodiment provided in this specification, if the final calculated quality assessment score is at least two, it indicates that at least two preset observation positions can be determined as updated observation positions. In this case, in order to determine the optimal observation position for the observation camera, additional filtering conditions can be added to further filter the at least two preset observation positions, thereby ensuring that the observation position with the highest quality is determined for the observation camera. These additional filtering conditions can be set according to the actual application scenario, and this specification does not impose specific restrictions on them. For example, in one embodiment provided in this specification, when there are at least two quality assessment scores, the movement trajectory of the target object can be calculated, and the interval distance between the preset observation positions corresponding to the at least two quality assessment scores and the movement trajectory can be determined. The preset observation position closest to the movement trajectory of the target object is then used as the updated observation position. Specifically, determining the updated observation position from the preset observation positions corresponding to the at least two highest quality assessment scores includes:
[0120] The preset observation locations corresponding to at least two of the maximum quality assessment scores are used as candidate observation locations;
[0121] Predict the movement trajectory of the target object and calculate the interval distance between the candidate observation position and the movement trajectory;
[0122] Determine the minimum interval distance among the interval distances, and use the candidate observation position corresponding to the minimum interval distance as the updated observation position.
[0123] Among them, candidate observation locations can be understood as preset observation locations with the same quality assessment score and the highest score.
[0124] A movement trajectory can be understood as the path a target object takes within a specific time frame. For example, the route a game pet takes in the next 10 seconds; or the movement trajectory can be understood as the path the target object takes to move a specific distance, such as the 10-meter path the game pet takes in the next 10 seconds. Both the specific time frame and the specific distance can be set according to the actual application scenario.
[0125] In the embodiments provided in this specification, predicting the movement trajectory of a target object can be understood as predicting the movement trajectory of the target object within a specific time range or a specific distance. This prediction of the movement trajectory can be achieved using tools capable of predicting the movement trajectory of a target object, such as neural network models, algorithms, and programs. For example, the historical movement trajectory of the target object can be input into a neural network model for movement trajectory prediction, thereby predicting the target object's next movement trajectory; or, an algorithm can be used to predict and analyze the historical movement trajectory of the target object, thereby predicting the target object's next movement trajectory.
[0126] Specifically, the object observation method provided in this specification, when it is determined that there are at least two maximum quality assessment scores, will determine the preset observation positions corresponding to the at least two maximum quality assessment scores, and then use them as candidate observation positions for further screening.
[0127] Next, the next movement trajectory of the target object is predicted, and the interval distance between the candidate observation position and the movement trajectory is calculated. It should be noted that in the embodiments provided in this specification, the movement trajectory consists of at least two movement trajectory points, which can be understood as the coordinate points traversed by the target object as it moves within the game scene. Based on this, the calculation of the interval distance may include: calculating the interval distance between each movement trajectory point and the candidate observation position, and using the minimum interval distance as the interval distance between the candidate observation position and the movement trajectory. Alternatively, the calculation of the interval distance may also include: calculating the interval distance between each movement trajectory point and the candidate observation position, averaging these interval distances, calculating the average interval distance between the candidate observation position and the movement trajectory points, and using this average interval distance as the interval distance between the candidate observation position and the movement trajectory.
[0128] After determining the interval between the candidate observation position and the movement trajectory, select the smallest interval from the intervals and use the candidate observation position corresponding to the smallest interval as the updated observation position.
[0129] Following the previous example, the object observation method provided in this manual, assuming there are two maximum final quality scores, determines the preset camera positions A and B corresponding to these two maximum final quality scores. Then, it predicts the next movement trajectory of the game pet and calculates the distances between preset camera positions A and B and the game pet's movement trajectory. The size of these distances determines the direction of the game pet's movement. For example, if the game pet moves towards preset camera position A, the distance between the game pet and preset camera position A (5 meters) is less than the distance between the game pet and preset camera position B (10 meters); and vice versa. Based on this, after determining the distances between preset camera positions A and B and the game pet's movement trajectory, the minimum distance (5 meters) is selected from these distances, and the preset camera position A corresponding to this minimum distance is taken as the optimal camera position.
[0130] In this embodiment, when the current quality assessment scores of preset observation position A and preset observation position B are the same and both are the highest, the prediction of the target object's movement route is added. When it is predicted that the target object will move towards preset observation position A, it is determined that the preset observation position A may capture the target object for a longer time and range. Therefore, preset observation position A can be preferred as the updated observation position. Thus, based on the predicted movement route, the preset observation position that can capture the target object for the longest time is selected from the preset observation positions with the same score.
[0131] Step 206: Move the observation camera from the current observation position to the updated observation position to observe the target object.
[0132] Specifically, after determining the updated observation location, the observation location is set to the updated observation location, thereby transferring the observation camera from the current observation location to the updated observation location. Then, the target object within the field of view is observed through the observation camera located at the updated observation location, and the observation results are displayed on the object display interface of the client.
[0133] In one embodiment provided in this specification, considering that frequently changing the observation position of the observation camera would lead to continuous changes in the observation perspective of the target object, resulting in a poor gaming experience for the user, after the game camera position is switched, the updated observation position is fixed after a preset time, and the target object is observed based on the observation camera at the fixed position. Specifically, the step of transferring the observation camera from the current observation position to the updated observation position to observe the target object includes:
[0134] The observation camera is moved from the current observation position to the updated observation position, and the position transfer time is recorded;
[0135] If the time difference between the location transfer time and the current time is determined to meet a preset time threshold, the updated observation position is fixed.
[0136] The target object is observed by the observation camera located at the updated observation position.
[0137] The location transfer time can be understood as the time required to move the observation camera to the updated observation location. This preset time threshold can be set according to the actual application scenario, for example, 1 second, 2 seconds, 5 seconds, etc. Furthermore, in practical applications, the preset time threshold can also be 0 seconds; that is, the object observation method provided in this specification can directly move the observation camera to the updated observation location after it has been determined.
[0138] Following the example above, the object observation method provided in this manual will, after determining the optimal camera position, move the game camera to that optimal position and take pictures of the target game pet. At this time, the optimal camera position will move along with the target game pet.
[0139] During the process of moving the game camera to the optimal position, the camera movement time is recorded, and the time difference between the camera movement time and the current time is continuously calculated. This time difference is compared with a preset time threshold (e.g., 2 seconds). If the time difference is greater than or equal to 2 seconds, the optimal position following the target game pet is fixed in place. Based on the game camera in the fixed optimal position, the target game pet is photographed. By keeping the camera in place after each position is stabilized, dizziness caused by camera movement is reduced.
[0140] In the embodiments provided in this specification, after transferring the observation camera from the current observation position to the updated observation position to observe the target object, the method further includes:
[0141] The current observation position is determined as the preset observation position, wherein the preset observation position is distributed around the target object, and a preset interval distance is maintained between the target object and the target object, and the observation position moves with the target object.
[0142] Following the previous example, after moving the game camera to the optimal position, the position where the game camera was previously located will be reset and used as the preset position again. The quality of the preset position will be evaluated in subsequent preset position evaluations.
[0143] The object observation method provided in this manual pre-sets at least two preset observation positions for the target object. When the current observation state of the observation camera for the target object meets the update conditions, an updated observation position is selected from the at least two preset observation positions, and the observation camera is moved to the updated observation position to observe the target object. This allows for flexible adjustment of the observation angle and position of the observation camera, avoiding the problem of the target object not being displayed to the game player due to the observation camera being obstructed, thus improving the game player's gaming experience.
[0144] The following is in conjunction with the appendix Figure 4 Taking the application of the object observation method provided in this specification in a game scene as an example, the object observation method will be further explained. Figure 4 A flowchart illustrating the processing steps of an object observation method provided in one embodiment of this specification is shown, specifically including the following steps.
[0145] Step 402: Check the distance between the camera and the target object, as well as the camera's shooting status.
[0146] The camera in question can be understood as the aforementioned observation camera.
[0147] Step 404: In cases where the distance is too close, too far, or the camera lens is obstructed, determine multiple preset camera positions for the target object.
[0148] It should be noted that all preset camera positions are directed at the target object, and by default, the coordinates of the preset camera follow the movement of the target object.
[0149] Step 406: Select the best camera position with the highest quality score from multiple preset camera positions, and set the camera position to the best camera position.
[0150] Specifically, the optimal camera position with the highest quality score is selected from multiple preset camera positions, as can be found in the corresponding or relevant content in the above embodiments.
[0151] Step 408: Other camera positions perform the return operation, and the optimal camera position and other camera positions move with the target object.
[0152] Step 410: After the camera has been set for more than N seconds, fix the position of the current optimal camera position and take a picture of the target object.
[0153] It continues to check the distance between the camera and the target object, as well as the camera's shooting status, and iteratively adjusts the camera position to achieve the optimal result.
[0154] The object observation method provided in this specification offers a multi-camera switching game camera design scheme. This scheme filters out unsuitable camera positions from multiple preset positions, selecting the optimal position for the game camera. Furthermore, during camera position switching, it maintains the previous position and angle as much as possible to ensure camera stability and reduce dizziness caused by switching positions. Simultaneously, once the optimal position is stable, it is kept in place, minimizing dizziness caused by camera movement.
[0155] Corresponding to the above method embodiments, this specification also provides embodiments of object observation devices. Figure 5 A schematic diagram of an object observation device according to one embodiment of this specification is shown. Figure 5 As shown, the device includes:
[0156] The state determination module 502 is configured to determine the current observation state of the observation camera of the target object at the current observation position;
[0157] The location evaluation module 504 is configured to evaluate at least two preset observation locations of the target object to obtain an updated observation location when it is determined that the current observation state meets the update conditions, wherein the updated observation location is one of the at least two preset observation locations;
[0158] The camera transfer module 506 is configured to transfer the observation camera from the current observation position to the updated observation position to observe the target object.
[0159] Optionally, the position evaluation module 504 is further configured to:
[0160] Determine at least two preset observation positions of the target object, and perform quality assessment on the at least two preset observation positions to obtain the quality assessment results of the at least two preset observation positions;
[0161] Based on the quality assessment results, an updated observation location is determined from the at least two preset observation locations.
[0162] Optionally, the position evaluation module 504 is further configured to:
[0163] Determine the observation location to be evaluated from among the at least two preset observation locations, wherein the observation location to be evaluated is one of the at least two preset observation locations;
[0164] Based on at least two quality assessment strategies, the quality assessment of the observation location to be assessed is performed to obtain at least two initial assessment results corresponding to the observation location to be assessed.
[0165] Based on the at least two initial evaluation results, determine the quality evaluation results of the at least two preset observation locations.
[0166] Optionally, the position evaluation module 504 is further configured to:
[0167] The observation location to be evaluated is evaluated based on the location information of the target object to obtain a first initial evaluation result;
[0168] The current observation state corresponding to the observation location to be evaluated is evaluated to obtain a second initial evaluation result;
[0169] The observation location to be evaluated is evaluated based on the current observation location of the observation camera to obtain a third initial evaluation result;
[0170] Based on the observation angle between the current observation position and the observation position to be evaluated, the observation position to be evaluated is evaluated to obtain a fourth initial evaluation result;
[0171] The first initial evaluation result, the second initial evaluation result, the third initial evaluation result, and the fourth initial evaluation result are used as at least two initial evaluation results corresponding to the observation location to be evaluated.
[0172] Optionally, the position evaluation module 504 is further configured to:
[0173] Determine the distance between the location information of the target object and the observation location to be evaluated;
[0174] Based on the first preset result matching rule, an evaluation result that matches the interval distance is determined, and the evaluation result is determined as the first initial evaluation result of the observation position to be evaluated.
[0175] Optionally, the position evaluation module 504 is further configured to:
[0176] Based on the obstacle objects between the observation location to be evaluated and the target object, determine the current observation status of the observation location to be evaluated;
[0177] Based on the current observation state, a second initial evaluation result is determined for the observation location to be evaluated.
[0178] Optionally, the position evaluation module 504 is further configured to:
[0179] Determine the distance between the current observation position of the observation camera and the observation position to be evaluated;
[0180] Based on the second preset result matching rule, an evaluation result that matches the interval distance is determined, and the evaluation result is determined as the third initial evaluation result of the observation position to be evaluated.
[0181] Optionally, the position evaluation module 504 is further configured to:
[0182] Determine the location information of the target object, and determine a first observation vector of the observation location to be evaluated relative to the location information, and a second observation vector of the current observation location relative to the location information;
[0183] Based on the first observation vector and the second observation vector, the observation angle between the current observation position and the observation position to be evaluated is determined;
[0184] Based on the observation angle, a fourth initial evaluation result is determined for the observation location to be evaluated.
[0185] Optionally, the initial evaluation result is the initial evaluation score;
[0186] Accordingly, the position evaluation module 504 is further configured to:
[0187] Based on at least two initial evaluation scores, calculate the quality evaluation scores for the at least two preset observation locations.
[0188] Optionally, the quality assessment result is a quality assessment score;
[0189] Accordingly, the position evaluation module 504 is further configured to:
[0190] The maximum quality assessment score is determined from the quality assessment scores of the at least two preset observation locations;
[0191] If there is only one maximum quality assessment score, the preset observation position corresponding to the maximum quality assessment score will be determined as the updated observation position.
[0192] If there are at least two maximum quality assessment scores, an updated observation position is determined from the preset observation positions corresponding to the at least two maximum quality assessment scores.
[0193] Optionally, the position evaluation module 504 is further configured to:
[0194] The preset observation locations corresponding to at least two of the maximum quality assessment scores are used as candidate observation locations;
[0195] Predict the movement trajectory of the target object and calculate the interval distance between the candidate observation position and the movement trajectory;
[0196] Determine the minimum interval distance among the interval distances, and use the candidate observation position corresponding to the minimum interval distance as the updated observation position.
[0197] Optionally, the camera transfer module 506 is further configured to:
[0198] The observation camera is moved from the current observation position to the updated observation position, and the position transfer time is recorded;
[0199] If the time difference between the location transfer time and the current time is determined to meet a preset time threshold, the updated observation position is fixed.
[0200] The target object is observed by the observation camera located at the updated observation position.
[0201] Optionally, the object observation device further includes a location determination module, configured to:
[0202] The current observation position is determined as the preset observation position, wherein the preset observation position is distributed around the target object, and a preset interval distance is maintained between the target object and the target object, and the observation position moves with the target object.
[0203] The object observation device provided in this specification provides at least two preset observation positions for the target object. When the current observation state of the observation camera for the target object meets the update conditions, an updated observation position is selected from the at least two preset observation positions, and the observation camera is moved to the updated observation position to observe the target object. This allows for flexible adjustment of the observation angle and position of the observation camera, avoiding the problem of the target object not being displayed to the game player due to the observation camera being blocked, thus improving the game player's gaming experience.
[0204] The above is a schematic scheme of an object observation device according to this embodiment. It should be noted that the technical solution of this object observation device and the technical solution of the object observation method described above belong to the same concept. For details not described in detail in the technical solution of the object observation device, please refer to the description of the technical solution of the object observation method described above.
[0205] Figure 6 A structural block diagram of a computing device 600 according to one embodiment of this specification is shown. The components of the computing device 600 include, but are not limited to, a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and a database 650 is used to store data.
[0206] The computing device 600 also includes an access device 640, which enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of wired or wireless network interface (e.g., a Network Interface Card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) interface, a Wi-MAX interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.
[0207] In one embodiment of this specification, the above-described components of the computing device 600 and Figure 6 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 6 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0208] The computing device 600 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. The computing device 600 can also be a mobile or stationary server.
[0209] The processor 620 is configured to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the object observation method described above.
[0210] The above is a schematic representation of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the object observation method described above belong to the same concept. Details not described in detail in the technical solution of the computing device can be found in the description of the technical solution of the object observation method described above.
[0211] An embodiment of this specification also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the object observation method described above.
[0212] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the object observation method described above belong to the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the object observation method described above.
[0213] An embodiment of this specification also provides a computer program, wherein when the computer program is executed in a computer, it causes the computer to perform the steps of the object observation method described above.
[0214] The above is an illustrative scheme of a computer program according to this embodiment. It should be noted that the technical solution of this computer program and the technical solution of the object observation method described above belong to the same concept. For details not described in detail in the technical solution of the computer program, please refer to the description of the technical solution of the object observation method described above.
[0215] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0216] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.
[0217] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments in this specification are not limited to the described order of actions, because according to the embodiments in this specification, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments in this specification.
[0218] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0219] The preferred embodiments disclosed above are merely illustrative of this specification. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the embodiments described herein. These embodiments are selected and specifically described in this specification to better explain the principles and practical applications of the embodiments, thereby enabling those skilled in the art to better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.
Claims
1. An object observation method characterized by comprising: The method comprises the steps of: determining a current observation state of an observation camera of a target object at a current observation position; in a case where it is determined that the current observation state meets an update condition, evaluating at least two preset observation positions of the target object to obtain an updated observation position, comprising: determining at least two preset observation positions of the target object, determining a to-be-evaluated observation position in the at least two preset observation positions, wherein the to-be-evaluated observation position is one of the at least two preset observation positions, evaluating the to-be-evaluated observation position based on position information of the target object to obtain a first initial evaluation result; evaluating a current observation state corresponding to the to-be-evaluated observation position to obtain a second initial evaluation result; evaluating the to-be-evaluated observation position based on a current observation position of the observation camera to obtain a third initial evaluation result; evaluating the to-be-evaluated observation position based on an observation angle between the current observation position and the to-be-evaluated observation position to obtain a fourth initial evaluation result; taking the first initial evaluation result, the second initial evaluation result, the third initial evaluation result and the fourth initial evaluation result as at least two initial evaluation results corresponding to the to-be-evaluated observation position, determining a quality evaluation result of the at least two preset observation positions based on the at least two initial evaluation results, and determining an updated observation position from the at least two preset observation positions based on the quality evaluation result, wherein the updated observation position is one of the at least two preset observation positions, the preset observation position is a pre-set camera position and is distributed around the target object, and the preset observation position moves with the target object; transferring the observation camera from the current observation position to the updated observation position to observe the target object.
2. The object observation method according to claim 1, characterized by, The evaluation of the to-be-evaluated observation position based on the position information of the target object to obtain the first initial evaluation result comprises: determining an interval distance between the position information of the target object and the to-be-evaluated observation position; determining an evaluation result matched with the interval distance based on a first preset result matching rule, and determining the evaluation result as the first initial evaluation result of the to-be-evaluated observation position.
3. The object observation method according to claim 1, characterized by, The evaluation of the current observation state corresponding to the to-be-evaluated observation position to obtain the second initial evaluation result comprises: determining a current observation state of the to-be-evaluated observation position based on an obstacle object between the to-be-evaluated observation position and the target object; determining the second initial evaluation result of the to-be-evaluated observation position based on the current observation state.
4. The object observation method according to claim 1, characterized by, The evaluation of the to-be-evaluated observation position based on the current observation position of the observation camera to obtain the third initial evaluation result comprises: determining an interval distance between the current observation position of the observation camera and the to-be-evaluated observation position; determining an evaluation result matched with the interval distance based on a second preset result matching rule, and determining the evaluation result as the third initial evaluation result of the to-be-evaluated observation position.
5. The object observation method according to claim 1, characterized by, The fourth initial evaluation result of the to-be-evaluated observation position is obtained by evaluating the to-be-evaluated observation position based on an observation angle between the current observation position and the to-be-evaluated observation position, comprising: determining the position information of the target object, and determining a first observation vector of the to-be-evaluated observation position for the position information and a second observation vector of the current observation position for the position information; determining the observation angle between the current observation position and the to-be-evaluated observation position based on the first observation vector and the second observation vector; determining the fourth initial evaluation result of the to-be-evaluated observation position based on the observation angle.
6. The object observation method according to claim 1, characterized by, The initial evaluation result is an initial evaluation score; Correspondingly, the quality evaluation result of the at least two preset observation positions is determined based on the at least two initial evaluation results, comprising: calculating the quality evaluation score of the at least two preset observation positions based on the at least two initial evaluation scores.
7. The object observation method according to claim 1, wherein The quality evaluation result is a quality evaluation score; Correspondingly, the update observation position is determined from the at least two preset observation positions based on the quality evaluation result, comprising: determining the maximum quality evaluation score from the quality evaluation scores of the at least two preset observation positions; in the case that the maximum quality evaluation score is one, determining the preset observation position corresponding to the maximum quality evaluation score as the update observation position; in the case that the maximum quality evaluation score is at least two, determining the update observation position from the preset observation positions corresponding to the at least two maximum quality evaluation scores.
8. The object observation method according to claim 7, characterized by, The update observation position is determined from the at least two preset observation positions corresponding to the maximum quality evaluation score, comprising: the preset observation positions corresponding to the at least two maximum quality evaluation scores are taken as candidate observation positions; predicting the moving track of the target object and calculating the interval distance between the candidate observation positions and the moving track; determining the minimum interval distance in the interval distance, and taking the candidate observation position corresponding to the minimum interval distance as the update observation position.
9. The object observation method according to claim 1, characterized by, The observation camera is transferred from the current observation position to the update observation position to observe the target object, comprising: the observation camera is transferred from the current observation position to the update observation position, and the position transfer time is recorded; in the case that the time difference value between the position transfer time and the current time meets the preset time threshold, the update observation position is fixed; the target object is observed by the observation camera located at the update observation position.
10. The object observation method according to claim 1, characterized by, After the observation camera is transferred from the current observation position to the update observation position to observe the target object, further comprising: the current observation position is determined as a preset observation position, wherein the preset observation positions are distributed around the target object and maintain a preset interval distance with the target object, and follow the movement of the target object.
11. An object observation device, characterized by comprising: comprising: a state determination module configured to determine the current observation state of the observation camera of the target object at the current observation position; The position evaluation module is configured to, in a case where it is determined that the current observation state satisfies an update condition, evaluate at least two preset observation positions of the target object to obtain an updated observation position, including: determining the at least two preset observation positions of the target object, determining a to-be-evaluated observation position in the at least two preset observation positions, wherein the to-be-evaluated observation position is one of the at least two preset observation positions, evaluating the to-be-evaluated observation position based on position information of the target object to obtain a first initial evaluation result; evaluating a current observation state corresponding to the to-be-evaluated observation position to obtain a second initial evaluation result; evaluating the to-be-evaluated observation position based on a current observation position of the observation camera to obtain a third initial evaluation result; evaluating the to-be-evaluated observation position based on an observation angle between the current observation position and the to-be-evaluated observation position to obtain a fourth initial evaluation result; taking the first initial evaluation result, the second initial evaluation result, the third initial evaluation result, and the fourth initial evaluation result as at least two initial evaluation results corresponding to the to-be-evaluated observation position, determining a quality evaluation result of the at least two preset observation positions based on the at least two initial evaluation results, and determining an updated observation position from the at least two preset observation positions based on the quality evaluation result, wherein the updated observation position is one of the at least two preset observation positions, the preset observation position is a preset camera position and is distributed around the target object, and the preset observation position moves with the target object; The camera transfer module is configured to transfer the observation camera from the current observation position to the updated observation position to observe the target object.
12. A computing device, comprising: a memory and a processor; the memory is configured to store computer executable instructions, and the processor is configured to execute the computer executable instructions, and the computer executable instructions, when executed by the processor, implement steps of the object observation method in any one of claims 1 to 10.
13. A computer readable storage medium storing computer executable instructions, and the computer executable instructions, when executed by a processor, implement steps of the object observation method in any one of claims 1 to 10.
Citation Information
Patent Citations
Game picture display method and device, readable storage medium and electronic equipment
CN114534256A
Game system and recording medium recording program
JP2000334169A
Virtual camera control method in three-dimensional video game
US20040176164A1