4 Attachment(s)
Re: QGLWidget renderText inside Display List
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
Attachment 7176
Attachment 7177
Attachment 7179
Attachment 7178
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
:o