ok thanks for pointing out the faq (we'd need python-pyglet 1.1 on debian =P) that solved my problem.
On Tue, Jul 1, 2008 at 7:44 AM, Alex Holkner <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 1, 2008 at 3:22 PM, meushi <[EMAIL PROTECTED]> wrote: >> >> hi everyone, i'm new to python and pyglet, so that's maybe the reason >> i must be missing something. >> >> here's the problem, i got no transluency (alpha=1), although using >> glColor4f with floats that print between 0 and 1 >> >> here's my gl context init: >> >> screen = >> window.get_platform().get_default_display().get_default_screen() >> template = >> gl.Config(alpha_size=8,sample_buffers=1,samples=4,double_buffer=True) >> try: >> config = screen.get_best_config(template) >> except window.NoSuchConfigException: >> print "window.NoSuchConfigException" >> template = gl.Config() >> config = screen.get_best_config(template) >> >> window.Window.__init__(self,config=config,visible=False,caption=self.pcaption) > > pyglet doesn't support translucent or transparent windows (i.e., being > able to see through the window to the windows or desktop behind it). > > If you just need to composite translucent polygons, you don't need an > alpha buffer (can avoid the configuration above), and just need to > enable a blend function. See the FAQ: > http://groups.google.com/group/pyglet-users/web/faq. > > 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 -~----------~----~----~----~------~----~------~--~---
