Field of view picture display method and device, computer device and storage medium

By displaying the surrounding environment and target base point view of virtual objects in the game interface, the problem of users being unable to quickly reach their destination is solved, enabling faster and more strategic movement control.

CN115531874BActive Publication Date: 2026-03-31ANHUI SHANGQU PLAY NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Users find it difficult to quickly understand distant environmental information based on the zoomed-out global map and local map, making it difficult to control virtual objects to quickly reach the expected destination.

Method used

The environment around the virtual object is displayed in the first window, and the target object and target base point are determined according to the direction of travel. The view from the target base point to the target object is displayed in the second window, and the target base point is selected to be located within the planned path connecting the virtual object and the target object.

Benefits of technology

Users can more quickly control virtual objects to avoid obstacles, choose appropriate paths to move, understand the target object and its environment in advance, avoid wasting time turning back, and achieve a fast arrival at the destination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115531874B_ABST
    Figure CN115531874B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure relates to a field of view picture display method and device, computer equipment and storage medium. The main steps of the foregoing method include: displaying a first picture in a first window; determining a target object corresponding to a travel direction according to the travel direction of a virtual object; selecting a target base point near the target object; and displaying a second picture in a second window. The method can quickly determine whether the target object corresponding to the current travel direction is the destination that the user wants to control the virtual object to reach, and can make the user determine whether the timing of going to the target object is appropriate, thereby avoiding wasting time and turning back. In addition, the user can understand the environment that needs to be faced on the way from the current position of the virtual object to the target object, thereby facilitating the user to control the virtual object to adjust the travel direction or change the equipment in advance, which can facilitate the user to reach the target object more quickly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, computer device, and storage medium for displaying a visual image. Background Technology

[0002] In games where users need to control virtual objects to explore and move within the game map, the user interface typically displays a partial map view of the virtual object's location. Additionally, a smaller window displays a zoomed-out global map, allowing the user to understand the virtual object's relative position within the global map. These game applications include, but are not limited to, any of the following: First-Person Game (FPG), Third-Person Game (TPG), Adventure Game (AVG), Shooting Game (STG), Multiplayer Online Battle Arena Game (MOBA), and Simulation Game (SLG).

[0003] However, users find it difficult to quickly understand more distant environmental information based on the zoomed-out global map and the local map where the virtual object is currently located. Therefore, it is difficult to control the virtual object to quickly reach the user's desired destination. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, computer device, and storage medium for displaying a view that facilitates the rapid arrival of virtual objects at their intended destination, in order to address the aforementioned technical problems.

[0005] In a first aspect, embodiments of this disclosure provide a method for displaying a field of view, the method comprising:

[0006] The first screen is displayed in the first window, which is used to show the environment around the virtual objects in the virtual environment;

[0007] Based on the virtual object's direction of travel, determine the target object corresponding to that direction of travel;

[0008] Select a target base point near the target object, where the target base point is located within the planned path connecting the virtual object and the target object;

[0009] The second view is displayed in the second window, which shows the field of view from the target base point to the target object.

[0010] In some embodiments, determining the target object corresponding to the direction of travel of the virtual object includes: determining a plurality of optional objects corresponding to the direction of travel of the virtual object; determining the optional object closest to the virtual object as the target object based on the distance between each optional object and the virtual object; or, in response to a selection operation of one of the multiple optional objects, taking the selected optional object as the target object.

[0011] In some embodiments, determining the target object corresponding to the direction of travel of the virtual object includes: determining the target object based on the current orientation information of the virtual object; or, determining the target object based on the planned path of the virtual object, wherein the target object is located at the destination to which the planned path leads.

[0012] In some embodiments, the size of the first window is larger than the size of the second window; the method includes: displaying a second screen in the first window and displaying the first screen in the second window in response to a screen switching operation.

[0013] In some embodiments, the view display method further includes: in response to a change in the travel direction of the virtual object, determining a new target object for the virtual object based on the changed travel direction; selecting a new target base point near the new target object, wherein the new target base point is located within a planned path connecting the virtual object and the new target object; and updating a second screen, wherein the updated second screen is used to display the view of the new target base point toward the new target object.

[0014] In some embodiments, when the distance between the virtual object and the target object exceeds a preset distance threshold, a second screen is displayed in the second window, including: displaying a simplified model of the scenery within the field of view of the target base point towards the target object in the second screen.

[0015] In some embodiments, the view display method further includes displaying a prompt message when the scenery attributes in the second view change.

[0016] In a second aspect, embodiments of this disclosure provide a field-of-view display device, the device comprising:

