On Thu, Dec 11, 2008 at 10:25 PM, ldlework <[email protected]> wrote: > > Hello. I am working a small little demo, just some abstract point > rendering that is affected by the mouse. I thought a motion blur would > really add to it so I attempted to use the accumulation buffer to do > just that. But it would seem no matter what I try I cannot get the > correct context configuration. I have used the minimal example Alex > has provided in the past, and I still get 0 bits. > > I am running Windows 32bit Vista on a Dell Studio with a Mobile Radeon > HD 3400: > > C:\Users\Dustin\Desktop>python > Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit > (Intel)] on win > 32 > Type "help", "copyright", "credits" or "license" for more information. >>>> import pyglet >>>> config = pyglet.gl.Config( > ... doublebuffer=True, > ... accum_red_size=16, > ... accum_blue_size=16, > ... accum_green_size=16, > ... accum_alpha_size=16) >>>> screen = >>>> pyglet.window.get_platform().get_default_display().get_screens()[0] >>>> screen.get_matching_configs(config) > [Win32Config([('double_buffer', False), > ('stereo', False), > ('buffer_size', 32), > ('aux_buffers', 0), > ('sample_buffers', 0), > ('samples', 0), > ('red_size', 8), > ('green_size', 8), > ('blue_size', 8), > ('alpha_size', 8), > ('depth_size', 24), > ('stencil_size', 8), > ('accum_red_size', 0), > ('accum_green_size', 0), > ('accum_blue_size', 0), > ('accum_alpha_size', 0)])] >>>>
This works for me (nvidia), so I'm assuming it's an AMD/ATI issue, unless you can prove otherwise. Note also that you spelled 'double_buffer' wrong (but this won't affect the accum buffer initialisation). 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 -~----------~----~----~----~------~----~------~--~---
