Tattoo Projection Paint Demo

Miscellaneous Forums/Content Creation Tools/Tattoo Projection Paint Demo

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.

For suy = 0 To vph
For sux = 0 To vpw
AX = ReadPixelFast(sux,suy,TBFSC)
BX = ReadPixelFast(sux,suy,TBFSC3)
If AX<>BX Then
WritePixelFast sux,suy,bx,TBFSC
Else
WritePixelFast sux,suy,bx And $00FFFFFF,TBFSC
EndIf
Next
Next

this need 69 ms here as a dll function
but the images swapping is not real fast !

for the next update i wish a
copymemory to bank or copyrect to bank for b3d

added later
will mutex or semaphore help me or iam on the wrong way ?
edited later
forget mutex

He Marc it'S Cristmas ;)