GrabImage Alternative?

BlitzMax Forums/BlitzMax Programming/GrabImage Alternative?

BLaBZ(Posted 2012) [#1]
I'm drawing an existing image, then calling DrawOval a few times then using GrabImage to replace the existing image.

Problem is this is way to slow for real time and it seems to be GrabImage that's creating the bottle neck.


Is there an alternative method that's faster?

Thanks


Jesse(Posted 2012) [#2]
what are you trying to do?
if you are doing some type of dynamic landscape like worms check this out:

http://www.blitzbasic.com/Community/posts.php?topic=89848#1021110

Otherwise your best option is to use OpenGL + textures.

You can draw directly to the Image's pixmap pixels for a slight speed increase but even that is quite slow.


BLaBZ(Posted 2012) [#3]
this is great! thanks!