Three-dimensional guidance map generation method, device, storage medium and electronic device

Based on the target virtual model and the three -dimensional guidance map based on its and logo information, the problem of low efficiency of the three -dimensional guidance map in the existing technology has been solved, and the more efficient game map development process is achieved.

CN115382208BActive Publication Date: 2025-01-28NETEASE (SHANGHAI) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210910016.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2025-01-28
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

In the prior art, the generation efficiency of three-dimensional guide maps is low, especially when it comes to frequent modification of guide maps when iterating game maps, resulting in low generation efficiency.

Method used

By obtaining the preset image and logo information, the target virtual model is generated, and the three -dimensional guideline is generated based on the target virtual model and the logo information. This method only provides the sub -map entrance without providing a complete sub -map. Therefore, no adaptability modification is required during the iteration of the subtamment, and you can directly generate the guide map according to the preset image and logo information. Become a map of guidance.

Benefits of technology

It improved the efficiency of the three -dimensional guidance map, solved the problem of low -generation efficiency in the existing technology, simplified the game development process, and reduced the requirements for producers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115382208B_ABST
    Figure CN115382208B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, storage medium and electronic device for generating a three-dimensional guidance map. The three-dimensional guidance map is used to indicate the position of a sub-map entrance in a preset image, and the preset image is used to represent a preset game scene. The method includes: obtaining a preset image and marker information, wherein the marker information is used to represent the sub-map entrance; generating a target virtual model based on the preset image; and generating a three-dimensional guidance map based on the target virtual model and the marker information. The technical effect of improving the efficiency of generating a three-dimensional guidance map is achieved, and the technical problem of low efficiency of generating a three-dimensional guidance map in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of game maps, and in particular to a method, device, storage medium and electronic device for generating a three-dimensional guidance map. Background Art

[0002] In a game, in order to facilitate users to switch between different sub-maps or game levels, a guide map is usually provided to the user, and the guide map is usually a thumbnail of the complete game map.

[0003] Secondly, the thumbnail map of the complete game is usually generated based on the complete game map. The current mainstream principle of terrain development is to make the terrain ecological. The larger the game map, the more staff are involved. Once the terrain is iterated, the items generated by the terrain need to be re-planned. And, for example, if some sub-maps in the complete map are modified, the entire complete game map and the guide map will be modified accordingly, resulting in low efficiency in generating the guide map.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] At least some embodiments of the present invention provide a method, device, storage medium and electronic device for generating a three-dimensional guidance map, so as to at least solve the technical problem of low efficiency in generating a three-dimensional guidance map.

[0006] According to one embodiment of the present invention, a method for generating a three-dimensional guidance map is provided, wherein the three-dimensional guidance map is used to guide the position of a sub-map entrance in a preset image, and the preset image is used to represent a preset game scene. The method comprises: obtaining a preset image and marker information, wherein the marker information is used to represent the sub-map entrance; generating a target virtual model based on the preset image; and generating a three-dimensional guidance map based on the target virtual model and the marker information.

[0007] According to one embodiment of the present invention, a three-dimensional guidance map generating device is provided, wherein the three-dimensional guidance map is used to guide the position of a sub-map entrance in a preset image, and the preset image is used to represent a preset game scene. The device comprises: an acquisition module, used to acquire a preset image and marker information, wherein the marker information is used to represent the sub-map entrance; a first generation module, used to generate a target virtual model based on the preset image; and a second generation module, used to generate a three-dimensional guidance map based on the target virtual model and the marker information.

[0008] According to one embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute any of the above three-dimensional guidance map generation methods when running.

[0009] According to one embodiment of the present invention, there is further provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any of the above methods.

[0010] In the above-mentioned embodiment of the present invention, after obtaining a preset image for representing a preset game scene and marker information for representing a self-map entrance, a virtual model is generated according to the preset image, and then a three-dimensional guidance map is generated according to the target virtual model and the marker information. It is easy to notice that the three-dimensional guidance map provided by the present application only provides a sub-map entrance, but not a complete sub-map. Therefore, when the sub-map needs to be switched with the iteration of the terrain, the three-dimensional guidance map provided by the present application may not require adaptive modification, and if the complete game map changes significantly, the three-dimensional guidance map itself can be directly generated according to the preset image and marker information, without the need to generate the guidance map after the complete game map is generated, thereby achieving the technical effect of improving the efficiency of generating three-dimensional guidance maps and solving the technical problem of low efficiency of generating three-dimensional guidance maps in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0012] Figure 1 is a schematic diagram of a game map in the prior art according to one embodiment of the present invention and a three-dimensional guidance map in an embodiment of the present application;

[0013] Figure 2 It is a hardware structure block diagram of a mobile terminal of a three-dimensional guidance map generation method according to an embodiment of the present invention;

[0014] Figure 3 is a flow chart of a method for generating a three-dimensional guidance map according to one embodiment of the present invention;

[0015] Figure 4A It is a two-dimensional world map of the prior art;

[0016] Figure 4B It is a two-dimensional world map with existing three-dimensional concept in the prior art;

[0017] Figure 5 is a schematic diagram of mountain details in the prior art and mountain details in the embodiment of the present application according to one embodiment of the present invention;

