Re: [pygame] pygame-arrays

2007-08-11 Thread Richard Jones
On Sat, 11 Aug 2007, Ian Mallett wrote: > > Which is better to use. > > > > > glDrawPixels or Pixel buffers? > > > > whats pixel buffers? > > I'd assume buffers, but both should be pretty fast. Depending on how many pixels you are manipulating, glDrawPixels will almost always be the slowest of yo

Re: [pygame] pygame-arrays

2007-08-10 Thread Ian Mallett
> > Which is better to use. > > glDrawPixels or Pixel buffers? > > > > whats pixel buffers? > I'd assume buffers, but both should be pretty fast. Ian

Re: [pygame] pygame-arrays

2007-08-10 Thread Marcus von Appen
On, Fri Aug 10, 2007, Simon Oberhammer wrote: > On 8/10/07, Jason Ward <[EMAIL PROTECTED]> wrote: > > > > What is the best array module to use? > > Numpy or Numeric? > > > > there has been a lot of discussion about this on the list - I don't know :-) We will use python arrays in the upcoming ver

Re: [pygame] pygame-arrays

2007-08-10 Thread Simon Oberhammer
On 8/10/07, Jason Ward <[EMAIL PROTECTED]> wrote: > > What is the best array module to use? > Numpy or Numeric? > there has been a lot of discussion about this on the list - I don't know :-) For PyOpenGL I want to call > glDrawPixels, but what do I do for the pointer to the pixels? How do I do >

[pygame] pygame-arrays

2007-08-10 Thread Jason Ward
What is the best array module to use? Numpy or Numeric? For PyOpenGL I want to call glDrawPixels, but what do I do for the pointer to the pixels? How do I do a pointer in python? Which is better to use. glDrawPixels or Pixel buffers?