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.

You could use the helper functions that Blitz provides to convert a pixmap to a texture, returning a texture handle, or do your own direct GL calls. No idea about DX.

Look at the sourcecode for those helper functions for an idea how to do it.

You cannot use collision detection with pixmaps, I'm fairly sure it's image based. Nevertheless I would code your own collision detection which uses the pixmap, so you can read from it very quickly (compared to transferring data from the backbuffer).

Also for your update sequence, where you're uploading newly required images, considering spreading out/staggering the number of image pieces that need to be uploaded per frame, based on how many pixels the world has scrolled, so that you aren't uploading lots at a time - ie just one or two uploads per frame.