CN115382208A - Three-dimensional guide map generation method, device, storage medium and electronic device - Google Patents

Three-dimensional guide map generation method, device, storage medium and electronic device Download PDF

Info

Publication number
CN115382208A
CN115382208A CN202210910016.0A CN202210910016A CN115382208A CN 115382208 A CN115382208 A CN 115382208A CN 202210910016 A CN202210910016 A CN 202210910016A CN 115382208 A CN115382208 A CN 115382208A
Authority
CN
China
Prior art keywords
map
virtual model
information
preset image
dimensional guide
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210910016.0A
Other languages
Chinese (zh)
Inventor
陈泉水
沈明
刘禕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202210910016.0A priority Critical patent/CN115382208A/en
Publication of CN115382208A publication Critical patent/CN115382208A/en
Priority to PCT/CN2023/102497 priority patent/WO2024021955A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5378Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for displaying an additional top view, e.g. radar screens or maps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Optics & Photonics (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a three-dimensional guide map generation method, a three-dimensional guide map generation device, a storage medium and an electronic device. The three-dimensional guide map is used for guiding the position of a sub-map entrance in a preset image, the preset image is used for representing a preset game scene, and the method comprises the following steps: acquiring a preset image and marker information, wherein the marker information is used for representing a sub-map entrance; generating a target virtual model based on a preset image; and generating a three-dimensional guide map based on the target virtual model and the marker information. The technical effect of improving the three-dimensional guide map generation efficiency is achieved, and the technical problem that the three-dimensional guide map generation efficiency is low in the prior art is solved.

Description

Three-dimensional guide map generation method, device, storage medium and electronic device
Technical Field
The invention relates to the field of game maps, in particular to a three-dimensional guide map generation method, a three-dimensional guide map generation device, a storage medium and an electronic device.
Background
In games, in order to facilitate the user to switch between different sub-maps or game slots, the user is typically provided with a guide map, which is typically a thumbnail of the complete game map.
Secondly, the thumbnail map of the complete game is usually generated according to the complete game map, the terrain is ecologized according to the mainstream terrain development principle at present, the bigger the game map is, the more workers are involved, once the terrain is iterated, the items generated depending on the terrain need to be planned again, and for example, if part of sub-maps in the complete map are modified, the whole complete game map and the guide map are modified accordingly, so that the generation efficiency of the guide map is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide a method, an apparatus, a storage medium, and an electronic apparatus for generating a three-dimensional guide map, so as to at least solve the technical problem of low generation efficiency of the three-dimensional guide map.
According to one embodiment of the present invention, a method for generating a three-dimensional guide map is provided, where the three-dimensional guide map is used to guide a position of a sub-map entry in a preset image, and the preset image is used to represent a preset game scene, and the method includes: acquiring a preset image and marker information, wherein the marker information is used for representing a sub-map entrance; generating a target virtual model based on a preset image; and generating a three-dimensional guide map based on the target virtual model and the marker information.
According to an embodiment of the present invention, there is provided a three-dimensional guide map generating apparatus, where the three-dimensional guide map is used to guide a position of a sub-map entry in a preset image, and the preset image is used to represent a preset game scene, the apparatus including: the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring a preset image and marker information, and the marker information is used for representing a sub-map entrance; the first generation module is used for generating a target virtual model based on a preset image; and the second generation module is used for generating a three-dimensional guide map based on the target virtual model and the marker information.
According to an embodiment of the present invention, there is further provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the three-dimensional guide map generation method in any one of the above methods when the computer program runs.
There is further provided, according to an embodiment of the present invention, an electronic apparatus including a memory and a processor, the memory having a computer program stored therein, the processor being configured to execute the computer program to perform the method of any one of the above.
In the above embodiment of the present invention, after the preset image for representing the preset game scene and the marker information for representing the self-map entry are obtained, the virtual model is generated according to the preset image, and then the three-dimensional guide map is generated according to the target virtual model and the marker information, it is easy to note that, the three-dimensional guide map provided by the present invention only provides the sub-map entry, but does not provide a complete sub-map, so that, when the sub-map needs to be switched along with terrain iteration, the three-dimensional guide map provided by the present invention may not need to be adapted, and if the complete game map has a large variation, the three-dimensional guide map itself may be directly generated according to the preset image and the marker information, and the guide map does not need to be generated after the complete game map is generated, thereby achieving the technical effect of improving the generation efficiency of the three-dimensional guide map, and solving the technical problem of low generation efficiency of the three-dimensional guide map in the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a prior art game map and a three-dimensional navigation map in an embodiment of the present application according to an embodiment of the present invention;
fig. 2 is a block diagram of a hardware structure of a mobile terminal of a three-dimensional guide map generation method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a three-dimensional guide map generation method according to one embodiment of the invention;
FIG. 4A is a prior art two-dimensional world map;
FIG. 4B is a two-dimensional world map of a prior art stereoscopic concept;
FIG. 5 is a schematic diagram of mountain details in the prior art and mountain details in the present embodiment according to one embodiment of the present invention;
FIG. 6A is a schematic diagram of a perspective of a virtual camera in a prior art game map and a perspective of a virtual camera in a game map of the present application according to one embodiment of the present invention;
FIG. 6B is another schematic diagram of a perspective of a virtual camera in a prior art game map and a perspective of a virtual camera in a game map of the present application according to one embodiment of the present invention;
FIG. 7 is a block diagram of a game map based data processing apparatus according to one embodiment of the present invention;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the game playing maps in the prior art, a large map is obtained as a world map by splicing a plurality of sub-maps together, and a guide map corresponding to the world map is a top plan image of the large map.
The game map in the embodiment of the application can be used as an entrance for entering the sub-map through the marker information, so that only the three-dimensional guide map needs to be manufactured in a generalized mode, the requirements on manufacturers can be reduced in the game development process, the development process is simplified, and the technical effect of improving the development efficiency can be achieved.
Fig. 1 is a schematic diagram of a game map in the related art and a guidance map in the present application according to an embodiment of the present invention. As shown in fig. 1, the left side of fig. 1 is a top plan view of the prior art large map, wherein circles represent game sub-map entries, a player can enter the sub-map by clicking, and the right side of fig. 1 is provided with triangles for representing mountains, circles for representing game sub-map entries, and lines for representing a route which a virtual character adopted by the game player can move.
In accordance with one embodiment of the present invention, there is provided an embodiment of a three-dimensional guide map generation method, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that described herein.
The method embodiments may be performed in a mobile terminal, a computer terminal or a similar computing device. Taking the example of the mobile terminal running on the mobile terminal, the mobile terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a mobile internet device (MID for short), a PAD, a game machine, etc. Fig. 2 is a block diagram of a hardware structure of a mobile terminal of a three-dimensional guide map generation method according to an embodiment of the present invention. As shown in fig. 2, the mobile terminal may include one or more (only one shown in fig. 2) processors 202 (the processors 202 may include, but are 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 further include a transmission device 206 for communication function, an input-output device 208, and a display device 210. It will be understood by those skilled in the art that the structure shown in fig. 2 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 204 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the three-dimensional guide map generation method in the embodiment of the present invention, and the processor 202 executes various functional applications and data processing by running the computer program stored in the memory 204, so as to implement the three-dimensional guide map generation method described above. Memory 204 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include memory located remotely from the processor 202, which may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 206 is used to receive or transmit data via a network. Specific examples of the network described above 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 (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmitting device 206 may be a Radio Frequency (RF) module, which is used to communicate with the internet via wireless.
The inputs in the input output Device 208 may come from a plurality of Human Interface Devices (HIDs). For example: keyboard and mouse, game pad, other special game controller (such as steering wheel, fishing rod, dance mat, remote controller, etc.). Some human interface devices may provide output functions in addition to input functions, such as: force feedback and vibration of the gamepad, audio output of the controller, etc.
The display device 210 may be, for example, a head-up display (HUD), a touch screen type 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) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
The three-dimensional guide map generation method in one embodiment of the present disclosure may be executed on a local terminal device or a server. When the three-dimensional guide map generation method runs on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (6) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game running mode, a game program running main body and a game picture presenting main body are separated, the storage and the running of the three-dimensional guide map generation method are completed on a cloud game server, and the client equipment is used for receiving and sending data and presenting a game picture, for example, the client equipment can be display equipment with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When a game is played, a 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, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an optional implementation manner, taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
In a possible implementation manner, an embodiment of the present invention provides a three-dimensional guide map generating method, where a graphical user interface is provided through a terminal device, where the terminal device may be the aforementioned local terminal device, and may also be the aforementioned client device in a cloud interaction system.
Fig. 3 is a flowchart of a three-dimensional guide map generation method according to an embodiment of the present invention, where the three-dimensional guide map is used to guide the position of a sub-map entry in a preset image, and the preset image is used to represent a preset game scene. The preset image may be an image drawn based on a game scene, for example, an original image. The game scenes may include terrain, game characters, game scenarios, and the like. The sub-map entry can be designed at any position in the preset image according to the game design requirement. As shown in fig. 3, the method comprises the steps of:
step S302, acquiring a preset image and marker information, wherein the marker information is used for representing the sub-map entrance.
Alternatively, the above-mentioned marker information may be a 3D virtual model for characterizing the entrance of the sub-map. When the player plays the game, the marker information can enter the corresponding sub-map in response to the operation instruction of the game player.
It should be noted that, in the prior art, there is usually a world map providing map guidance for a player, fig. 4A is a two-dimensional world map in the prior art, as shown in fig. 4A, the world map is usually a two-dimensional plane map, fig. 4B is a two-dimensional world map with a three-dimensional concept in the prior art, as shown in fig. 4B, it may also be a two-dimensional graph with a three-dimensional concept, so that a player can know a sub-map or a game level in a game clearly, so that the player can click on a sub-map entry on the world map according to his own actual needs, and enter another map to play the game, but the map is guided by such a display manner, which is difficult to arouse the search desire of the player and affect the game experience of the user.
However, in the embodiment of the present application, although the above-mentioned marker information is used for representing the sub-map entry, the marker information does not prompt the user that the sub-map entry is located therein like a conventional guidance map, for example, when the user selects a sub-map entry with a mouse or a finger, the model of the sub-map entry becomes large, or a special mark symbol, such as a circular button and associated text description, is set at the sub-map entry. Therefore, in the embodiment of the present application, the marker information and the target virtual model are visually integrated, and a player cannot visually determine the game entry position of the sub-map, and can determine the entry of the sub-map only by searching and trying in the guidance map.
And step S304, generating a target virtual model based on the preset image.
The target virtual model may be a three-dimensional mesh model, and optionally, after receiving the preset image, the target virtual model may draw a terrain in terrain software according to the preset image to obtain a heat map, a height map and texture information, then, the height map is input into 3D modeling software to obtain a first virtual model, and then the first virtual model, the heat map and the texture information are input into a game engine, so that a worker can view an effect of the virtual model in the 3D engine in real time and adjust the virtual model according to requirements.
Step S306, generating a three-dimensional guide map based on the target virtual model and the marker information.
The marker information may be a virtual model located on the target virtual model, and for example, if the target virtual model is a mountain model, the marker information may be a hole in the surface of the mountain. And then shooting the target virtual model and the marker information by adopting a preset virtual camera to obtain a three-dimensional guide map.
In an alternative embodiment, the three-dimensional guide map may include three-dimensional geological information, which is used to represent material information of a land surface in the game, wherein the land surface includes surfaces of mountain bodies, such as surfaces of peaks and valleys, and the material information is used to represent topographical features, such as: the weathered mountain, snow and sand on the ground surface, and the like. It should be noted that the three-dimensional guide map in the embodiment of the present application only includes geological information of a land surface, and does not include an internal structure, for example, the three-dimensional guide map may include complete geological information of a mountain surface, and a specific mountain internal map may be in a certain sub-map, and the sub-map may include elements such as a spa spring and flames.
In order to save energy consumption, the three-dimensional guide map only keeps geographic environment characteristics when the three-dimensional guide map is used in a mobile terminal, and does not include elements irrelevant to guide, including specific characteristics such as a story plot, a building, vegetation and props of a game, for example, green can be adopted to represent vegetation, but specific trees and grasslands are not drawn, if landforms such as volcanoes, deserts and partitions need to be drawn, volcanoes can be represented through burnt land and rock pulp, and deserts can be represented through yellow and hills. Fig. 5 is a schematic diagram of mountain details in the prior art and mountain details in the present application according to an embodiment of the present invention, as shown in fig. 5, black parts (except arrows) on the left side of fig. 5 represent mountain, diamonds represent details on mountain, such as buildings, vegetation or props in games, the left side of fig. 5 is used for representing a three-dimensional game map in the prior art, and the right side of fig. 5 is a game map in the present application embodiment, so that space saved from specific details is put into detail optimization of a mountain body.
In the embodiment of the present invention, after the preset image for representing the preset game scene and the marker information for representing the self-map entry are obtained, the virtual model is generated according to the preset image, and then the three-dimensional guide map is generated according to the target virtual model and the marker information, it is easy to note that only the sub-map entry is provided on the three-dimensional guide map provided by the present invention, but not a complete sub-map is provided, therefore, when the sub-map needs to be switched along with terrain iteration, the three-dimensional guide map provided by the present invention does not need to be adaptively modified, and if the complete game map has a large variation, the three-dimensional guide map can be directly generated according to the preset image and the marker information, and the guide map does not need to be generated after the complete game map is generated, thereby achieving the technical effect of improving the generation efficiency of the three-dimensional guide map, and solving the technical problem of low generation efficiency of the three-dimensional guide map in the prior art.
The above method of this embodiment is further described below.
As an alternative embodiment, generating the three-dimensional guide map based on the target virtual model and the marker information includes: acquiring shooting parameters, wherein the shooting parameters comprise a shooting angle and a shooting height, and the shooting height and the shooting angle are used for forming an overlooking angle of the target virtual object; determining a target position of the virtual camera based on the shooting parameters; and controlling a virtual camera to shoot the target virtual model and the marker information on the target position to generate a three-dimensional guide map.
Alternatively, the overhead view of the target virtual object may be the view of the game player, with the position of the target virtual object as the origin (0,0,0), and the above-described photographing angle may be an angle of a vector having an angle of 45 degrees with respect to all of the X-axis, the Z-axis, and the Y-axis. In the embodiment of the present application, in order to present the landscape in the target virtual model to the game player in the form of a micro-landscape after forming the bird's-eye view, a larger shooting height, for example, any shooting height greater than 300 meters, may be adopted.
In the prior art, the visual width of the virtual character and the interaction with the surrounding props are more active, and therefore, a lower viewing angle is adopted, fig. 6A is a schematic diagram of the viewing angle of the virtual camera in the game map in the prior art and the viewing angle of the virtual camera in the three-dimensional guide map in the present application according to one embodiment of the present invention, fig. 6B is another schematic diagram of the viewing angle of the virtual camera in the game map in the prior art and the viewing angle of the virtual camera in the three-dimensional guide map in the present application according to one embodiment of the present invention, as shown in fig. 6A and 6B, an image composed of two triangles in fig. 6A and 6B is used for representing a target virtual character, a line with an arrow is used for representing the viewing angle, an arc is used for representing the viewing angle, the other images are virtual models, the left side of fig. 6A is a lower viewing angle in the prior art, the right side of fig. 6A is a schematic diagram of the present application adopting a higher viewing angle, the left side of fig. 6B is a viewing angle of a common play, and the right side of fig. 6B is a view of an overhead view, also called a bird's view.
In the above optional embodiment, the shooting parameters are determined to form an overhead view of the target virtual object, and the presence of the target virtual object is weakened and the surrounding environment is strengthened under the overhead view of the target virtual object, so that the technical effect of improving the search desire of the player can be achieved.
As an optional implementation manner, generating the target virtual model based on the preset image includes: determining a heat map, a height map and texture information based on a preset image, wherein the heat map is used for positioning the position of the texture information in a target virtual model, and the texture information is used for generating the surface material of the target virtual model; obtaining a first virtual model based on the height map; and endowing the texture information to the first virtual model based on the heat map to obtain a target virtual model.
Alternatively, the staff may draw in the terrain software according to a preset image to obtain the heat map, the height map and the texture map. The height map is then entered into 3D modeling software, such as 3DMAX, and the model may be adjusted as needed in the 3D modeling software to obtain a first virtual model. And then, importing the first virtual model, the heat map and the texture information into a game engine, and attaching the texture information to a corresponding position on the first virtual model according to the position represented in the heat map to obtain a target virtual model.
It should be noted that, giving materials and maps to the game engine can replace the rendering effect of the engine terrain, reduce the memory, and improve the game performance.
As an optional implementation, the determining the heat map based on the preset image includes: determining channel information based on a preset image, wherein the channel information is used for representing a channel of a pixel point in a heat map; and synthesizing the channel information to obtain a heat map.
In an alternative embodiment, eight gray-scale maps for representing eight channels may be obtained by the terrain software based on the preset image, and then the eight gray-scale maps may be synthesized by the drawing software to obtain two heat maps, each having four channels. The first gray image can be used for determining the main body material and the exposed large-area part of the mountain in the game map, and does not contain details such as weathering and the like and other non-mountain details; the second gray map is used to determine secondary elements covering the mountain, e.g., green on a green mountain, snow covered on a mountain, and sand, which are all distinct portions of a feature. The third grayscale image is used to determine weathering details, river details, and fine mountains. The fourth gray level is used to determine the material of the ground surface, such as a plain and a pot hole, which is significantly different from the height of the mountain. 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 mountain foot edge of the mountain and ground engaging portion. The seventh grayscale image is used to determine the details of the ground portion of the mountain-ground engaging portion. And the eighth grayscale image is used for determining and refining the overall details of the terrain model.
As an optional implementation, the texture information includes first texture information, and the determining the height map and the texture information based on the preset image includes: responding to a first operation instruction, and obtaining node information, wherein the first operation instruction is used for representing an operation instruction for drawing texture based on a preset image; based on the node information, a height map and first texture information are determined.
Optionally, the first operation instruction may be node information created in the terrain software by a worker according to a preset image, and the node information may be used to generate corresponding texture information and a height map in the preset software. It should be noted that the node information may generate only a part of texture information, that is, the first texture information, and may also generate texture information, that is, second texture information in other specialized texture generation software, and add the second texture information to the first virtual model.
As an optional implementation, determining texture information based on the preset image, where the texture information includes second texture information, includes: and responding to a second operation instruction, and obtaining second texture information, wherein the second operation instruction is used for representing an operation instruction for drawing the texture based on the preset image.
Alternatively, the second operation instruction may be an operation instruction generated when an artist draws a texture in the proprietary texture creating software, and then the texture creating software may generate the second texture information according to the second operation instruction.
As an alternative embodiment, based on the height map, obtaining a first virtual model includes: converting the height map into a second virtual model by using a preset interface; and deleting the number of faces of the second virtual model based on a preset threshold value to obtain the first virtual model.
Optionally, the preset interface may be any program for converting the height map into the virtual grid model, and in an optional embodiment, the preset interface may be a mesh node. The preset threshold may be a preset threshold related to the operation demand of the three-dimensional guide map on 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 lower than or equal to the preset threshold.
It should be noted here that the second virtual model may be a model with a uniform number of faces, and in the process of adjusting the number of faces of the second virtual model, not only deletion processing may be performed, but also some important details may be refined based on the requirement of the game design, so that the number of faces of part of the second virtual model is correspondingly increased, and the number of faces of unimportant places is deleted, so that the total number of faces of the first virtual model meets the requirement of the preset threshold.
As an optional implementation manner, based on the heat map, assigning the texture information to the first virtual model, and generating the target virtual model includes: determining vertex information based on the first virtual model; determining a first coordinate based on the vertex information; and endowing the texture information to the first virtual model based on the first coordinate to generate a target virtual model.
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 coordinates are extracted, the corresponding terrain weight map fusion map may be brushed, a new material ball may be created, the fusion map is given, and finally the fusion map is pasted to the first virtual model, so as to obtain the target virtual model.
As an optional implementation, the three-dimensional guidance map further includes a solar term effect, and the method further includes: acquiring a preset time parameter, wherein the preset time parameter is used for dynamically adjusting the solar term special effect moment of the three-dimensional guide map; and adjusting the specific effect of the gas saving according to the preset time parameter.
Optionally, the preset time parameter includes a festival parameter, a solar term parameter and a daily sky change time comparison table, where the festival parameter is used to represent a celebration festival time, for example, in the spring festival, the festival effect may be adjusted to a background with a predominant red tone. The above-mentioned solar terms parameter is used for representing the time of 24 solar terms, and on each solar term day, the corresponding solar terms special effect can be executed, for example, in the spring equinox, the special effect of displaying plants breaking out of earth can be displayed, and the above-mentioned daily sky change time comparison table is used for controlling the illumination change in the game map in the daytime and at night.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device is further provided, and the device is used to implement the above embodiments and preferred embodiments, which have already been described and are not described again. As used below, the terms "unit", "module" may implement a combination of software and/or hardware of predetermined functions. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram of a three-dimensional guide map generation apparatus according to an embodiment of the present invention, where the three-dimensional guide map is used to guide the position of a sub-map entry in a preset image, and the preset image is used to represent a preset game scene, and the apparatus includes:
the obtaining module 72 is configured to obtain a preset image and marker information, where the marker information is used to represent a sub-map entry.
A first generating module 74, configured to generate a target virtual model based on a preset image.
And a second generating module 76 for generating a three-dimensional guide map based on the target virtual model and the marker information.
In the above embodiment of the present invention, after the preset image for representing the preset game scene and the marker information for representing the self-map entry are obtained, the virtual model is generated according to the preset image, and then the three-dimensional guide map is generated according to the target virtual model and the marker information, it is easy to note that, the three-dimensional guide map provided by the present invention only provides the sub-map entry, but does not provide a complete sub-map, so that, when the sub-map needs to be switched along with terrain iteration, the three-dimensional guide map provided by the present invention may not need to be adapted, and if the complete game map has a large variation, the three-dimensional guide map itself may be directly generated according to the preset image and the marker information, and the guide map does not need to be generated after the complete game map is generated, thereby achieving the technical effect of improving the generation efficiency of the three-dimensional guide map, and solving the technical problem of low generation efficiency of the three-dimensional guide map in the prior art.
As an optional implementation, the second generating module includes: the parameter acquisition unit is used for acquiring shooting parameters, wherein the shooting parameters comprise a shooting angle and a shooting height, and the shooting height and the shooting angle are used for forming an overlooking angle of the target virtual object; a position determination unit for determining a target position of the virtual camera based on the photographing parameters; and the shooting unit is used for controlling the virtual camera to render and shoot the target virtual model and the marker information at the target position to generate the three-dimensional guide map.
As an alternative embodiment, the first generating module comprises: the information determining unit is used for determining a heat map, a height map and texture information based on a preset image, wherein the heat map is used for positioning the position of the texture information in the target virtual model, and the texture information is used for generating the earth surface material of the target virtual model; a first model obtaining unit, configured to obtain a first virtual model based on the height map; and the texture giving unit is used for giving the texture information to the first virtual model based on the heat map to obtain the target virtual model.
As an optional implementation manner, the first model obtaining unit is further configured to determine channel information based on a preset image, where the channel information is used to characterize a channel of a pixel point in the heat map; and synthesizing the channel information to obtain a heat map.
As an optional implementation manner, the first model obtaining unit is further configured to obtain node information in response to a first operation instruction, where 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 first texture information are determined.
As an optional implementation manner, the first model obtaining unit is further configured to obtain second texture information in response to a second operation instruction, where the second operation instruction is used to characterize an operation instruction for drawing a texture based on the preset image.
As an optional implementation manner, the first model obtaining unit is further configured to convert the height map into a second virtual model by using a preset interface; and deleting the number of faces of the second virtual model based on a preset threshold value to obtain the first virtual model.
As an optional implementation manner, the first model obtaining unit is further configured to determine vertex information based on the first virtual model; determining a first coordinate based on the vertex information; and endowing the texture information to the first virtual model based on the first coordinate to generate a target virtual model.
As an optional implementation mode, the device further comprises a throttle module, a data processing module and a display module, wherein the throttle module is used for acquiring a preset time parameter, and the preset time parameter is used for dynamically adjusting the throttle special effect moment of the three-dimensional guide map; and adjusting the specific effect of the gas saving according to the preset time parameter.
It should be noted that the above units and modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the units and the modules are all positioned in the same processor; alternatively, the units and modules may be located in different processors in any combination.
Embodiments of the present invention also provide a computer readable medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Optionally, in this embodiment, the nonvolatile storage medium may include but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of computer terminals in a computer terminal group in a computer network, or in any one of mobile terminals in a mobile terminal group.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a preset image and marker information, wherein the marker information is used for representing a sub-map entrance;
s2, generating a target virtual model based on a preset image;
and S3, generating a three-dimensional guide map based on the target virtual model and the marker information.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the steps of: generating the three-dimensional guide map based on the target virtual model and the marker information includes: acquiring shooting parameters, wherein the shooting parameters comprise a shooting angle and a shooting height, and the shooting height and the shooting angle are used for forming an overlooking angle of the target virtual object; determining a target position of the virtual camera based on the shooting parameters; and controlling a virtual camera to render and shoot the target virtual model and the marker information at the target position, and generating a three-dimensional guide map.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the steps of: generating a target virtual model based on a preset image, comprising: determining a heat map, a height map and texture information based on a preset image, wherein the heat map is used for positioning the position of the texture information in the target virtual model, and the texture information is used for generating the earth surface material of the target virtual model; obtaining a first virtual model based on the height map; and endowing the texture information to the first virtual model based on the heat map to obtain a target virtual model.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the steps of: based on the preset image, determining the heat map comprises: determining channel information based on a preset image, wherein the channel information is used for representing a channel of a pixel point in a heat map; and synthesizing the channel information to obtain a heat map.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the following steps: the texture information includes first texture information, and the height map and the texture information are determined based on a preset image, and the determining includes: responding to a first operation instruction, and obtaining node information, wherein the first operation instruction is used for representing an operation instruction for drawing texture based on a preset image; based on the node information, a height map and first texture information are determined.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the steps of: determining texture information based on a preset image, the texture information including second texture information, including: and responding to a second operation instruction, and obtaining second texture information, wherein the second operation instruction is used for representing the operation instruction for drawing the texture based on the preset image.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the steps of: based on the height map, obtaining a first virtual model, comprising: converting the height map into a second virtual model by using a preset interface; and deleting the number of faces of the second virtual model based on a preset threshold value to obtain the first virtual model.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the steps of: based on the heat map, endowing texture information to the first virtual model to generate a target virtual model, and the method comprises the following steps: determining vertex information based on the first virtual model; determining a first coordinate based on the vertex information; and endowing the texture information to the first virtual model based on the first coordinate to generate a target virtual model.
As an alternative embodiment, the computer readable storage medium is further configured to store program code for performing the following steps: the three-dimensional guide map further comprises a special effect of solar terms, and the method further comprises the following steps: acquiring a preset time parameter, wherein the preset time parameter is used for dynamically adjusting the solar term special effect moment of the three-dimensional guide map; and adjusting the specific effect of the gas saving according to the preset time parameter.
In the above embodiment of the present invention, after the preset image for representing the preset game scene and the marker information for representing the self-map entry are obtained, the virtual model is generated according to the preset image, and then the three-dimensional guide map is generated according to the target virtual model and the marker information, it is easy to note that, the three-dimensional guide map provided by the present invention only provides the sub-map entry, but does not provide a complete sub-map, so that, when the sub-map needs to be switched along with terrain iteration, the three-dimensional guide map provided by the present invention may not need to be adapted, and if the complete game map has a large variation, the three-dimensional guide map itself may be directly generated according to the preset image and the marker information, and the guide map does not need to be generated after the complete game map is generated, thereby achieving the technical effect of improving the generation efficiency of the three-dimensional guide map, and solving the technical problem of low generation efficiency of the three-dimensional guide map in the prior art.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment 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 disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present invention.
In an exemplary embodiment of the present application, a computer-readable storage medium has stored thereon a program product capable of implementing the above-described method of the present embodiment. In some possible implementations, various aspects of the embodiments of the present invention may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps according to various exemplary implementations of the present invention described in the above section "exemplary method" of this embodiment, when the program product is run on the terminal device.
According to the program product for realizing the method, the portable compact disc read only memory (CD-ROM) can be adopted, the program code is included, and the program product can be operated on terminal equipment, such as a personal computer. However, the program product of the embodiments of the invention is not limited thereto, and in the embodiments of the invention, the computer readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product described above may employ any combination of one or more computer-readable media. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the program code embodied on the computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
As an optional implementation manner, the electronic apparatus 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.
As an alternative implementation, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a preset image and marker information, wherein the marker information is used for representing a sub-map entrance;
s2, generating a target virtual model based on a preset image;
and S3, generating a three-dimensional guide map based on the target virtual model and the marker information.
As an alternative embodiment, the processor may be further configured to execute the following steps by a computer program: generating the three-dimensional guide map based on the target virtual model and the marker information includes: acquiring shooting parameters, wherein the shooting parameters comprise a shooting angle and a shooting height, and the shooting height and the shooting angle are used for forming an overlooking angle of the target virtual object; determining a target position of the virtual camera based on the shooting parameters; and controlling a virtual camera to render and shoot the target virtual model and the marker information at the target position, and generating a three-dimensional guide map.
As an alternative embodiment, the processor may be further configured to execute the following steps by the computer program: generating a target virtual model based on a preset image, comprising: determining a heat map, a height map and texture information based on a preset image, wherein the heat map is used for positioning the position of the texture information in a target virtual model, and the texture information is used for generating the surface material of the target virtual model; obtaining a first virtual model based on the height map; and endowing the texture information to the first virtual model based on the heat map to obtain a target virtual model.
As an alternative embodiment, the processor may be further configured to execute the following steps by a computer program: determining the heat map based on the preset image includes: determining channel information based on a preset image, wherein the channel information is used for representing a channel of a pixel point in a heat map; and synthesizing the channel information to obtain a heat map.
As an alternative embodiment, the processor may be further configured to execute the following steps by a computer program: the texture information includes first texture information, and the height map and the texture information are determined based on a preset image, and the determining includes: responding to a first operation instruction, and obtaining node information, wherein the first operation instruction is used for representing an operation instruction for drawing texture based on a preset image; based on the node information, a height map and first texture information are determined.
As an alternative embodiment, the processor may be further configured to execute the following steps by a computer program: determining texture information based on a preset image, wherein the texture information comprises second texture information and comprises: and responding to a second operation instruction, and obtaining second texture information, wherein the second operation instruction is used for representing the operation instruction for drawing the texture based on the preset image.
As an alternative embodiment, the processor may be further configured to execute the following steps by a computer program: converting the height map into a second virtual model by using a preset interface; and deleting the number of faces of the second virtual model based on a preset threshold value to obtain the first virtual model.
As an alternative embodiment, the processor may be further configured to execute the following steps by the computer program: based on the heat map, endowing texture information to the first virtual model to generate a target virtual model, and the method comprises the following steps: determining vertex information based on the first virtual model; determining a first coordinate based on the vertex information; and endowing the texture information to the first virtual model based on the first coordinate to generate a target virtual model.
As an optional implementation mode, acquiring a preset time parameter, wherein the preset time parameter is used for dynamically adjusting the solar term special effect moment of the three-dimensional guide map; and adjusting the specific effect of the gas saving according to the preset time parameter.
In the embodiment of the present invention, after the preset image for representing the preset game scene and the marker information for representing the self-map entry are obtained, the virtual model is generated according to the preset image, and then the three-dimensional guide map is generated according to the target virtual model and the marker information, it is easy to note that only the sub-map entry is provided on the three-dimensional guide map provided by the present invention, but not a complete sub-map is provided, therefore, when the sub-map needs to be switched along with terrain iteration, the three-dimensional guide map provided by the present invention does not need to be adaptively modified, and if the complete game map has a large variation, the three-dimensional guide map can be directly generated according to the preset image and the marker information, and the guide map does not need to be generated after the complete game map is generated, thereby achieving the technical effect of improving the generation efficiency of the three-dimensional guide map, and solving the technical problem of low generation efficiency of the three-dimensional guide map in the prior art.
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the invention. As shown in fig. 8, the electronic device 1300 is only an example and should not bring any limitation to the functions and the scope of the application of the embodiments of the present invention.
As shown in fig. 8, electronic apparatus 1300 is embodied in the form of a general purpose computing device. The components of electronic device 1300 may include, but are not limited to: the at least one processor 1310, the at least one memory 1320, the bus 1330 connecting the various system components (including the memory 1320 and the processor 1310), and the display 1340.
Wherein the memory 1320 stores program code that is executable by the processor 1310 to cause the processor 1310 to perform steps according to various exemplary embodiments of the present invention described in the method section of the embodiments of the present application.
The memory 1320 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 13201 and/or a cache memory unit 13202, may further include a read only memory unit (ROM) 13203, and may also include computer readable memory, such as one or more magnetic storage devices, flash memory, or other computer readable solid state memory.
In some examples, 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 comprise an implementation of a network environment. The memory 1320 may further include memory located remotely from the processor 1310, which may be coupled to the electronic device 1300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Bus 1330 may be any bus representing 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, and processor 1310, or a local bus using any of a variety of bus architectures.
Display 1340 may, for example, be a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of electronic device 1300.
Optionally, the electronic apparatus 1300 may also communicate with one or more external devices 1400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic apparatus 1300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic apparatus 1300 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 1350. Also, the electronic device 1300 may 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) through the network adapter 1360. As shown in FIG. 8, the network adapter 1360 communicates with other modules of the electronic device 1300 via the bus 1330. It should be appreciated that although not shown in FIG. 8, other hardware and/or software modules may be used in conjunction with the electronic device 1300, which may include but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The electronic device 1300 may further include: a keyboard, a cursor control device (e.g., a mouse), an input/output interface (I/O interface), a network interface, a power source, and/or a camera.
It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration and is not intended to limit the structure of the electronic device. For example, electronic device 1300 may also include more or fewer components than shown in FIG. 8, or have a different configuration than shown in FIG. 1. The memory 1320 may be used to store a computer program and corresponding data, such as a computer program and corresponding data corresponding to the three-dimensional guide map generation method in the embodiment of the present invention. The processor 1310 executes various functional applications and data processing by running a computer program stored in the memory 1320, that is, implements the three-dimensional guide map generation method described above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (12)

1. A three-dimensional guide map generation method is characterized in that the three-dimensional guide map is used for guiding the position of a sub-map entrance in a preset image, and the preset image is used for representing a preset game scene, and the method comprises the following steps:
acquiring the preset image and marker information, wherein the marker information is used for representing the entrance of the sub-map;
generating a target virtual model based on the preset image;
generating the three-dimensional guide map based on the target virtual model and the marker information.
2. The method of claim 1, wherein generating the three-dimensional guide map based on the target virtual model and the marker information comprises:
acquiring shooting parameters, wherein the shooting parameters comprise a shooting angle and a shooting height, and the shooting height and the shooting angle are used for forming an overlooking angle of the target virtual object;
determining a target position of a virtual camera based on the shooting parameters;
and controlling the virtual camera to shoot a target virtual model and marker information on the target position to generate the three-dimensional guide map.
3. The method of claim 1, wherein generating the target virtual model based on the preset image comprises:
determining a heat map, a height map and texture information based on the preset image, wherein the heat map is used for positioning the position of the texture information in the target virtual model, and the texture information is used for generating the surface material of the target virtual model;
obtaining a first virtual model based on the height map;
and endowing the texture information to the first virtual model based on the heat map to obtain the target virtual model.
4. The method of claim 3, wherein determining the heat map based on the preset image comprises:
determining channel information based on the preset image, wherein the channel information is used for representing channels of pixel points in the heat map;
and synthesizing the channel information to obtain the heat map.
5. The method according to claim 4, wherein the texture information comprises first texture information, and determining the height map and the texture information based on the preset image comprises:
responding to a first operation instruction, and obtaining node information, wherein the first operation instruction is used for representing an operation instruction for drawing texture based on the preset image;
determining the height map and the first texture information based on the node information.
6. The method of claim 4, wherein determining the texture information based on the preset image, the texture information comprising second texture information comprises:
and responding to a second operation instruction, and obtaining the second texture information, wherein the second operation instruction is used for representing the operation instruction for drawing the texture based on the preset image.
7. The method of claim 4, wherein deriving a first virtual model based on the height map comprises:
converting the height map into a second virtual model by using a preset interface;
and deleting the number of faces of the second virtual model based on a preset threshold value to obtain the first virtual model.
8. The method of claim 4, wherein assigning the texture information to the first virtual model based on the heat map, and wherein generating the target virtual model comprises:
determining vertex information based on the first virtual model;
determining a first coordinate based on the vertex information;
and endowing the texture information to the first virtual model based on the first coordinate, and generating the target virtual model.
9. The method of claim 1, wherein the three-dimensional guidance map further comprises a solar term effect, the method further comprising:
acquiring a preset time parameter, wherein the preset time parameter is used for dynamically adjusting the solar term special effect moment of the three-dimensional guide map;
and adjusting the specific effect of the solar term according to the preset time parameter.
10. A three-dimensional guide map generation apparatus, wherein the three-dimensional guide map is used to guide a position of a sub-map entry in a preset image, and the preset image is used to represent a preset game scene, the apparatus comprising:
the acquisition module is used for acquiring the preset image and the marker information, wherein the marker information is used for representing the entrance of the sub-map;
the first generation module is used for generating a target virtual model based on the preset image;
and the second generation module is used for generating the three-dimensional guide map based on the target virtual model and the marker information.
11. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to, when executed by a processor, perform the method of any of claims 1 to 9.
12. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 9.
CN202210910016.0A 2022-07-29 2022-07-29 Three-dimensional guide map generation method, device, storage medium and electronic device Pending CN115382208A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210910016.0A CN115382208A (en) 2022-07-29 2022-07-29 Three-dimensional guide map generation method, device, storage medium and electronic device
PCT/CN2023/102497 WO2024021955A1 (en) 2022-07-29 2023-06-26 Three-dimensional guidance map generation method and device, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210910016.0A CN115382208A (en) 2022-07-29 2022-07-29 Three-dimensional guide map generation method, device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115382208A true CN115382208A (en) 2022-11-25

Family

ID=84119354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210910016.0A Pending CN115382208A (en) 2022-07-29 2022-07-29 Three-dimensional guide map generation method, device, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN115382208A (en)
WO (1) WO2024021955A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021955A1 (en) * 2022-07-29 2024-02-01 网易(杭州)网络有限公司 Three-dimensional guidance map generation method and device, storage medium, and electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013042931A (en) * 2011-08-24 2013-03-04 Xpec Entertainment Inc Virtual map fragment generating method, virtual map generating method, and virtual map generator
CN107045844B (en) * 2017-04-25 2018-06-26 张一帆 A kind of landscape guide method based on augmented reality
CN109754471B (en) * 2019-01-10 2023-06-27 网易(杭州)网络有限公司 Image processing method and device in augmented reality, storage medium and electronic equipment
CN113178006A (en) * 2021-04-25 2021-07-27 深圳市慧鲤科技有限公司 Navigation map generation method and device, computer equipment and storage medium
CN114225399A (en) * 2021-12-13 2022-03-25 网易(杭州)网络有限公司 Method and device for switching scenes in game, electronic equipment and readable storage medium
CN114419207A (en) * 2021-12-29 2022-04-29 网易(杭州)网络有限公司 Information processing method, information processing apparatus, readable storage medium, and electronic apparatus
CN115382208A (en) * 2022-07-29 2022-11-25 网易(杭州)网络有限公司 Three-dimensional guide map generation method, device, storage medium and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021955A1 (en) * 2022-07-29 2024-02-01 网易(杭州)网络有限公司 Three-dimensional guidance map generation method and device, storage medium, and electronic device

Also Published As

Publication number Publication date
WO2024021955A9 (en) 2024-03-21
WO2024021955A1 (en) 2024-02-01

Similar Documents

Publication Publication Date Title
CN110147231B (en) Combined special effect generation method and device and storage medium
US20200312042A1 (en) Three dimensional reconstruction of objects based on geolocation and image data
CN111701238B (en) Virtual picture volume display method, device, equipment and storage medium
CN111275797B (en) Animation display method, device, equipment and storage medium
US20230405452A1 (en) Method for controlling game display, non-transitory computer-readable storage medium and electronic device
CN113209612B (en) Building processing method and device in virtual scene, electronic equipment and storage medium
CN112711458A (en) Method and device for displaying prop resources in virtual scene
CN113559504A (en) Information processing method, information processing apparatus, storage medium, and electronic device
WO2024021955A1 (en) Three-dimensional guidance map generation method and device, storage medium, and electronic device
US20230321535A1 (en) Coordinate axis display method and apparatus applied to virtual environments, terminal, and medium
CN115375822A (en) Cloud model rendering method and device, storage medium and electronic device
CN115082607A (en) Virtual character hair rendering method and device, electronic equipment and storage medium
CN112206519B (en) Method, device, storage medium and computer equipment for realizing game scene environment change
CN112950753B (en) Virtual plant display method, device, equipment and storage medium
CN116466821A (en) Disaster simulation sensing method, device, equipment and medium based on virtual reality
CN113313796B (en) Scene generation method, device, computer equipment and storage medium
CN114053693A (en) Object control method and device in virtual scene and terminal equipment
CN113134235A (en) Map element adding method, device, terminal and storage medium
CN113926189A (en) Terrain block display method, device, equipment and storage medium
Zhu et al. Integrated Co-Designing Using Building Information Modeling and Mixed Reality with Erased Backgrounds for Stock Renovation
CN115120972A (en) Target fluid rendering method and device, storage medium and electronic device
WO2023216771A1 (en) Virtual weather interaction method and apparatus, and electronic device, computer-readable storage medium and computer program product
CN117173285A (en) Image generation method, device, equipment and storage medium
Zilizi et al. Challenges of developing mobile versions for high performance desktop VR applications
CN116452704A (en) Method and device for generating lens halation special effect, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination