pdeschenes's picture

TextPrinter + Display List

Hello,

I'm currently using "Display Lists" to optimize my OpenTK application. Everything works fine when I draw standard OpenGL commands.

Now I want to add some text to my "Display List". I've done some tests with TextPrinter and, while I can add it to my "Display List", the translation or scaling before calling my "Display List" doesn't seems to apply and my text always appears at the same position.

Is it possible to add text to a "Display List" on which the current translation/scaling will apply when rendering.

Thanks

- Patrick


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

The TextPrinter is not guaranteed to work inside a display list. However, it may use display lists internally, if available, to improve performance.