On Fri, Jan 30, 2009 at 10:33 AM, rocketmagnet <[email protected]> wrote: > > I try to get this working now for a few hours but was not able to find > a solution. > > I hope you can show me a simple example how to use only the > pyglet.font module with a opengl rendering context that's allready in > use ?? (for example by pyOpenGL (GLUT)). >
In theory this shouldn't be too much of a problem, though I haven't got any sample code for you handy. You may need to trick pyglet into using PyGame's OpenGL context (see pyglet/gl/__init__.py), because the font module has a per-context texture cache. There may be code samples around that integrate pyglet with wxWidgets or Qt that do this trick. Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
