I dont think the profiler will tell me much other than looping through lists of objects in python is slow (which is why I am using numpy). I think the problem is that, in a typical scene, there are about 10000 voxels each with quads that need to be drawn. 10000 calls of batch.add with all the python object creation (e.g. domain.create) that goes with it is just slow. I think I will just use gl drawarray calls and avoid batches altogether for this part of the code.
-- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
