Lens picture display method and device, storage medium and electronic equipment
By turning virtual optical lenses on and off, the content of the field of view is dynamically adjusted, solving the problem of low efficiency in lens image display and achieving a more efficient information display and interactive experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2026-04-17
AI Technical Summary
The display efficiency of the lens image is relatively low, especially when there are obstructions in front of the virtual optical lens, making it difficult to present more information within the field of view.
By turning the virtual optical lens on and off, the information content in the user's field of vision can be dynamically adjusted, the occlusion status of obstructing elements can be removed or changed, and the transition between the view outside the lens and the view inside the lens can be displayed, including changes in the shape of obstructing elements and their direct removal.
It improves the efficiency of information display, enhances the user's interactive experience with the virtual environment, and changes the way obstructing elements in the field of view are presented by switching camera states, thus achieving more efficient information display.
Smart Images

Figure CN121868853A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method, apparatus, storage medium, and electronic device for displaying camera images. Background Technology
[0002] In scenarios where the camera view is displayed, virtual optical lens functionality is typically enabled to showcase richer information within the field of view. However, when an obstruction blocks the view, even with virtual optical lens enabled, it becomes difficult to present more information within the limited field of view, resulting in low display efficiency. Therefore, there is a problem with low display efficiency for camera views.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a method, apparatus, storage medium, and electronic device for displaying lens images, in order to at least solve the technical problem of low display efficiency of lens images.
[0005] According to one aspect of the embodiments of this application, a method for displaying a lens view is provided, comprising: displaying an external view, wherein the external view is a view of a virtual environment within the field of view when the virtual optical lens is in a closed state, the virtual environment including at least one obstructing element, the at least one obstructing element being in a field-of-view occlusion state in the external view; and displaying an internal view in response to a lens opening operation performed on the virtual optical lens, wherein the internal view is a view of the virtual environment within the field of view when the virtual optical lens is in a closed state, and the at least one obstructing element being in an occlusion removal state in the internal view.
[0006] According to another aspect of the embodiments of this application, a display device for a lens view is also provided, comprising: a first display unit for displaying an external view, wherein the external view is a view of a virtual environment within the field of view when the virtual optical lens is in a closed state, the virtual environment includes at least one obstructing element, and the at least one obstructing element is in a field-of-view occlusion state in the external view; and a second display unit for displaying an internal view in response to a lens opening operation performed on the virtual optical lens, wherein the internal view is a view of the virtual environment within the field of view when the virtual optical lens is in an open state, and the at least one obstructing element is in an occlusion removal state in the internal view.
[0007] As an optional solution, the above-mentioned device further includes: a third display unit, used to display a shape change of the first blocking element among the at least one blocking element during the process of displaying the image inside the lens in response to the lens opening operation performed on the virtual optical lens, wherein the first blocking element before the shape change is in a field-of-view occlusion state in the image outside the lens, and the first blocking element after the shape change is in the occlusion removal state in the image inside the lens.
[0008] As an optional solution, the third display unit includes: a first display module for displaying a first interaction between the first blocking element and the first virtual prop, wherein the first virtual prop is equipped with the virtual optical lens, and the first blocking element is configured to undergo the aforementioned morphological change as the first interaction is executed.
[0009] As an optional solution, the above-mentioned device further includes: a fourth display unit, used to display a second obstructing element among the at least one obstructing element removed during the process of displaying the image inside the lens in response to the lens opening operation performed on the virtual optical lens, wherein the second obstructing element is in a field-of-view occlusion state in the image outside the lens.
[0010] As an optional solution, the fourth display unit includes: a second display module for displaying a second interaction between the second blocking element and the first virtual character, wherein the first virtual character holds the virtual optical lens, and the second blocking element is set to be removed upon execution of the second interaction.
[0011] As an optional solution, the fourth display unit includes: a third display module for displaying a third interaction between the second blocking element and the second virtual prop, wherein the second virtual prop is configured to allow the removal of the second blocking element, and the second blocking element is configured to be removed upon execution of the third interaction.
[0012] As an optional solution, the above-mentioned device further includes: a fifth display unit, used to display a third blocking element that destroys the at least one blocking element during the process of displaying the image inside the lens in response to the lens opening operation performed on the virtual optical lens, wherein the third blocking element before destruction is in a field-of-view occlusion state in the image outside the lens, and the third blocking element after destruction is in the occlusion removal state in the image inside the lens.
[0013] As an optional solution, the fifth display unit includes: a fourth display module for displaying a fourth interaction between the third blocking element and the second virtual character, wherein the second virtual character holds the virtual optical lens, and the third blocking element is configured to be destroyed upon execution of the fourth interaction.
[0014] As an optional solution, the fifth display unit includes: a fifth display module, used to display a fifth interaction between the third blocking element and the third virtual prop, wherein the third virtual prop is configured to allow destruction of the third blocking element, and the third blocking element is configured to be destroyed upon execution of the fifth interaction.
[0015] As an optional solution, the above-mentioned device further includes: a first acquisition unit, configured to display a first in-lens image after displaying the image outside the lens, in response to a first lens-opening operation performed on the virtual optical lens, wherein the first in-lens image is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and the at least one obstructing element is in the field of view occlusion state in the first in-lens image; a sixth display unit, configured to display an occlusion removal mark after displaying the image outside the lens, provided that the fourth obstructing element among the at least one obstructing element meets a first removal condition; and a seventh display unit, configured to display a second in-lens image after displaying the image outside the lens, in response to an occlusion removal request performed on the occlusion removal mark, wherein the second in-lens image is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and the fourth obstructing element is in the occlusion removal state in the second in-lens image.
[0016] As an optional solution, the above-mentioned device further includes at least one of the following: a sixth display module, used to display the element removal operation performed on the fourth obstructing element during the process of displaying the image inside the second mirror; a seventh display module, used to display the element deformation operation performed on the fourth obstructing element during the process of displaying the image inside the second mirror; and an eighth display module, used to display the element destruction operation performed on the fourth obstructing element during the process of displaying the image inside the second mirror.
[0017] As an optional solution, the above-mentioned device further includes: a second acquisition unit, configured to, after displaying the image outside the lens, acquire a second lens opening operation performed on the virtual optical lens, and if the fifth blocking element among the at least one blocking element satisfies the second removal condition, determine the second lens opening operation as the lens opening operation.
[0018] As an optional solution, the above-mentioned device further includes: an eighth display unit, configured to display, during the process of displaying the image within the lens in response to the lens opening operation performed on the virtual optical lens, the image of the first removal of obstruction operation acting on the first element among the at least one obstructing element, wherein the element type of the first element matches the operation type of the first removal of obstruction operation; and a ninth display unit, configured to display, during the process of displaying the image within the lens in response to the lens opening operation performed on the virtual optical lens, the image of the second removal of obstruction operation acting on the second element among the at least one obstructing element, wherein the element type of the second element matches the operation type of the second removal of obstruction operation.
[0019] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the display method for the above-described camera image.
[0020] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-described method for displaying the lens image through the computer program.
[0021] In this embodiment, an off-lens view is displayed, wherein the off-lens view is the view of the virtual environment within the field of view when the virtual optical lens is in a closed state, the virtual environment includes at least one obstructing element, and the at least one obstructing element is in a field-of-view occlusion state in the off-lens view; in response to a lens opening operation performed on the virtual optical lens, an in-lens view is displayed, wherein the in-lens view is the view of the virtual environment within the field of view when the virtual optical lens is in a closed state, and the at least one obstructing element is in an occlusion removal state in the in-lens view.
[0022] By opening and closing the camera lens, the information content in the user's field of view is dynamically adjusted, making the display more flexible and adaptable to different viewing needs. For example, when the camera is open, by removing obstructions, more key information can be directly presented to the user without requiring additional user operation or adjustment, thus improving the efficiency of information display. Users can observe more details and changes in the virtual environment through a simple camera opening operation. This instant feedback mechanism enhances the interactive experience between the user and the virtual environment, thereby achieving the goal of changing the presentation of obstructing elements in the field of view through switching virtual optical lens states. This achieves the technical effect of improving the display efficiency of the camera lens image, thus solving the technical problem of low display efficiency in camera lens images. Attached Figure Description
[0023] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0024] Figure 1 This is a schematic diagram of an application environment for an optional method of displaying a camera view according to an embodiment of this application;
[0025] Figure 2 This is a schematic diagram of the flow of an optional method for displaying a camera view according to an embodiment of this application;
[0026] Figure 3 This is a schematic diagram of an optional method for displaying a camera view according to an embodiment of this application;
[0027] Figure 4 This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0028] Figure 5 This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0029] Figure 6 This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0030] Figure 7 This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0031] Figure 8 This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0032] Figure 9This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0033] Figure 10 This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0034] Figure 11 This is a schematic diagram of another optional method for displaying a camera view according to an embodiment of this application;
[0035] Figure 12 This is a schematic diagram of an optional lens view display device according to an embodiment of this application;
[0036] Figure 13 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0037] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0038] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0039] According to one aspect of the embodiments of this application, a method for displaying a lens view is provided. Optionally, as an optional implementation, the above-described method for displaying a lens view can be applied to, but is not limited to, [examples of other methods]. Figure 1 The environment shown may include, but is not limited to, user equipment 102 and server 112. User equipment 102 may include, but is not limited to, a display 104, a processor 106 and a memory 108. Server 112 includes a database 114 and a processing engine 116.
[0040] The specific process can be summarized in the following steps:
[0041] In step S102, the user equipment 102 displays the view outside the lens through the display 104 and further obtains the operation information of the lens opening operation performed on the virtual optical lens. The view outside the lens is the view of the virtual environment in the field of vision when the virtual optical lens is in the closed state. The virtual environment includes at least one obstructing element, and the at least one obstructing element is in the field of vision occlusion state in the view outside the lens.
[0042] Step S104: Send the operation information for opening the lens to the server 112 via network 110;
[0043] In step S108, server 112 responds to the lens opening operation performed on the virtual optical lens through processing engine 116 and obtains the image data of the image inside the lens. The image inside the lens is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and at least one obstructing element is in the occlusion removal state in the image inside the lens.
[0044] In step S110, the image data of the scene within the lens is sent to the user equipment 102 via the network 110. The user equipment 102 displays the scene within the lens on the display 104 via the processor 106 and stores the image data of the scene within the lens in the memory 108.
[0045] remove Figure 1 Beyond the examples shown, the terminal devices described above can be terminal devices configured with a target client, including but not limited to at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, PDAs, MIDs (Mobile Internet Devices), PADs, desktop computers, smart TVs, etc. The target client can be a video client, instant messaging client, browser client, educational client, etc. The networks described above can include, but are not limited to, wired networks and wireless networks. The wired networks include local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). The wireless networks include Bluetooth, Wi-Fi, and other networks that enable wireless communication. The server described above can be a single server, a server cluster consisting of multiple servers, or a cloud server. The above is merely an example, and no limitations are imposed in this embodiment.
[0046] Alternatively, as an alternative implementation method, such as Figure 2 As shown, the method of displaying the camera view can be performed by an electronic device, such as... Figure 1 The user equipment or server shown includes the following specific steps:
[0047] S202, Display the view outside the lens, wherein the view outside the lens is the view of the virtual environment within the field of vision when the virtual optical lens is in the closed state, the virtual environment contains at least one obstructing element, and at least one obstructing element is in a state of obstruction of the field of vision in the view outside the lens.
[0048] S204, in response to the lens opening operation performed on the virtual optical lens, the view inside the lens is displayed, wherein the view inside the lens is the view of the virtual environment within the field of view when the virtual optical lens is in the open state, and at least one obstructing element is in the occlusion removal state in the view inside the lens.
[0049] Optionally, in this embodiment, the above-mentioned method for displaying camera images can be applied to multiple scenarios, such as the open-world exploration portion of first-person shooter (FPS) games, third-person shooter (TPS) games, role-playing games (RPGs), and some adventure puzzle games, etc., to provide players with a rich visual experience by simulating the on / off state of a virtual optical lens.
[0050] In various games, items can refer to any object that helps players overcome obstacles, obtain information, or enhance combat abilities. For example, in FPS games, this might include explosive packs to blast away obstacles, smoke grenades to create visual obstructions, or night vision goggles to allow players to see clearly in the dark. In RPGs or adventure games, it might be magic scrolls, telescopes, or special keys used to unlock hidden areas or reveal secrets.
[0051] "Virtual optical lenses" can be understood as perspective-switching tools or auxiliary observation devices in games, such as telescopes, scopes, cameras, or high-tech reconnaissance equipment. Taking FPS games as an example, when a player equips and uses the scope on a sniper rifle, they are essentially "activating the lens." At this point, the game screen switches from the normal out-of-camera view (wide field of view, containing a lot of environmental information but not prominent details) to the in-camera view (narrow field of view, focusing on the target, removing or reducing visual interference from non-target areas, such as blurring the edges of obstructions, and highlighting target details). This change not only improves shooting accuracy but also increases the tension and strategic depth of the game. In RPGs or adventure games, similar lens functionality might be used for puzzle-solving, such as discovering hidden symbols, paths, or clues through special lenses.
[0052] To further illustrate, consider a scenario in a first-person shooter game where players need to search for enemies in a complex architectural environment. The building contains multiple rooms and corridors, with some areas obstructed by walls or other obstacles. When the player's virtual camera is not activated, their field of vision is limited by these obstructions, allowing them to see only a limited area. Players can "activate" their virtual camera by pressing a specific shortcut key. Once activated, the game screen displays the location of enemies behind walls, and obstructions become transparent or semi-transparent, enabling players to quickly locate and lock onto targets.
[0053] Optionally, assuming the mechanism of "displaying the view outside the lens and the view inside the lens" in this embodiment is applied to a game scene—that is, the on and off state of the virtual optical lens and its function of obstructing and removing obstructing elements—it may disrupt game balance. For example, in shooting games, players who can see through walls can more easily ambush or evade enemies, potentially leading to a tactical imbalance in the game. If certain players or teams frequently use this function to gain a combat advantage, other players or teams may feel the game is unfair.
[0054] To address this, this embodiment further limits the interaction of removing obstructions, ensuring that players also bear a certain risk of exposure to some extent. Specifically, when players use observation tools such as scopes and lack natural cover like grass, the reflection from the scope may become a clue for the enemy. Furthermore, any unnatural movement or behavioral patterns during the manipulation or removal of obstructions may alert the enemy, indirectly revealing the player's position and intentions.
[0055] Furthermore, this embodiment can also limit the use of the field-of-view occlusion and removal functions for obstructing elements. For example, only under specific conditions can the scope-opening operation performed on the virtual optical lens be regarded as the lens opening operation performed on the virtual optical lens. For example, players can only use the virtual optical lens opening function during a specific time period in the game or after a certain time delay, or each time the virtual optical lens is opened, a certain amount of game resources (such as energy, ammunition or special items) need to be consumed, or the number of times each player can use the virtual optical lens in a game or a certain period of time can be limited, or the use of the virtual optical lens can be associated with completing a specific task or achieving a specific achievement.
[0056] Meanwhile, to enhance the realism of the game, the properties of the blocking element itself can be considered when setting specific conditions. For example, if the blocking element is deformable, then the specific conditions can be defined as the conditions that trigger the deformation of the blocking element. In this case, the specific conditions can be set such that the player must use a specific type of attack item or reach a certain shooting force in order to trigger the deformation or destruction effect of the blocking element.
[0057] If the obstructing elements are dynamically changing, such as leaves swaying gently in the wind or curtains billowing in the breeze, then after deformation, these elements can gradually revert to their original normal state when certain conditions are no longer met. This allows players to actively interact with these dynamic elements to remove obstructions to their view. Specifically, players can obtain a clear view for a brief window by moving branches or gently pulling back curtains. However, this artificial interference is not permanent; the moved elements will automatically return to their original dynamic state after a period of time—for example, leaves will sway in the wind again, and curtains will fall naturally. This design not only increases the interactivity between the player and the game environment but also maintains the game's challenge and realism, requiring players to consider the timeliness and subsequent effects of utilizing environmental advantages, thereby further enriching the game's tactical layers and strategic depth.
[0058] By combining the deformation properties and dynamic changes of blocking elements to set specific conditions, the game not only enhances realism but also adds more strategy and interactivity. Players need to observe the environment more carefully, judge timing, and take appropriate actions to gain a better experience and sense of accomplishment in the game.
[0059] Optionally, in this embodiment, "displaying the view outside the lens" refers to the visual image presented to the user in the virtual environment when the virtual optical lens is turned off. In this embodiment, "view outside the lens" does not mean the image is outside the physical range of the lens, but rather refers to the standard field of view that the user can see when the special functions of the virtual optical lens are not enabled.
[0060] In this viewpoint, the virtual environment contains various elements, among which "at least one obstructing element" refers to those elements that can block the user's line of sight and affect the visibility of other parts of the field of view. These obstructing elements can be any form of obstacle, such as large objects like walls and trees, or small objects like leaves and curtains. In off-camera footage, these obstructing elements will actually block the scene behind them, preventing the user from directly seeing the obscured parts.
[0061] Optionally, in this embodiment, "displaying the view inside the lens in response to a lens-opening operation performed on the virtual optical lens" means that when the user performs an operation to "open" the virtual optical lens, a view different from the "view outside the lens" will be displayed, i.e., the "view inside the lens". This "view inside the lens" is the field of view seen by the user in the virtual environment when the virtual optical lens is active or open. Importantly, in this state, elements that previously blocked the user's view (obstructing elements) will no longer obstruct the view, and the user can see through or see the previously obscured parts.
[0062] Optionally, in this embodiment, a "virtual optical lens" can refer to a virtual tool or component that simulates the function of a real optical device in a virtual environment. This virtual tool can change the user's visual experience in the virtual environment when the user performs a specific operation (such as activating the device), especially the interaction with obstructing elements, such as virtual cameras, virtual telescopes, virtual sniper scopes, and other optical devices. The virtual optical lens can provide different visual effects, such as magnification, reduction, and perspective.
[0063] Take virtual reality games as an example. Players might be equipped with a virtual sniper rifle with a high-powered scope. When players are not observing the environment through this high-powered scope (i.e., the virtual optical lens is off), they see a normal, unmagnified game environment. However, when players observe through the sniper rifle's high-powered scope (i.e., activate the scope), the game screen magnifies and displays distant details, as if the player were observing the environment through a real high-powered optical lens.
[0064] It should be noted that the description in this embodiment relates to a visual system in a virtual environment. Specifically, this embodiment describes two states of a virtual optical lens and their corresponding display effects. When the virtual optical lens is closed, the user sees the "outside-the-lens view," which is a standard, unprocessed field of view containing obstructing elements that block the user's view. When the user turns the virtual optical lens on, the view switches to the "inside-the-lens view." In this case, the elements that previously obstructed the view in the outside-the-lens view are removed and no longer block the user's line of sight.
[0065] To further illustrate, optional examples include... Figure 3 As shown in (a), an off-camera view 302 is displayed. This off-camera view 302 is the view of the virtual environment within the field of view when the virtual optical lens is closed. The virtual environment includes at least one obstructing element (such as a rectangular area represented by a shadow). This obstructing element is in a state of visual occlusion in the off-camera view 302 (e.g., obstructing the player's view, causing the enemy object 304 to appear blurred in the player's view); further for example... Figure 3As shown in (b), in response to a lens opening operation performed on a virtual optical lens (such as virtual lens 306), a lens view 308 is displayed, wherein the lens view 308 is the view of the virtual environment presented in the field of vision when the virtual optical lens is in the open state, and at least one obstructing element is in an obstruction removal state in the lens view (such as removing the obstructing element in the virtual lens 306 so that the virtual enemy object 304 is clearly visible in the player's field of vision).
[0066] The embodiments provided in this application utilize the opening and closing of the lens to dynamically adjust the information content in the user's field of vision, making the displayed image more flexible and adaptable to different viewing needs. For example, when the lens is open, by removing obstructing elements, more key information can be directly presented in the user's field of vision without requiring additional user operation or adjustment, thereby improving the efficiency of information display. Users can observe more details and changes in the virtual environment through a simple lens-opening operation. This instant feedback mechanism enhances the interactive experience between the user and the virtual environment, thus achieving the goal of changing the presentation of obstructing elements in the field of vision by switching the virtual optical lens state, thereby improving the display efficiency of the lens image.
[0067] As an alternative approach, in the process of displaying the image within the lens in response to a lens opening operation performed on a virtual optical lens, the method further includes:
[0068] The image shows that the first obstructing element among at least one obstructing element undergoes a shape change, wherein the first obstructing element before the shape change is in a state of obstruction in the view outside the lens, and the first obstructing element after the shape change is in a state of removal of obstruction in the view inside the lens.
[0069] Optionally, in this embodiment, the first blocking element may refer to at least one or more elements in the virtual environment that can block the field of view, and the "first blocking element" is a specific one among these elements, which will undergo shape changes during the process of the virtual optical lens being turned on.
[0070] Optionally, in this embodiment, morphological change can refer to the visual change experienced by the first blocking element as it changes from its original state of visual obstruction (which may be a solid, semi-transparent or other form of visual obstruction) to a state of obstruction removal in the image within the lens (i.e., no longer obstructing the view). This change can be a change in shape, structure, transparency, etc.
[0071] It should be noted that, in response to the activation of the virtual optical lens, in addition to displaying the transition from the view outside the lens to the view inside the lens—that is, the field of view changing from an obstructed state to an unobstructed state—this process also specifically includes displaying the shape change of at least one obstructing element ("first obstructing element"). In short, during the lens activation process, players or users can not only see the previously obstructed field of view gradually become clear, but also observe the shape change of the obstructing element itself.
[0072] To further illustrate, consider an adventure-themed virtual reality game where the player faces an ancient stone wall covered in vines. When the virtual optical lens is closed, these vines act as the primary obstruction, completely blocking the view behind the wall. When the player opens the lens, not only does the view behind the wall gradually become visible, but the vines also begin to change shape—for example, they wither, shrink, or become transparent—until they no longer obstruct the player's view, allowing the player to clearly see what lies behind the wall.
[0073] The embodiments provided in this application not only enhance the interactivity and dynamism of the virtual environment, but also provide users with richer visual feedback and experience.
[0074] As an alternative approach, it is shown that the first blocking element in at least one blocking element undergoes a morphological change, including:
[0075] This indicates that a first interaction occurs between a first blocking element and a first virtual prop, wherein the first virtual prop is equipped with a virtual optical lens, and the first blocking element is configured to change shape as the first interaction is executed.
[0076] Optionally, in this embodiment, the first virtual prop may refer to a specific prop that exists in the virtual environment for the player. This prop is equipped with a virtual optical lens and can interact with the first blocking element, thereby triggering a change in the shape of the first blocking element.
[0077] Optionally, in this embodiment, the first interaction may refer to the interaction between the player and the first blocking element through the operation of the first virtual prop. This interaction may be physical, such as directly contacting and changing the state or position of the blocking element; or it may be non-physical, such as triggering changes in the shape or state of the blocking element through optics, energy, or other virtual mechanisms.
[0078] For example, in a virtual reality adventure game, a player holds a virtual sword (the first virtual item) and faces a bunch of virtual thorns blocking their path (the first obstacle element). When the player swings the sword at the thorns, the sword and the thorns interact physically, the thorns are cut open by the sword, thus creating a path for the player. This is physical interaction.
[0079] The player possesses a special device equipped with a virtual optical lens (the first virtual item) and faces a door sealed by a mysterious force (the first blocking element). When the player scans or activates the door using the device, a non-physical interaction occurs between the device and the door. Through the specific function of the optical lens, the seal on the door gradually dissipates, and the door changes from closed to open, allowing the player to pass through; this is a non-physical interaction.
[0080] It should be noted that in the virtual environment, when the virtual optical lens is activated, not only is the transition from the view outside the lens to the view inside the lens displayed, but the shape change of at least one obstructing element (specifically referred to as the "first obstructing element") is also specifically shown during this process. This shape change is achieved through the interaction between the first obstructing element and the first virtual prop, which is equipped with the virtual optical lens. In other words, the first obstructing element is configured to trigger a shape change when it interacts with the first virtual prop.
[0081] The embodiments provided in this application not only increase the interactivity and immersion of the virtual environment, but also provide players with more triggering mechanisms through the interaction between the first blocking element and the first virtual prop.
[0082] As an alternative approach, in the process of displaying the image within the lens in response to a lens opening operation performed on a virtual optical lens, the method further includes:
[0083] Displays the removal of a second obstructing element from at least one obstructing element, wherein the second obstructing element is in a state of obstruction of the field of view outside the lens.
[0084] Optionally, in this embodiment, the second obstructing element may refer to a specific element among at least one obstructing element existing in the virtual environment. When the virtual optical lens is closed (i.e., when displaying the view outside the lens), this element obstructs the user's field of vision. However, when the lens is opened, this element is directly removed by the system, thereby making the user's field of vision clear.
[0085] It should be noted that in the virtual environment, when a user activates the virtual optical lens, the system responds by transitioning from displaying the view outside the lens to displaying the view inside the lens. During this process, in addition to the aforementioned change in the shape of the first obstructing element, another scenario exists: directly removing at least one second obstructing element from among the existing obstructing elements.
[0086] In this embodiment, "removal" can mean that the second obstructing element disappears from the field of view during the camera's opening process, thus no longer blocking the user's view. Furthermore, to meet the requirements of realism, more realistic visual effects can be used to simulate the "removal" process.
[0087] By removing the second obstructing element through the embodiments provided in this application, the user's field of vision is significantly expanded, enabling them to see previously obscured areas or objects and thus obtain more environmental information.
[0088] As an alternative, explicitly removing a second blocking element from at least one blocking element includes:
[0089] This indicates a second interaction between a second blocking element and a first virtual character, wherein the first virtual character holds a virtual optical lens, and the second blocking element is set to be removed upon execution of the second interaction.
[0090] Optionally, in this embodiment, the second interaction refers to the player interacting with obstructing elements in the virtual environment through specific operations or behaviors, thereby causing changes in the state or form of these obstructing elements and revealing previously occluded or hidden information, areas, or objects. This interaction can be categorized into physical interaction and non-physical interaction based on its nature.
[0091] For example, in a virtual reality adventure game, a player holds a virtual sword (the first virtual item) and faces a bunch of virtual thorns blocking their path (the first obstacle element). When the player swings the sword at the thorns, the sword and the thorns interact physically, the thorns are cut open by the sword, thus creating a path for the player. This is physical interaction.
[0092] The player possesses a special device equipped with a virtual optical lens (the first virtual item) and faces a door sealed by a mysterious force (the first blocking element). When the player scans or activates the door using the device, a non-physical interaction occurs between the device and the door. Through the specific function of the optical lens, the seal on the door gradually dissipates, and the door changes from closed to open, allowing the player to pass through; this is a non-physical interaction.
[0093] It should be noted that in a virtual environment, when the first virtual character (usually controlled by the player) activates the virtual optical lens, in addition to the changes in the view inside and outside the lens, a second interaction with the second obstructing element is triggered. The result of this interaction is that the second obstructing element is removed; that is, as the interaction continues, the second obstructing element that was originally blocking the view will gradually disappear, thus revealing the area that was previously blocked by it.
[0094] Through the embodiments provided in this application, the player's field of vision is significantly expanded by using the second interaction to remove the second obstructing element.
[0095] As an alternative, explicitly removing a second blocking element from at least one blocking element includes:
[0096] This indicates a third interaction between the second blocking element and the second virtual prop, wherein the second virtual prop is configured to allow the removal of the second blocking element, and the second blocking element is configured to be removed upon execution of the third interaction.
[0097] Optionally, in this embodiment, the third interaction may refer to a specific interaction between the second virtual prop and the second obstructing element in a virtual environment. The purpose of this interaction is to remove the second obstructing element, thereby altering the player's field of vision and environmental perception. The second virtual prop is designed to have a special function that can trigger the removal process of the second obstructing element. This interaction can be further subdivided into physical interaction and non-physical interaction based on its nature.
[0098] For example, in a virtual reality adventure game, a player holds a virtual sword (the first virtual item) and faces a bunch of virtual thorns blocking their path (the first obstacle element). When the player swings the sword at the thorns, the sword and the thorns interact physically, the thorns are cut open by the sword, thus creating a path for the player. This is physical interaction.
[0099] The player possesses a special device equipped with a virtual optical lens (the first virtual item) and faces a door sealed by a mysterious force (the first blocking element). When the player scans or activates the door using the device, a non-physical interaction occurs between the device and the door. Through the specific function of the optical lens, the seal on the door gradually dissipates, and the door changes from closed to open, allowing the player to pass through; this is a non-physical interaction.
[0100] It should be noted that in the virtual environment, besides removing obstructing elements through virtual optical lenses or interaction with the first virtual character, as mentioned earlier, there is another interaction method: removing obstructing elements through a third interaction between a second virtual prop and the second obstructing element. Here, the second virtual prop is specifically designed to remove the second obstructing element, which is then gradually removed during the execution of the third interaction.
[0101] By utilizing the embodiments provided in this application to remove the second obstructing element through a third interaction, the player's field of vision is significantly expanded.
[0102] As an alternative approach, in the process of displaying the image within the lens in response to a lens opening operation performed on a virtual optical lens, the method further includes:
[0103] The third obstructing element is shown as being destroyed, wherein the third obstructing element before destruction is in a state of obstruction in the view outside the lens, and the third obstructing element after destruction is in a state of removal of obstruction in the view inside the lens.
[0104] Optionally, in this embodiment, the destruction of the third obstruction element can refer to the act of destroying or removing a specific obstruction element (the third obstruction element) during the activation of the virtual optical lens. Before destruction, the third obstruction element would block the player's field of vision, but after destruction, it would no longer obstruct the view, allowing the player to see the previously obstructed area.
[0105] It's important to note that in the virtual environment, when a player activates the virtual optical lens, in addition to displaying changes in the view inside and outside the lens, there's also a process of destroying obstructing elements. During this process, specific obstructing elements (referred to here as third obstructing elements) are destroyed, thus changing their state from obstructing the view to no longer obstructing it. This means that during the lens activation process, third obstructing elements are destroyed or removed, thereby revealing the areas previously obscured by them.
[0106] To further illustrate, consider an alternative scenario in a war-themed virtual reality game where the player controls a soldier. When the player observes the battlefield through a virtual lens, they discover a sandbag fortification (a third obstruction) blocking their view. When the player activates the camera, they can command the soldier to destroy the fortification using explosives or attack items. As the fortification is destroyed, the player's field of vision opens, revealing the location of enemies or important targets behind it.
[0107] By destroying the third obstruction element through the embodiments provided in this application, the player's field of vision is significantly expanded, enabling them to see previously obscured areas.
[0108] As an alternative, displaying the destruction of a third blocking element among at least one blocking element includes:
[0109] This shows a fourth interaction occurring between the third blocking element and the second virtual character, where the second virtual character holds a virtual optical lens, and the third blocking element is set to be destroyed upon the execution of the fourth interaction.
[0110] Optionally, in this embodiment, the fourth interaction may refer to a specific interactive behavior between a second virtual character (the character holding a virtual optical lens) and a third obstructing element in a virtual environment. The purpose of this interaction is to disrupt the third obstructing element, thereby changing its occlusion state and expanding the player's field of vision. This interaction can be further subdivided into physical interaction and non-physical interaction based on its nature.
[0111] For example, in a virtual reality adventure game, a player holds a virtual sword (the first virtual item) and faces a bunch of virtual thorns blocking their path (the first obstacle element). When the player swings the sword at the thorns, the sword and the thorns interact physically, the thorns are cut open by the sword, thus creating a path for the player. This is physical interaction.
[0112] The player possesses a special device equipped with a virtual optical lens (the first virtual item) and faces a door sealed by a mysterious force (the first blocking element). When the player scans or activates the door using the device, a non-physical interaction occurs between the device and the door. Through the specific function of the optical lens, the seal on the door gradually dissipates, and the door changes from closed to open, allowing the player to pass through; this is a non-physical interaction.
[0113] It should be noted that in the virtual environment, when a player holds and operates the virtual optical lens through a second virtual character, they can trigger a specific interaction with a third obstructing element, namely the fourth interaction. This interaction results in the destruction of the third obstructing element, thereby changing its state within the virtual environment. Specifically, when the second virtual character engages in the fourth interaction with the third obstructing element, the element, which was originally obstructing the view, will be destroyed, thus appearing as unobstructed in the viewfinder.
[0114] Through the embodiments provided in this application, the player's field of vision is significantly expanded by using a fourth interaction to destroy a third obstructing element.
[0115] As an alternative, displaying the destruction of a third blocking element among at least one blocking element includes:
[0116] This indicates a fifth interaction between a third blocking element and a third virtual prop, wherein the third virtual prop is configured to allow the destruction of the third blocking element, and the third blocking element is configured to be destroyed upon execution of the fifth interaction.
[0117] Optionally, in this embodiment, the fifth interaction may refer to a specific interactive behavior that occurs between a third virtual item and a third blocking element in a virtual environment, the result of which is the destruction of the third blocking element. This interaction is part of the game design to provide a richer interactive experience between the player and the virtual environment. This interaction can be further subdivided into physical interaction and non-physical interaction based on its nature.
[0118] For example, in a virtual reality adventure game, a player holds a virtual sword (the first virtual item) and faces a bunch of virtual thorns blocking their path (the first obstacle element). When the player swings the sword at the thorns, the sword and the thorns interact physically, the thorns are cut open by the sword, thus creating a path for the player. This is physical interaction.
[0119] The player possesses a special device equipped with a virtual optical lens (the first virtual item) and faces a door sealed by a mysterious force (the first blocking element). When the player scans or activates the door using the device, a non-physical interaction occurs between the device and the door. Through the specific function of the optical lens, the seal on the door gradually dissipates, and the door changes from closed to open, allowing the player to pass through; this is a non-physical interaction.
[0120] It should be noted that in the virtual environment, when a specific interaction occurs between a third virtual item and a third obstructing element—that is, a fifth interaction—the third obstructing element will be destroyed. This interaction is pre-set to allow players to use the third virtual item to destroy or remove the third obstructing element, thereby altering the field-of-view occlusion state of the virtual environment.
[0121] Through the embodiments provided in this application, the player's field of vision is significantly expanded by using the fifth interaction to destroy the third obstructing element.
[0122] As an alternative approach, after displaying the off-lens view, the method also includes:
[0123] S1-1, in response to the first opening operation performed on the virtual optical lens, display the first in-lens image, wherein the first in-lens image is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and at least one obstructing element is in the field of view occlusion state in the first in-lens image.
[0124] S1-2, If the fourth blocking element among at least one blocking element satisfies the first removal condition, display the occlusion removal indicator;
[0125] S1-3, in response to the occlusion removal request executed on the occlusion removal flag, the second in-view image is displayed, wherein the second in-view image is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and the fourth obstructing element is in the occlusion removal state in the second in-view image.
[0126] Optionally, in this embodiment, the first scope-opening operation can refer to the operation performed by the player on the virtual optical lens, which is used to switch the lens from the closed state to the open state, so as to view the scene in the virtual environment.
[0127] Optionally, in this embodiment, the first in-camera view may refer to the virtual environment view that the player sees for the first time when the virtual optical lens is turned on, in which at least one obstructing element still blocks the view.
[0128] Optionally, in this embodiment, the first removal condition may refer to a specific condition or requirement that needs to be met in order for the fourth blocking element to be removed, such as the fourth blocking element being allowed to be removed, or the fifth blocking element meeting the removal condition corresponding to the occlusion removal identifier.
[0129] Optionally, in this embodiment, the occlusion removal indicator may refer to the indicator displayed by the system when the fourth blocking element meets the first removal condition, which is used to prompt the player that the occlusion removal operation can be performed.
[0130] Optionally, in this embodiment, the second in-view image may refer to the virtual environment image seen by the player after the occlusion removal request is executed, wherein the fourth obstructing element has been removed and no longer obstructs the view.
[0131] It's important to note that in the virtual environment, when a player performs the first scope-in operation with the virtual optical lens, they will initially see a first-view image. In this image, although the lens is open, at least one obstructing element is still blocking the view. Then, when a specific condition (the first removal condition) is met, the system will display an obstruction removal icon, prompting the player to remove a specific obstructing element (the fourth obstructing element). After the player requests removal of this element, the system will display a second-view image. In this image, the fourth obstructing element has been removed and no longer obstructs the view.
[0132] To further illustrate, consider an optional scenario in a shooting-style virtual reality game where players observe the battlefield through a virtual optical lens. When a player performs their first scope-in action, they might see an enemy partially obscured by trees (the fourth obstruction element). If the player has sufficient ammunition or energy (the first removal condition), the system will display an obstruction removal indicator (e.g., a flashing icon) next to the tree. When the player requests removal of the obstruction by interacting with this indicator (e.g., pressing a specific button), the tree is removed or becomes transparent, revealing the enemy in its entirety—this is the second in-scope view, and this process is presented within the virtual optical lens.
[0133] The embodiments provided in this application introduce a first removal condition and an occlusion removal indicator, offering players more opportunities for interaction and decision-making, thereby enhancing the game's interactivity and playability. As obstructing elements are removed, players are able to see previously occluded portions of the virtual environment.
[0134] As an alternative, the method for displaying the image within the second mirror also includes at least one of the following:
[0135] This shows the element removal operation performed on the fourth blocking element;
[0136] This displays the element transformation operation performed on the fourth blocking element;
[0137] This displays the element destruction operation performed on the fourth blocking element.
[0138] Optionally, in this embodiment, the element removal operation may refer to the operation of completely removing the fourth blocking element from the virtual environment, so that it no longer appears in the player's field of vision.
[0139] For example, in an adventure game, players discover hidden treasure by removing trees that obstruct their view (the fourth obstructing element). When a tree meets the removal criteria and is removed, it suddenly disappears from the player's sight, leaving the location of the treasure clearly visible.
[0140] Optionally, in this embodiment, the element deformation operation can refer to the operation of changing the shape, size, or structure of the fourth blocking element, so that it appears in the player's field of vision in a different form.
[0141] For example, in a puzzle game, players need to change the shape of a deformable obstacle (the fourth blocking element) to pass through a narrow passage. When the player successfully performs the deformation, the obstacle smoothly changes shape, allowing the player to continue.
[0142] Optionally, in this embodiment, the element destruction operation can refer to the operation of destroying or disintegrating the fourth blocking element, so that it appears in the player's field of vision in the form of broken, damaged or disintegrated.
[0143] For example, in an action game, players use explosives to destroy a wall blocking their path (the fourth obstacle). When the explosives detonate, the wall breaks apart and scatters, creating new paths for the player.
[0144] It should be noted that during the display of the second in-game scene, i.e., when the virtual optical lens is on and the fourth obstructing element has changed from an occluded state to a removed state, the system can execute and display further operations on the fourth obstructing element. These operations include at least one of the following: element removal, element deformation, or element destruction. These operations are designed to provide richer and more dynamic visual effects, enhancing the player's immersion and gaming experience.
[0145] Optionally, to improve the removal efficiency of the blocking element, the fourth blocking element can be removed by the element removal operation, element deformation operation, or element destruction operation, depending on the equipment performance. For example, if the equipment performance is high, the element deformation operation is used; if the equipment performance is medium, the element destruction operation is used; and if the equipment performance is low, the element removal operation is used.
[0146] The embodiments provided in this application demonstrate element removal, deformation, or destruction operations performed on a fourth blocking element, resulting in a more dynamic and varied visual effect that attracts the player's attention and enhances the visual experience. These operations make the virtual environment more realistic and vivid, increasing its appeal and immersion.
[0147] As an alternative approach, after displaying the off-lens view, the method also includes:
[0148] If a second opening operation is obtained for the virtual optical lens, and the fifth blocking element among at least one blocking element satisfies the second removal condition, the second opening operation is determined to be a lens opening operation.
[0149] Optionally, in this embodiment, the second scope-opening operation may refer to a specific operation performed by the player on the virtual optical lens, which aims to switch the lens from the closed state to the open state.
[0150] Optionally, in this embodiment, the fifth blocking element may refer to a specific blocking element in the virtual environment, whose state or attributes will affect the effectiveness of the second scope operation.
[0151] Optionally, in this embodiment, the second removal condition may refer to a specific condition or requirement that the fifth blocking element needs to meet in order for the second lens opening operation to be effective, such as the fifth blocking element being allowed to be removed, the distance between the fifth blocking element and the virtual optical lens being less than or equal to a preset threshold, or the fifth blocking element being allowed to be removed by the virtual optical lens.
[0152] It should be noted that in a virtual environment, when the virtual optical lens is closed and displaying the view outside the lens, if the system receives a second aiming operation on the virtual optical lens, and at this time, at least the fifth obstructing element among the obstructing elements satisfies the second removal condition, then the system will determine this second aiming operation as a valid lens opening operation. This means that only when specific obstructing elements meet specific conditions will the player's aiming operation be accepted by the system, triggering the lens to switch from the closed state to the open state, thereby changing the view within the field of view.
[0153] To further illustrate, consider a hypothetical shooting virtual reality game where players need to observe and shoot targets through a virtual optical lens. When the lens is closed, the player's field of vision is partially obstructed by a wall (the fifth obstruction element). Only when the player approaches this wall and meets a specific condition (such as possessing a specific key or item, i.e., the second removal condition), performing a second scope-in operation will open the lens, allowing them to penetrate the wall and see the target behind it.
[0154] According to the embodiments provided in this application, when the second scope operation meets the conditions and is successfully triggered, the player will see a completely different field of view than before.
[0155] As an alternative approach, in the process of displaying the image within the lens in response to a lens opening operation performed on a virtual optical lens, the method further includes at least one of the following:
[0156] S2-1, Display the first occlusion removal operation, which is applied to the screen of the first element among at least one blocking element, wherein the element type of the first element matches the operation type of the first occlusion removal operation;
[0157] S2-2, Display a second removal occlusion operation, which is applied to the screen of the second element among at least one obstructing element, wherein the element type of the second element matches the operation type of the second removal occlusion operation.
[0158] Optionally, in this embodiment, during the camera's activation, the player needs to perform specific actions matching the type of obstruction to remove it. These actions vary depending on the obstruction, such as parting grass, poking wallpaper, or lifting curtains.
[0159] For different types of obstructing elements, players need to perform different actions to remove them. For example, the first element might be grass, which players need to move the virtual tool left and right to clear away; the second element might be wallpaper, which players need to tap.
[0160] It should be noted that this embodiment describes how to remove obstructions by interacting with different types of obstructions during the process of turning the virtual optical lens from closed to open, thereby displaying different image effects.
[0161] To illustrate further, consider this scenario: when a player is facing a patch of grass, the off-screen view will show the grass completely obstructing their view. To remove the obstruction, the player needs to swing a virtual prop (such as a stick or sword) left or right. The screen will then show the player parting the grass, revealing a clear view after the grass has been removed.
[0162] For example, when a player is facing a wall covered with wallpaper, the off-screen view will show the wallpaper obstructing part of the view. To remove the obstruction, the player needs to poke the wallpaper. The screen will show the player poking the wallpaper with their finger or a tool, and then the on-screen view will show the view after the wallpaper has been removed.
[0163] Through the embodiments provided in this application, players can participate more deeply in the game environment and interact more realistically with the virtual world. The removal of obstructions not only increases the game's fun and challenge but also allows players to better understand and utilize the game environment, thereby developing more effective strategies and tactics. At the same time, this design enhances the game's immersion and sense of presence, making players feel as if they are in a truly tangible virtual world.
[0164] As an alternative, for ease of understanding, the above-mentioned method of displaying camera shots can be applied to virtual game scenarios. For example, battlefield simulation games are a type of multiplayer online shooting game that simulates large-scale battle scenarios and emphasizes teamwork and strategic planning. The core gameplay revolves around real-time battles between players, emphasizing the importance of teamwork. Players need to work closely with their teammates to complete tasks and achieve goals.
[0165] Optionally, in this embodiment, as Figure 4 As shown, when the player is in the vegetation without using the scope, the nearby vegetation obstructs the player's view. However, when the player uses the scope in the vegetation, the vegetation near the scope model is bent or peeled off to avoid obstructing the player's view. Players can configure how to handle clipping vegetation through the game settings.
[0166] If a bending method is used, the surrounding vegetation will also bend dynamically with the lens as the scope moves, preventing clipping into the lens.
[0167] If the peeling method is used, the surrounding vegetation will be dynamically peeled off as the scope moves, based on the display area of the lens.
[0168] Optionally, in this embodiment, the game can also select a default method for dealing with clipping vegetation based on the player's device performance. If the player's device performance is low, the peeling method is selected; if the player's device performance is high, the bending method is selected.
[0169] Optionally, in this embodiment, for close-range vegetation obstructions outside the scope, the player can use tools to manually remove them, such as... Figure 5 As shown, when the player is aiming down sights, if there is vegetation in close range in front of their field of vision and the player has a grass-cutting tool, an operation prompt "F Remove Vegetation" will appear on the screen. When F is pressed, the player character will play an animation of using the grass-cutting tool to cut the vegetation in front of them.
[0170] Alternatively, in this embodiment, the player can also use tools to create a hole in the wall in front of the scope's field of view, such as... Figure 6As shown, when the player is aiming down sights, there is a destructible wall at close range in front of their field of vision. If the player has a wall-breaking tool, an operation prompt "F Drill Hole" will appear on the screen. When F is pressed, the player character will play the action of using the wall-breaking tool to drill a hole in the wall corresponding to the scope, allowing them to see the scene behind the wall.
[0171] It should be noted that this embodiment provides a solution for removing virtual objects in a battlefield simulation game that interfere with a sniper's field of vision, simulating a realistic, concealed sniping experience. In real battlefields, snipers typically conceal themselves in the environment, such as bushes or grass, and remove obstructions from their field of vision to facilitate sniping.
[0172] However, when players aim with a scope while hiding in the grass, virtual objects in the environment, such as bushes and grass, often clip through the lens, obstructing the view and making sniping impossible. In this embodiment, when players open the scope in a specific environment, they can bend or peel off the vegetation model near the gun to avoid obstructing the scope's view. They can also use tools to remove virtual scene models that obstruct the view in front, providing a more realistic and immersive concealed sniping experience.
[0173] To further illustrate, optional examples include... Figure 7 As shown, when a player opens the scope in vegetation, the vegetation near the scope model is bent to avoid obstructing the player's view. As the scope moves, the surrounding vegetation also dynamically bends to prevent clipping into the view.
[0174] The specific bending method depends on the different vegetation in the game and its implementation method, for example Figure 8 As shown, when a node in the vegetation model gets close to the player's scope, it moves towards the normal direction of the scope. The adjacent nodes also move slightly to create a sense of curvature.
[0175] Optionally, in this embodiment, as Figure 9 As shown, if the vegetation cannot be bent or there is a risk of clipping, the vegetation model in the scope area can be directly removed from the rendering and not rendered to prevent it from obstructing the player's view.
[0176] When players use items to remove vegetation in front of them, they can do so as... Figure 10 As shown, the system detects vegetation in a fan-shaped area in front of the player. The fan-shaped area is centered on the player's center point, has a radius of 1 meter, and an angle of 60 degrees. The system then removes the vegetation model within the area.
[0177] Optionally, in this embodiment, as Figure 11As shown, when a player uses an item to drill a hole in the wall in front of their scope, a ray is fired from the player's crosshair. When a destructible wall is detected within 1 meter of the ray, a hole with a radius of 10cm is created on the wall model, centered at the intersection of the ray and the wall. The shape of the hole can be preset to simulate the effect of a wall being destroyed; the specific shape depends on the game style.
[0178] Through the embodiments provided in this application, when players open the scope in a specific environment, they can bend or peel off the vegetation model near the gun body to avoid obstructing the scope's view. They can also use props to remove the virtual scene model that obstructs their view in front, providing a more realistic and immersive concealed sniping experience.
[0179] It is understood that in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0180] 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 this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0181] According to another aspect of the embodiments of this application, a display device for a lens image used in implementing the above-described lens image display method is also provided. For example... Figure 12 As shown, the device includes:
[0182] The first display unit 1202 is used to display the view outside the lens. The view outside the lens is the view of the virtual environment within the field of vision when the virtual optical lens is in the closed state. The virtual environment includes at least one obstructing element, and the at least one obstructing element is in the field of vision occlusion state in the view outside the lens.
[0183] The second display unit 1204 is used to display the image inside the lens in response to a lens opening operation performed on the virtual optical lens. The image inside the lens is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and at least one obstructing element is in the occlusion removal state in the image inside the lens.
[0184] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0185] As an optional solution, the device also includes:
[0186] The third display unit is used to display, in response to a lens opening operation performed on a virtual optical lens, during the process of displaying the image inside the lens, a first obstruction element among at least one obstruction element undergoes a shape change, wherein the first obstruction element before the shape change is in a field-of-view occlusion state in the image outside the lens, and the first obstruction element after the shape change is in an occlusion removal state in the image inside the lens.
[0187] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0188] As an optional solution, the third display unit includes:
[0189] The first display module is used to display the first interaction between the first blocking element and the first virtual prop, wherein the first virtual prop is equipped with a virtual optical lens, and the first blocking element is set to change shape as the first interaction is executed.
[0190] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0191] As an optional solution, the device also includes:
[0192] The fourth display unit is used to display a second obstructing element among at least one obstructing element removed during the process of displaying the image inside the lens in response to a lens opening operation performed on the virtual optical lens, wherein the second obstructing element is in a state of obstruction of the field of view in the image outside the lens.
[0193] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0194] As an optional solution, the fourth display unit includes:
[0195] The second display module is used to display a second interaction between the second blocking element and the first virtual character, wherein the first virtual character holds a virtual optical lens, and the second blocking element is set to be removed as the second interaction is performed.
[0196] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0197] As an optional solution, the fourth display unit includes:
[0198] The third display module is used to display a third interaction between the second blocking element and the second virtual prop, wherein the second virtual prop is set to allow the removal of the second blocking element, and the second blocking element is set to be removed upon execution of the third interaction.
[0199] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0200] As an optional solution, the device also includes:
[0201] The fifth display unit is used to display a third obstructing element among at least one obstructing element during the process of displaying the image inside the lens in response to a lens opening operation performed on the virtual optical lens, wherein the third obstructing element before destruction is in a field-of-view occlusion state in the image outside the lens, and the third obstructing element after destruction is in an occlusion removal state in the image inside the lens.
[0202] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0203] As an optional solution, the fifth display unit includes:
[0204] The fourth display module is used to display a fourth interaction between the third blocking element and the second virtual character, wherein the second virtual character holds a virtual optical lens, and the third blocking element is set to be destroyed upon execution of the fourth interaction.
[0205] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0206] As an optional solution, the fifth display unit includes:
[0207] The fifth display module is used to display the fifth interaction that occurs between the third blocking element and the third virtual prop, wherein the third virtual prop is set to allow the destruction of the third blocking element, and the third blocking element is set to be destroyed upon execution of the fifth interaction.
[0208] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0209] As an optional solution, the device also includes:
[0210] The first acquisition unit is used to display the first in-lens image in response to the first opening operation performed on the virtual optical lens after displaying the image outside the lens. The first in-lens image is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and at least one obstructing element is in the field of view occlusion state in the first in-lens image.
[0211] The sixth display unit is used to display an obstruction removal indicator after displaying the view outside the lens, provided that the fourth obstruction element among at least one obstruction element satisfies the first removal condition.
[0212] The seventh display unit is used to display the second in-lens image in response to a removal request executed on the removal flag after displaying the image outside the lens. The second in-lens image is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and the fourth obstructing element is in the removal state in the second in-lens image.
[0213] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0214] As an optional solution, the device may also include at least one of the following:
[0215] The sixth display module is used to display the element removal operation performed on the fourth obstructing element during the display of the image inside the second mirror;
[0216] The seventh display module is used to display the element deformation operation performed on the fourth blocking element during the display of the image inside the second mirror;
[0217] The eighth display module is used to display the element destruction operation performed on the fourth blocking element during the display of the image inside the second mirror.
[0218] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0219] As an optional solution, the device also includes:
[0220] The second acquisition unit is used to determine the second opening operation as a lens opening operation after displaying the image outside the lens, and after acquiring the second opening operation performed on the virtual optical lens, and at least the fifth blocking element among the blocking elements satisfies the second removal condition.
[0221] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0222] As an optional solution, the device also includes:
[0223] The eighth display unit is used to display the image of the first element of at least one obstruction operation during the process of displaying the image inside the lens in response to a lens opening operation performed on a virtual optical lens, wherein the element type of the first element matches the operation type of the first obstruction operation.
[0224] The ninth display unit is used to display the image of the second element of at least one obstructing element during the process of displaying the image within the lens in response to a lens opening operation performed on a virtual optical lens, wherein the element type of the second element matches the operation type of the second obstructing operation.
[0225] For specific implementation examples, please refer to the examples shown in the above-described method for displaying the camera view; these examples will not be repeated here.
[0226] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described display method for lens images is also provided. This electronic device may, but is not limited to, […]. Figure 1 The user equipment 102 or server 112 shown in the figure, in this embodiment, is taken as an example of an electronic device, namely user equipment 102. Further, as shown in the figure... Figure 13 As shown, the electronic device includes a memory 1302 and a processor 1304. The memory 1302 stores a computer program, and the processor 1304 is configured to execute the steps of any of the above method embodiments through the computer program.
[0227] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0228] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0229] S1, Display the view outside the lens, wherein the view outside the lens is the view of the virtual environment within the field of vision when the virtual optical lens is in the closed state, the virtual environment contains at least one obstructing element, and at least one obstructing element is in the field of vision occlusion state in the view outside the lens.
[0230] S2, in response to the lens opening operation performed on the virtual optical lens, displays the image inside the lens, wherein the image inside the lens is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and at least one obstructing element is in the occlusion removal state in the image inside the lens.
[0231] Alternatively, as those skilled in the art will understand, Figure 13 The structure shown is for illustrative purposes only. Figure 13 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 13 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 13 The different configurations shown.
[0232] The memory 1302 can be used to store software programs and modules, such as the program instructions / modules corresponding to the lens image display method and device in this embodiment. The processor 1304 executes various functional applications and data processing by running the software programs and modules stored in the memory 1302, thereby realizing the lens image display method described above. The memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1302 may further include memory remotely located relative to the processor 1304, and these remote memories can be connected to electronic devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1302 may be used, but is not limited to, to store information such as images outside the lens, obstructing elements, and images inside the lens. As an example, such as Figure 13 As shown, the memory 1302 may include, but is not limited to, the first display unit 1202 and the second display unit 1204 in the display device for the lens image. Furthermore, it may include, but is not limited to, other module units in the display device for the lens image, which will not be described further in this example.
[0233] Optionally, the transmission device 1306 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1306 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1306 is a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0234] In addition, the aforementioned electronic device also includes: a display 1308 for displaying information such as the view outside the lens, obstructing elements, and the view inside the lens; and a connection bus 1310 for connecting the various module components in the aforementioned electronic device.
[0235] In other embodiments, the aforementioned user equipment or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer network, and any form of computing device, such as a server, user equipment, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.
[0236] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.
[0237] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0238] It should be noted that the computer system of the electronic device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0239] A computer system includes a Central Processing Unit (CPU), which performs various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) or loaded from RAM. ROM also stores various programs and data required for system operation. The CPU, ROM, and RAM are interconnected via a bus. Input / output interfaces (I / O interfaces) are also connected to the bus.
[0240] The following components are connected to the input / output interface: input sections including keyboards, mice, etc.; output sections including cathode ray tubes (CRTs), liquid crystal displays (LCDs), and speakers; storage sections including hard drives; and communication sections including network interface cards such as LAN cards and modems. The communication section performs communication processing via a network such as the Internet. Drives are also connected to the input / output interface as needed. Removable media, such as disks, optical discs, magneto-optical discs, semiconductor memories, etc., are installed on the drive as needed so that computer programs read from them can be installed into the storage section as required.
[0241] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions defined in the system of this application.
[0242] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium, and executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations described above.
[0243] Optionally, in this embodiment, the computer-readable storage medium described above may be configured to store a computer program for performing the following steps:
[0244] S1, Display the view outside the lens, wherein the view outside the lens is the view of the virtual environment within the field of vision when the virtual optical lens is in the closed state, the virtual environment contains at least one obstructing element, and at least one obstructing element is in the field of vision occlusion state in the view outside the lens.
[0245] S2, in response to the lens opening operation performed on the virtual optical lens, displays the image inside the lens, wherein the image inside the lens is the image of the virtual environment presented in the field of view when the virtual optical lens is in the open state, and at least one obstructing element is in the occlusion removal state in the image inside the lens.
[0246] Optionally, in embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0247] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware of an electronic device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0248] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0249] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods of the various embodiments of this application.
[0250] In the above embodiments of this application, 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.
[0251] In the several embodiments provided in this application, it should be understood that the disclosed user equipment can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0252] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0253] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0254] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for displaying a camera lens image, characterized in that, include: Displaying the view outside the lens, wherein the view outside the lens is the view of the virtual environment within the field of view when the virtual optical lens is in the closed state, the virtual environment includes at least one obstructing element, and the at least one obstructing element is in a state of obstructing the field of view in the view outside the lens. In response to a lens opening operation performed on the virtual optical lens, a view within the lens is displayed, wherein the view within the lens is the view of the virtual environment within the field of view when the virtual optical lens is in the open state, and the at least one obstructing element is in an obstruction-removed state in the view within the lens.
2. The method according to claim 1, characterized in that, During the process of displaying the image within the lens in response to a lens opening operation performed on the virtual optical lens, the method further includes: The first obstructing element among the at least one obstructing element undergoes a shape change, wherein the first obstructing element before the shape change is in a field-of-view occlusion state in the off-screen image, and the first obstructing element after the shape change is in an occlusion-removed state in the on-screen image.
3. The method according to claim 2, characterized in that, The description of the first blocking element in the at least one blocking element undergoing a morphological change includes: This indicates that a first interaction occurs between the first blocking element and the first virtual prop, wherein the first virtual prop is equipped with the virtual optical lens, and the first blocking element is configured to undergo the shape change as the first interaction is executed.
4. The method according to claim 1, characterized in that, During the process of displaying the image within the lens in response to a lens opening operation performed on the virtual optical lens, the method further includes: Display the removal of the second obstructing element from the at least one obstructing element, wherein the second obstructing element is in a state of obstructing the field of view in the off-camera image.
5. The method according to claim 4, characterized in that, The removal of the second blocking element from the at least one blocking element includes: This indicates a second interaction between the second blocking element and the first virtual character, wherein the first virtual character holds the virtual optical lens, and the second blocking element is set to be removed upon execution of the second interaction.
6. The method according to claim 4, characterized in that, The removal of the second blocking element from the at least one blocking element includes: This indicates that a third interaction occurs between the second blocking element and the second virtual prop, wherein the second virtual prop is configured to allow the removal of the second blocking element, and the second blocking element is configured to be removed upon execution of the third interaction.
7. The method according to claim 1, characterized in that, During the process of displaying the image within the lens in response to a lens opening operation performed on the virtual optical lens, the method further includes: The display shows the destruction of a third blocking element among the at least one blocking elements, wherein the third blocking element before destruction is in a field-of-view occlusion state in the off-lens image, and the third blocking element after destruction is in the occlusion removal state in the on-lens image.
8. The method according to claim 7, characterized in that, The description of destroying the third blocking element among the at least one blocking element includes: This indicates a fourth interaction between the third blocking element and the second virtual character, wherein the second virtual character holds the virtual optical lens, and the third blocking element is configured to be destroyed upon execution of the fourth interaction.
9. The method according to claim 7, characterized in that, The description of destroying the third blocking element among the at least one blocking element includes: This indicates that a fifth interaction occurs between the third blocking element and the third virtual prop, wherein the third virtual prop is configured to allow the destruction of the third blocking element, and the third blocking element is configured to be destroyed upon execution of the fifth interaction.
10. The method according to claim 1, characterized in that, After displaying the image outside the lens, the method further includes: In response to a first opening operation performed on the virtual optical lens, a first in-lens image is displayed, wherein the first in-lens image is the image of the virtual environment presented within the field of view when the virtual optical lens is in the open state, and the at least one obstructing element is in the field of view occlusion state in the first in-lens image. If the fourth blocking element among the at least one blocking element satisfies the first removal condition, an occlusion removal indicator is displayed; In response to the occlusion removal request executed on the occlusion removal identifier, a second in-lens view is displayed, wherein the second in-lens view is the view of the virtual environment within the field of view when the virtual optical lens is in the on state, and the fourth obstructing element is in the occlusion removal state in the second in-lens view.
11. The method according to claim 10, characterized in that, During the process of displaying the second in-camera image, the method further includes at least one of the following: This displays the element removal operation performed on the fourth blocking element; This shows the element deformation operation performed on the fourth blocking element; This displays the element destruction operation performed on the fourth blocking element.
12. The method according to any one of claims 1 to 11, characterized in that, After displaying the image outside the lens, the method further includes: If a second lens opening operation is obtained for the virtual optical lens, and the fifth blocking element among the at least one blocking element satisfies the second removal condition, the second lens opening operation is determined as the lens opening operation.
13. The method according to any one of claims 1 to 11, characterized in that, During the process of displaying the image within the lens in response to a lens opening operation performed on the virtual optical lens, the method further includes at least one of the following: Displaying a first occlusion removal operation, applied to a first element among the at least one blocking elements, wherein the element type of the first element matches the operation type of the first occlusion removal operation; Displaying a second occlusion removal operation, applied to the screen of a second element among the at least one obstructing element, wherein the element type of the second element matches the operation type of the second occlusion removal operation.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program is executed by an electronic device to perform the method according to any one of claims 1 to 13.
15. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method described in any one of claims 1 to 13.
16. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 13 through the computer program.