Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Picture rendering method and device, equipment and medium

A technology of picture and computer equipment, which is applied in the field of image processing, can solve the problems that the model does not fit the ground, the art performance cannot achieve the expected effect, and is abrupt, so as to achieve the effect of optimizing the picture effect

Pending Publication Date: 2020-11-03
SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the terrain where the model is laid has a large slope, when the model is laid, it will produce the effect that the model does not fit the ground, which is abrupt, and the artistic performance cannot achieve the expected effect

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
  • Picture rendering method and device, equipment and medium
  • Picture rendering method and device, equipment and medium
  • Picture rendering method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 It is a flow chart of the picture rendering method provided by Embodiment 1 of the present invention. This embodiment can be applied to laying a large number of small objects with the same model in the picture, and makes the small objects laid on the terrain with slopes and the ground better. In the case of good fusion, the method can be implemented by an image rendering device, which is configured in a computer device, and specifically can be implemented by software and / or hardware in the device. Such as figure 1 As shown, the screen rendering method specifically includes:

[0039] S110. When the target picture is displayed, read the data in the parameter matrix corresponding to the object model laid out in the target picture and the individual vertex data in the object model, wherein the data in the parameter matrix includes the The terrain normal where the object model is laid.

[0040] Specifically, the target image is the image that needs to be rendered...

Embodiment 2

[0051] figure 2 It shows a schematic structural diagram of a picture rendering device provided by Embodiment 2 of the present invention. This embodiment of the present invention can be applied to laying a large number of small objects with the same model in the picture, and making each small object laid on sloped terrain Situations where objects blend better with the ground.

[0052] Such as figure 2 As shown, the image rendering device in the embodiment of the present invention includes: a parameter acquisition module 210 , an adjustment angle determination module 220 and a rendering module 230 .

[0053] Among them, the parameter acquisition module 210 is used to read the data in the parameter matrix corresponding to the object model laid in the target picture and the vertex data of the individual in the object model when the target picture is displayed, wherein the parameter The data in the matrix includes the terrain normal at the laying position of the object model; t...

Embodiment 3

[0064] image 3 It is a schematic structural diagram of the computer device in Embodiment 3 of the present invention. image 3 A block diagram of an exemplary computer device 312 suitable for use in implementing embodiments of the invention is shown. image 3 The computer device 312 shown is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.

[0065] Such as image 3 As shown, computer device 312 takes the form of a general-purpose computing device. Components of computer device 312 may include, but are not limited to: one or more processors or processing units 316 , system memory 328 , bus 318 connecting various system components including system memory 328 and processing unit 316 .

[0066] Bus 318 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a v...

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 picture rendering method and device, equipment and a medium, and the method comprises the steps: reading the data in a parameter matrix corresponding to anobject model laid in a target picture and the vertex data of an individual in the object model when the target picture is displayed, wherein the data in the parameter matrix comprises a terrain normalat the laying position of the object model; determining an inclination angle of an individual in the object model according to the terrain normal and the vertex data; and adjusting the object model based on the inclination angle to complete drawing and rendering of the target picture. According to the technical scheme, the problem that in the prior art, when the terrain at the position where a model is laid has a large slope, the laid model is not attached to the ground is solved; when the object model is laid at the inclined position, the object is more attached to the surface of the layingposition, and the picture effect is optimized.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of image processing, and in particular to a picture rendering method, device, device and medium. Background technique [0002] In the large world of the game, it is usually necessary to lay a large number of small objects under a scene or in a larger area within the scene to increase details and supplement the picture to reflect regional characteristics. For example, lay a large number of flowers and plants or small vegetation on the lawn, and lay a large number of stone gravel on the stone road. [0003] In the existing method for making game screens, a large number of laid small object models are directly placed at corresponding positions and rotated, translated or scaled according to system parameters corresponding to the models. However, when the terrain where the model is laid has a large slope, when the model is laid, it will produce the effect that the model does not fit the...

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): G06T15/00
CPCG06T15/00
Inventor 弋振中
Owner SHANGHAI MIHOYO TIANMING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products