[0018] Fig. 6AIt is a schematic diagram of the perspective of a virtual camera in a game map in the prior art and the perspective of a virtual camera in a game map of the present application according to one embodiment of the present invention;

[0019] Figure 6B is another schematic diagram of the perspective of a virtual camera in a game map in the prior art and the perspective of a virtual camera in a game map of the present application according to one embodiment of the present invention;

[0020] Figure 7 is a structural block diagram of a data processing device based on a game map according to one embodiment of the present invention;

[0021] Figure 8 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] In the prior art, the gameplay map is usually obtained by splicing multiple sub-maps together to obtain a large map serving as a world map. The guidance map corresponding to the world map is usually a top-down plan image of the large map. During the game development process, the larger the world map, the more developers are involved. Once the game needs to be updated and changed, a lot of manpower and time are required.

[0025] The game map in the embodiment of the present application can use landmark information as the entrance to the sub-map. Therefore, it is only necessary to generalize the production of a three-dimensional guide map. This can reduce the requirements for production personnel and simplify the development process during the game development process, thereby achieving the technical effect of improving development efficiency.

[0026] Figure 1 FIG. 1 is a schematic diagram of a game map in a related technology according to an embodiment of the present invention and a guide map in this application. Figure 1 As shown, Figure 1 The left side is a top view of the large map in the prior art. The circle in the figure represents the entrance to the game sub-map. Players can enter the sub-map by clicking. Figure 1 On the right side of the figure, the triangle is used to represent the mountain, the circle is used to represent the entrance to the game sub-map, and the line is used to represent the route that the virtual character taken by the game player can move.

[0027] According to one embodiment of the present invention, an embodiment of a method for generating a three-dimensional guidance map is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.

[0028] The method embodiment can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, referred to as MID), a PAD, a game console and other terminal devices. Figure 2 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for generating a three-dimensional guidance map according to an embodiment of the present invention. Figure 2 As shown, the mobile terminal may include one or more ( Figure 2 Only one is shown in the figure) processor 202 (processor 202 may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 204 for storing data. Optionally, the mobile terminal may also include a transmission device 206 for communication functions, an input and output device 208, and a display device 210. It can be understood by those skilled in the art that Figure 2 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 2 More or fewer components as shown, or with Figure 2 Different configurations shown.

[0029] The memory 204 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the three-dimensional guidance map generation method in the embodiment of the present invention. The processor 202 executes various functional applications and data processing by running the computer program stored in the memory 204, that is, the above-mentioned three-dimensional guidance map generation method is realized. The memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include a memory remotely arranged relative to the processor 202, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0030] The transmission device 206 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 206 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 206 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0031] The input in the input / output device 208 may come from a plurality of human interface devices (Human Interface Device, referred to as HID). For example: keyboard and mouse, game controller, other dedicated game controllers (such as: steering wheel, fishing rod, dance mat, remote control, etc.). In addition to providing input functions, some human interface devices may also provide output functions, such as: force feedback and vibration of game controllers, audio output of controllers, etc.

[0032] The display device 210 may be, for example, a head-up display (HUD), a touch-screen liquid crystal display (LCD), and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contacts and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music, and / or web browsing, etc. The executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0033] The three-dimensional guidance map generation method in one embodiment of the present disclosure can be run on a local terminal device or a server. When the three-dimensional guidance map generation method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0034] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the three-dimensional guidance map generation method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0035] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0036] In a possible implementation, an embodiment of the present invention provides a three-dimensional guidance map generation method, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above.

[0037] Figure 3 The flowchart of the method for generating a three-dimensional guide map according to one embodiment of the present invention is a method for generating a three-dimensional guide map. The three-dimensional guide map is used to guide the location of the sub-map entrance in a preset image. The preset image is used to represent a preset game scene. The preset image may be an image drawn based on the game scene, for example, an original drawing. The game scene may include terrain, game characters, and game plots. The sub-map entrance may be designed at any position in the preset image according to the needs of the game design. Figure 3 As shown, the method comprises the following steps:

[0038] Step S302: obtaining a preset image and landmark information, wherein the landmark information is used to represent a sub-map entrance.

[0039] Optionally, the above-mentioned marker information may be a 3D virtual model for representing the entrance of the sub-map. When the player is playing the game, the marker information may respond to the operation instruction of the game player and enter the corresponding sub-map.

[0040] It should be noted that in the prior art, there is usually a world map that provides map guidance for players. Figure 4A It is a two-dimensional world map in the prior art, such as Figure 4A As shown, world maps are usually two-dimensional flat maps. Figure 4B It is a two-dimensional world map with a three-dimensional concept in the prior art, such as Figure 4BAs shown, it can also be a two-dimensional graphic with a three-dimensional concept, so that players can clearly understand the sub-maps or game levels in the game, so that players can click on the sub-map entrance on the world map according to their actual needs, allowing players to enter other maps and play games. However, this display method guides the map, which is difficult to stimulate the player's desire to explore and affects the user's gaming experience.

