Unlock instant, AI-driven research and patent intelligence for your innovation.

Height map generation method and device, equipment and storage medium

A technology of height map and height information, applied in the field of image rendering, can solve problems such as poor display effect of game screen, and achieve the effect of improving display effect

Pending Publication Date: 2020-12-04
SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the characteristics of the terrain, the terrain can only be swiped once at one position, resulting in only one place where grass can grow at the same level and at different heights (such as the upper and lower sides of the cliff), and the display effect of the game screen is poor.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Height map generation method and device, equipment and storage medium
  • Height map generation method and device, equipment and storage medium
  • Height map generation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Figure 1a It is a flow chart of a method for generating a height map provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of generating a height map, especially applicable to the situation of generating a height map of grass in a game scene. The method may be executed by a height map generation device, and the height map generation device may be implemented in software and / or hardware, for example, the height map generation device may be configured in a computer device. Such as Figure 1a As shown, the method includes:

[0027] S110. Acquire a scene model of the target scene.

[0028] In this embodiment, the target scene may be a scene where grass needs to be rendered. It is understandable that the terrain in the game scene is built based on the model. Multiple models are fused to form the terrain effect in the game scene. In this embodiment, in order to improve the display effect of grass, so that grass can grow on the ...

Embodiment 2

[0040] figure 2 It is a flowchart of a method for generating a height map provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the foregoing embodiments. like figure 2 As shown, the method includes:

[0041] S210. Acquire a scene model of the target scene.

[0042] S220. Perform ray detection on the scene model to obtain height information of the collision point.

[0043] S230. Classify the collision points based on the attribute information of the collision points, and generate a height map corresponding to each category based on the height information.

[0044] S240. Acquire element rendering parameters corresponding to each height map, and construct a correspondence between the element rendering parameters and the height map.

[0045] In this embodiment, after the multi-layer height map is generated, element rendering parameters corresponding to each layer height map can be obtained, such as color information. Densi...

Embodiment 3

[0050] image 3 It is a schematic structural diagram of a height map generation device provided by Embodiment 4 of the present invention. The height map generation device can be realized by software and / or hardware, for example, the height map generation device can be configured in a computer device. like image 3 As shown, the device includes a target scene acquisition module 310, a height information acquisition module 320 and a height map generation module 330, wherein:

[0051] A target scene acquiring module 310, configured to acquire a scene model of the target scene;

[0052] A height information acquisition module 320, configured to perform ray detection on the scene model to obtain height information of the collision point;

[0053] 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 category based on the height information.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a height map generation method and device, equipment and a storage medium. The method comprises the steps: acquiringa scene model of a target scene; performing ray detection on the scene model to obtain height information of a collision point; and classifying the collision point based on the attribute information of the collision point, 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, a multi-layer height map is constructed by utilizing the collision point information obtained by ray detection, so that rendering of 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

technical field [0001] Embodiments of the present invention relate to the technical field of image rendering, and in particular, to a method, device, device, and storage medium for generating a height map. Background technique [0002] With the development of network technology, people have higher and higher requirements for the experience of the game screen in the game. For example, during a game, the display effect of the game screen will affect the user's game experience. [0003] At present, in the generation of game scenes, the height map (heightmap) in the surface construction tool (terrain) is generally used to store height information to represent the distribution information of grass, and the image of grass in the game scene is generated based on the heightmap in the terrain. However, due to the characteristics of the terrain, the terrain can only be swiped once at one location, resulting in only one place where grass can grow at the same level and at different hei...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/537
CPCA63F13/537A63F2300/303
Inventor 陈聪
Owner SHANGHAI MIHOYO TIANMING TECH CO LTD