[0017] The first screen display module is used to display the first screen in the first window. The first screen is used to display the field of view of virtual objects located in the virtual environment.

[0018] The target object determination module is used to determine the target object corresponding to the direction of travel of the virtual object.

[0019] The target base point selection module is used to select target base points near the target object. The target base points are located within the planned path connecting the virtual object and the target object.

[0020] The second screen display module is used to display the second screen in the second window. The second screen is used to show the field of view of the target base point towards the target object.

[0021] In a third aspect, embodiments of this disclosure provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:

[0022] The first screen is displayed in the first window, which is used to show the environment around the virtual objects in the virtual environment;

[0023] Based on the virtual object's direction of travel, determine the target object corresponding to that direction of travel;

[0024] Select a target base point near the target object, where the target base point is located within the planned path connecting the virtual object and the target object;

[0025] The second view is displayed in the second window, which shows the field of view from the target base point to the target object.

[0026] In a fourth aspect, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0027] The first screen is displayed in the first window, which is used to show the environment around the virtual objects in the virtual environment;

[0028] Based on the virtual object's direction of travel, determine the target object corresponding to that direction of travel;

[0029] Select a target base point near the target object, where the target base point is located within the planned path connecting the virtual object and the target object;

[0030] The second view is displayed in the second window, which shows the field of view from the target base point to the target object.

[0031] The aforementioned view display method, device, computer equipment, and storage medium display the environment near the virtual object through a first window, allowing the user to control the virtual object to avoid obstacles or choose a desired path for rapid movement within a local map. By displaying the environment, including the target object, in a second window, the user can quickly determine whether the location of the target object corresponding to the current direction of travel is the destination the user wishes to reach, and whether the timing is appropriate for heading to the target object, avoiding wasted time and backtracking. Furthermore, since the selected target base point is located within the planned path connecting the virtual object and the target object, and the second screen displays the view from the target base point towards the target object, the user understands the environment encountered on the way from the current location of the virtual object to the target object. This allows the user to adjust the direction of travel or change equipment in advance, facilitating a faster arrival at the target object's location. Attached Figure Description

[0032] Figure 1 This is an application environment diagram of the field-view display method in some embodiments;

[0033] Figure 2 This is a flowchart illustrating the display method of the field of view in some embodiments;

[0034] Figure 3 This is a schematic diagram of a first view and a second view in some embodiments;

[0035] Figure 4(a) is a schematic diagram of the boundary of the field of view of virtual objects in some embodiments;

[0036] Figure 4(b) is a schematic diagram of the boundary of the local environment near the virtual object in some embodiments;

[0037] Figure 5(a) is a schematic diagram of a planned path in some embodiments;

[0038] Figure 5(b) is a schematic diagram of two optional paths between the virtual object and the target object in some embodiments;

[0039] Figure 5(c) is a schematic diagram of some embodiments where there is an optional object within the boundary of the oriented angle range;

[0040] Figure 5(d) is a schematic diagram of two optional objects within the boundary of the oriented angle range in some embodiments;

[0041] Figure 6 This is a flowchart illustrating the steps involved in updating the second screen in some embodiments;

[0042] Figure 7 This is a structural block diagram of the field-view display device in some embodiments;

[0043] Figure 8 This is a diagram showing the internal structure of a computer device in some embodiments. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this disclosure.

[0045] The viewing display method provided in this disclosure can be applied to terminals equipped with displays or to game systems connected to servers and displays. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The terminal can obtain user commands to move virtual objects via touch-screen controls such as displays, keyboards, mice, or joysticks. The server can be a standalone server or a server cluster, and can also obtain user commands to move virtual objects via touch-screen controls such as displays, keyboards, mice, or joysticks. The display can be controlled by the terminal's processor or the server to display screen elements such as first and second windows in the user interface.

[0046] Applied to the field of view display method Figure 1 The following description uses a terminal as an example. In some embodiments, the terminal includes a processor 101 and a display 102. The processor 101 can be implemented using at least one hardware form selected from programmable logic arrays (PLAs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), application-specific integrated circuits (ASICs), general-purpose processors, or other programmable logic devices. Figure 2 As shown, the visual display method includes steps S201, S202, S203 and S204 that can be executed by the terminal. Each step will be described in detail below.

[0047] Step S201: Display the first screen in the first window. The first screen is used to display the environment near the virtual object in the virtual environment.

[0048] Step S201 can be performed by the display 102. In step S201, the virtual environment is the environment of a virtual space in the game that contains virtual objects. The virtual environment may include a virtual ground environment, a virtual sky environment, a virtual underwater environment, or other environments in virtual space. The virtual environment can be a virtual two-dimensional space environment in the game, or it can be a virtual three-dimensional space environment in the game.

