Fast Drawing?

BlitzPlus Forums/BlitzPlus Programming/Fast Drawing?

kochOn(Posted 2004) [#1]
Hi, is there a way or maybe a dll to read pixels directly from the screen like in memory bank?

Thanks.


cbmeeks(Posted 2004) [#2]
Use DOS and Mode 13H.

-cb


AndyBoy_UK(Posted 2004) [#3]
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


kochOn(Posted 2004) [#4]
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!


RocketGnome(Posted 2004) [#5]
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.