Hello, Just trying to get an idea of speed on various machines. The slower the machine the better!
If you could report back the red number in the top left of the screen.
Not sure everyones PC will handle 192 images; so you may need to reduce to whatever works.
Also, does anyone know why changing to Graphics3D has such a hit on performance?
Thanks in advance
Marg
If you could report back the red number in the top left of the screen.
Graphics 1024, 768, 32, 0 Global images = 192 Global gfx64=CreateImage(64,64,images) For t = 0 To (images-1) SetBuffer ImageBuffer(gfx64,t) Text 0,0,t Next SetBuffer BackBuffer() Delay(1000) : frames% = 0 : time%=MilliSecs() Global TL_X = 16 Global TL_Y = 16 For j=1 To 100 plot_PA_Back() Flip False frames% = frames% + 1 Next Color 255,55,55 : Text 30,30, (Float(MilliSecs()-time%))/(Float(frames%)) : Flip WaitKey() End Function plot_PA_Back() os_x = (TL_X And 63) os_y = (TL_Y And 63) For y=0 To 12 For x=0 To 16 xx = (x Shl 6)-os_x : yy = (y Shl 6)-os_y b%=(x+y*16) Mod (images) DrawBlock gfx64, xx, yy, b% Next Next End Function
Not sure everyones PC will handle 192 images; so you may need to reduce to whatever works.
Also, does anyone know why changing to Graphics3D has such a hit on performance?
Thanks in advance
Marg