[0049] Virtual objects refer to objects in a user interface that can be moved in response to user actions. Virtual objects can be virtual characters in a game, such as virtual people or animals. They can also be virtual items in a game, such as virtual weapons or virtual statues. Virtual objects can also be virtual vehicles, such as virtual trains, virtual race cars, or virtual airplanes. Different games may have different virtual objects that users can control and move, and virtual objects may also possess other attributes, functions, or appearances depending on the needs of different games. Therefore, no particular restrictions are placed on the types of virtual objects described here.

[0050] Typically, users can perform movement operations using devices or controls such as keyboard keys, mouse, virtual joystick on a touchscreen, or mechanical joystick to control the movement of virtual objects in the game's virtual environment.

[0051] In step S201, the first window is a window in the user interface used to display the first screen. The border of the first window may or may not be displayed. The first window may be active or fixed.

[0052] like Figure 3 As shown, in some optional embodiments, a first window 301 and a second window 302 can be displayed in the user interface. The first window 301 displays a first screen, which is used to display the environment near a virtual object in the virtual environment.

[0053] The environment surrounding a virtual object can include both the environment around the virtual object and the environment within the virtual object's field of view. Additionally, the first screen can be used to display the virtual object itself, or a portion of the virtual object.

[0054] Figure 4(a) illustrates the boundary of the field of view of a virtual object in some optional embodiments. In Figure 4(a), the boundary of the field of view 401 corresponding to the virtual object 400 is fan-shaped from one perspective. The center of the circle containing the fan coincides with a reference point 403 selected on the virtual object 400. That is, the field of view 401 corresponding to the virtual object 400 can be determined based on the reference point 403 and the orientation of the virtual object 400. At this time, the first screen can display the environment within the field of view 401. The perspective displayed in the first screen is usually referred to as the first-person perspective. Of course, in some other optional embodiments, other ranges or regions can be selected as the field of view of the virtual object. The field of view of the virtual object can have boundaries of other shapes. The boundary of the field of view of the virtual object can be set as needed, and no special restrictions are imposed here.

[0055] Figure 4(b) illustrates the boundaries of a local environment, including a virtual object, in some alternative implementations. In Figure 4(b), the local environment 402 can be displayed in a first screen, where the local environment 402 includes the environment surrounding the virtual object 400. The first screen can then display both the local environment 402 and the virtual object 400, and the perspective shown in the first screen is typically referred to as a third-person perspective. Typically, the first screen displayed in this case provides a top-down view of the local environment 402 and the virtual object 400.

[0056] By displaying the first screen in the first window, users can intuitively observe the environment around the virtual object, making it easier for them to control the movement of the virtual object.

[0057] Step S202: Determine the target object corresponding to the direction of travel based on the direction of travel of the virtual object.

[0058] The direction of travel can refer to the virtual object's current orientation, the direction of its displacement over a past period, or the direction of the virtual path it lies on; no particular restriction is imposed here. The user controls the virtual object to move along the direction of travel, thus reaching the location of the target object.

[0059] The target object can be any object in the virtual environment other than virtual objects. It can also be a virtual character, virtual item, or virtual vehicle. Typically, a target object can be a virtual house, virtual mountain, or other object occupying a large space in the virtual environment, or it can be a point occupying a smaller space; there are no particular restrictions. In the game, the user may need to control the virtual object to move near or enter the target object to achieve the corresponding game objective. For example, the user may need to control a virtual character (i.e., a virtual object) to reach a distant virtual house (i.e., a target object), or to reach a distant location to obtain a virtual weapon (i.e., a target object), or to move to the front of another virtual character (i.e., a target object).

[0060] Therefore, in some optional implementations, important scenery and items encountered by the virtual object as it moves a certain distance in the direction of travel can be set as optional objects, and one object can be selected from the optional objects as the target object corresponding to the direction of travel. These important scenery and items can be defined according to the needs of different games. For example, items used to unlock new game levels, items that advance the game's plot, and items that significantly improve the attribute parameters of virtual objects can be considered important items; for example, some scenery at game stage destinations and scenery that triggers new game plots can be considered important scenery. These important items or important scenery can be preset as optional objects in the game.

[0061] Step S203: Select a target base point near the target object. The target base point is located within the planned path connecting the virtual object and the target object.

[0062] The target base point is a location that the virtual object will eventually pass through as it moves along the direction of travel. The target base point is near the target object. Specifically, the distance from the target base point to the target object, or the straight-line distance between the target base point and the target object, can be set according to actual needs and is not specifically limited here. Generally, the distance from the target base point to the target object is less than the distance from the target base point to the virtual object, or the straight-line distance between the target base point and the target object is less than the distance between the target base point and the virtual object.

