Problems with basic animation in Jitter

    Jul 11 2006 | 9:17 pm
    Hi, I've posted this problem a couple times but am still struggling with it. I am trying again to see if anyone could provide some insight. I am just trying to animate a straight line like a cursor in jitter, but for some reason I cannot get the animation smooth it is always jittery. I've also tried this with LCD and got the same results. Could it be something to do with my CPU set up? I have a 17" 1.5ghz powerbook with 2gb ram. Below is the patch that has two different modes one is an audio rate animator and the other just using the line object. I would really appreciate some help with this one as it is a pretty fundamental thing for a lot of my current work.
    Thanks, Justin Yang

    • Jul 11 2006 | 10:54 pm
      interesting question
      it seems that for these simple animations you need a higher framerate to make it look smooth. Only from 85 frames/sec did it look ok for me. (maybe this has to do with interference with the refresh frequency of my/your (non tft/lcd) monitor?)
      any thoughts on this?
      anyway, I played a bit with your patch and the first thing I did was to extend your audio chain so that the actual snapshot is almost the last thing to do (I think it helped a bit) and that you don't have two clocks possible interfering (your qmetro and the snapshot object).
      also try if turning on overdrive makes any difference on your system
      what is the max framerate you get btw? (I added an object for that)
      Try my code below. I deleted some things in the patch for clarity (not that yours wasn't clear, you even made these highlight txts!)
      good luck
    • Jul 11 2006 | 11:14 pm
      This is better for the Jitter forum, but if you search the jitter archives, you should see some discussion of using cpuclock or the date object to use "walltime" to drive realtime animation under varying framerates rather than line, or counter.
    • Jul 11 2006 | 11:45 pm
      good tip thanks, recipe 31 of the jitter recipe book is quite useful for smooth animations
    • Jul 11 2006 | 11:45 pm
      Hi Timo, This was a great help, thanks. Your version is certainly better. I'm wondering if I can get it even smoother. For some reason my frame rate seems to be topped out at 60fps. Turning on the overdrive makes it worse. Thanks