[0041] However, in the embodiment of the present application, although the above-mentioned marker information is used to represent the sub-map entrance, the marker information will not be like the traditional guide map. Figure 1 The user is prompted that this is the entrance to the sub-map. For example, when the user selects the entrance to the sub-map with the mouse or finger, the model here will become larger, or a special marking symbol, such as a round button and related text description, is set at the entrance to the sub-map. Therefore, in the embodiment of the present application, the marker information and the target virtual model are visually integrated, and the player cannot visually determine the game entrance position of the sub-map intuitively. It is necessary to explore and try in the guidance map to determine the entrance to the sub-map. Therefore, the three-dimensional guidance map provided by the present application can increase the player's desire to explore, thereby improving the player's gaming experience.

[0042] Step S304: Generate a target virtual model based on the preset image.

[0043] The target virtual model can be a three-dimensional grid model. Optionally, after receiving the above-mentioned preset image, the terrain can be drawn in the terrain software according to the above-mentioned preset image to obtain a heat map, a height map and texture information. Then, the height map is input into the 3D modeling software to obtain a first virtual model. The first virtual model, the heat map and the texture information are then input into the game engine. The staff can watch the effect of the virtual model in real time in the 3D engine and adjust the virtual model according to needs.

[0044] Step S306: Generate a three-dimensional guidance map based on the target virtual model and landmark information.

[0045] The above-mentioned marker information may be a virtual model located on the above-mentioned target virtual model. For example, if the target virtual model is a mountain model, the marker information may be a hole on the surface of the mountain. Then, a pre-set virtual camera is used to shoot the target virtual model and the marker information to obtain a three-dimensional guidance map.

[0046] In an optional embodiment, the above-mentioned three-dimensional guidance map may include three-dimensional geological information, and the geological information is used to characterize the material information of the land surface in the game, wherein the land surface includes the surface of the mountain, such as the surface of the peak and the surface of the valley, etc. The material information is used to characterize the landform features, such as: weathered mountain, snow and sand on the surface, etc. It should be noted that the three-dimensional guidance map in the embodiment of the present application only includes the geological information of the land surface, and does not include the internal structure. For example, the three-dimensional guidance map may include complete geological information on the surface of the mountain, and the specific internal map of the mountain may be in a sub-map, which may include elements such as hot springs and flames.

[0047] To save energy, the above-mentioned three-dimensional guidance map only retains the geographical environment features when used on mobile terminals, and does not include elements unrelated to guidance, including specific features such as the game's storyline, buildings, vegetation, and props. For example, green can be used to represent vegetation, but specific trees and grass are not drawn. If you need to draw volcanoes, deserts, and next-door landforms, you can use scorched land and magma to represent the volcano, and use yellow and hills to represent the desert. Figure 5 is a schematic diagram of mountain details in the prior art and mountain details in the present application according to one embodiment of the present invention, such as Figure 5 As shown, Figure 5 The black part on the left side (except the arrow) represents the mountain, and the diamonds represent the details on the mountain, such as buildings, vegetation, or props in the game. Figure 5 The left side is used to represent the three-dimensional game map in the prior art. Figure 5 On the right is the game map in the embodiment of the present application, and the space saved from specific details is invested in optimizing the details of the mountain itself.

[0048] In the above-mentioned embodiment of the present invention, after obtaining a preset image for representing a preset game scene and marker information for representing a self-map entrance, a virtual model is generated according to the preset image, and then a three-dimensional guidance map is generated according to the target virtual model and the marker information. It is easy to notice that the three-dimensional guidance map provided by the present application only provides a sub-map entrance, but not a complete sub-map. Therefore, when the sub-map needs to be switched with the iteration of the terrain, the three-dimensional guidance map provided by the present application may not require adaptive modification, and if the complete game map changes significantly, the three-dimensional guidance map itself can be directly generated according to the preset image and marker information, without the need to generate the guidance map after the complete game map is generated, thereby achieving the technical effect of improving the efficiency of generating three-dimensional guidance maps and solving the technical problem of low efficiency of generating three-dimensional guidance maps in the prior art.

[0049] The above method of this embodiment is further introduced below.

[0050] As an optional implementation, generating a three-dimensional guidance map based on the target virtual model and marker information includes: obtaining shooting parameters, wherein the shooting parameters include shooting angle and shooting height, and the shooting height and shooting angle are used to form a bird's-eye view of the target virtual model; based on the shooting parameters, determining the target position of the virtual camera; and controlling the virtual camera at the target position to shoot the target virtual model and marker information to generate a three-dimensional guidance map.

[0051] Optionally, the bird's-eye view of the target virtual model can be the perspective of the game player, with the position of the target virtual model as the origin (0, 0, 0), and the above shooting angle is the angle of the vector that forms a 45-degree angle with the X-axis, Z-axis and Y-axis. The above shooting height is used to adjust the distance between the target virtual model and the camera. In the embodiment of the present application, in order to form a bird's-eye view, the landscape in the target virtual model is presented to the game player in the form of a micro landscape, and a larger shooting height can be adopted, for example, any shooting height greater than 300 meters.