[0063] For example, a base point within the planned path can be chosen as the target base point: the distance from the base point to the target object is a specified value, or the distance from the base point to the virtual object is multiple times the distance from the base point to the target object.

[0064] Of course, within the planned path, in addition to meeting the requirements of the distance from the target base point to the target object, or the straight-line distance between the target base point and the target object, the base point with the fewest obstacles in the field of vision can be selected as the target base point.

[0065] In some game environments, such as virtual open spaces without obstacles, virtual objects are allowed to move freely, moving from one area of ​​the virtual space to another along any route. However, in other game environments, the freedom of movement for virtual objects is reduced. For example, virtual objects may only be able to move along certain pre-defined virtual paths and cannot move outside of these paths. Their movement routes are restricted, and sometimes, when the virtual paths are curved, virtual objects cannot move along a straight line to the location of the target object. Therefore, the target base point is not necessarily located on the straight line connecting the virtual object and the target object.

[0066] Therefore, before determining the target base point, we can first determine the planned path that connects the virtual object and the target object. The planned path connecting the virtual object and the target object refers to one of the optional paths that allows the virtual object to move to the target object's location. In some cases, the user can control the virtual object to move to the target object's location via different paths. For example, some paths may be straight, some may be curved, and the distances corresponding to some paths may differ from others. In general, these paths can be called optional paths. The number of optional paths is often two or more. However, in other cases, due to game mechanics, there may only be one optional path. For example, a virtual object may only be allowed to cross water by moving on a virtual bridge; in this case, the virtual bridge is the only optional path.

[0067] When there is only one selectable path, the planned path refers to that single selectable path. When there are two or more selectable paths, the path with the shortest distance or the path with the shortest estimated travel time can be selected as the planned path. Alternatively, the plan can be determined based on user-preset selection rules within the game program, prioritizing a particular selectable path among multiple paths. For example, these rules could be that the level of virtual enemies along the planned path is lower than that along other selectable paths, or that the number of treasure chests near the planned path is greater than the number of treasure chests near other selectable paths.

[0068] In some alternative implementations, the planned path can be displayed on either the first or second screen. Of course, the planned path does not necessarily have to be displayed in the user interface. The planned path can be a line segment with no width or an area with width.

[0069] Figure 5(a) shows the shape of the planned path in some embodiments, with the first optional object 511 as the target object. In Figure 5(a), the planned path 521 connecting the virtual object 400 and the first optional object 511 is a straight line, meaning that the user can control the virtual object 400 to reach the location of the first optional object 511 along this planned path. At this time, a target base point near the first optional object 511 can be selected within the planned path 521, based on the area or location of the first optional object 511 and the required distance between the target base point and the first optional object 511. Figure 5(a) shows the selected target base point 531, which is far away from the virtual object 400 and close to the first optional object 511.

[0070] Figure 5(b) shows a scenario with two optional paths, using the first optional object 511 as the target object. Both the first optional path 522 and the second optional path 523 can connect the virtual object 400 and the first optional object 511, allowing the virtual object 400 to move to the location of the first optional object 511 along either path. In this case, the planned path can be determined based on the distances corresponding to the optional paths. Figure 5(b) shows the scenario where, when the distance corresponding to the first optional path 522 is less than the distance corresponding to the second optional path 523, the first optional path 522 is selected as the planned path, and a base point 532 is selected as the target base point near the first optional object 511.

[0071] Step S204: Display the second screen in the second window. The second screen is used to show the field of view from the target base point to the target object.

[0072] Step S204 can be performed by the display 102. The border of the second window may or may not be displayed. The second window may be active or fixed.

[0073] Unlike the first screen, which displays the environment around the virtual object, the second screen displays the environment around the target object. Specifically, the second screen shows the view from the target base point; more specifically, it shows the view from the target base point towards the target object.

[0074] Figure 5(a) illustrates an optional implementation where the field of view 501 of the target base point 531 toward the first optional object 511 is fan-shaped at an angle, with the center of the circle containing the fan-shaped area being the target base point 531. Of course, the field of view 501 of the target base point 531 toward the first optional object 511 can have other types of boundaries, which are not specifically limited here. The field of view of the target object from the target base point is a first-person perspective view, which the user can clearly anticipate. That is, when the virtual object moves along the planned path 521 to or near the target base point 531, the first screen will display the same or similar field of view. Therefore, the user can also understand in advance what kind of environment the virtual object 400 will face when it is located at the target base point 531.

