Slow Pixmap
BlitzMax Forums/BlitzMax Programming/Slow Pixmap
| ||
Hi, can anyone tell me how to draw fast on an image. i found one old post http://www.blitzbasic.com/Community/posts.php?topic=58765 about a module from diablo, but its offline. it would be enough to draw some simple objects like circles, rects etc. i myself tried the pixmap method with LockImage and then WritePixel, or Past another image but its damn slow. is there no function WritePixelFast like in the good old bb time ? ^^ Regards mangoo |
| ||
You can not draw on an image, you can only draw on pixmap and it is wiser to draw those afterwards instead of images if you intend to do it realtime. the alternative is to use indiepaths render to texture that has been refreshed for BM 1.26 and works again (if you use the demo: forget it, the windows demo is that outdated that it will remain slow no mather what you do) And no, BM has no buffers you could draw onto, sorry |