[0052] In the prior art, the visual width of the virtual character and the interaction with the surrounding props are more active, so a lower viewing angle is adopted. Fig. 6A is a schematic diagram of the perspective of a virtual camera in a game map in the prior art and the perspective of a virtual camera in a three-dimensional guidance map of the present application according to one embodiment of the present invention, Figure 6B is another schematic diagram of the perspective of a virtual camera in a game map in the prior art and the perspective of a virtual camera in a three-dimensional guide map of the present application according to one embodiment of the present invention, such as Fig. 6A and Figure 6B As shown, Fig. 6A and Figure 6B The two triangles in the figure are used to represent the target virtual character, the line with arrows is used to represent the viewing angle, the arc is used to represent the viewing angle, and the other images are virtual models. Fig. 6A The left side is a lower viewing angle in the prior art. Fig. 6A On the right is a schematic diagram of this application using a higher viewing angle. Figure 6B The left side is the perspective of normal gameplay. The left side is the perspective of normal gameplay. Figure 6B The right side is the bird's-eye view, also known as the bird's-eye view.

[0053] In the above optional embodiment, the above shooting parameters are determined in order to form a bird's-eye view of the target virtual model. Under the bird's-eye view, the presence of the target virtual model is weakened and the surrounding environment is enhanced, thereby achieving the technical effect of increasing the player's desire to explore.

[0054] As an optional implementation, a target virtual model is generated based on a preset image, including: based on the preset image, determining a heat map, a height map and texture information, wherein the heat map is used to locate the position of the texture information in the target virtual model, and the texture information is used to generate the surface material of the target virtual model; based on the height map, a first virtual model is obtained; based on the heat map, the texture information is assigned to the first virtual model to obtain the target virtual model.

[0055] Optionally, the staff can draw in the terrain software according to the preset image to obtain the above-mentioned heat map, height map and texture map. Then, the height map is input into the 3D modeling software, such as 3DMAX, and the model can be adjusted according to the needs in the 3D modeling software to obtain the first virtual model. Then, the first virtual model, the heat map and the texture information are all imported into the game engine, and the texture information is pasted on the corresponding position of the first virtual model according to the position represented in the heat map to obtain the target virtual model.

[0056] It should be noted that assigning materials and textures in the game engine can replace the engine's terrain rendering effect, reduce memory and improve game performance.

[0057] As an optional implementation, determining a heat map based on a preset image includes: determining channel information based on the preset image, wherein the channel information is used to characterize channels of pixel points in the heat map; and synthesizing the channel information to obtain a heat map.

[0058] In an optional embodiment, eight grayscale images can be obtained through terrain software based on a preset image. The eight grayscale images are used to characterize eight channels, and then the eight grayscale images can be synthesized using drawing software to obtain two heat maps, each of which has four channels. Among them, the first grayscale image can be used to determine the main material of the mountain in the game map and the exposed large area, without details such as weathering, and other non-mountain details; the second grayscale map is used to determine the secondary elements covering the mountain, for example, the green on the green mountain, the snow and sand covering the mountain are all parts with obviously different characteristics. The third grayscale image is used to determine weathering details, river details and small mountains. The fourth grayscale is used to determine the material of the surface that is obviously different from the height of the mountain, such as plains and potholes. The fifth grayscale image is used to determine the main walking path of the virtual object. The sixth grayscale image is used to determine the details of the foot edge of the mountain where the mountain connects with the ground. The seventh grayscale image is used to determine the details of the ground part where the mountain connects with the ground. The eighth grayscale image is used to determine the refinement of the overall details of the terrain model.

[0059] As an optional implementation, the texture information includes first texture information, and based on a preset image, a height map and texture information are determined, including: in response to a first operation instruction, node information is obtained, wherein the first operation instruction is used to represent an operation instruction for drawing a texture based on the preset image; based on the node information, a height map and first texture information are determined.

[0060] Optionally, the first operation instruction may be node information established by the staff in the terrain software according to the preset image, and the node information may be used to generate corresponding texture information and height map in the preset software. It should be noted that the node information can only generate part of the texture information, i.e., the first texture information, and texture information, i.e., the second texture information, may also be generated in other professional texture production software and assigned to the first virtual model.

[0061] As an optional implementation, based on a preset image, texture information is determined, and the texture information includes second texture information, including: in response to a second operation instruction, the second texture information is obtained, wherein the second operation instruction is used to represent an operation instruction for drawing a texture based on the preset image.

[0062] Optionally, the second operation instruction may be an operation instruction generated by an artist when drawing a texture in a patented texture production software, and then the texture production software may generate second texture information according to the second operation instruction.

[0063] As an optional implementation, obtaining the first virtual model based on the height map includes: converting the height map into a second virtual model using a preset interface; and deleting the number of faces of the second virtual model based on a preset threshold to obtain the first virtual model.

[0064] Optionally, the preset interface may be any program that converts a height map into a virtual mesh model. In an optional embodiment, the preset interface may be a mesh node. The preset threshold may be a preset threshold involved in the operation requirements of the three-dimensional guidance map in the mobile terminal, and according to the threshold, the number of faces of the second virtual model is deleted so that the number of meshes is less than or equal to the preset threshold.

