Fast Drawing?

BlitzPlus Forums/BlitzPlus Programming/Fast Drawing?

Hi, is there a way or maybe a dll to read pixels directly from the screen like in memory bank?

Thanks.

Use DOS and Mode 13H.

-cb

Are these what you are looking for?



http://www.blitzbasic.com/bpdocs/command.php?name=ReadPixelFast&ref=2d_a-z

http://www.blitzbasic.com/bpdocs/command.php?name=WritePixelFast&ref=2d_a-z

yes cb, Dos is a good idea ;)

using readpixelfast & writepixelfast is slower than peeking or poking directly into a buffer.
I know there are functions to do this in blitz +
buy why not in Blitz 3D ?

thanks!

I may be mistaken, but isn't Blitz+ an entirely different code-base for the compiler (closer to BlitzMax under the hood than Blitz3D). If that's the case, improvements behind the scenes might have made it possible in Blitz+ where as the code base behind Blitz3D doesn't lend itself very well to the methods required to do it. Like comparing Apples to Oranges.

Speculation, of course.