I didn't finish anything for pyweek, though I think I produced some
code which other pyglet users may find useful.

I've created C extension types for representing arrays of vectors,
with support for arithmetic operations on those arrays. This array
type does neat things like pre-allocation, dynamic resizing, memory
usage optimisizing, in-place math etc.

I've also created a VertexArray type, which uses the above array type
to represent vertices, colors, texcoords and normals. This code is
fast enough to calculate the dynamics for rather massive particle
systems. It can also do neat things like weld the vertices of an OBJ
vertex array, and produce an index into the array.

There are some other goodies in there too, an OBJ loader with material
and texture support, a native Vector3 and a native OpenGL transform
class.

These types are rather rigid and unflexible when compared to the
pyglet.graphics module, but when you have a need for speed, they will
prove useful.

Download: http://exactlysimilar.org/downloads/graphics-0.0.tar.gz
BZR: http://exactlysimilar.org/bzr/graphics/

-Sw.
--~--~---------~--~----~------------~-------~--~----~
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