Multithread realization method for rasterization stage in graphic rendering

A graphics rendering and implementation method technology, applied in the field of subtitle processing, can solve the problems of CPU underutilization and low efficiency, and achieve the effects of realizing parallelism, improving filling, and high-efficiency parallelism

Inactive Publication Date: 2012-10-17
CHINA DIGITAL VIDEO BEIJING
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) When the CPU implements 3D rendering, the efficiency is very lo

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
  • Multithread realization method for rasterization stage in graphic rendering

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0016] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. The embodiments in the invention, and all other embodiments obtained by those of ordinary skill in the art without creative efforts, fall within the protection scope of the present invention.

[0017] On the one hand, an embodiment of the present invention provides a multi-threaded implementation method for rasterizing triangle slice filling in graphics rendering. FIG. 2 shows a specific implementation method of an embodiment of the present invention, and is described as follows:

[0018] Step S1: Calculate the bounding box of the three-dimensional object in the screen space. Calculate the coordinates of the eight vertices in the screen space of ...

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 invention discloses a multithread realization method for a rasterization stage in graphic rendering. The method comprises the following steps of: calculating a bounding box of a three-dimensional object, and dividing the bounding box into n areas corresponding to n threads; dividing triangular plates into corresponding subareas of the n divided areas; executing triangular plate filling in the subareas corresponding to the threads with number equal to that of CPUs (Central Processing Units); continuously executing other threads until all n threads are entirely executed, thus completing filling of the triangular plates. By utilizing the multithread realization method for the rasterization stage in graphics rendering, disclosed by the embodiment of the invention, the filling speed of the triangular plates in the graphic rendering can be greatly increased, the graphic rendering method can not be depended on CPU operation, graphic rendering can be directly carried out on the basis of CPUs, the multithread method can be used for realizing the parallelism of the three-dimensional rasterization stage.

Description

technical field [0001] The invention relates to the subtitle processing field in the field of television program production, in particular to a multi-thread implementation method of the rasterization stage in graphic rendering. Background technique [0002] With the continuous development of computer graphics, images, and video technologies, and the domestic broadcasting industry is in the period of transition from standard definition mode to high definition mode, television production and broadcasting units such as TV stations have put forward higher requirements for the production and broadcasting of TV graphics. , Update requirements. This requires timely technical updates for every link in the video production process. [0003] The rasterization stage in graphics rendering is a very important link in the field of subtitling. The rendering of the 3D scene in the prior art is mainly based on a GPU (Graphic Processing Unit, graphics processing unit). GPU-based rendering ...

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
IPC IPC(8): G06F9/46G06T15/00
Inventor 蔡欢张君琦郑培枫孙季川
Owner CHINA DIGITAL VIDEO BEIJING
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