How many sprites?

Blitz3D Forums/Blitz3D Programming/How many sprites?

BlackD(Posted 2004) [#1]
Random question.. say you're rendering ONLY sprites (eg for a particle demonstration) approx how many can the average comp (say a 2600 XP) under Blitz handle in an entire scene (including offscreen) before you get some performance issues? Does it make a difference wether they're on-screen or off-screen in this equation?

Thanks
BlackD


BlackD(Posted 2004) [#2]
Wow.. its amazing how quickly u can answer ur own question if you actually try it out rather than waiting for someone else to answer. I found ok results with several thousand as long as they're not all on-screen, up to about 100-on screen before u notice the slowdown. Sorry for wasting ya time. :)


BlackD(Posted 2004) [#3]
Hehe.. i killed my comp with 50,000 sprites ;)


Drey(Posted 2004) [#4]
haha, mess, Maybe u can make a new Sprite system using just a one triangle system instead. A sprite takes up 2 tris, So instead of 50,000 killing your computer, maybe u can have up to 100,000 before your computer cries


Bot Builder(Posted 2004) [#5]
I would recommend checking out

http://www.blitzbasic.com/codearcs/codearcs.php?code=978

See, alot of the slowdown is probably surfacecount.