Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Polygon Testing

Author
Message
Classic Evil
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: watching you through your window
Posted: 10th Feb 2006 00:56
This is a very simple program that tells you test for how many polys you should use in your game. It simply tells you how many frames per second it will process with that number of polygons.
To control it use the upkey to increase the number of polys and downkey to decrease the number of polys.
I hope this program helps.



There are two types of people in this world: people who are extremly cool and are good at everything and people who are me.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 10th Feb 2006 01:02
I'm afraid it is a bit more complicated than that. The position and other factors of the polys also affect performance. I can have 130050 terrain polys on screen at one time from over head and run at 110 fps, but be on the terrain with 20000 polys on screen and run at 70 beacuse of the polys behind polys. The best way to tell is to just expirament. In another test I had 7000 polys on screen and only got 90 fps. It's all about layout as well as the number of polys.

Login to post a reply

Server time is: 2024-11-23 07:10:32
Your offset time is: 2024-11-23 07:10:32