[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Anyone use Blender to create sprite sequences?



Jasper Wrote:
> On the other hand, perhaps it's a big win when rendering through openGL?
> I can see how if you put the filmstrip into texture memory their _might_
> be a way to change the drawn subrect, which I think would allow you to
> simply change the "Frame Index" and avoid the cost of blitting.
> 
> Only problem is that looking at the pyopenGL docs nothing like this leaps
> out at me. :-/  Anyone know off hand if something like this works?

Jasper, I've written some tools which do exactly this. The sprite is
loaded with a filmstrip image, and you simply change the  frame
attribute to control which frame you want to blit to the screen.

It uses OpenGL so it is very very fast :)

You can get it from http://metaplay.com.au/tarballs/LGT.tar.bz2

SimonW.