I just found out about these from this mailing list and read briefly
about them from a PDF called 'Pyglet Programming Guide'. It seemed to
me that I should be able to just drop /static etc at the end of my
format strings like: 'v2i' -> 'v2i/static'. I tried that but it leads
to me getting an error about slice assignment:

File "/usr/lib/python2.5/site-packages/pyglet/graphics/__init__.py",
line 348, in add
    vlist._set_attribute_data(i, array)
  File "/usr/lib/python2.5/site-packages/pyglet/graphics/
vertexdomain.py", line 407, in _set_attribute_data
    region.array[:] = data
ValueError: Can only assign sequence of same size

Do I need to take special action when using static? My formats are
like so:
('v2i/static', vertices),
('t3f', texcoords),
('c4B/static', colours)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to