Fastest way to send OpenGL instructions (

    Feb 06 2006 | 12:15 pm
    Hi there,
    I am trying to animate a large amount of sprites using 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?

    • Feb 06 2006 | 7:46 pm
      try using instead of
    • Feb 07 2006 | 12:54 am
      Can you post examples? It's hard to tell what you're doing. there are many ways to manipulate 500 "sprites"...
    • Feb 10 2006 | 12:24 am
      Hi there, sorry for late reply. You can download an example (OSX) from here:
      The patch contains a simple c external that sends a series of gl-commands out of its left outlet.
      I am quite a newby to writing c-externals and haven't had a chance yet to look at the Jitter-SDK. Any idea whether it would be possible to send gl-commands directly from the c-external to a gl-render-context?