[0075] In some cases, displaying a top-down view of the target object from a third-person perspective can help users understand the surrounding environment in advance. However, this approach centers on the target object, showcasing its surroundings. In reality, the environment between the target object and the virtual object is what users are more interested in. Environments near the target object but far from the planned path are usually irrelevant to the user or unlikely to be encountered by the virtual object during its journey. Therefore, this method displays many environments that users don't care about, or even those that are irrelevant to the user's control of the virtual object's movement, requiring the terminal to consume additional resources to render and display these environments. Furthermore, the presence of these uninteresting or unrelevant environments occupies a portion of the screen, limiting the display area of ​​the relevant and valuable environments, thus hindering the user's ability to quickly understand the target object and the final route to it.

[0076] The difference lies in step S204, where the view from the target base point towards the target object is shown, allowing users to learn more about the target object and the final stretch of road leading to it in advance. Compared to showing the target object from a top-down perspective, showing it from the view from the target base point enhances the three-dimensionality of the image, making it easier for users to identify and clearly see the details of the target object.

[0077] In summary, by executing steps S201, S202, S203, and S204, the environment near the virtual object is displayed in the first window, allowing the user to control the virtual object to avoid obstacles or choose a desired path for rapid movement within a local map. By displaying the environment, including the target object, in the second window, the user can quickly determine whether the location of the target object corresponding to the current direction of travel is the destination the user wants to reach. The user can know in advance whether the target objects encountered or passed along the direction of travel are of interest; for objects of no interest, exploration in that direction can be abandoned as early as possible.

[0078] Because users can learn about the target object and its surrounding environment in advance, they can also determine whether it is appropriate to go to the target object's location based on the virtual object's current status, avoiding wasting time turning back. For example, the current status of the virtual object can be determined based on its health points, level, or equipment, thus judging whether it is suitable to go to the target location at that time.

[0079] In addition, determining the target object corresponding to the direction of movement of the virtual object can make the user's control of the virtual object's movement more strategic or targeted. For example, the user can adjust the orientation of the virtual object or make a small displacement of the virtual object to observe the changes in the second screen, thereby verifying whether the current direction of movement is a more reasonable and ideal direction of movement, such as whether it can avoid some virtual enemies or obstacles in advance.

[0080] Since the selected target base point is located within the planned path connecting the virtual object and the target object, and the second screen displays the view from the target base point toward the target object, the target base point will not change for a certain period of time as long as the virtual object continues to move along the planned path. This allows the user ample time to understand and familiarize themselves with the environment they will face on the way from the current virtual object's location to the target object. This enables the user to control the virtual object to respond to the environment more quickly after reaching the target base point, which is beneficial for reaching the target object's location more quickly.

[0081] In some embodiments, when the distance between the target base point and the virtual object is less than a preset first distance threshold, or when the distance between the virtual object and the target object is less than a preset second distance threshold, or when the virtual object enters the area formed with the target base point as a reference point, the reference value of the view of the target base point displayed in the second screen is no longer significant. In this case, a third screen can be displayed in the second window. The third screen is used to display optional objects near the current target object. For example, a top-down view can be used to display the surrounding optional objects centered on the current target object, making it easier for the user to decide on the next destination.

[0082] The previous text also introduced the movement direction of virtual objects and selectable objects. Considering that there may be multiple selectable objects in a movement direction, such as the direction in which the virtual object is facing, it is necessary to select one object as the target object from among the multiple selectable objects.

[0083] In some embodiments, determining the target object corresponding to the direction of travel of the virtual object can specifically include the following steps: determining the target object based on the current orientation information of the virtual object. When the current orientation of the virtual object is used as the direction of travel, the target object can be determined based on the current orientation information of the virtual object. The orientation information can be the orientation angle or a range of orientation angles of the virtual object.

[0084] As shown in Figure 5(c), there are multiple selectable objects in the virtual environment, including a first selectable object 511, a second selectable object 512, and a third selectable object 513. In this case, the orientation angle range of the virtual object can be used as orientation information. In the figure, the first reference line 541 and the second reference line 542 intersect at a reference point 403 on the virtual object 400. The first reference line 541 and the second reference line 542 can be considered as the boundary of the orientation angle range. Selectable objects within this orientation angle range can be selected as target objects. Therefore, the first selectable object 511 can be considered as being located within the orientation angle range bounded by the first reference line 541 and the second reference line 542, thereby determining the first selectable object 511 as the target object. Figure 5(c) only shows one optional implementation; in other cases, the target object can also be determined based on other types of orientation information.

