renderText is too slow when rotating
I am using renderText to draw text on QGLWidgt.
It seems that it's tooo slow in rendering the text on the glwidget, as it uses the texture maps to render text.
Do you have any idea about, how we can make it as faster as bitmapped font rendering?
I am using Qt-4.4.0.
Re: renderText is too slow when rotating
I tried to use renderText as well with the same results. Try looking into FontGL(http://www.mat.ucsb.edu/~e.newman/so...hp?name=FontGL) instead of the built in Qt. It uses the TrueType font library and FreeType (included with the Qt builds) to quickly render 2d fonts in OpenGL.
Re: renderText is too slow when rotating
Hi Rayven,
Thanks for reply.
BTW: how come the FontGL will be faster, as it also uses the texture maps for fonts.
Basically, I don't want to increase the third party dependency, so can you suggest some improvement we can make in renderText() code in qt or the opengl steps we should follow that will improve the performance.
Re: renderText is too slow when rotating
Hi Rayven,
have you tried to optimized the renderText() method in Qt?