Forums > Jitter

problem with smooth animation of jit.gl.videoplane

January 26, 2006 | 4:21 pm

I try to achieve a smooth linear animation over jit.gl.videoplane
with following patch.
The problem is that the animation is not smooth but has unregulary
hickups …
Is there anything I could try to get a smoother movement ?

thanks,

oliver
OsX10.4.4, G5 Dual 2.3, ATI Radeon 9600
Max-Msp 4.5.6, Jitter 1.5.2

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 334 63 48 196617 loadbang;
#P window setfont Arial 9.;
#P message 334 86 80 131137545 read blading.mov;
#P window setfont "Sans Serif" 9.;
#P newex 317 142 21 196617 r c;
#P newex 439 142 21 196617 r b;
#P newex 557 142 21 196617 r a;
#P newex 75 224 21 196617 s c;
#P newex 93 205 21 196617 s b;
#P newex 603 108 63 196617 r positioner;
#P newex 603 163 27 196617 – 8.;
#P newex 485 163 27 196617 + 8.;
#P newex 572 185 104 196617 pack position 0. 0. 0.;
#P newex 557 163 30 196617 t b b;
#P newex 454 185 104 196617 pack position 0. 0. 0.;
#P newex 439 163 30 196617 t b b;
#P newex 332 187 104 196617 pack position 0. 0. 0.;
#P newex 317 163 30 196617 t b b;
#P window linecount 2;
#P newex 308 228 227 196617 jit.gl.videoplane foo @automatic 0 @scale 4.
1. 1. @depth_enable 0 @colormode uyvy @interp 1;
#P window linecount 1;
#P newex 278 85 45 196617 r movie;
#P newex 278 109 286 196617 jit.qt.movie @vol 0 @adapt 1 @colormode uyvy
@autostart 0;
#P newex 114 419 63 196617 s positioner;
#P newex 114 340 39 196617 r pos2;
#P window setfont Arial 9.;
#P newex 114 392 29 131137545 % 8.;
#P message 63 383 44 131137545 set $1;
#P newex 114 369 36 131137545 + 0.03;
#P window setfont "Sans Serif" 9.;
#P newex 147 214 39 196617 s pos2;
#P newex 111 184 21 196617 s a;
#P user jit.fpsgui 39 275 60 196617 0;
#P newex 165 191 43 196617 s movie;
#P toggle 422 333 15 0;
#P newex 379 332 35 196617 sel 27;
#P message 422 351 68 196617 fullscreen $1;
#P newex 336 375 158 196617 jit.window foo @colormode uyvy;
#P newex 334 332 40 196617 key;
#P number 86 109 61 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 39 108 15 0;
#P newex 39 134 57 196617 qmetro 33;
#P newex 39 157 159 196617 t b b b b b b b b erase;
#P newex 39 253 195 196617 jit.gl.render foo @erase_color 0. 0. 0. 1.;
#P connect 29 0 27 1;
#P fasten 30 0 23 1 608 133 368 133;
#P fasten 30 0 28 0 608 133 490 133;
#P connect 30 0 29 0;
#P connect 26 1 27 0;
#P connect 33 0 26 0;
#P connect 28 0 25 1;
#P connect 24 1 25 0;
#P connect 34 0 24 0;
#P connect 9 0 7 0;
#P fasten 8 0 9 0 384 352 416 352 416 330 427 330;
#P fasten 5 0 8 0 339 351 376 351 376 330 384 330;
#P fasten 7 0 6 0 427 370 341 370;
#P connect 37 0 36 0;
#P connect 22 1 23 0;
#P connect 35 0 22 0;
#P fasten 27 0 21 0 577 216 313 216;
#P fasten 25 0 21 0 459 216 313 216;
#P fasten 23 0 21 0 337 216 313 216;
#P fasten 19 0 21 0 283 197 313 197;
#P fasten 24 0 21 0 444 216 313 216;
#P fasten 26 0 21 0 562 216 313 216;
#P fasten 22 0 21 0 322 204 313 204;
#P connect 20 0 19 0;
#P fasten 36 0 19 0 339 105 283 105;
#P connect 1 7 10 0;
#P connect 1 6 13 0;
#P fasten 16 0 15 0 119 411 59 411 59 379 68 379;
#P connect 16 0 18 0;
#P connect 14 0 16 0;
#P fasten 15 0 14 0 68 402 109 402 109 364 119 364;
#P fasten 17 0 14 0 119 358 119 358;
#P connect 1 4 12 0;
#P connect 1 3 31 0;
#P connect 4 0 2 1;
#P connect 1 2 32 0;
#P connect 0 0 11 0;
#P fasten 1 8 0 0 188 247 44 247;
#P connect 1 0 0 0;
#P connect 2 0 1 0;
#P connect 3 0 2 0;
#P window clipboard copycount 38;


January 26, 2006 | 4:50 pm

There was another thread on this recently. I didn’t fix my patch yet so I
can’t help you, but it’s probably related.
http://www.cycling74.com/forums/index.php?t=msg&th=17758 &sta rt=0&rid=2549&S=6d0cf1b8105afc0b51a0bfd60624e235

T_


Viewing 2 posts - 1 through 2 (of 2 total)