Virtual scene interaction method and device, equipment and storage medium
By presenting a plan map in the virtual scene interactive interface and adjusting the display style of map elements according to the relative position relationship, the problem of low efficiency of users perceiving spatial dimension information in the virtual scene is solved, and a better interactive experience is achieved.
Patent Information
- Application Number
- CN202411548243.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-18
AI Technical Summary
The prior art is difficult to effectively improve the user's interactive experience in virtual scenes, especially in perceiving spatial dimension information of virtual scenes.
By presenting a plan map in the interactive interface of a three-dimensional virtual scene, a set of map elements is used to represent the scene objects in the three-dimensional virtual scene, and the display style of the map elements is dynamically adjusted according to the relative positional relationship between the scene object and the user's position.
It improves the efficiency of users' perceived spatial dimension information in virtual scenes, thereby improving the experience of virtual scene interaction.
Smart Images

Figure CN119473077A_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments of the present disclosure generally relate to the computer field, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for interacting with a virtual scene. Background Art
[0002] With the development of computer technology, various forms of electronic devices can greatly enrich people's daily life. For example, people can use electronic devices to perform various interactions in virtual scenes. Such virtual scenes may include game scenes, virtual simulation scenes, virtual reality scenes, etc. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for interacting with a virtual scene is provided. The method comprises: presenting a first scene content in an interactive interface of a three-dimensional virtual scene, the first scene content being associated with a first position in the virtual scene; and presenting a plane map in the interactive interface, wherein the plane map comprises a group of map elements for representing the three-dimensional virtual scene, the group of map elements corresponding to a first group of scene objects in the three-dimensional virtual scene, the arrangement of the group of map elements in the plane map being independent of the position attributes of the first group of scene objects with respect to a preset spatial dimension, and a first display style of the group of map elements being determined based on the positional relationship between the first group of scene objects and the first position in the preset spatial dimension.
[0004] In a second aspect of the present disclosure, an interactive device for a virtual scene is provided. The device includes: a first presentation module configured to present a first scene content in an interactive interface of a three-dimensional virtual scene, the first scene content being associated with a first position in the virtual scene; and a second presentation module configured to present a plane map in the interactive interface, wherein the plane map includes a group of map elements for representing the three-dimensional virtual scene, the group of map elements corresponding to a first group of scene objects in the three-dimensional virtual scene, the arrangement of the group of map elements in the plane map is independent of the position attributes of the first group of scene objects with respect to a preset spatial dimension, and a first display style of the group of map elements is determined based on the positional relationship between the first group of scene objects and the first position in the preset spatial dimension.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0010] FIG. 2A to FIG. 2D A schematic diagram showing an example interface according to some embodiments of the present disclosure;
[0011] Figure 3 A flowchart showing an interactive process of a virtual scene according to some embodiments of the present disclosure is shown;
[0012] Figure 4 A schematic structural block diagram of an interactive device for a virtual scene according to some embodiments of the present disclosure is shown;
[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0014] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0015] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0018] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0019] The embodiment of the present disclosure proposes an interactive scheme for a virtual scene. According to the scheme, in an interactive interface of a three-dimensional virtual scene, a first scene content is presented, and the first scene content is associated with a first position in the virtual scene; and in the interactive interface, a plane map is presented, wherein the plane map includes a group of map elements for representing the three-dimensional virtual scene, the group of map elements corresponds to a first group of scene objects in the three-dimensional virtual scene, the arrangement of the group of map elements in the plane map is independent of the position attribute of the first group of scene objects with respect to a preset spatial dimension, and the first display style of the group of map elements is determined based on the position relationship between the first group of scene objects and the first position in the preset spatial dimension.
[0020] Based on this approach, the embodiments of the present disclosure can dynamically adjust the display style of the map elements displayed in the flat map in the interactive interface based on the relative position relationship. Thus, the embodiments of the present disclosure can improve the efficiency of perceiving the spatial dimension information of the virtual scene, thereby improving the user's interactive experience in the virtual scene.
[0021] Example Environment
[0022] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0023] In the example environment 100, the electronic device 110 may run an application 130 that supports a three-dimensional virtual scene. The application 130 may be any appropriate type of application for presenting a three-dimensional virtual scene, and examples thereof may include but are not limited to: simulation applications, simulation applications, game applications, virtual reality applications, augmented reality applications, etc., and the embodiments of the present disclosure are not limited in this respect.
[0024] In the case where the application 130 is a game application, it includes but is not limited to first person shooter games (FPS), multiplayer online battle arena (MOBA) games, simulation strategy games (SLG), simulation business games, etc. The user 140 can interact with the application 130 via the electronic device 110 and / or its attached devices.
[0025] exist Figure 1 In the environment 100 , if the application 130 is in an active state, the electronic device 110 can present an interface 150 associated with the virtual environment through the application 130 .
[0026] In some embodiments, the electronic device 110 communicates with the server 120 to provide services for the application 130. The electronic device 110 may be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the target user (such as a "wearable" circuit, etc.).
[0027] The server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 120 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 120 may provide background services for the application 130 that supports a three-dimensional virtual scene in the electronic device 110.
[0028] A communication connection may be established between the electronic device 110 and the server 120. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In an embodiment of the present disclosure, two devices in a data transmission relationship may implement signaling interaction through a communication connection between the two devices.
[0029] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0030] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0031] Example Interaction
[0032] The following will refer to Figure 2A-2D To describe an example interaction process according to an embodiment of the present disclosure. FIG. 2A to FIG. 2D Example interfaces 200A to 200D according to some embodiments of the present disclosure are shown. Interfaces 200A to 200D may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.
[0033] In some embodiments, the electronic device 110 may present Figure 2A The interface 200A shown may be, for example, an interactive interface of a three-dimensional virtual scene. A three-dimensional virtual scene is a virtual environment that simulates the real world or an imaginary three-dimensional space. For example, a three-dimensional virtual scene may include, but is not limited to, various types of three-dimensional game scenes, three-dimensional interactive scenes, three-dimensional simulation scenes, or three-dimensional emulation scenes.
[0034] by Figure 2AAs an example, scene content may be presented in interface 200A. Scene content refers to content in a virtual environment that a user can perceive and interact with through at least one of vision, hearing, and touch. Such content may be any appropriate content, such as but not limited to background music, virtual objects included in a virtual scene, and dynamic animation effects. Virtual objects may be, for example, buildings and characters in a game scene. Dynamic animation effects may be, for example, fluctuations in water flow in a virtual scene.
[0035] In some embodiments, the scene content is associated with a first position in the virtual scene. Specifically, the scene content shown in interface 200A may be a first scene content associated with a predetermined range of the first position in the virtual scene, where the predetermined range may be set as required. In some embodiments, the first position may be a position selected by the current user, such as a user may click a position selection control to select the scene content corresponding to the position to be viewed. As another example, this first position may be the position of a virtual object corresponding to the current user (e.g., a virtual character controlled by the user) in a three-dimensional virtual scene.
[0036] by Figure 2A As an example, the three-dimensional virtual scene is a three-dimensional game scene, and the virtual object 210 corresponding to the current user can perform a target task in the three-dimensional virtual scene. If the position of the current virtual object in the three-dimensional virtual scene is the position 211 under the stairs 212, the interactive interface and the scene content presented can be the first scene content within a predetermined range centered on the position 211, and this scene content can include the stairs 212, the pillars 213-1 and 213-2 under the stairs.
[0037] In some embodiments, when the position changes, the scene content presented in the interactive interface may also change.
[0038] by Figure 2B As an example, if the virtual object 210 corresponding to the current user moves from the first position 211 under the stairs in the three-dimensional virtual scene to the second position 213 on the stairs, the electronic device 110 can present the second scene content corresponding to the second position 213 in the interactive interface. The second scene content can be the scene content within a predetermined range centered on the position 213. At this time, this scene content is not completely the same as the scene content presented in the interface 200A. For example, this scene content can include stairs 212, pillars 213-1 and 213-2 under the stairs, and platform 214.
[0039] In order to help the user determine the direction, plan the path or find a specific scene object, in some embodiments, the electronic device 110 can present a flat map in the interactive interface. The flat map may include a set of map elements for representing a three-dimensional virtual scene. In some embodiments, the map element may be any element that properly constitutes a map, such as the basic background of the map (such as the basic outline of the terrain, etc.), image symbols representing geographical features (such as points, lines, surfaces, etc.), textures (textures for simulating surface features), and the like.
[0040] In some embodiments, this group of map elements corresponds to a group of scene objects in a three-dimensional virtual scene. The scene object may be any appropriate object in the three-dimensional virtual scene, such as a virtual item, a virtual prop, a virtual terrain, etc. corresponding to a predetermined key position in the three-dimensional virtual scene. In some embodiments, the group of map elements may also be used to characterize an area, a route, or a location that a virtual object (e.g., virtual object 210) can reach in the virtual scene.
[0041] In some embodiments, the arrangement of this group of map elements in the plane map is independent of the position attributes of the first group of scene objects with respect to a preset spatial dimension. The preset spatial dimension may be a longitudinal dimension perpendicular to a reference plane of the three-dimensional virtual scene, and the plane map may correspond to a bird's-eye view of the three-dimensional virtual scene. The position attribute is used to characterize the specific position of the scene object in the three-dimensional virtual scene and its possible orientation or posture, etc. For example, the three-dimensional virtual scene may be a three-dimensional game scene corresponding to multiple floors, and the plane map may characterize the three-dimensional game scene through a bird's-eye view. This allows the position of the map elements on each floor in the plane map to be related only to the relative position of the corresponding object in the floor, and not to the floor on which it is located.
[0042] In some embodiments, the group of map elements may be displayed in a first display style in a flat map. The first display style may include but is not limited to visibility, such as color, texture, shape, size, and scale, etc. The first display styles corresponding to different map elements in the group of map elements may be the same or different.
[0043] In some embodiments, when the location changes, the flat map presented in the interactive interface is also updated, and the second group of map elements is displayed in the flat map in a second display style. In some embodiments, the first group of map elements may be the same as or different from the second group of map elements. The second display style may be the same as or different from the first display style.
[0044] by Figure 2AAs an example, a group of map elements (first map elements) may be displayed in the flat map 220 of the interface 200A, such as map element 230-1, map element 230-2, map element 230-3, etc. (for convenience, they may be collectively referred to as map elements 230). The virtual object 210 corresponding to the current user is at the position 211 under the stairs in the three-dimensional virtual scene. At this time, the display style (first display style) of this group of map elements 230 may be as follows: Figure 2A shown.
[0045] There are map elements in this group that are displayed in different colors. Figure 2A As an example, the display color of the map element 230 - 1 is light gray, the display color of the map element 230 - 2 is dark gray, the display color of the map element 230 - 3 is white, and so on.
[0046] by Figure 2B As an example, a group of map elements (second map elements) may be displayed in the flat map 221 of the interface 200B, such as map element 240-1, map element 240-2, map element 240-3, etc. (for convenience, they may be collectively referred to as map elements 240). The virtual object 210 corresponding to the current user is at the position 212 under the stairs in the three-dimensional virtual scene. At this time, the display style of this group of map elements 240 may be as follows: Figure 2B As shown, for example, the display color of map element 240-1 (corresponding to the same scene object as map element 230-1) is dark gray, the display color of map element 240-2 (corresponding to the same scene object as map element 230-2) is dark gray, the display color of map element 240-3 (corresponding to the same scene object as map element 230-3) is light gray, and so on.
[0047] In some embodiments, a first display style of a first group of map elements in a planar map is determined based on a positional relationship between a first group of scene objects and a first position in a preset spatial dimension. In some embodiments, a second display style of a second group of map elements in a planar map is determined based on a positional relationship between a second group of scene objects and a second position in a preset spatial dimension.
[0048] In some embodiments, the positional relationship between the first group of scene objects and the first position in a preset spatial dimension indicates at least one of the following: the distance from the first group of scene objects to the first position in the preset spatial dimension; the spatial hierarchy relationship between the first group of scene objects and the first position, the spatial hierarchy relationship being associated with the preset spatial dimension. The distance can be any appropriate distance, such as a Euclidean distance, etc. In some embodiments, a three-dimensional virtual scene can be set with multiple spatial levels, such as a first level and a second level. The virtual object corresponding to the user can move between these two spatial levels. In some embodiments, the scene objects in the virtual scene can also correspond to corresponding spatial levels, such as virtual prop A is located at the first level, non-player controlled characters are located at the second level, and so on.
[0049] In some embodiments, the spatial hierarchical relationship may be any appropriate relationship, such as being located at the same level, being located at different levels (the level corresponding to the scene object is higher than the level corresponding to the first position, the level corresponding to the scene object is lower than the level corresponding to the first position, etc.). For example, if scene object A is located at the first layer and the first position is also located at the first layer, then the spatial hierarchical relationship corresponding to scene object A and the first position is that they are located at the same layer. For another example, if scene object B is located at the second layer and the first position is also located at the first layer, then the spatial hierarchical relationship corresponding to scene object B and the first position is that the hierarchical relationship corresponding to scene object B is higher than the hierarchical relationship corresponding to the first position.
[0050] For ease of description, the specific process of determining the first display style of the first group of map elements in the planar map is described below. The process of determining the second display style of the second group of map elements is similar and will not be described in detail here.
[0051] In some embodiments, the electronic device 110 may display a first map element corresponding to the first scene object in a flat map in a first style in response to a first distance from the first scene object to the first position in a preset spatial dimension being less than a threshold. The threshold may be any appropriate value, such as the height between two floors. As an example, the electronic device 110 may display a first map element corresponding to the first scene object in a flat map in a first style in response to the first scene object and the first position corresponding to the same spatial level. For example, if the location of scene object A and the current user's virtual object are located on the first floor in the three-dimensional virtual scene, the electronic device 110 may set the color of the first map element corresponding to scene object A to the first color.
[0052] The electronic device 110 may display the second map element corresponding to the first scene object in the flat map in the second style in response to the second distance from the second scene object to the first position in the preset spatial dimension reaching a threshold and the first position attribute of the second scene object in the preset spatial dimension being greater than the first position. As an example, the electronic device 110 may display the second map element corresponding to the second scene object in the flat map in the second style in response to the spatial level corresponding to the first scene object being less than the spatial level corresponding to the first position. For example, if scene object B is located on the second floor and the location of the current user's virtual object is located on the first floor in the three-dimensional virtual scene, the electronic device 110 may set the color of the first map element corresponding to scene object A to the second color.
[0053] The electronic device 110 may display a third map element corresponding to the first scene object in a third style in a flat map in response to a third distance from the third scene object to the first position in a preset spatial dimension reaching a threshold and a second position attribute of the third scene object in a preset spatial dimension being less than the first position. As an example, the electronic device 110 may display a second map element corresponding to the second scene object in a second style in a flat map in response to a spatial level corresponding to the first scene object being greater than a spatial level corresponding to the first position. For example, if scene object C is located on the first floor and the location of the current user's virtual object is on the second floor in the three-dimensional virtual scene, the color of the first map element corresponding to scene object C may be set to the third color.
[0054] In some scenarios, other different styles may be used to distinguish map elements with different position relationships. Examples of such styles may include, but are not limited to: different patterns, different transparencies, different brightness, and the like.
[0055] It should be noted that the process of determining the second display style of the second group of map elements in the planar map is similar to the process of determining the first display style of the first group of map elements in the planar map, and will not be described in detail here.
[0056] In order to further reflect the process of updating the flat map based on location, Figure 2C and Figure 2D As an example, the updating process of a flat map is described, where Figure 2C for Figure 2A A zoomed-in view of the flat map in Figure 2D for Figure 2B A zoomed-in version of the flat map.
[0057] For example, if the first position corresponds to the second floor in the three-dimensional virtual scene and the second position corresponds to the third floor in the three-dimensional virtual scene, if the virtual object of the current user moves from the bottom of the stairs to the top of the stairs, then the position of the virtual object corresponding to the current user is updated from the second floor to the third floor. Since the position of the scene object corresponding to the first floor is still lower than the third floor where the virtual object is currently located, the electronic device 110 can Figure 2C The display color of the scene object on the first floor is set to remain unchanged, that is, set to the third color. Since the location of the scene object corresponding to the second floor is lower than the third floor where the virtual object is currently located, the electronic device 110 can Figure 2C The display color of the scene object on the second floor in the video is updated from the second color to the third color. Since the scene object corresponding to the third floor and the virtual object are currently located on the third floor, the electronic device 110 can Figure 2C The display color of the scene objects on the third floor is updated from the first color to the second color.
[0058] Based on this approach, the embodiments of the present disclosure can dynamically adjust the display style of the map elements displayed in the flat map in the interactive interface based on the relative position relationship. Thus, the embodiments of the present disclosure can improve the efficiency of perceiving the spatial dimension information of the virtual scene, thereby improving the user's interactive experience in the virtual scene.
[0059] Example Process
[0060] Figure 3 FIG. 3 is a flow chart showing a process 300 of interaction according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 Process 300 is described.
[0061] In box 310, the electronic device 110 presents first scene content in the interactive interface of the three-dimensional virtual scene, where the first scene content is associated with a first position in the three-dimensional virtual scene.
[0062] In box 320, the electronic device 110 presents a plan map in the interactive interface, wherein the plan map includes a group of map elements for representing the three-dimensional virtual scene, the group of map elements corresponds to a first group of scene objects in the three-dimensional virtual scene, the arrangement of the group of map elements in the plan map is independent of the position attributes of the first group of scene objects with respect to a preset spatial dimension, and a first display style of the group of map elements is determined based on the positional relationship between the first group of scene objects and the first position in the preset spatial dimension.
[0063] In some embodiments, the first position includes a position of a virtual object corresponding to the current user in the three-dimensional virtual scene.
[0064] In some embodiments, a group of map elements is a first group of map elements, and process 300 also includes: presenting second scene content corresponding to the second position in the interactive interface; and updating the plan map to display the second group of map elements according to a second display style, wherein the second display style is determined based on a positional relationship between the second group of scene objects and the second position in a preset spatial dimension, and the second group of scene objects corresponds to the second group of map elements.
[0065] In some embodiments, the positional relationship between the first group of scene objects and the first position in a preset spatial dimension indicates at least one of the following: the distance from the first group of scene objects to the first position in the preset spatial dimension; the spatial hierarchical relationship between the first group of scene objects and the first position, the spatial hierarchical relationship being associated with the preset spatial dimension.
[0066] In some embodiments, process 300 also includes: in response to a first distance from the first scene object to the first position in a preset spatial dimension being less than a threshold value, displaying a first map element corresponding to the first scene object in a first style in a flat map; or in response to a second distance from the second scene object to the first position in a preset spatial dimension reaching a threshold value and the first position attribute of the second scene object in the preset spatial dimension being greater than the first position, displaying a second map element corresponding to the first scene object in a second style in a flat map; or in response to a third distance from the third scene object to the first position in a preset spatial dimension reaching a threshold value and the second position attribute of the third scene object in the preset spatial dimension being less than the first position, displaying a third map element corresponding to the first scene object in a third style in a flat map.
[0067] In some embodiments, the first style, the second style, and the third style correspond to different visibility levels.
[0068] In some embodiments, the preset spatial dimension includes a longitudinal dimension perpendicular to a reference plane of the three-dimensional virtual scene, and the plan map corresponds to a top-down perspective of the three-dimensional virtual scene.
[0069] Example devices and equipment
[0070] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an interactive device 400 for a virtual scene according to some embodiments of the present disclosure is shown. The device 400 may be implemented as or included in the electronic device 110 discussed above. Each module / component in the device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0071] like Figure 4As shown, the device 400 includes a first presentation module 410, which is configured to present a first scene content in an interactive interface of a three-dimensional virtual scene, wherein the first scene content is associated with a first position in the virtual scene; and a second presentation module 420, which is configured to present a plane map in the interactive interface, wherein the plane map includes a group of map elements for representing the three-dimensional virtual scene, a group of map elements corresponding to a first group of scene objects in the three-dimensional virtual scene, an arrangement of a group of map elements in the plane map is independent of a position attribute of the first group of scene objects with respect to a preset spatial dimension, and a first display style of a group of map elements is determined based on a positional relationship between the first group of scene objects and the first position in the preset spatial dimension.
[0072] In some embodiments, the first position includes a position of a virtual object corresponding to the current user in the three-dimensional virtual scene.
[0073] In some embodiments, a group of map elements is a first group of map elements, and the device 400 also includes a third presentation module, configured to: present a second scene content corresponding to the second position in the interactive interface; and an update module, configured to: update the plane map to display the second group of map elements according to a second display style, wherein the second display style is determined based on a positional relationship between the second group of scene objects and the second position in a preset spatial dimension, and the second group of scene objects corresponds to the second group of map elements.
[0074] In some embodiments, the positional relationship between the first group of scene objects and the first position in a preset spatial dimension indicates at least one of the following: the distance from the first group of scene objects to the first position in the preset spatial dimension; the spatial hierarchical relationship between the first group of scene objects and the first position, the spatial hierarchical relationship being associated with the preset spatial dimension.
[0075] In some embodiments, the device 400 also includes a fourth display module, configured to: in response to the first distance from the first scene object to the first position in the preset spatial dimension being less than a threshold value, display a first map element corresponding to the first scene object in the plane map in a first style; or a fifth display module, configured to: in response to the second distance from the second scene object to the first position in the preset spatial dimension reaching a threshold value and the first position attribute of the second scene object in the preset spatial dimension being greater than the first position, display a second map element corresponding to the first scene object in the plane map in a second style; or a sixth display module, configured to: in response to the third distance from the third scene object to the first position in the preset spatial dimension reaching a threshold value and the second position attribute of the third scene object in the preset spatial dimension being less than the first position, display a third map element corresponding to the first scene object in the plane map in a third style.
[0076] In some embodiments, the first style, the second style, and the third style correspond to different visibility levels.
[0077] In some embodiments, the preset spatial dimension includes a longitudinal dimension perpendicular to a reference plane of the three-dimensional virtual scene, and the plan map corresponds to a top-down perspective of the three-dimensional virtual scene.
[0078] The units included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0079] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to implement Figure 1 A receiving device 120 is shown.
[0080] like Figure 5 As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0081] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 500.
[0082] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0083] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0084] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0085] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0086] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0087] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0088] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0089] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0090] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A virtual scene interaction method, comprising: In an interactive interface of a three-dimensional virtual scene, presenting first scene content, wherein the first scene content is associated with a first position in the three-dimensional virtual scene; as well as In the interactive interface, a plane map is presented, wherein the plane map includes a group of map elements for representing the three-dimensional virtual scene, the group of map elements corresponds to a first group of scene objects in the three-dimensional virtual scene, the arrangement of the group of map elements in the plane map is independent of the position attributes of the first group of scene objects with respect to a preset spatial dimension, and a first display style of the group of map elements is determined based on a positional relationship between the first group of scene objects and the first position in the preset spatial dimension. 2 . The method according to claim 1 , wherein the first position comprises a position of a virtual object corresponding to the current user in the three-dimensional virtual scene.
3. The method according to claim 1, wherein the group of map elements is a first group of map elements, the method further comprising: Presenting a second scene content corresponding to the second position in the interactive interface; as well as The plan map is updated to display a second group of map elements according to a second display style, wherein the second display style is determined based on a positional relationship between a second group of scene objects and the second position in the preset spatial dimension, and the second group of scene objects corresponds to the second group of map elements.
4. The method according to claim 1, wherein the positional relationship between the first group of scene objects and the first position in the preset spatial dimension indicates at least one of the following: The distance from the first group of scene objects to the first position in the preset spatial dimension; A spatial hierarchical relationship between the first group of scene objects and the first position, wherein the spatial hierarchical relationship is associated with the preset spatial dimension.
5. The method according to claim 1, further comprising: In response to a first distance from the first scene object to the first position in the preset spatial dimension being less than a threshold, displaying a first map element corresponding to the first scene object in a first style in the planar map; or In response to a second distance from a second scene object to the first position in the preset spatial dimension reaching the threshold and a first position attribute of the second scene object in the preset spatial dimension being greater than the first position, displaying a second map element corresponding to the first scene object in a second style in the plan map; or In response to a third distance from a third scene object to the first position in the preset spatial dimension reaching the threshold and a second position attribute of the third scene object in the preset spatial dimension being less than the first position, a third map element corresponding to the first scene object is displayed in the plan map in a third style. The method according to claim 5 , wherein the first style, the second style, and the third style correspond to different visibility levels.
7. The method according to claim 1, wherein the preset spatial dimension includes a longitudinal dimension perpendicular to a reference plane of the three-dimensional virtual scene, and the plan map corresponds to a top-down perspective of the three-dimensional virtual scene.
8. An interactive device for a virtual scene, comprising: A first presentation module is configured to present a first scene content in an interactive interface of a three-dimensional virtual scene, wherein the first scene content is associated with a first position in the virtual scene; as well as A second presentation module is configured to present a plane map in the interactive interface, wherein the plane map includes a group of map elements for representing the three-dimensional virtual scene, the group of map elements corresponds to a first group of scene objects in the three-dimensional virtual scene, the arrangement of the group of map elements in the plane map is independent of the position attributes of the first group of scene objects with respect to a preset spatial dimension, and a first display style of the group of map elements is determined based on the positional relationship between the first group of scene objects and the first position in the preset spatial dimension.
9. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 7 when executed by the at least one processing unit.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Patent Citations
Display method of multi-layer map and device thereof
CN113476843A
Map processing method and device in game
CN113680065A
Game interaction method and device, computer readable storage medium and electronic equipment
CN117899467A
Reality-guided roaming in virtual reality
US20200294311A1