Archives Forums/Blitz3D Bug Reports/Surfaces!!!

Boiled Sweets(Posted 2007) [#1]
Not a bug but a request for a new function...

Could we PLEASE have a new function to return the number of surfaces used.

t3K|Mac(Posted 2007) [#2]
does CountSurfaces() the job? of course you have to iteratively count the surfaces of every mesh you use. for me it does..

Boiled Sweets(Posted 2007) [#3]
What about sprites?

And other stuff?

For performance tweaking at the moment you can call
TrisRendered and get anidea how many tris is being drawn. WOuld be very nice to simple find out EXACTLY how many surfaces are being used again to tweak code / performance.

t3K|Mac(Posted 2007) [#4]
i am using only few sprites. so they are no perf hit. but it would be nice to have a function like SurfacesUsed() similar to TrisRendered(). every new function to b3d is welcome ;)

Boiled Sweets(Posted 2007) [#5]
every sprite is a new surface - come on Mark...