Questions about OGRE Stutterings and spikes...

Problems building or running the engine, queries about how to use features etc.
Post Reply
roig
Gnoblar
Posts: 1
Joined: Thu May 08, 2014 8:04 pm

Questions about OGRE Stutterings and spikes...

Post by roig »

Hello all!

2 programmers and I are making a 3d game for the first time. We are facing three strange problems:

//////////////
OGRE 1.9.
SDL 2.0 for Input handling.
Bullet for phys.
//////////////

- Problem 1:
Is it normal that ogre render time is not "semi" constant? We have spent 2 days debugging this and found that renderoneframe() execution time in a empty scene have spikes!
like this:
..
0.000400
0.000500
0.001800
0.000400
..

Is this normal? It's about 4x more than the average execution time of that function. Maybe this is normal behavior, but for us is "strange".


- Problem 2:
Windowed mode, using OpenGL and a very simple scene with only static geometry we have constant hiccups... we have tried vsync on / off , and framesmoothing, no changes at all. Anyone experienced that or know how to fix it?
When we use D3D9 we don't have those hiccups.

- Problem 3:
Maybe we are getting crazy right now, but Skype (maybe windows notifications in the Windows Start Bar) makes our game stutter.
We spent 5 days to "reproduce" this mo*** f**er.. Just open a Ogre window (windowed mode), render your scene and then focus Ogre Window, all is working flawlessly.
Now let someone write you a message in Skype for example, then Skype icon in Start Bar will start blinking and your Scene will start stuttering like hell... :? :? :?
We don't think that OGRE is causing this.. It's probably our code.. but where can we start searching to fix this? :s

Thank you and sorry if those questions sound a bit newbie/noob problems >_< :oops:
Post Reply