Sprites are Extreme slow on my Gaming PC why ?

Blitz3D Forums/Blitz3D Programming/Sprites are Extreme slow on my Gaming PC why ?

Wings(Posted 2007) [#1]
Hi this is an example of displaying 10000 particles exploding stars.

I have included 2 sources here.

One of the source is using single surface.
THe second one is using sprites. doing exact same thing.

Using Vista
Single surface runns about 100 fps and 700 fps then halted.

Sprites runs about 2 fps and 2 fps then halted too. Disaster !!


Using XP
I run single surface in 120 and 700 then still.
I run sprites in Xp i get 4 FPS.. and 4 fps then Halted.

Why is sprites so slow. i have a Radeaon X800
On my laptop there is no speed increes in single surface.
and get 10 fps on the laptop with sprites. and it has a capp video card ?

Also this comfirm Vista to be Bad choce for me.


Anyone else who can test this FPS test.


Here is source code and BMP i use.
http://server.tiberion.eu/2007/SimpleParticle.zip

Last edited 2013


big10p(Posted 2007) [#2]
Sprites are slow because each one is a separate surface.


Boiled Sweets(Posted 2007) [#3]
Not nice - interesting....


Wings(Posted 2007) [#4]
;Sprites are slow because each one is a separate surface.

intersting... i must test that with my GamingPC..

I thougt it was due that sprite is using 2d. and my gaming pc is a bad at 2d.

In that case the Crap to laptop toshiba is better than high end RadeonX800 2 years newer than the cheap laptop.


Wings(Posted 2007) [#5]
Question 2:

is there a workaround.. ?
Or is single surface the ultimate answare ?


big10p(Posted 2007) [#6]
A single surface sprite system (such as Sprite Candy) is usually the solution. No idea why you're not getting any speed increase on your laptop, TBH.


Wings(Posted 2007) [#7]
Thanks Big10p thats a 10 4 :)


Wings(Posted 2007) [#8]
I have it Comfirmed.

If i use create surface for each particle. i can only have 300 particle in 100fps.

Bugg comfirmed.

FUnny bugg for a 300$ graphics card.


Wings(Posted 2007) [#9]
THere seam to be driver issue with x800 iam getting new catalyst driver and we se if there are any difirens


Dreamora(Posted 2007) [#10]
No bug

that has to do with bandwidth.
Each surface has to be retransfered for each frame.
by using sprites for particles, you are effectively doing the most stupid thing you can do in programming in general:
Creating a well known and often warned (and good documented here on the boards) bottleneck :)


Wings(Posted 2007) [#11]
Yep.. Comfirmed it. "Its a feature not a bug" Lol

I upgraded to latest video driver but dint find sollution.

only sollution is to Never use blitts sprites. and keep surface count so low as possible.


But the funny part is that a CrapOnboard chip with shared memmory that cand even play Oblivion is faster than X800 that can play oblivion.