Eric Coleman
Gladiator
USA
811 Posts |
Posted - May 16 2004 : 2:29:12 PM
|
If you use DirectX, then you might run into some problems with incompatibilities when rendering to a texture. I might be mistaken, but I think that you can simply bitblt from a surface to a texture in directx 7, but then there may be some card compatibility problems.
The easiest way would be to create temporary bitmap files. In pseudo code it would be something like
Start DirectX and fine largest texture size supported by the video card. Resize Picturebox1 to that size For Each Tile Load Image into Picturebox2 BitBlt or Paintpicture to a location in PictureBox1 End Type Save PictureBox1 As temp.bmp Load temp.bmp into a Directx surface |
|
|