CN112023400A - Height map generation method, device, equipment and storage medium - Google Patents

Height map generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN112023400A
CN112023400A CN202010723739.0A CN202010723739A CN112023400A CN 112023400 A CN112023400 A CN 112023400A CN 202010723739 A CN202010723739 A CN 202010723739A CN 112023400 A CN112023400 A CN 112023400A
Authority
CN
China
Prior art keywords
information
height
height map
collision points
collision
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
CN202010723739.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.)
Shanghai Mihoyo Tianming Technology Co Ltd
Original Assignee
Shanghai Mihoyo Tianming Technology 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 Shanghai Mihoyo Tianming Technology Co Ltd filed Critical Shanghai Mihoyo Tianming Technology Co Ltd
Priority to CN202010723739.0A priority Critical patent/CN112023400A/en
Publication of CN112023400A publication Critical patent/CN112023400A/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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/303Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a height map generation method, a height map generation device, height map generation equipment and a storage medium, wherein the method comprises the following steps: acquiring a scene model of a target scene; performing ray detection on the scene model to obtain height information of collision points; classifying the collision points based on the attribute information of the collision points, and generating a height map corresponding to each category based on the height information. According to the height map generation method provided by the embodiment of the invention, the multi-layer height map is constructed by utilizing the collision point information obtained by ray detection, so that the rendering of the earth surface details in the target scene is not limited by the number of layers of the height map, and the display effect of the game scene is improved.

Description

