Haven't you slept.....
Comparing PB4.0 vs zSprite for BlitzMax....
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
This version has fps's similar to the last version but for some reason looks smoother and more professional. I think it's of a quality that, when viewed in comparison to the Blitzmax demo, is a really good advertisement for PureBasic. Even at 1000 sprites the movement is nice and smooth, while the Blitz one is much slower and jerkier.
BERESHEIT
PB version is, as netmaestro says, better in quality and smoothness.
but i dont find the optimized version better
and if it is, we talk only 1 sprite. Another thing; pb version is directx, blitz is ogl. Imho opengl is faster, so lets see...
if you would just share the source so everyone could optimize
but i dont find the optimized version better
and if it is, we talk only 1 sprite. Another thing; pb version is directx, blitz is ogl. Imho opengl is faster, so lets see...
if you would just share the source so everyone could optimize
I took the time to attempt converting this to OpenGL & it's running pretty well here, mostly over twice the speed of ZSprite.
@ 100:
ZSprite: 332 fps
ZSpritevsPB0.7: 355 fps
OpenGL: 624 fps
@ 1000:
ZSprite: 37 fps
ZSpritevsPB0.7: 45 fps
OpenGL: 92 fps
Whilst ZSprite does lag behind, we should remember that it's an engine, so it has to do a lot more processing in the background (i'm not saying it couldn't be faster though!)
@ 100:
ZSprite: 332 fps
ZSpritevsPB0.7: 355 fps
OpenGL: 624 fps
@ 1000:
ZSprite: 37 fps
ZSpritevsPB0.7: 45 fps
OpenGL: 92 fps
Whilst ZSprite does lag behind, we should remember that it's an engine, so it has to do a lot more processing in the background (i'm not saying it couldn't be faster though!)
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
v0.8 uploaded
[ADD] Speed Level 2 implemented.
Compare FPS and CPU time with the Blitz zSprite demo and with the nativ OpenGL PB version again
File:1->zSpriteVsPB_test1.zip

[ADD] Speed Level 2 implemented.
Compare FPS and CPU time with the Blitz zSprite demo and with the nativ OpenGL PB version again
File:1->zSpriteVsPB_test1.zip
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Don't forget: PB is 'also an engine' for DirectX 7.pjay wrote: Whilst ZSprite does lag behind, we should remember that it's an engine, so it has to do a lot more processing in the background (i'm not saying it couldn't be faster though!)
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...



