Important: Please read the Qt Code of Conduct -

How can I stop text from clipping when I am using GLUT?

  • Hi Everyone,
    I am a newbie in OpenGL so excuse any stupidity
    currently the project I am working on use glut to draw in OpenGL


    we have a qt widget that is used to draw the OpenGL window in which there are 3 viewport
    each viewport have their own view to draw and everything is confined to the respective viewport

    what I am looking for is, I have a text that moves with the pointer, and whenever it reaches the boundary of the viewport the text start getting clipped
    Is there a way I might be able to move it across the viewport without getting clipped??

    NOTE: I don't have much scope to change the design.