Height map generation method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of image rendering, in particular to a height map generation method, device, equipment and storage medium.
Background
With the development of network technology, people have higher and higher requirements for the experience of game pictures in games. For example, during the game, the display effect of the game picture may affect the game experience of the user.
Currently, in the generation of a game scene, height information is stored by using a height map (height map) in a ground surface construction tool (terrain) to represent distribution information of grass, and an image of the grass in the game scene is generated based on the height map in the terrain. However, due to the characteristics of terrain, terrain can be brushed only once at one position, so that only one place capable of growing grass is arranged at different heights (such as the upper side and the lower side of a cliff) at the same horizontal position, and the display effect of the game picture is poor.
Disclosure of Invention
The embodiment of the invention provides a height map generation method, a height map generation device, height map generation equipment and a storage medium, which are used for generating a multilayer height map and improving the display effect of a game scene rendered based on the multilayer height map.
In a first aspect, an embodiment of the present invention provides a height map generation method, including:
acquiring a scene model of a target scene;
performing ray detection on the scene model to obtain height information of collision points;
classifying the collision points based on the attribute information of the collision points, and generating a height map corresponding to each category based on the height information.
In a second aspect, an embodiment of the present invention further provides an altitude map generation apparatus, including:
the scene model acquisition module is used for acquiring a scene model of a target scene;
the ray detection module is used for carrying out ray detection on the scene model to obtain height information of collision points;
and the height map generation module is used for classifying the collision points based on the attribute information of the collision points and generating a height map corresponding to each category based on the height information.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs
When executed by one or more processors, cause the one or more processors to implement a height map generation method as provided by any of the embodiments of the present invention.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the height map generating method provided in any embodiment of the present invention.
The method comprises the steps of obtaining a scene model of a target scene; performing ray detection on the scene model to obtain height information of collision points; the collision points are classified based on the attribute information of the collision points, the height map corresponding to each category is generated based on the height information, and the multi-layer height map is constructed by utilizing the collision point information obtained by ray detection, so that the rendering of the earth surface details in the target scene is not limited by the number of layers of the height map, and the display effect of the game scene is improved.
Drawings
FIG. 1a is a flowchart of a height map generation method according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of a radiation detection system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a height map generation method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a height map generating apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of a height map generating method according to an embodiment of the present invention. The embodiment can be applied to the situation when generating the height map, in particular to the situation when generating the height map which is a Chinese sketch in the game scene. The method may be performed by a height map generating device, which may be implemented in software and/or hardware, which may be configured in a computer device, for example. As shown in fig. 1a, the method comprises:
and S110, acquiring a scene model of the target scene.
In this embodiment, the target scene may be a scene that needs to be rendered. It will be appreciated that the terrain in the game scene is constructed based on the model. And fusing the plurality of models to form a terrain effect in the game scene. In the embodiment, in order to improve the display effect of grass and enable grass to grow on the surface of any compliant object, the height map of one layer in terrain is not used for generating the grass, the height information of the grass is determined based on the object on which the grass grows, and the height maps of multiple layers are constructed based on the height information of the grass, so that the corresponding image of the grass can be rendered at the corresponding position of each layer.
And S120, carrying out ray detection on the scene model to obtain the height information of the collision point.
It will be appreciated that grass needs to be generated on the surface of an object. Therefore, it is possible to acquire information of the object surface points requiring grass growth, and determine the height information of grass based on the information of the object surface points. The height information of the grass can be understood as the height of the position of the grass root from the horizontal plane. Alternatively, the information of the surface points of the object may be obtained by means of ray detection. In an embodiment of the present invention, invoking a height obtaining tool to obtain height information of each layer of original scene elements includes: and acquiring a scene model of the target scene, and performing ray detection on the scene model by using a ray detection method to obtain the height information of each layer of original scene elements. In this embodiment, a ray is an infinitely long line that is emitted in one direction from one point in the three-dimensional world. On the trajectory of the ray, even if the ray collides with the model to which the collider is added, the ray does not stop emitting, so in the present embodiment, the ray detection can generate different collision points at different hierarchies, and can acquire the position information (coordinate information and height information) of all the collision points. The height information of the grass is determined by utilizing the height information of the collision points obtained by ray detection, so that the determination of the height information of the grass is quicker and more accurate.
In one embodiment, performing ray detection on the scene model to obtain height information of the collision point includes: and performing top-down ray detection on the scene model according to preset density information, acquiring position information of a collision point of rays, and acquiring height information based on the position information. Alternatively, the density of the radiation detection may be set according to the size of the object. When the ray detection is carried out, the ray detection is used for the scene model from top to bottom according to the set density information, the height information of the collision point of the ray is obtained, and the height information of the collision point is used as the height information of the grass. Wherein, the density of ray detection can be set according to the size of the actual object. For example, the density information may be set to 1 × 1 unit, that is, the scene model is subjected to top-down ray detection at a density of every 1 × 1 units in the scene. Fig. 1b is a schematic diagram of a radiation detection method according to an embodiment of the present invention. In fig. 1B, an object 1 and an object 2 are shown, with rays a and B being detected from top to bottom. In this embodiment, the point where the ray collides with the object when it is emitted from the outside of the object to the inside of the object is the collision sheet, and the point where the ray collides with the object when it is emitted from the inside of the object to the outside of the object is not the collision point. Therefore, the ray a collides with the ray B with the object 1 and the object 2 to obtain a collision point a1, a collision point a2, a collision point B1, and a collision point B2.
S130, classifying the collision points based on the attribute information of the collision points, and generating a height map corresponding to each category based on the height information.
In this embodiment, after the height information of the collision point is acquired, the collision point is classified, the collision point corresponding to each layer of the height map is determined, and for each layer of the collision point, the height map of the layer is generated based on the height information of the layer of the collision point. Wherein, each layer of height map contains the level information and height information of the layer.
In one embodiment of the present invention, classifying collision points based on attribute information of the collision points and generating a height map corresponding to each class includes: acquiring object identifications of objects to which the collision points belong, and classifying the collision points according to the object identifications; and generating a height map corresponding to each category according to the position information of the collision points in the categories. In the radiation detection, in addition to the position information of the collision point, the attribute information of the collision point (for example, the object to which the collision point belongs) can be acquired. In this embodiment, different objects in the scene model may be distinguished by object identification. Correspondingly, all collision points can be classified according to the object identifiers of the objects to which the collision points belong, and for each class, the collision points in the class are combined into a height map and stored as a numerical file.
In one embodiment, in order to make the object more fit to the grass growing on the object, the collision points belonging to the same object may be classified into one class, and used as the collision points of the same class, to generate a layer of height map. That is, collision points having the same object identification may be classified into the same category, so that collision points belonging to the same object are classified into the same category, so that grass on the surface of the same object can be generated based on one height map.
Still taking fig. 1B as an example, after the ray a and the ray B are detected from top to bottom, the object identifier of the object at each collision point is obtained, and it can be obtained that the object identifier of the object at the collision point a1 is object 1, the object identifier of the object at the collision point a2 is object 2, the object identifier of the object at the collision point B1 is object 1, and the object identifier of the object at the collision point B2 is object 2. That is, the object identifications of the objects to which the collision point a1 and the collision point B1 belong are the same, the object identifications of the objects to which the collision point a2 and the collision point B2 belong are the same, and the height information of the collision point a1 and the collision point B1 are the same, the collision point a1 and the collision point B1 are generated in one height map, and the collision point a2 and the collision point B2 are generated in one height map in the same manner.
In this embodiment, the generation of the height map corresponding to each category by performing the ray detection on the scene model needs to be performed before the game is run, i.e. in the production stage of the game. In the game running stage, the height map is sampled, height information contained in the height map is obtained, and surface details (such as grass elements) in a game scene are rendered based on the height information obtained through sampling.
The method comprises the steps of obtaining a scene model of a target scene; performing ray detection on the scene model to obtain height information of collision points; the method comprises the steps of classifying the collision points based on the attribute information of the collision points, generating a height map corresponding to each class based on the height information, and constructing a multilayer height map by using the collision point information obtained by ray detection, so that rendering of earth surface details in a scene is not limited by the number of layers of the height map, and the display effect of the game scene is improved.
Example two
Fig. 2 is a flowchart of a height map generating method according to a second embodiment of the present invention. The present embodiment is further optimized based on the above embodiments. As shown in fig. 2, the method includes:
s210, obtaining a scene model of the target scene.
And S220, carrying out ray detection on the scene model to obtain the height information of the collision point.
And S230, classifying the collision points based on the attribute information of the collision points, and generating a height map corresponding to each category based on the height information.
S240, obtaining element rendering parameters corresponding to each height map, and constructing a corresponding relation between the element rendering parameters and the height maps.
In this embodiment, after generating the multi-layer height map, the element rendering parameters, such as color information, corresponding to each layer of height map may be obtained. Density information, orientation information, etc., associating the elevation map with the element rendering parameters to enable rendering of a corresponding surface image based on the element rendering parameters and the elevation map.
And S250, rendering the earth surface image according to the altitude graph and the element rendering parameters associated with the altitude graph and displaying the earth surface image.
In the present embodiment, the element rendering parameter includes at least one of density information, color information, and direction information. The color information is used to represent the color of the target scene element, the density information is used to represent the density of the target scene element, and the direction information is used to represent the growth direction of the target scene element. In addition, the light shadow parameter of the grass can be calculated according to the direction information, and the shadow of the grass can be generated according to the light shadow parameter. Specifically, rendering the image of the ground surface according to the height map and the element rendering parameters associated with the height map may be to determine a growth direction of the grass according to the direction information and calculate an illumination shadow parameter, determine a shadow of the grass according to the illumination shadow parameter, determine a color of the grass according to the color information, determine a density of the grass according to the density information, and render the image of the grass on the ground surface by integrating the shadow, the direction, the color, the density, and other information of the grass.
On the basis of the scheme, after the height map is generated, the operation of rendering the earth surface image based on the multilayer height map is added, and the earth surface images at the same horizontal position and different heights are generated based on the multilayer height map, so that the display effect of the game scene is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a height map generating apparatus according to a fourth embodiment of the present invention. The height map generating means may be implemented in software and/or hardware, for example, the height map generating means may be configured in a computer device. As shown in fig. 3, the apparatus includes a target scene obtaining module 310, an altitude information obtaining module 320, and an altitude map generating module 330, wherein:
a target scene obtaining module 310, configured to obtain a scene model of a target scene;
the height information acquiring module 320 is configured to perform ray detection on the scene model to obtain height information of a collision point;
the height map generating module 330 is configured to classify the collision points based on the attribute information of the collision points, and generate a height map corresponding to each class based on the height information.
The method comprises the steps that a scene model of a target scene is obtained through a target scene obtaining module; the height information acquisition module performs ray detection on the scene model to obtain height information of collision points; the height map generation module classifies the collision points based on the attribute information of the collision points, generates a height map corresponding to each category based on the height information, and constructs a multi-layer height map by using the collision point information obtained by ray detection, so that rendering of earth surface details in a target scene is not limited by the number of layers of the height map, and the display effect of a game scene is improved.
Optionally, on the basis of the above scheme, the height information obtaining module 320 is specifically configured to:
and performing top-down ray detection on the scene model according to preset density information, acquiring position information of a ray collision point, and obtaining the height information based on the position information.
Optionally, on the basis of the above scheme, the height map generating module 330 is specifically configured to:
acquiring object identifications of objects to which the collision points belong, and classifying the collision points according to the object identifications;
and generating a height map corresponding to each category according to the position information of the collision points in the categories.
Optionally, on the basis of the above scheme, the height map generating module 330 is specifically configured to:
and classifying the collision points with the same object identification into the same category.
Optionally, on the basis of the foregoing scheme, the apparatus further includes a parameter association module, configured to:
and acquiring element rendering parameters corresponding to each height map, and constructing an association relation between the element rendering parameters and the height maps.
Optionally, on the basis of the above scheme, the apparatus further includes a scene display module, configured to:
and rendering a surface image according to the height map and the element rendering parameters associated with the height map and displaying the surface image.
Optionally, on the basis of the above scheme, the element rendering parameter includes at least one of density information, color information, and direction information.
The height map generation device provided by the embodiment of the invention can execute the height map generation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 412 suitable for use in implementing embodiments of the present invention. The computer device 412 shown in FIG. 4 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 412 is in the form of a general purpose computing device. Components of computer device 412 may include, but are not limited to: one or more processors 416, a system memory 428, and a bus 418 that couples the various system components (including the system memory 428 and the processors 416).
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and processor 416, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 428 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)430 and/or cache memory 432. The computer device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Memory 428 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The computer device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc.), with one or more devices that enable a user to interact with the computer device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, computer device 412 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 network adapter 420. As shown, network adapter 420 communicates with the other modules of computer device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 412, including but 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 processor 416 executes various functional applications and data processing by executing programs stored in the system memory 428, for example, to implement the height map generating method provided by the embodiment of the present invention, the method includes:
acquiring a scene model of a target scene;
performing ray detection on the scene model to obtain height information of collision points;
the collision points are classified based on the attribute information of the collision points, and a height map corresponding to each class is generated based on the height information.
Of course, those skilled in the art will understand that the processor may also implement the technical solution of the height map generation method provided in any embodiment of the present invention.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a height map generating method provided in the fifth embodiment of the present invention, where the method includes:
acquiring a scene model of a target scene;
performing ray detection on the scene model to obtain height information of collision points;
the collision points are classified based on the attribute information of the collision points, and a height map corresponding to each class is generated based on the height information.
Of course, the computer program stored on the computer-readable storage medium provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform operations related to the height map generation method provided by any embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A 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 computer 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. In the context of this document, a 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable 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.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A height map generation method, comprising:
acquiring a scene model of a target scene;
performing ray detection on the scene model to obtain height information of collision points;
classifying the collision points based on the attribute information of the collision points, and generating a height map corresponding to each category based on the height information.
2. The method of claim 1, wherein the performing ray detection on the scene model to obtain height information of the collision point comprises:
and performing top-down ray detection on the scene model according to preset density information, acquiring position information of a ray collision point, and obtaining the height information based on the position information.
3. The method according to claim 1, wherein the classifying the collision points based on the attribute information of the collision points and generating a height map corresponding to each class comprises:
acquiring object identifications of objects to which the collision points belong, and classifying the collision points according to the object identifications;
and generating a height map corresponding to each category according to the position information of the collision points in the categories.
4. The method of claim 1, wherein said classifying the collision points according to the object identifications comprises:
and classifying the collision points with the same object identification into the same category.
5. The method of claim 1, further comprising:
and acquiring element rendering parameters corresponding to each height map, and constructing an association relation between the element rendering parameters and the height maps.
6. The method of claim 5, further comprising:
and rendering a surface image according to the height map and the element rendering parameters associated with the height map and displaying the surface image.
7. The method of claim 5 or 6, wherein the element rendering parameters comprise at least one of density information, color information, and direction information.
8. An altitude map generation apparatus, comprising:
the scene model acquisition module is used for acquiring a scene model of a target scene;
the ray detection module is used for carrying out ray detection on the scene model to obtain height information of collision points;
and the height map generation module is used for classifying the collision points based on the attribute information of the collision points and generating a height map corresponding to each category based on the height information.
9. A computer device, the device comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the height map generating method as recited in any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a height map generating method according to any one of claims 1 to 7.
CN202010723739.0A 2020-07-24 2020-07-24 Height map generation method, device, equipment and storage medium Pending CN112023400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010723739.0A CN112023400A (en) 2020-07-24 2020-07-24 Height map generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010723739.0A CN112023400A (en) 2020-07-24 2020-07-24 Height map generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112023400A true CN112023400A (en) 2020-12-04

