eugeneloza / decoherence

Project moved to https://gitlab.com/EugeneLoza/decoherence
GNU General Public License v3.0
10 stars 7 forks source link

30FPS?! #604

Closed eugeneloza closed 6 years ago

eugeneloza commented 6 years ago

What the hell happened? Why only 30FPS on a very simple scene?!

eugeneloza commented 6 years ago

Clean interface - 60FPS add Wind - 60FPS add Interface slot prototype - 60FPS add Large frame (DRectagonalFramedElement) - 27 FPS

eugeneloza commented 6 years ago

Everything else altogether - 60FPS There is some bug with an empty DRectagonalFramedElement (two filled instances (smaller in size thou) don't make any FPS drop)?

eugeneloza commented 6 years ago

Nope, it's the size that matters large DPlayerBars drop FPS down to 8. What could it be?

eugeneloza commented 6 years ago

Upd: same FPS drop with animations disabled.

eugeneloza commented 6 years ago

Error was so obvious... :D

michaliskambi commented 6 years ago

Ouh :) I feel your pain. Well, every bug is obvious after solving it :)

eugeneloza commented 6 years ago

Yeah. Feeling so stupid :). I was suspecting that the frame was reinitialized (scaled and burned) every frame, but couldn't believe I really did something as obvious as forgetting setting "initialized" to true :)