[0065] It should be noted here that the second virtual model can be a model with a relatively uniform number of faces. In the process of adjusting the number of faces of the second virtual model, not only can deletion be performed, but also some important details can be refined based on the needs of this game design, so that the number of faces of some second virtual models is increased accordingly, and the number of faces in unimportant places is deleted, so that the total number of faces of the first virtual model meets the requirements of the preset threshold.

[0066] As an optional implementation, based on the heat map, texture information is assigned to the first virtual model to generate a target virtual model, including: determining vertex information based on the first virtual model; determining a first coordinate based on the vertex information; and assigning texture information to the first virtual model based on the first coordinate to generate a target virtual model.

[0067] The vertex information may be fixed point information of a mesh on the first virtual model, and the first coordinate may be a UV coordinate. Optionally, after the UV coordinate is extracted, the corresponding terrain weight map fusion map may be brushed, a new material ball may be created, the fusion map may be assigned, and finally the material ball may be pasted on the first virtual model to obtain the target virtual model.

[0068] As an optional implementation, the three-dimensional guidance map also includes solar term special effects, and the method also includes: obtaining preset time parameters, the preset time parameters are used to dynamically adjust the solar term special effects time of the three-dimensional guidance map; adjusting the solar term special effects according to the preset time parameters.

[0069] Optionally, the preset time parameters include holiday parameters, solar term parameters and a daily sky change time comparison table, wherein the holiday parameters are used to characterize the time of celebrating the festival. For example, during the Spring Festival, the holiday special effects can be adjusted to a background dominated by red tones. The solar term parameters are used to characterize the time of the 24 solar terms, and on the day of each solar term, the corresponding solar term special effects can be executed. For example, at the time of the spring equinox, special effects showing plants breaking through the ground can be displayed. The daily sky change time comparison table is used to control the lighting changes during the day and night in the game map. It should be noted here that the daily sky change time comparison table can change with the change of seasons and the change of the geographical location selected by the user in the game map.

[0070] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0071] In the present embodiment, a device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the terms "unit" and "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0072] Figure 7 is a structural block diagram of a three-dimensional guide map generating device according to one embodiment of the present invention, wherein the three-dimensional guide map is used to guide the location of the sub-map entrance in a preset image, and the preset image is used to represent a preset game scene, such as Figure 7 As shown, the device comprises:

[0073] The acquisition module 72 is used to acquire a preset image and landmark information, wherein the landmark information is used to represent a sub-map entrance.

[0074] The first generating module 74 is used to generate a target virtual model based on a preset image.

[0075] The second generating module 76 is used to generate a three-dimensional guidance map based on the target virtual model and the landmark information.

[0076] In the above-mentioned embodiment of the present invention, after obtaining a preset image for representing a preset game scene and marker information for representing a self-map entrance, a virtual model is generated according to the preset image, and then a three-dimensional guidance map is generated according to the target virtual model and the marker information. It is easy to notice that the three-dimensional guidance map provided by the present application only provides a sub-map entrance, but not a complete sub-map. Therefore, when the sub-map needs to be switched with the iteration of the terrain, the three-dimensional guidance map provided by the present application may not require adaptive modification, and if the complete game map changes significantly, the three-dimensional guidance map itself can be directly generated according to the preset image and marker information, without the need to generate the guidance map after the complete game map is generated, thereby achieving the technical effect of improving the efficiency of generating three-dimensional guidance maps and solving the technical problem of low efficiency of generating three-dimensional guidance maps in the prior art.

[0077] As an optional implementation, the second generation module includes: a parameter acquisition unit, used to acquire shooting parameters, wherein the shooting parameters include a shooting angle and a shooting height, and the shooting height and the shooting angle are used to form a bird's-eye view of the target virtual model; a position determination unit, used to determine the target position of the virtual camera based on the shooting parameters; and a shooting unit, used to control the virtual camera at the target position to render and shoot the target virtual model and landmark information to generate a three-dimensional guidance map.

[0078] As an optional implementation, the first generation module includes: an information determination unit, used to determine a heat map, a height map and texture information based on a preset image, wherein the heat map is used to locate the position of the texture information in the target virtual model, and the texture information is used to generate the surface material of the target virtual model; a first model acquisition unit, used to obtain the first virtual model based on the height map; and a texture assignment unit, used to assign the texture information to the first virtual model based on the heat map to obtain the target virtual model.

[0079] As an optional implementation, the first model obtaining unit is also used to determine channel information based on a preset image, wherein the channel information is used to characterize the channel of the pixel points in the heat map; and synthesize the channel information to obtain the heat map.

[0080] As an optional implementation, the first model obtaining unit is further used to obtain node information in response to a first operation instruction, wherein the first operation instruction is used to represent an operation instruction for drawing a texture based on a preset image; and based on the node information, determine a height map and first texture information.

[0081] As an optional implementation manner, the first model obtaining unit is further used to obtain second texture information in response to a second operation instruction, wherein the second operation instruction is used to represent an operation instruction for drawing a texture based on a preset image.

[0082] As an optional implementation, the first model obtaining unit is further used to convert the height map into a second virtual model using a preset interface; and delete the number of faces of the second virtual model based on a preset threshold to obtain the first virtual model.