Family

ID=73583114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010723739.0A Pending CN112023400A (en) 2020-07-24 2020-07-24 Height map generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112023400A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113470169A (en) * 2021-06-30 2021-10-01 完美世界(北京)软件科技发展有限公司 Game scene generation method and device, computer equipment and readable storage medium
CN116256721A (en) * 2023-05-11 2023-06-13 南京隼眼电子科技有限公司 Channel scene mode judging method, system, electronic equipment and medium
CN117710368A (en) * 2024-02-05 2024-03-15 腾讯科技(深圳)有限公司 Image processing method, device, apparatus, medium, and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426559A (en) * 2016-05-24 2017-12-01 汤姆逊许可公司 Method, apparatus and stream for immersion video format
CN108830923A (en) * 2018-06-08 2018-11-16 网易(杭州)网络有限公司 Image rendering method, device and storage medium
WO2019233394A1 (en) * 2018-06-08 2019-12-12 Oppo广东移动通信有限公司 Image processing method and apparatus, storage medium and electronic device
CN110969687A (en) * 2019-11-29 2020-04-07 中国商用飞机有限责任公司北京民用飞机技术研究中心 Collision detection method, device, equipment and medium
CN111870952A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Height map generation method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426559A (en) * 2016-05-24 2017-12-01 汤姆逊许可公司 Method, apparatus and stream for immersion video format
CN108830923A (en) * 2018-06-08 2018-11-16 网易(杭州)网络有限公司 Image rendering method, device and storage medium
WO2019233394A1 (en) * 2018-06-08 2019-12-12 Oppo广东移动通信有限公司 Image processing method and apparatus, storage medium and electronic device
CN110969687A (en) * 2019-11-29 2020-04-07 中国商用飞机有限责任公司北京民用飞机技术研究中心 Collision detection method, device, equipment and medium
CN111870952A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Height map generation method, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113470169A (en) * 2021-06-30 2021-10-01 完美世界(北京)软件科技发展有限公司 Game scene generation method and device, computer equipment and readable storage medium
CN113470169B (en) * 2021-06-30 2022-04-29 完美世界(北京)软件科技发展有限公司 Game scene generation method and device, computer equipment and readable storage medium
CN116256721A (en) * 2023-05-11 2023-06-13 南京隼眼电子科技有限公司 Channel scene mode judging method, system, electronic equipment and medium
CN117710368A (en) * 2024-02-05 2024-03-15 腾讯科技(深圳)有限公司 Image processing method, device, apparatus, medium, and program product
CN117710368B (en) * 2024-02-05 2024-04-30 腾讯科技(深圳)有限公司 Image processing method, device, apparatus, medium, and program product

