On Jun 2, 9:58 am, dasacc22 <[email protected]> wrote:
> On another note, If you use a document format like xml or yaml, you do
> get the added ability to load binary data into the doc so you could
> say compile a theme file into a single human readable txt file, among
> other things. ...

Well, it would be easier to make it into a .zip file, as Pyglet's
resource library will allow you to load from files within zipfiles.
So no advantage to XML there.  I think JSON wins on readability.  I
was previously unaware that JSON was a file format with available
readers. :)

> Ive never profiled code doing stuff like this. Does this make a huge
> difference? Whats with the migration of the group? Something specific
> to simplui, right? Isn't group and batch migrations expensive
> operations, as i recall from the documentation. Not sure why this
> would need to be done.

No, simplui doesn't yet use batches and groups.  That's a Pyglet thing
that allows you to move a vertex list from one batch/group to
another.  It's not frequently used...  There's a pending bug in
respect to migration:

http://code.google.com/p/pyglet/issues/detail?id=381

There's a workaround for it of course.  Hopefully this will get fixed
and released at some point.

However, it works pretty well to just delete the vertex list and
recreate it as needed.
--~--~---------~--~----~------------~-------~--~----~
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