| |

VerySource

 Forgot password?
 Register
Search
View: 973|Reply: 2

Rasterization and fragment operations

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-17 14:20:01
| Show all posts |Read mode
After reading OpenGL for a while, I haven't understood a problem:

What is rasterization, and what is fragment operation? What are these two things?

Which prawn can explain to the younger, thank you in advance!
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-1 08:15:01
| Show all posts
Converting the mathematical description of objects and related color information into screen pixels is called rasterization.
OpenGL requires that all geometric graphics units are described by vertices, so that arithmetic units and vertex-by-vertex calculation operations can be calculated and operated on each vertex.
Then rasterize to form graphic fragments; for pixel data, the result of the pixel operation is stored in the memory used for texture assembly, and then rasterized like geometric vertex operations
Form graphic fragments. At the end of the entire process operation, the graphics fragments must undergo a series of fragment-by-fragment operations, so that the final pixel value is sent to the frame buffer to realize the graphics
Display.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-1 16:45:01
| Show all posts
The fragment is the next pixel, it has more attributes such as position and normal vector than the pixel. Fragment-by-fragment operations include pixel ownership operations (to determine whether the target pixel is visible or covered by an overlapping window), cut test, alpha test, mask test, blending, etc.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list