Similar Documents

Publication Publication Date Title
US11763474B2 (en) Method for generating simulated point cloud data, device, and storage medium
CN110163903B (en) Three-dimensional image acquisition and image positioning method, device, equipment and storage medium
US10268917B2 (en) Pre-segment point cloud data to run real-time shape extraction faster
WO2020098531A1 (en) Object loading method, device, storage medium, and electronic device
CN112023400A (en) Height map generation method, device, equipment and storage medium
CN108604379A (en) System and method for determining the region in image
CN111870952B (en) Altitude map generation method, device, equipment and storage medium
CN111882632A (en) Rendering method, device and equipment of ground surface details and storage medium
CN111882634B (en) Image rendering method, device, equipment and storage medium
CN110686704A (en) Pose calibration method, system and medium for laser radar and combined inertial navigation
CN110478898B (en) Configuration method and device of virtual scene in game, storage medium and electronic equipment
CN109255749A (en) From the map structuring optimization in non-autonomous platform of advocating peace
CN110648363A (en) Camera posture determining method and device, storage medium and electronic equipment
CN110956137A (en) Point cloud data target detection method, system and medium
CN108197203A (en) A kind of shop front head figure selection method, device, server and storage medium
CN114511661A (en) Image rendering method and device, electronic equipment and storage medium
CN114186007A (en) High-precision map generation method and device, electronic equipment and storage medium
CN111798554A (en) Rendering parameter determination method, device, equipment and storage medium
CN114004972A (en) Image semantic segmentation method, device, equipment and storage medium
CN108664860A (en) The recognition methods of room floor plan and device
CN109997123A (en) For room for improvement-time data management mthods, systems and devices
CN111870953A (en) Height map generation method, device, equipment and storage medium
CN112017304A (en) Method, apparatus, electronic device, and medium for presenting augmented reality data
CN113063427A (en) Indoor high-precision map production method, device, equipment and storage medium
CN111882640A (en) Rendering parameter determination method, device, equipment and storage medium

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