[0083] As an optional implementation, the first model obtaining unit is further used to determine vertex information based on the first virtual model; determine first coordinates based on the vertex information; and assign texture information to the first virtual model based on the first coordinates to generate a target virtual model.

[0084] As an optional implementation, the device also includes a solar term module for obtaining preset time parameters, and the preset time parameters are used to dynamically adjust the solar term special effect moments of the three-dimensional guidance map; according to the preset time parameters, the solar term special effects are adjusted.

[0085] It should be noted that the above-mentioned units and modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned units and modules are all located in the same processor; or, the above-mentioned units and modules are located in different processors in any combination.

[0086] An embodiment of the present invention further provides a computer-readable medium having a computer program stored therein, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.

[0087] Optionally, in this embodiment, the above-mentioned non-volatile storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0088] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0089] Optionally, in this embodiment, the non-volatile storage medium may be configured to store a computer program for performing the following steps:

[0090] S1, obtaining a preset image and landmark information, wherein the landmark information is used to represent a sub-map entrance;

[0091] S2, generating a target virtual model based on the preset image;

[0092] S3, generating a three-dimensional guidance map based on the target virtual model and landmark information.

[0093] As an optional embodiment, the above-mentioned computer-readable storage medium is also configured to store program code for executing the following steps: generating a three-dimensional guidance map based on the target virtual model and marker information, including: obtaining shooting parameters, wherein the shooting parameters include shooting angle and shooting height, and the shooting height and shooting angle are used to form a bird's-eye view of the target virtual model; based on the shooting parameters, determining the target position of the virtual camera; controlling the virtual camera at the target position to render and shoot the target virtual model and marker information to generate a three-dimensional guidance map.

[0094] As an optional embodiment, the computer-readable storage medium is also configured to store program codes for executing the following steps: generating a target virtual model based on a preset image, including: determining a heat map, a height map and texture information based on the preset image, wherein the heat map is used to locate the position of the texture information in the target virtual model, and the texture information is used to generate the surface material of the target virtual model; obtaining a first virtual model based on the height map; and assigning the texture information to the first virtual model based on the heat map to obtain the target virtual model.

[0095] As an optional embodiment, the above-mentioned computer-readable storage medium is also configured to store program code for executing the following steps: based on a preset image, determining a heat map includes: based on the preset image, determining channel information, wherein the channel information is used to characterize the channel of the pixel points in the heat map; synthesizing the channel information to obtain a heat map.

[0096] As an optional embodiment, the above-mentioned computer-readable storage medium is also configured to store program code for executing the following steps: the texture information includes first texture information, and based on a preset image, a height map and texture information are determined, including: in response to a first operation instruction, node information is obtained, wherein the first operation instruction is used to represent an operation instruction for drawing a texture based on a preset image; based on the node information, a height map and the first texture information are determined.

[0097] As an optional embodiment, the above-mentioned computer-readable storage medium is also configured to store program code for performing the following steps: based on a preset image, determining texture information, the texture information includes second texture information, including: in response to a second operation instruction, obtaining the second texture information, wherein the second operation instruction is used to represent an operation instruction for drawing a texture based on the preset image.

[0098] As an optional embodiment, the above-mentioned computer-readable storage medium is also configured to store program code for executing the following steps: obtaining a first virtual model based on the height map, including: converting the height map into a second virtual model using a preset interface; deleting the number of faces of the second virtual model based on a preset threshold to obtain the first virtual model.

[0099] As an optional embodiment, the above-mentioned computer-readable storage medium is also configured to store program code for executing the following steps: based on the heat map, assigning texture information to the first virtual model to generate a target virtual model, including: based on the first virtual model, determining vertex information; based on the vertex information, determining the first coordinate; based on the first coordinate, assigning texture information to the first virtual model to generate a target virtual model.

[0100] As an optional embodiment, the above-mentioned computer-readable storage medium is also configured to store program codes for executing the following steps: the three-dimensional guidance map also includes solar term special effects, and the method also includes: obtaining preset time parameters, the preset time parameters are used to dynamically adjust the solar term special effects time of the three-dimensional guidance map; according to the preset time parameters, adjust the solar term special effects.

[0101] In the above-mentioned embodiment of the present invention, after obtaining a preset image for representing a preset game scene and marker information for representing a self-map entrance, a virtual model is generated according to the preset image, and then a three-dimensional guidance map is generated according to the target virtual model and the marker information. It is easy to notice that the three-dimensional guidance map provided by the present application only provides a sub-map entrance, but not a complete sub-map. Therefore, when the sub-map needs to be switched with the iteration of the terrain, the three-dimensional guidance map provided by the present application may not require adaptive modification, and if the complete game map changes significantly, the three-dimensional guidance map itself can be directly generated according to the preset image and marker information, without the need to generate the guidance map after the complete game map is generated, thereby achieving the technical effect of improving the efficiency of generating three-dimensional guidance maps and solving the technical problem of low efficiency of generating three-dimensional guidance maps in the prior art.

[0102] Through the description of the above implementation modes, it is easy for those skilled in the art to understand that the example implementation modes described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation mode of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation mode of the present invention.

