Loading...
 
Mip Map        

Mip Map

A texture is not a single image. It is the original image followed by a sequence of images (called mip maps) that are each half the width & height of their predecessor. This allows a polygon to be drawn when it is far away, without crunchy aliasing artifacts. This means the size (in RAM) of a texture is 33% greater than you might expect.

Machines with less RAM can drop the largest mip map when loading textures, to reduce the memory requirements of the engine. This obviously reduces the quality of the graphics, however.

The DirectDraw Surface file format stores mipmaps internally. This makes it the best format for use in Grit. Other file formats (such as jpg/png) only store a single image, and the smaller mipmaps are generated (taking some CPU time) when the texture is loaded.