On 29/09/11 19:37, Jake b wrote:

> You could skip threads, load some at each loop.
> 
> Draw. When you are normally in delay/sleeping, at  your max fps, load a
> frame / chunk. Or load a frame every Xms. Essentially async loading.

Yes, that is what I think I will have to do, as I said in the
original post.

There is the problem that a single frame can easily take too long -- 
a bad disk seek can take a few tens of milliseconds, then there is 
decoding and transfer on top of that.

Perhaps I need another process in the background that pre-loads the
images into kernel cache or tmpfs.  Or perhaps I need an SSD. Or both.


Douglas

-- 
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