[0103] In the exemplary embodiment of the present application, a program product capable of implementing the above method of the present embodiment is stored on a computer-readable storage medium. In some possible implementations, various aspects of the embodiments of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary implementations of the present invention described in the above "Exemplary Method" section of the present embodiment.

[0104] The program product for implementing the above method according to the embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the embodiment of the present invention is not limited thereto. In the embodiment of the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0105] The program product may be in any combination of one or more computer-readable media. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive) of computer-readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0106] It should be noted that the program code contained in the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0107] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0108] As an optional implementation, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0109] As an optional implementation manner, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0110] S1, obtaining a preset image and landmark information, wherein the landmark information is used to represent a sub-map entrance;

[0111] S2, generating a target virtual model based on the preset image;

[0112] S3, generating a three-dimensional guidance map based on the target virtual model and landmark information.

[0113] As an optional embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program: generating a three-dimensional guidance map based on the target virtual model and marker information, including: obtaining shooting parameters, wherein the shooting parameters include shooting angle and shooting height, and the shooting height and shooting angle are used to form a bird's-eye view of the target virtual model; determining the target position of the virtual camera based on the shooting parameters; controlling the virtual camera at the target position to render and shoot the target virtual model and marker information to generate a three-dimensional guidance map.

[0114] As an optional embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program: based on a preset image, a target virtual model is generated, including: based on the preset image, determining a heat map, a height map and texture information, wherein the heat map is used to locate the position of the texture information in the target virtual model, and the texture information is used to generate the surface material of the target virtual model; based on the height map, a first virtual model is obtained; based on the heat map, the texture information is assigned to the first virtual model to obtain the target virtual model.

[0115] As an optional embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program: based on a preset image, determining a heat map includes: based on the preset image, determining channel information, wherein the channel information is used to characterize the channel of the pixel points in the heat map; synthesizing the channel information to obtain a heat map.

[0116] As an optional embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program: the texture information includes first texture information, and based on a preset image, a height map and texture information are determined, including: in response to a first operation instruction, node information is obtained, wherein the first operation instruction is used to represent an operation instruction for drawing a texture based on a preset image; based on the node information, a height map and the first texture information are determined.

[0117] As an optional embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program: based on a preset image, determine texture information, the texture information includes second texture information, including: in response to a second operation instruction, obtain the second texture information, wherein the second operation instruction is used to represent an operation instruction for drawing a texture based on the preset image.

[0118] As an optional implementation, the processor may also be configured to execute the following steps through a computer program: converting the height map into a second virtual model using a preset interface; and deleting the number of faces of the second virtual model based on a preset threshold to obtain a first virtual model.

[0119] As an optional embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program: based on the heat map, assigning texture information to the first virtual model to generate a target virtual model, including: based on the first virtual model, determining vertex information; based on the vertex information, determining the first coordinate; based on the first coordinate, assigning texture information to the first virtual model to generate a target virtual model.

[0120] As an optional implementation, a preset time parameter is obtained, and the preset time parameter is used to dynamically adjust the solar term special effect moment of the three-dimensional guidance map; the solar term special effect is adjusted according to the preset time parameter.

[0121] In the above-mentioned embodiment of the present invention, after obtaining a preset image for representing a preset game scene and marker information for representing a self-map entrance, a virtual model is generated according to the preset image, and then a three-dimensional guidance map is generated according to the target virtual model and the marker information. It is easy to notice that the three-dimensional guidance map provided by the present application only provides a sub-map entrance, but not a complete sub-map. Therefore, when the sub-map needs to be switched with the iteration of the terrain, the three-dimensional guidance map provided by the present application may not require adaptive modification, and if the complete game map changes significantly, the three-dimensional guidance map itself can be directly generated according to the preset image and marker information, without the need to generate the guidance map after the complete game map is generated, thereby achieving the technical effect of improving the efficiency of generating three-dimensional guidance maps and solving the technical problem of low efficiency of generating three-dimensional guidance maps in the prior art.

[0122] Figure 8 is a schematic diagram of an electronic device according to an embodiment of the present invention. Figure 8 As shown, the electronic device 1300 is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0123] like Figure 8 As shown, the electronic device 1300 is in the form of a general computing device. The components of the electronic device 1300 may include but are not limited to: at least one processor 1310, at least one memory 1320, a bus 1330 connecting different system components (including the memory 1320 and the processor 1310), and a display 1340.

[0124] The memory 1320 stores program codes, which can be executed by the processor 1310, so that the processor 1310 executes the steps of various exemplary embodiments of the present invention described in the method part of the embodiment of the present application.

[0125] The memory 1320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 13201 and / or a cache memory unit 13202, and may further include a read-only memory unit (ROM) 13203, and may also include a computer-readable memory, such as one or more magnetic storage devices, flash memory, or other computer-readable solid-state memory.

[0126] In some examples, the memory 1320 may also include a program / utility 13204 having a set (at least one) of program modules 13205, such program modules 13205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include the implementation of a network environment. The memory 1320 may further include a memory remotely disposed relative to the processor 1310, and these remote memories may be connected to the electronic device 1300 via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0127] The bus 1330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a local bus of the processor 1310, or a bus using any of a variety of bus architectures.

