Large tile bitmap

Started by
1 comment, last by pcvii 14 years, 8 months ago
I've got code wrote to break up large bitmaps. the map is 256x256 tiles. Each Tile is a 16x16 image in a very large bitmap. I'm trying to think of the best way to do this. Right now I'm probably going to blow up the large bitmap into an array of 16x16 textures and draw them each individually. I was reading about batch drawing. From what I understand I need to keep the large bitmap together to do batch drawing. do you think there's a way I could generate the map into a texture or group of textures that would be more optimal.
Advertisement
oh I'm using Direct3D 9
oops i didn't even notice i was in the wrong forum. I guess I should re-post in directx? or will one of the nice moderators move me? :P

This topic is closed to new replies.

Advertisement