[0085] In some embodiments, determining the target object corresponding to the direction of travel of the virtual object can specifically include the following steps: determining the target object based on the planned path of the virtual object. The target object is located at the destination to which the planned path leads.

[0086] As shown in Figure 5(d), in some embodiments, the third reference line 543 and the fourth reference line 544 can be regarded as the boundaries of the orientation angle range of the virtual object 400. Since both the first optional object 511 and the fourth optional object 514 are located within the orientation angle range, that is, the direction of travel corresponds to multiple optional objects, an object can be selected from the first optional object 511 and the fourth optional object 514 as the target object. If the third optional path 524 is a planned path, then the first optional object 511 corresponding to the third optional path 524 is determined as the target object; if the fourth optional path 525 is a planned path, then the fourth optional object 514 corresponding to the fourth optional path 525 is determined as the target object. Generally, if the shorter path is used as the planned path, then when the distance of the third optional path 524 is less than that of the fourth optional path 525, the third optional path 524 can be used as the planned path, thereby determining the first optional object 511 as the target object. Figure 5(d) only shows one optional implementation method. As mentioned above, the planned path can also be determined according to other methods or standards, which will not be elaborated here.

[0087] In some embodiments, determining the target object corresponding to the direction of travel of the virtual object can specifically include the following steps: determining multiple optional objects corresponding to the direction of travel of the virtual object; and determining the optional object closest to the virtual object as the target object based on the distance between each optional object and the virtual object. The distance between each optional object and the virtual object can refer to a straight-line distance or a travel distance. Figure 5(d) illustrates the case where the optional object closest to the virtual object 400 is determined as the first optional object 511 based on the travel distance.

[0088] In other ways, the target object can be determined based on a selection operation. In this case, the target object is determined according to the virtual object's direction of travel, which may specifically include the following steps: determining multiple selectable objects corresponding to the direction of travel; and in response to a selection operation on one of the multiple selectable objects, using the selected selectable object as the target object. In some alternative implementations, multiple selectable objects can be displayed in a second window, and the user can perform a selection operation by clicking the controls corresponding to these selectable objects with a mouse or by clicking the controls corresponding to these selectable objects on a touchscreen, thereby determining one of the selectable objects as the target object.

[0089] In some embodiments, such as Figure 6 As shown, the method for displaying the view screen may also include the following steps:

[0090] Step S601: In response to a change in the travel direction of the virtual object, determine a new target object for the virtual object based on the changed travel direction;

[0091] Step S602: Select a new target base point near the new target object. The new target base point is located within the planned path connecting the virtual object and the new target object.

[0092] Step S603: Update the second screen. The updated second screen is used to display the field of view of the new target base point toward the new target object.

[0093] Steps S601, S602, and S603 apply to situations where the virtual object's direction of travel changes. In some optional implementations, a change in the direction of travel can be considered a change when the change in the parameter representing the direction exceeds a preset threshold. For example, when the direction of travel is represented by orientation information, a change in the direction of travel is considered a change when the change in the orientation angle in the orientation information exceeds a preset angle threshold over a past period. By detecting changes in the direction of travel, the target object is switched, a new target base point is determined based on the new target object, and the second screen is updated, which helps the user obtain more environmental information about the vicinity of different selectable objects. More importantly, if the user wants to use the location of the original target object as the destination, when the target object displayed on the second screen changes, the user can be prompted that the current direction of travel is not the optimal direction to reach the location of the original target object. On the other hand, if the user wants to adjust the destination to the location of another selectable object, they can adjust the direction of travel, and when the target object displayed on the second screen is that selectable object, they can control the virtual object to move along the corresponding direction of travel, thereby quickly reaching the location of another selectable object.

[0094] In some embodiments, when the distance between the virtual object and the target object exceeds a preset distance threshold, displaying a second screen in the second window may include the following: displaying a simplified model of the scenery within the field of view of the target base point towards the target object in the second screen. When the virtual object is far from the target object (i.e., the distance exceeds the preset distance threshold), the user may still change the target object midway. Therefore, displaying a simplified model of the scenery within the field of view of the target base point in the second screen allows the user to understand the environment without consuming excessive resources for data processing and screen rendering. Since the virtual object is far from the target object, when the virtual object's direction of travel changes slightly, there is a high probability that the target object will change, at which point the target object in the second screen will become another selectable object. Displaying a simplified model also facilitates fast screen loading and smooth transitions. The simplified model of the scenery may only include the outline of the scenery and may not include elements such as texture and color. In some optional embodiments, the simplified model of the scenery may also include text or symbols that represent the attributes or characteristics of the scenery for easy user identification. The preset distance threshold can be set according to actual needs and is not particularly limited here.

