node60


3.6 Pixel Rectangles Next: 3.6.1 Pixel Storage Modes Up: 3 Rasterization Previous: 3.5.6 Polygon Rasterization State 3.6 Pixel Rectangles Rectangles of color, depth, and certain other values may be converted to fragments using the DrawPixels  command. Some of the parameters and operations governing the operation of DrawPixels  are shared by ReadPixels  (used to obtain pixel values from the framebuffer) and CopyPixels  (used to copy pixels from one framebuffer location to another); the discussion of ReadPixels  and CopyPixels , however, is deferred until Chapter 4 after the framebuffer has been discussed in detail. Nevertheless, we note in this section when parameters and state pertaining to DrawPixels  also pertain to ReadPixels  or CopyPixels . A number of parameters control the encoding of pixels in client memory (for reading and writing) and how pixels are processed before being placed in or after being read from the framebuffer (for reading, writing, and copying). These parameters are set with three commands: PixelStore , PixelTransfer , and PixelMap . 3.6.1 Pixel Storage Modes 3.6.2 Pixel Transfer Modes 3.6.3 Rasterization of Pixel Rectangles Unpacking Conversion to floating-point Conversion to RGB Final Expansion to RGBA Pixel Transfer Operations Final Conversion Conversion to Fragments 3.6.4 Pixel Transfer Operations Arithmetic on Components Arithmetic on Indices RGBA to RGBA Lookup Color Index Lookup Stencil Index Lookup David Blythe Sat Mar 29 02:23:21 PST 1997

Wyszukiwarka

Podobne podstrony:
node60
node60
node60
node60 KOKVEST3RQ6KIL4XJ7J5DE7PLSLZJIDJ2MRQR4A
node60 EUT3CVSJFTEN3KSRKSID6FQAZSZAKU3ZYF2TCUA
node60

więcej podobnych podstron