3D rendering method and device and engine

A 3D engine and 3D technology, applied in the field of 3D game engine, can solve the problems of high development cost and difficult explanation

Active Publication Date: 2016-06-22
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of this solution is of course that it is flexible and can be modified if necessary. The disadvantage is that the development cost is relatively high, because the Effect file is a relatively complex description text, which is basically a simplified programming language, and it is difficult to explain.

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
  • 3D rendering method and device and engine
  • 3D rendering method and device and engine
  • 3D rendering method and device and engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0071] see figure 1 , is a schematic flowchart of a 3D rendering method based on the DirectX Effect system provided by an embodiment of the present invention. The method includes steps S1-S4:

[0072] S11. When calling DrawCall to render the object of the current picture, obtain the shader parameter index value corresponding to the parameter value of the object in the 3D engine memory according to the preset mapping table; wherein, DirectXEffect is recorded in the...

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 present invention discloses a 3D rendering method based on a DirectX Effect system. The method comprises the steps of S1 obtaining the shader parameter index values corresponding to the parameter values of objects in a 3D engine memory according to a preset mapping table when DrawCall is called to render the objects in a current picture, wherein the mapping relationship of the Effect parameter names of the DirectX Effect system and the shader parameter index values is recorded in the mapping table, and the parameter value of each object in the 3D engine memory has a corresponding Effect parameter name; S2 copying the parameter values of the objects in the 3D engine memory to a driving memory corresponding to the shader parameter index values. The present invention also discloses a 3D rendering device based on the DirectX Effect system and a 3D game engine.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a 3D rendering method, device and 3D game engine based on the DirectXEffect system. Background technique [0002] The 3D engine needs various rendering effects (Effects), such as basic effects such as directional light, point light, shadow, etc., and special rendering effects in games such as poisoning, freezing, and stealth. [0003] The bottom-level technology to achieve rendering effects is Shader, which is a program that runs directly on the graphics card GPU. Generally, the effect is composed of vertex Shader and pixel Shader, which are responsible for different functions of the entire rendering process. [0004] Shader's input includes vertices, textures and parameters. After the Shader program determines the function, users can change these inputs to display different screen performances. The vertices determine the shape of the rendered object, the textur...

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/005
Inventor 孔颖
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products