Ways to find cause of huge framerate drop?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
The_Glitch
Competition winner
Posts: 523
Joined: Tue Jan 15, 2013 6:36 pm

Ways to find cause of huge framerate drop?

Post by The_Glitch »

Lately I've noticed that my frame rate in my app drop from 60 to 40. Any suggestions on a method for tracking down the problem?

The scene is pretty simple nothing animated in the scene just working on HDR rendering.
CuteAlien
Admin
Posts: 9846
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Ways to find cause of huge framerate drop?

Post by CuteAlien »

Start with very sleepy: http://www.codersnotes.com/sleepy
Or gprofile on Linux.
For more details the new profiler in Irrlicht svn trunk can also help (you can even get some profile data from Irrlicht itself now if you compile it with a corresponding define enabled).

If it's on shader-side I don't know. Only thing I found there was measuring times - modifying code - measure time again - etc.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
The_Glitch
Competition winner
Posts: 523
Joined: Tue Jan 15, 2013 6:36 pm

Re: Ways to find cause of huge framerate drop?

Post by The_Glitch »

I'll checkout that app you posted. I not so sure it's shader as my scene only has a plane in it and a sky. I think it has more to do with using floating point render targets that might be the problem.
Post Reply