McSebi
2006.07.02, 02:42 PM
I have some 2D objects in a 2D world using glOrtho. The objects use textured quads. The view port is expanded so the whole scene is magnified.
When I move them at a speed lower than 1 pixel per animation frame (for example 0.6) I get a "pumping" effect: The texture appears one pixel smaller some times.
I have also seen small vertical lines inside the textures appear darker when they get moved this way. Anyone has an idea whta can be wrong here?
If I move the objects by integer values there is no problem.
When I move them at a speed lower than 1 pixel per animation frame (for example 0.6) I get a "pumping" effect: The texture appears one pixel smaller some times.
I have also seen small vertical lines inside the textures appear darker when they get moved this way. Anyone has an idea whta can be wrong here?
If I move the objects by integer values there is no problem.