[0095] When the distance between the virtual object and the target object does not exceed a preset distance threshold, displaying a second screen in the second view window can include the following steps: Displaying the original model of the scenery within the field of view of the target base point towards the target object in the second screen. Both the original model and the simplified model are used to display the attributes or characteristics of the scenery. The original model corresponds to more types of visual elements than the simplified model. The original model can include elements such as the outline, texture, pattern, and color of the scenery.

[0096] In some embodiments, the view display method may further include the following steps: displaying a prompt message when the scenery attributes in the second screen change. The scenery attributes in the second screen include weather, terrain, types of virtual enemies, and the number of NPCs (Non-player Characters). Specifically, the prompt message can be displayed in either the first or second window to alert the user. The user can decide whether to move the currently controlled virtual object to the location of the target object based on the changed scenery attributes.

[0097] In some embodiments, the size of the first window is larger than the size of the second window. Accordingly, the viewing screen display method may include the following steps: in response to a screen switching operation, displaying a second screen in the first window and displaying the first screen in the second window. Therefore, the user can, as needed, use a screen switching operation to display the second screen in the first window, and can observe more details in the second screen.

[0098] It should be understood that, although Figure 2 and Figure 6 The steps in the flowchart are shown sequentially according to the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Figure 2 and Figure 6 Unless otherwise expressly stated herein, the steps illustrated and other steps involved in the embodiments are not subject to strict order restrictions and may be performed in other orders. Furthermore, at least some steps in the foregoing embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but may be performed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but may be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.

[0099] This disclosure provides a field-of-view display device, such as... Figure 7 As shown, the field-view display device 700 includes:

[0100] The first screen display module 701 is used to display the first screen in the first window. The first screen is used to display the field of view of virtual objects located in the virtual environment.

[0101] The target object determination module 702 is used to determine the target object corresponding to the direction of travel based on the direction of travel of the virtual object;

[0102] The target base point selection module 703 is used to select target base points near the target object, and the target base points are located within the planned path connecting the virtual object and the target object;

[0103] The second screen display module 704 is used to display a second screen in a second window. The second screen is used to show the field of view of the target base point toward the target object.

[0104] In some embodiments, the target object determination module 702 includes an optional object determination unit (not shown), which is used to determine a plurality of optional objects corresponding to the travel direction of the virtual object. The target object determination module 702 further includes a first selection unit (not shown) or a second selection unit (not shown). The first selection unit is used to determine the optional object closest to the virtual object as the target object based on the distance between each optional object and the virtual object. The second selection unit is used to select one of the multiple optional objects as the target object in response to a selection operation on that optional object.

[0105] In some embodiments, the target object determination module 702 includes a third selection unit (not shown) or a fourth selection unit (not shown). The third selection unit is used to determine the target object based on the current orientation information of the virtual object. The fourth selection unit is used to determine the target object based on the planned path in which the virtual object is located, wherein the target object is located at the destination to which the planned path leads.

[0106] In some embodiments, the size of the first window is larger than the size of the second window. The field-view display device 700 includes a screen switching module (not shown) for displaying a second screen in the first window and displaying a first screen in the second window in response to a screen switching operation.

[0107] In some embodiments, the field-of-view display device 700 includes: a new target object determination module (not shown), configured to determine a new target object of the virtual object based on the changed travel direction in response to a change in the travel direction of the virtual object; a new target base point determination module (not shown), configured to select a new target base point near the new target object, wherein the new target base point is located within a planned path connecting the virtual object and the new target object; and a screen update module (not shown), configured to update a second screen, wherein the updated second screen is used to display the field of view of the new target base point toward the new target object.

[0108] In some embodiments, when the distance between the virtual object and the target object exceeds a preset distance threshold, the second screen display module 704 includes a simplified model display unit (not shown) for displaying a simplified model of the scenery within the field of view of the target base point toward the target object in the second screen.

[0109] In some embodiments, the field-view display device 700 includes a prompt information display module (not shown) for displaying prompt information when the scenery attributes in the second screen change.

[0110] For specific limitations regarding the field-of-view display device 700, please refer to the limitations on the field-of-view display method above, which will not be repeated here. Each module in the aforementioned field-of-view display device 700 can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0111] In some embodiments, a computer device is provided, which may be another type of terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements the viewing screen display method in any embodiment of this document. The display screen can be a liquid crystal display or an electronic ink display. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse, etc.

