home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / contrib / cgx3dvirge / cgx3dvirgin2_6dev.lha / manpages / ViRGE-3Dman-6.iff (.png) < prev    next >
IFF Interleaved Bitmap Image  |  1998-01-25  |  18KB  |  664x841  |  1-bit (2 colors)
Labels: text | diagram | font | parallel | line | black and white | document | screenshot | number | receipt
OCR: VIRGE Integrated 3D Accelerator 33 Incorporated The texture can be a single rectangular pattern or a mipmap. A miprap contains multiple versions of the same texture, each at successively lower resolutions {1/2, 1/4, 1/8, etc.). The size of the largest mipmap level (level 0) must be specified via bits 11-8 of the Command Set register, The integer part of the D parameter points to the mipmep level to be used for the texture. The fractional part of the D parameter is used for filtering of colors between mipmap levels. A variety of filter modes are provided via blis 14.12 of the Command Set register, as follows: 000 - M1TPP IMIP_NEARESTI 001 - M2TPP ILINEAR_MIP_NEAREST} 010 = M4TPP (MIP_LINEAR) 011 = M&TPP (LINEAR_MIP_LINEAR) 100 = 1TPP (NEAREST) 101 = V2TPP (used for YU/YV video format) 110 = 4TPP |LINEAR) 110 = Reserved Modes starting with M are mipmapped. Those without have a single texlure level. XTPP means X texels are interpolated per source pixel. Figure 15-B demonstrates the effect of the 011 setting IMBTPPI. The U.V and D parameters point to the texture map location indicated by the black dot at F. To generate the color for this location, the four nearest pixels in mipmap level D (1 . 4) are interpolated to generate the color indicated by the top medium gray dot (11). The four nearest pixels in mipmap level D + 1 (5 - 8) are interpolated to generate the color indicated by the bottom medium gray dot (12). The colors at 11 and 12 are then interpolated to produce the final color at F. If MITPP or 1TPP is selected, the texel nearest to the programmed texture location is chosen to provide the texture color. For M2TPP, the color is interpolated between the nearest texels from 2 mipmap levels (c.g ., texels 1 and 5 in Figure 15-8). For M4TPP or 4TPP, texels 1, 2 , 3 and 4 are interpolated. For V2TPP, which is used only for YUV data, texels 1 and 3 are interpolated, MIPMAP LEVEL D E 12 7%- PTCX MIPMAP LEVEL D + 1 Figure 15-8. Texture Filtering 15.28 ENHANCED PROGRAMMING