Hi,
I've got a problem rendering text inside a display list. Outside it works without any problems, but inside, no mean to made it works... In fact, two problems :
- 1 : No text is display on the screen
- 2 : The next gl commands after "renderText" called have some matrix transform problems
Have you ever try to renderText Inside a glNewList(list, GL_COMPILE); / glEndList() ?
Working test is bellow
Cheers,
Laurent
opengl-overpainting-glwidget.h
opengl-overpainting-glwidget.cpp
Makefile.txt
opengl-overpainting-main.cpp
PS :
- to switch between List/normal mode, you should comment/uncomment #define INSIDE_LIST 1
- to see problem number 2, you have to zoom in (with mouse wheel) with INSIDE_LIST 1
Bookmarks