Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Timesquare

Pages: [1]
1
General / SFML rendering jerkiness
« on: July 14, 2011, 02:19:21 pm »
I have found a solution to the problem, by adding:
Code: [Select]
App.SetFramerateLimit(60);
This removes all stuttering from the display.

I am still interested in learning why this is happening?

2
General / SFML rendering jerkiness
« on: July 14, 2011, 05:10:00 am »
I have compiled the opengl example here.
Code: [Select]
g++ window-opengl.cpp -lGL -lGLU -lsfml-system -lsfml-window

When the example is run a 3d cube is shown devoid of shading. It might appear to rotate nicely for ~10 frames before freezing up. A few seconds later another ~10 frames are show and it freezes again.

I'm running 64-bit Ubuntu 11.04; the problem appear both with libsfml from the ubuntu repositories, and with libsfml compiled from source.

Any ideas on what is happening?


Edit

Interestingly if I add:
Code: [Select]
std::cout << "Time: " << Clock.GetElapsedTime() << std::endl
to the runloop, most of the jerkiness disappears, though it still stutters occasionally.

Pages: [1]