Polygons and Frames Per Second
Blitz3D Forums/Blitz3D Beginners Area/Polygons and Frames Per Second
| ||
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 |
| ||
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 |
| ||
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. |
| ||
Here's the FPS counter code I use. |
| ||
Thanks agiain for the help! |