I recently noticed that if I have a large box (5500x5500) with its texture scaled up (25-35x), and the camera rotates a certain way, I get a huge FPS hit.
In my project, I have the camera positioned 600 units above the box, pointed down at a sphere on it. When I begin to rotate it on its Y axis, DBP slows to a crawl (from 60 FPS to about 11). I can rotate full circle back to the previous position, and it works fine again.
If I comment the scale object texture line, I don't get the slowdown.
I can understand why scaling a texture that much would slow the program down, but I really don't get why 1) it's that much of a performance hit and 2) why it only happens when the camera is rotated a certain way.
The control bug is this... I have a bit of code that checks for the Insert or Pageup keys being pressed using Scancode(), and if they are rotates the camera (same program [b]) ). Well, when push either key and then click the mouse... the program freezes. It dosen't crash; the mouse still moves, but the screen dosen't update at all. Esc still closes the program.
There's nothing in my program that could have been triggered that does this, not a single suspend or wait line in all the code. It's pretty frustrating too...
Thankee.
--Mouse
Famous Fighting Furball