Probably your board does not support buffer flip by copying. Try the
following:
Edit the 'globs.py' source and enable the accumulation buffer flip
policy inside
the config class. In other words, change
# flipping policy
flipPolicy = DOUBLE_FLIP_POLICY # this is the default and should
work for modern boards/drivers
# flipPolicy = SINGLE_FLIP_POLICY # use this for Intel 945 under
Windows or other cheap boards
# flipPolicy = FBO_FLIP_POLICY # use this for modern boards/
drivers where flip uses swap and not copy
# flipPolocy = ACCUM_FLIP_POLICY # use this for cheap boards where
'SINGLE' produces too much flickering
to
# flipPolicy = DOUBLE_FLIP_POLICY # this is the default and should
work for modern boards/drivers
# flipPolicy = SINGLE_FLIP_POLICY # use this for Intel 945 under
Windows or other cheap boards
# flipPolicy = FBO_FLIP_POLICY # use this for modern boards/
drivers where flip uses swap and not copy
flipPolocy = ACCUM_FLIP_POLICY # use this for cheap boards where
'SINGLE' produces too much flickering
--Claudio
On Oct 15, 9:36 am, enrike <[email protected]> wrote:
> i installed the svn version, now i get this when i run the examples.
> The window opens but I dont get graphics, just some gitter or black.
>
> $ python widthandheight.py
> No suitable context:
> Generating a default context.
> No suitable context:
> Generating a default context.
>
> my system is Linux Ubuntu jaunty with ATI Radeon 7000/VE. this card
> uses the free "radeon" driver, not the propietary driver from ATI. The
> card is too old for that one ;)
>
> On Oct 14, 4:55 pm, Claudio Esperança <[email protected]>
> wrote:
>
> > OOps, I missed this one. There is an error in the error handling code.
> > I fixed the fallback code which tries to find an alternative config
> > for old hardware, since it was using an unqualified exception name,
> > i.e., NoSuchConfigException rather than
> > pyglet.window.noSuchConfigException. You can try it by installing the
> > latest version from the SVN.
>
> > I'd be very much obliged if you could tell me what kind of graphics
> > board/driver do you use.
>
> > Best regards,
>
> > --Claudio
>
> > On Oct 14, 9:12 am, altern <[email protected]> wrote:
>
> > > i am testing it on linux and i get this error
>
> > > $ python animation.py
> > > No suitable context:
> > > Generating a default context.
> > > Traceback (most recent call last):
> > > File "animation.py", line 1, in <module>
> > > from pyprocessing import *
> > > File
> > > "/usr/local/lib/python2.6/dist-packages/pyprocessing/__init__.py", line
> > > 377, in <module>
> > > if canvas.window == None: size(100,100)
> > > File
> > > "/usr/local/lib/python2.6/dist-packages/pyprocessing/__init__.py", line
> > > 290, in size
> > > except NoSuchConfigException:
> > > NameError: global name 'NoSuchConfigException' is not defined
>
> > > i tried some pyglet examples and they work fine, but i have problems
> > > with pyOpenGL...
>
> > > > On Oct 10, 1:15 am, Claudio Esperança <[email protected]>
> > > > wrote:
> > > >> I'd like to announce the first alpha release of the
> > > >> pyprocessing<http://code.google.com/p/pyprocessing/>project. This is
> > > >> a
> > > >> Python <http://www.python.org/> package that creates an environment for
> > > >> graphics applications that closely resembles that of the
> > > >> Processing<http://www.processing.org/>system.
>
> > > >> The project mission is to implement Processing's friendly graphics
> > > >> functions
> > > >> and interaction model in Python. Not all of Processing is to be ported,
> > > >> though, since Python itself already provides alternatives for many
> > > >> features
> > > >> of Processing, such as XML parsing.
>
> > > >> The *pyprocessing* backend is built upon OpenGL
> > > >> <http://www.opengl.org/> and
> > > >> Pyglet <http://www.pyglet.org/>, which provide the actual graphics
> > > >> rendering. Since these are multiplatform, so is *pyprocessing*.
>
> > > >> We hope that, much in the same spirit of the Processing project, *
> > > >> pyprocessing* will appeal to people who want to easily program and
> > > >> interact
> > > >> with computer generated imagery. It is also meant to help teaching
> > > >> computer
> > > >> programming by making it possible to write compact code with rich
> > > >> visual
> > > >> semantics.
>
> > > >> I would appreciate any comment on this effort.
>
> > > >> Cheers,
> > > >> --Claudio
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---