garnier
14th December 2011, 18:48
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
7176
7177
7179
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
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
7176
7177
7179
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