Polygons and Frames Per Second

Blitz3D Forums/Blitz3D Beginners Area/Polygons and Frames Per Second

dugzilla(Posted 2004) [#1]
Can anyone give me the code for just a simple polygon count
and frames per second? And have it display on screen. I just
got blitz today and still a little confused. I am use to
darkbasic commands and am lost. So far blitz 3d seems to
have a faster engine that darkbasic. Thanks for any help.
Doug


Mustang(Posted 2004) [#2]
Polycount (sort of):

http://www.blitzbasic.com/b3ddocs/command.php?name=TrisRendered&ref=3d_cat

FPS code:

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

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


big10p(Posted 2004) [#3]
Hi dugzilla.

Just to add to what Mustang posted, you might be interested in this small piece of code.



I have that code stored in a file called 'template.bb' which I load whenever I want to quickly try an idea out in B3D. It contains all the basic stuff, including an FPS timer.

I also changed the file's attributes to make it 'read only'. This forces me to save it under a different name (usually test.bb) when using it to do a test prog.


Zethrax(Posted 2004) [#4]
Here's the FPS counter code I use.




dugzilla(Posted 2004) [#5]
Thanks agiain for the help!