[0112] Those skilled in the art will understand that Figure 8 The structures shown are merely block diagrams of some structures related to the embodiments of this disclosure and do not constitute a limitation on the computer devices on which the embodiments of this disclosure are applied. Specific computer devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.

[0113] The computer device provided in this disclosure may include a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps:

[0114] The first screen is displayed in the first window, which is used to show the environment around the virtual objects in the virtual environment;

[0115] Based on the virtual object's direction of travel, determine the target object corresponding to that direction of travel;

[0116] Select a target base point near the target object, where the target base point is located within the planned path connecting the virtual object and the target object;

[0117] The second view is displayed in the second window, which shows the field of view from the target base point to the target object.

[0118] In some other embodiments, the processor may also implement other steps of the view display method in any of the preceding embodiments when executing the computer program.

[0119] This disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0120] The first screen is displayed in the first window, which is used to show the environment around the virtual objects in the virtual environment;

[0121] Based on the virtual object's direction of travel, determine the target object corresponding to that direction of travel;

[0122] Select a target base point near the target object, where the target base point is located within the planned path connecting the virtual object and the target object;

[0123] The second view is displayed in the second window, which shows the field of view from the target base point to the target object.

[0124] In some other embodiments, when the computer program is executed by the processor, it may also implement other steps of the view display method in any of the preceding embodiments.

[0125] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The aforementioned computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this disclosure can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0126] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0127] The above embodiments merely illustrate several implementation methods of this disclosure, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of protection of this disclosure. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this disclosure, and these all fall within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the appended claims.

Claims

1. A visual field picture display method characterized by, The method comprises: displaying a first picture in a first window, the first picture being used to show an environment near a virtual object in a virtual environment; determining a target object corresponding to a travel direction of the virtual object according to the travel direction of the virtual object; selecting a target base point near the target object, the target base point being located in a planned path connecting the virtual object and the target object; displaying a second picture in a second window, the second picture being used to show a field of view of the target base point towards the target object; in response to a change in the travel direction of the virtual object, determining a new target object of the virtual object according to the changed travel direction; selecting a new target base point near the new target object, the new target base point being located in a planned path connecting the virtual object and the new target object; updating the second picture, the updated second picture being used to show a field of view of the new target base point towards the new target object; displaying prompt information when a property of a scene in the second picture changes; wherein, when a distance between the virtual object and the target object exceeds a preset distance threshold, the displaying of the second picture in the second window comprises: showing a simplified model of a scene in the field of view of the target base point towards the target object in the second picture.

2. The method of claim 1, wherein, The determining of the target object corresponding to the travel direction of the virtual object comprises: determining a plurality of selectable objects corresponding to the travel direction of the virtual object according to the travel direction of the virtual object; determining a selectable object closest to the virtual object as the target object according to distances between the selectable objects and the virtual object, or, in response to a selection operation on one of the plurality of selectable objects, selecting the selected selectable object as the target object.

3. The method of claim 1, wherein, The determining of the target object corresponding to the travel direction of the virtual object comprises: determining the target object according to current orientation information of the virtual object; or determining the target object according to a planned path in which the virtual object is located, the target object being located at a destination of the planned path.

4. The method of claim 1, wherein, The size of the first window is greater than the size of the second window; The method comprises: in response to a picture switching operation, displaying the second picture in the first window and displaying the first picture in the second window.

5. A visual field picture display device, characterized by comprising: The device comprises: a first picture display module configured to display a first picture in a first window, the first picture being used to show a field of view of a virtual object in a virtual environment; a target object determination module configured to determine a target object corresponding to a travel direction of the virtual object according to the travel direction of the virtual object; a target base point selection module configured to select a target base point near the target object, the target base point being located in a planned path connecting the virtual object and the target object; a second picture display module configured to display a second picture in a second window, the second picture being used to show a field of view of the target base point towards the target object; The new target object determining module is configured to determine a new target object of the virtual object according to a changed traveling direction of the virtual object in response to a change in the traveling direction of the virtual object; The new target base point determining module is configured to select a new target base point in the vicinity of the new target object, the new target base point being located in a planned path connecting the virtual object and the new target object; The picture updating module is configured to update the second picture, the updated second picture being used to show a field of view of the new target base point toward the new target object; The information prompting display module is configured to display prompting information when a scene attribute in the second picture changes. The second picture display module comprises a simplified model display unit, which is configured to display a simplified model of a scene in a field of view of the target base point toward the target object in the second picture when a distance between the virtual object and the target object exceeds a preset distance threshold.

6. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 4.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Virtual object control method and device and computer equipment

    CN108245888A

  • Virtual environment picture display method and device, terminal and storage medium

    CN111420402A