Rendering slows down over time

Blitz3D Forums/Blitz3D Programming/Rendering slows down over time

slenkar(Posted 2005) [#1]
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?


Jeremy Alessi(Posted 2005) [#2]
Animation causes a big hit. It's probably to do with that.


slenkar(Posted 2005) [#3]
In the end it was over-use of the debuglog
D'OH!


Paolo(Posted 2005) [#4]
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.


GfK(Posted 2005) [#5]
Check memory usage in task manager when your game is running. if it increases slowly, you've got a problem.


Ross C(Posted 2005) [#6]
Hehe, debuglog. That one's caught me out a few times. ;)


Rook Zimbabwe(Posted 2005) [#7]
Have you counted TRIs rendered? I had that problem in a game until I learned a solution from Rob...


Picklesworth(Posted 2005) [#8]
The problem was solved you senile buffoons!


Damien Sturdy(Posted 2005) [#9]

The problem was solved you senile buffoons!




Why am I surrounded by incompetant fools!???



just thought that was required....