can I smooth animation using cpuclock?


    May 06 2006 | 8:27 pm
    Hi list,
    I'm loading transparent tiff files into jit.gl.videoplane and then animating them using "pak position" - it works fairly well but every 1500 milliseconds (or so) it has a noticeable jump in frames. Is there a better way to drive the animation? Here's a very simplified example of what I am doing:
    thx in advance
    www.bartwoodstrup.com
    www.vodstrup.com

    • May 06 2006 | 8:32 pm
      Also, I just tested this sample patch and it plays very smooth when compared to my main patch. Is there a limit to the number of layers/planes (sorry that I don't know a better term) that I can draw to the jit.gl.texture and jit.gl.videoplane? Right now I have 4 jit.gl.texture and 6 jit.gl.videoplane going at the same time.
      bbw
      www.bartwoodstrup.com
      www.vodstrup.com
    • May 07 2006 | 1:42 am
      Well I found out that my problem has nothing to do with the cpuclock (but at least now I have a good idea of how to use it). I discovered that my animation is having a stuttered playback due to the fact that I am reading a tiff file into a jit.qt.movie every 1500 milliseconds.
      I think my choices are to either use the loadram message (which doesn't seem to do the trick) or possibly use a jit.gl.texture and jit.gl.sketch.
      Can anyone make a suggestion for the appropriate way to use the loadram in this situation? in what order does it get banged?
      thx,
      bbw
      www.bartwoodstrup.com
      www.vodstrup.com
    • May 07 2006 | 7:09 am
      On 07.05.2006, at 03:41, vodstrup wrote:
      > Can anyone make a suggestion for the appropriate way to use the
      > loadram in this situation? in what order does it get banged?
      dear bbw vodstrup,
      no need to use loadram in this case!
      if you're only dealing with still images, you should consider
      jit.matrixset or mxj matrixlist; if a movie might want to join, a
      polymovie solution would be better.
      in that case, check the jitter-examples/video/quicktime/polymovie/
      Poly~ForMovies.pat example, or the jitjavamoviebank-example.pat
      jan klug