I am trying to animate a large amount of sprites using jit.gl.sketch. I am wondering what's the best way to do this. The amount of gl instructions I want to send to the sketch-external go into the ten thousands and this seems to be a bit of a bottle neck within max.
An mxj external is very slow when it comes to sending messages.Even though a c-external is considerably faster, the whole conversions going on between the outlets of the c-external and the inlet of the sketch external seems to use quite a bit of CPU performance and slows things down.
Just as an example I animated 500 sprites (videoplanes). With a c-external I managed to get to 30FPS. I did the same thing in processing (java with opengl) and managed to get 60FPS. Both on Apple Aluminium 1.5Ghz and 128MB Radeon ATI graphics card.
Any suggestions to speed things up in Jitter? Is there possibly a better way to send OpenGL instructions?