load bitmap to tile
how can I load a bitmap and make it a tile?
I know How to tile it but I need to make the tiles.
Direct3D provides a Direct3DX library, with some simple functions for loading objects. Look up "LoadTexture" in the SDK documentation, it will come up with several propositions, and the "from file" one should suit you fine.
Once you do that, you'll have the bitmap loaded inside a texture, so you can use the texture to render everything.
Once you do that, you'll have the bitmap loaded inside a texture, so you can use the texture to render everything.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement