Can I create a HUGE bitmap and then display it?

BlitzMax Forums/BlitzMax Programming/Can I create a HUGE bitmap and then display it?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Tiling this massive sizes is what is done in other hardware accelerated 2D games as well.

The best known example most likely is Clonks in its newer incarnations.
The tiling there is done for the simple reason to reduce the amount of image data needed to modify the terrain dynamically.

If you do not need it for dynamic alteration at runtime, you could easily create a massive pixmap for your terrain and paste in object after object.

When you are done, create textures out of subsections (256x256 or 512x512 I would suggest for performance reasons on slower / capped cards with only 64bit bus ie 70% of all users) and use those textures to draw, as textures are 10 times faster and more, depending on the hardware.


if you need dynamic modification, then you do the same steps as so far but you would use subsections far smaller. 64x64 or 128x128, to make the amount of data you need to reupload smaller which makes the whole dynamic update and modification of the images seriously faster. (the smaller the section you download and upload, the less time the card will be locked and the less rendertime lost as a general rule)