One question that has arisen for me from dealing with DDS Files is what in the blazes is a Mipmap.
DDS Files - What is a Mip Map?Thanks to Shoot for the work put into this article.
One question that has arisen for me from dealing with DDS Files is what in the blazes is a Mipmap.
Quote:
|
What Is a Mipmap? A mipmap is a sequence of textures, each of which is a progressively lower resolution representation of the same image. The height and width of each image, or level, in the mipmap is a power of two smaller than the previous level. Mipmaps do not have to be square.
A high-resolution mipmap image is used for objects that are close to the user. Lower-resolution images are used as the object appears farther away. Mipmapping improves the quality of rendered textures at the expense of using more memory.
Microsoft® Direct3D® represents mipmaps as a chain of attached surfaces. The highest resolution texture is at the head of the chain and has the next level of the mipmap as an attachment. In turn, that level has an attachment that is the next level in the mipmap, and so on, down to the lowest resolution level of the mipmap.
Quote Source |
|
Think of it as taking a picture of a sign:
- The 1st image being close up - if you were right in front of it
- The next at 5 feet back
- The next at 10 feet back
- 20 feet
- 40 feet
- 80 feet....you get the idea
The mip mapped DDS file has the various resolutions included in the file to make this possile. The game engine selects which resolution it needs to texture that particular item from that distance.