• Advertisement
Sign in to follow this  

Text rendering problem with VBOs on

This topic is 3645 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, All my text rendering are lost if I use VBOs to render the 3D surface. Did any one has the same problem? Thanks, myfeng

Share this post


Link to post
Share on other sites
Advertisement
What do you use to render text?
If you use plain old vertex arrays, then turn off VBO with glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);

Share this post


Link to post
Share on other sites
Hi V-man,

Thanks for your response. I actually QT QGLWdiget::renderText to render the text and my own OpenGL code to render the mesh. The entire scene rendering includes mesh and backgroud. The text rendering is the part of the backgound. so now the problem is that I don't see text rendering if render the mesh using VBOs. It's find when I turn VBO off for mesh rendering. Hope you understand my problem better. Thanks,

myfeng.

Share this post


Link to post
Share on other sites
Your render function is probably changing some state that is interfering with the QT library. Maybe QT QGLWdiget::renderText also uses VBO and you mess up some state. Maybe someone who knows the QT code can better answer.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement