Text Jittering

edited April 2011 in Help request
Hello everybody.

iarwain I offer you my condolences. My father also passed away in 2003 and if there is something good I can say to you at this situation is that, as the time goes by, your pain will relief. But I know that it is a difficult moment.



The problem I'm having now is some text jittering. I've attached a minimum project that reproduces the problem. I've tested on my 2 computers.

Move the square in one direction for a while and you will sart seeing the text jittering. And the background also jitter on the window's borders.

Thanks. https://forum.orx-project.org/uploads/legacy/fbfiles/files/text_jittering.zip

Comments

  • edited April 2011
    Peso wrote:
    Hello everybody.

    Hi!
    iarwain I offer you my condolences. My father also passed away in 2003 and if there is something good I can say to you at this situation is that, as the time goes by, your pain will relief. But I know that it is a difficult moment.

    I'm sorry to hear about your loss. I'm sure time will greatly help but I'm more worried about my mother being all by herself right now and me and my family being thousands of miles away. Not much I can do about this right now though...
    Anyway, thank you for your supporting words.
    The problem I'm having now is some text jittering. I've attached a minimum project that reproduces the problem. I've tested on my 2 computers.

    Move the square in one direction for a while and you will sart seeing the text jittering. And the background also jitter on the window's borders.

    Thanks. https://forum.orx-project.org/uploads/legacy/fbfiles/files/text_jittering.zip

    Those 2 issues are now fixed on the svn.

    If you're curious, the text one was due to the use of floored coordinates for text display in the glfw display plugin (for less aliasing in certain cases) and the border was due to floating point rounding error when computing the aspect ratio of the camera/viewport which could result in 1 pixel-wide line missing in the right and/or bottom parts of the viewport for non-rounded camera coordinates.
  • edited April 2011
    Those 2 issues are now fixed on the svn.

    If you're curious, the text one was due to the use of floored coordinates for text display in the glfw display plugin (for less aliasing in certain cases) and the border was due to floating point rounding error when computing the aspect ratio of the camera/viewport which could result in 1 pixel-wide line missing in the right and/or bottom parts of the viewport for non-rounded camera coordinates.

    I was curious, but I was also suspecting a rounding problem.
    Thank you for the quick fix.
  • edited April 2011
    My pleasure. Let me know if you have any other issues.
Sign In or Register to comment.