Vertex coordinate mapping method for GPU point rasterization point size odd-even configuration

A technology of vertex coordinates and mapping methods, which is applied in image data processing, instruments, calculations, etc., and can solve the problems of reducing the resolution of output primitives and distortion of output primitives.

Active Publication Date: 2020-06-02
西安翔腾微电子科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The mismatch between the point size and the output primitive fragment will reduce the resolution of the output primitive, resulting in the distortion of the output primitive

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
  • Vertex coordinate mapping method for GPU point rasterization point size odd-even configuration
  • Vertex coordinate mapping method for GPU point rasterization point size odd-even configuration
  • Vertex coordinate mapping method for GPU point rasterization point size odd-even configuration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] See figure 1 and Figure 2a-Figure 2g , figure 1 A schematic flow chart of a vertex coordinate mapping method for a GPU point rasterization point size parity configuration provided by an embodiment of the present invention, Figure 2a-Figure 2g It is a schematic flowchart of another vertex coordinate mapping method for point size parity configuration of GPU point rasterization provided by an embodiment of the present invention. The vertex coordinate mapping method includes steps:

[0049] S1. Convert the point coordinates of the point graphics primitives into fragment coordinates. See Figure 2a , step S1 specifically includes the following steps:

[0050] S11. Obtain the point coordinates of the point primitive.

[0051] Specifically, the point coordinates (x0, y0) are acquired. At this time, the point coordinates (x0, y0) belong to the point coordinate system.

[0052]S12 , judging whether anti-aliasing is enabled, and obtaining a judging result.

[0053] Spec...

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 relates to a vertex coordinate mapping method for GPU point rasterization point size odd-even configuration. The vertex coordinate mapping method comprises the steps of acquiring point coordinates of point primitives; judging whether the point rasterization anti-aliasing is started, and if not, converting the point coordinates into slice element coordinates by utilizing a first preset algorithm; determining a rasterization scanning range according to the point sizes of the point primitives, the odd-even attributes of the point sizes and the slice element coordinates; and lightening the pixel value of the effective slice element according to the number and positions of the effective slice elements in the slice element region of the rasterization scanning range. According to the vertex coordinate mapping method, a rasterization scanning range is determined according to a point size, odd-even attributes of the point size and point coordinates; the problem that when point rasterization is not started and anti-aliasing is conducted, no matter whether the size of points is odd or even, the number of pieces occupied by the points is always odd is solved, the number of effective pieces output after scanning is finished is well controlled, and the lightening condition of effective piece pixel values in a point scanning range under special conditions is well controlled.

Description

technical field [0001] The invention belongs to the technical field of computer graphics processing, and in particular relates to a vertex coordinate mapping method for GPU point rasterization point size parity configuration. Background technique [0002] Rasterization is the conversion of basic primitives defined by vertex geometric data and pixel data into fragments corresponding to pixels. And each fragment corresponds to a pixel in the frame buffer. When connecting a fixed point with a straight line or determining each side by three vertices of a triangle and performing internal filling, it is necessary to consider the size of the point, the width of the line, the stippling mode, the shading mode, and the coverage of the stippling mode, shading mode and anti-aliasing of the triangle. rate calculation. The primitive information assembled by the primitive includes the coordinates of the vertices, the main color, the auxiliary color, the normal vector, the atomization fac...

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): G06T7/70
CPCG06T7/70Y02D10/00
Inventor 李冲刘莎周艺璇杨洋范飞虎付文生
Owner 西安翔腾微电子科技有限公司
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