load bitmap to tile

Started by
0 comments, last by ToohrVyk 19 years, 4 months ago
how can I load a bitmap and make it a tile? I know How to tile it but I need to make the tiles.
Advertisement
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.

This topic is closed to new replies.

Advertisement