Rendering slows down over time

Blitz3D Forums/Blitz3D Programming/Rendering slows down over time

For some reason my rendering starts off at 20milliseconds per frame and increases over time to about 60-
which shouldnt happen,

no new things are being created or destroyed

I have made a whole game before (to be released in a month or 2)

so I have the experience to say that I am not making a 'noob' mistake here,

The only difference between my new and old game is that I am using animated meshes and terrain.
The models stay in certain positions (crouching ,standing)

Its got nothing to do with bad programming because game logic takes 0 milliseconds to execute,
I implemented Tokamak at about the time the error started but after removing it the slow-down is still there.
Theres too much source code to post.....

anyone had this happen before?

Animation causes a big hit. It's probably to do with that.

In the end it was over-use of the debuglog
D'OH!

I think you may have something that is being constantly
created and you are not freeing it, may be particles or
may be tokamak elements, or something ...

Paolo.

Check memory usage in task manager when your game is running. if it increases slowly, you've got a problem.

Hehe, debuglog. That one's caught me out a few times. ;)

Have you counted TRIs rendered? I had that problem in a game until I learned a solution from Rob...

The problem was solved you senile buffoons!


The problem was solved you senile buffoons!




Why am I surrounded by incompetant fools!???



just thought that was required....