Platform SDK: DirectX

MipMap Sample

[Visual Basic]

This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.

[C++]

Description

This sample shows two brick walls moving back and forth along the z-axis. One uses mipmapping, and the other does not, giving a side-by-side comparison of the benefits of mipmapping.

Path

Source: (SDK root)\Samples\Multimedia\D3dim\Src\MipMap

Executable: (SDK root)\Samples\Multimedia\D3dim\Bin\Mipmap.exe

User's Guide

Press F1 to see available commands, or choose from the menu.

Programming Notes

This sample does not use the texture code of D3DFrame, but shows the full implementation needed to load and build mipmapped textures.