Original Post
hello~
I am a beginner of DirectX 8.1 SDK.
I read Programming Role Playing Games with DirectX and
then encounter a problem about loading textures.
This book said if we want to split a bitmap into several tiles, we can only load a bitmap whose width and height are power of 2. (ex. 512x512, 1024x1024...)
Is there any way can load a bitmap whose width and height are "not" power of 2 ???
P.S: We use D3DXCrateTextureFromFileEx() to load a bitmap, and ID3DXSprite::Draw() to get tiles.
[edited by - jackywu on July 31, 2003 5:19:27 AM]