PDA

View Full Version : what do they refer to when they say....



djbuzzkill
12-04-2001, 06:50 PM
Hello everyone, what does it mean when they refer to 'fragments'. Are they refering to primitives or something else? Please clarify. Thanks

dorbie
12-04-2001, 07:51 PM
They mean pixels. I think the distinction is made because it reffers to different terms, like the texture term, the color term etc before they are completely processed and written to the framebuffer. So the texture fragment color, is the texture color for a pixel.

djbuzzkill
12-04-2001, 11:34 PM
Thanks!



Originally posted by dorbie:
They mean pixels. I think the distinction is made because it reffers to different terms, like the texture term, the color term etc before they are completely processed and written to the framebuffer. So the texture fragment color, is the texture color for a pixel.

harsman
12-05-2001, 05:02 AM
A fragment is basically a bundle of state used to update a single pixel. E.g a fragment may have an alpha value used in alpha testing, even though the framebuffer pixels doesn't have an alpha value.

Dodger
12-05-2001, 05:08 AM
If I'm not mistaken the definition is

Fragment = RGBA + depth + stencil

Pixel = RGB (A, if your card supports destination alpha)