[0128] The display 1340 may be, for example, a touch screen type liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 1300 .

[0129] Optionally, the electronic device 1300 may also communicate with one or more external devices 1400 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 1300, and / or any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1350. Furthermore, the electronic device 1300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1360. Figure 8 As shown, the network adapter 1360 communicates with other modules of the electronic device 1300 via the bus 1330. It should be understood that although Figure 8 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0130] The electronic device 1300 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply and / or a camera.

[0131] It can be understood by those skilled in the art that Figure 8The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 8 More or fewer components as shown, or with Figure 1 The memory 1320 may be used to store computer programs and corresponding data, such as the computer programs and corresponding data corresponding to the three-dimensional guidance map generation method in the embodiment of the present invention. The processor 1310 executes various functional applications and data processing by running the computer programs stored in the memory 1320, that is, implementing the above-mentioned three-dimensional guidance map generation method.

[0132] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0133] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0134] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0135] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0136] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0138] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for generating a three-dimensional guidance map, characterized in that: The three-dimensional guide map is used to guide the location of the sub-map entrance in a preset image, and the preset image is used to represent a preset game scene. The method includes: Acquire the preset image and marker information, wherein the marker information is used to represent the sub-map entrance; Based on the preset image, generating a target virtual model; Based on the target virtual model and the marker information, generating the three-dimensional guidance map; Wherein, generating the target virtual model based on the preset image includes: Based on the preset image, determining a heat map, a height map and texture information, wherein the heat map is used to locate the position of the texture information in the target virtual model, and the texture information is used to generate the surface material of the target virtual model; Based on the height map, obtaining a first virtual model; Based on the heat map, assigning the texture information to the first virtual model to obtain the target virtual model; Generating the three-dimensional guidance map based on the target virtual model and the marker information includes: Acquire shooting parameters, wherein the shooting parameters include a shooting angle and a shooting height, and the shooting height and the shooting angle are used to form a bird's-eye view of the target virtual model; Based on the shooting parameters, determining a target position of the virtual camera; The virtual camera is controlled at the target position to shoot the target virtual model and marker information to generate the three-dimensional guidance map.

2. The method according to claim 1, characterized in that Based on the preset image, determining the heat map includes: Based on the preset image, determining channel information, wherein the channel information is used to characterize a channel of a pixel point in the heat map; The channel information is synthesized to obtain the heat map.

3. The method according to claim 2, characterized in that The texture information includes first texture information, and based on the preset image, determining the height map and the texture information includes: In response to a first operation instruction, node information is obtained, wherein the first operation instruction is used to represent an operation instruction for drawing a texture based on the preset image; Based on the node information, the height map and the first texture information are determined.

4. The method according to claim 2, characterized in that: Based on the preset image, determining the texture information, where the texture information includes second texture information, includes: In response to a second operation instruction, the second texture information is obtained, wherein the second operation instruction is used to represent an operation instruction for drawing a texture based on the preset image.

5. The method according to claim 2, characterized in that: Based on the height map, a first virtual model is obtained, including: Converting the height map into a second virtual model using a preset interface; The number of faces of the second virtual model is deleted based on a preset threshold to obtain the first virtual model.

6. The method according to claim 2, characterized in that Based on the heat map, assigning the texture information to the first virtual model to generate the target virtual model includes: Based on the first virtual model, determining vertex information; Based on the vertex information, determining a first coordinate; Based on the first coordinates, the texture information is assigned to the first virtual model to generate the target virtual model.

7. The method according to claim 1, characterized in that The three-dimensional guidance map also includes solar term special effects, and the method further includes: Acquire preset time parameters, where the preset time parameters are used to dynamically adjust the solar term special effect time of the three-dimensional guidance map; According to the preset time parameters, the solar term special effects are adjusted.

8. A three-dimensional guidance map generating device, characterized in that: The three-dimensional guide map is used to guide the location of the sub-map entrance in a preset image, and the preset image is used to represent a preset game scene. The device includes: An acquisition module, used to acquire the preset image and marker information, wherein the marker information is used to represent the sub-map entrance; A first generating module, used for generating a target virtual model based on the preset image; A second generating module, used for generating the three-dimensional guidance map based on the target virtual model and the marker information; The first generating module is further used to determine a heat map, a height map and texture information based on the preset image, wherein the heat map is used to locate the position of the texture information on the target virtual model, and the texture information is used to generate the surface material of the target virtual model; based on the height map, a first virtual model is obtained; based on the heat map, the texture information is assigned to the first virtual model to obtain the target virtual model; The second generation module is also used to obtain shooting parameters, wherein the shooting parameters include shooting angle and shooting height, and the shooting height and the shooting angle are used to form a bird's-eye view of the target virtual model; based on the shooting parameters, the target position of the virtual camera is determined; at the target position, the virtual camera is controlled to shoot the target virtual model and landmark information to generate the three-dimensional guidance map.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data display method and device, storage medium and electronic equipment

    CN112308767A

  • Navigation map generation method and device, computer equipment and storage medium

    CN113178006A