rendering - What is fragment in opengl? and other basic graphics questions -


i'm reading opengl superbible first graphics related book.

other basic questions are..

what's frame buffer?
what's buffer?
can pixel have more 1 color value?
what's rendering?(what's input , output of rendering?)

the frame buffer memory holds data that's displayed on screen. whatever's written frame buffer show on screen @ next screen update (which typically happens 60 times second).

the buffer memory can potentially used frame buffer, isn't currently. draw next frame of data buffer, tell graphics card use part of memory frame buffer. when so, memory being used frame buffer becomes new buffer, can draw next frame you're going display -- when it's ready, tell graphics card swap buffers again gets displayed.

a fragment i'd term "potential pixel". example, when rasterize line, end pixel-like data. if, however, part of line hidden behind else, of fragments won't ever shown on screen, won't ever become pixels. might have (for example) line that's partially transparent, it'll blended whatever's behind before gets shown on screen. give different perspective, however, directx terms of these pixels, whether ever shown on screen or not.

a pixel final result of processing, gets deposited buffer, ready display. has 1 color. color typically have 3 components: red, green , blue. sake of video playback, graphics cards support ycrcb modes, in case 3 components y, cr , cb. if they're available, use of these rare (nearly time i've seen them used generating overlays mixed ycrcb video).

rendering 1 of terms that's used quite few different things, without context, it's impossible define precisely @ all.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -