I'm pretty sure there's code floating around the pyglet mailing list. I'd be happy to add it to http://code.astraw.com/projects/motmot/wiki/pygarrayimage if it seems reasonable. (pygarrayimage goes from numpy array to pyglet texture).
Brian Blais wrote: > On Jan 29, 2008, at Jan 29:8:24 PM, Andrew Straw wrote: > >> I'd suggest pyglet's avbin library. >> > > > great suggestion! I never would have thought to do that. Do you > happen to know how to convert a > > player.texture into a numpy.array? > > there is ImageData, but I can't seem to figure out how to do the > conversion. > > > bb > -- > Brian Blais > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://web.bryant.edu/~bblais <http://web.bryant.edu/%7Ebblais> > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Numpy-discussion mailing list > Numpy-discussion@scipy.org > http://projects.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion