Rapid texture update fails?

Jul 26, 2006 at 1:57pm

Rapid texture update fails?

Dear jitter-experts,

Please have a look at this simple example patch. It uses an uzi to update 3 texture objects with 1 jit.qt.movie. Expected behaviour is that every plane gets textured with a different movie frame.

To test this properly I use this movie:

http://avdl1064.oli.tudelft.nl/movie123.mov

Perhaps the texture object stores a matrix reference and the actual matrix is retrieved only at rendertime?

This is on a dual G5, Mac OS 10.4.7, Max 4.5.6, Jitter 1.5.2

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 226 350 77 196617 position 0 0 -1;
#P button 171 63 15 1;
#P comment 172 49 21 196617 0);
#P toggle 104 134 15 0;
#P newex 104 151 29 196617 gate;
#P newex 510 100 27 196617 t b i;
#P newex 153 131 60 196617 loadmess 1;
#P newex 527 120 27 196617 t i i;
#P message 544 140 77 196617 frame_true $1;
#P newex 580 305 173 196617 jit.gl.texture MyOutput @name tex3;
#P newex 492 286 173 196617 jit.gl.texture MyOutput @name tex2;
#P newex 403 267 173 196617 jit.gl.texture MyOutput @name tex1;
#P user jit.pwindow 579 202 82 62 0 1 0 0 1 0;
#P user jit.pwindow 491 202 82 62 0 1 0 0 1 0;
#P user jit.pwindow 402 202 82 62 0 1 0 0 1 0;
#P newex 136 170 50 196617 t b erase;
#P message 226 412 77 196617 position 2 0 -1;
#P message 225 291 82 196617 position -2 0 -1;
#P newex 135 269 48 196617 loadbang;
#P window linecount 2;
#P newex 149 433 252 196617 jit.gl.gridshape MyOutput @matrixoutput 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1;
#P window linecount 1;
#P message 149 412 68 196617 texture tex3;
#P window linecount 2;
#P newex 149 371 252 196617 jit.gl.gridshape MyOutput @matrixoutput 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1;
#P window linecount 1;
#P message 149 350 68 196617 texture tex2;
#P window linecount 2;
#P newex 149 312 252 196617 jit.gl.gridshape MyOutput @matrixoutput 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1;
#P window linecount 1;
#P message 149 291 68 196617 texture tex1;
#P toggle 136 131 15 0;
#P newex 136 151 57 196617 qmetro 40;
#P window linecount 2;
#P newex 136 217 243 196617 jit.window MyOutput @depthbuffer 1 @doublebuffer 1 @fsmenubar 0 @rect 0 50 720 338;
#P window linecount 1;
#P newex 136 194 111 196617 jit.gl.render MyOutput;
#P newex 403 182 47 196617 gate 3 1;
#P button 480 63 15 1;
#P newex 480 80 40 196617 uzi 3;
#P comment 480 49 284 196617 2) click the bang twice while watching the output window;
#P message 440 63 30 196617 read;
#B color 1;
#P newex 440 159 102 196617 jit.qt.movie @rate 0;
#P comment 440 49 16 196617 1);
#P window linecount 3;
#P comment 32 134 70 196617 3) open the gate and repeat step 2;
#P connect 35 0 18 0;
#P lcolor 1;
#P connect 35 0 30 0;
#P lcolor 1;
#P connect 24 0 27 0;
#P connect 7 2 24 0;
#P connect 29 1 28 0;
#P connect 31 1 29 0;
#P connect 5 2 31 0;
#P connect 23 0 26 0;
#P connect 7 1 23 0;
#P connect 6 0 5 0;
#P connect 2 0 7 1;
#P connect 3 0 2 0;
#P connect 5 0 2 0;
#P connect 28 0 2 0;
#P connect 22 0 25 0;
#P connect 7 0 22 0;
#P fasten 29 0 7 0 532 179 408 179;
#P connect 20 0 17 0;
#P connect 16 0 17 0;
#P connect 14 0 15 0;
#P connect 19 0 13 0;
#P connect 12 0 13 0;
#P fasten 21 1 8 0 181 190 141 190;
#P connect 21 0 8 0;
#P connect 10 0 21 0;
#P connect 32 0 21 0;
#P connect 11 0 10 0;
#P connect 30 0 11 0;
#P connect 31 0 32 1;
#P connect 33 0 32 0;
#P connect 18 0 20 0;
#P connect 18 0 36 0;
#P connect 18 0 19 0;
#P connect 18 0 16 0;
#P connect 18 0 14 0;
#P connect 18 0 12 0;
#P connect 36 0 15 0;
#P window clipboard copycount 37;

Cheers,
Mattijs

#26927
Jul 26, 2006 at 2:57pm

Hello Mattijs,
I took a look at your patch and cleaned it up a bit. Everything seems
to work fine here. Below is the patch.

wes

#P user jit.pwindow 556 405 82 62 0 1 0 0 1 0;
#P user jit.pwindow 468 405 82 62 0 1 0 0 1 0;
#P user jit.pwindow 379 405 82 62 0 1 0 0 1 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 557 376 55 196617 jit.matrix;
#P newex 469 378 55 196617 jit.matrix;
#P newex 380 377 55 196617 jit.matrix;
#P button 105 62 15 1;
#P comment 106 48 21 196617 0);
#P newex 487 66 27 196617 t b i;
#P newex 105 82 60 196617 loadmess 1;
#P newex 504 86 27 196617 t i i;
#P message 521 106 77 196617 frame_true $1;
#P newex 557 344 173 196617 jit.gl.texture MyOutput @name tex3;
#P newex 469 316 173 196617 jit.gl.texture MyOutput @name tex2;
#P newex 380 287 173 196617 jit.gl.texture MyOutput @name tex1;
#P user jit.pwindow 556 192 82 62 0 1 0 0 1 0;
#P user jit.pwindow 468 192 82 62 0 1 0 0 1 0;
#P user jit.pwindow 379 192 82 62 0 1 0 0 1 0;
#P newex 105 143 50 196617 t b erase;
#P window linecount 2;
#P newex 32 358 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex3 @position 2 0 -1;
#P newex 32 322 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex2 @position 0 0 -1;
#P newex 32 287 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex1 @position -2 0 -1;
#P toggle 105 104 15 0;
#P window linecount 1;
#P newex 105 124 57 196617 qmetro 40;
#P window linecount 2;
#P newex 105 190 243 196617 jit.window MyOutput @depthbuffer 1
@doublebuffer 1 @fsmenubar 0 @rect 0 50 720 338;
#P window linecount 1;
#P newex 105 167 111 196617 jit.gl.render MyOutput;
#P newex 380 155 47 196617 gate 3 1;
#P button 457 29 15 1;
#P newex 457 46 40 196617 uzi 3;
#P comment 457 15 284 196617 2) click the bang twice while watching
the output window;
#P message 417 29 30 196617 read;
#B color 1;
#P newex 417 125 102 196617 jit.qt.movie @rate 0;
#P comment 417 15 16 196617 1);
#P window linecount 3;
#P comment 1 107 70 196617 3) open the gate and repeat step 2;
#P button 683 253 15 0;
#P connect 31 0 34 0;
#P connect 22 0 31 0;
#P connect 19 0 22 0;
#P fasten 0 0 20 0 688 282 385 282;
#P fasten 0 0 21 0 688 309 474 309;
#P fasten 0 0 22 0 688 337 562 337;
#P fasten 8 2 19 0 421 178 562 178;
#P connect 24 1 23 0;
#P connect 26 1 24 0;
#P connect 6 2 26 0;
#P connect 30 0 33 0;
#P connect 21 0 30 0;
#P connect 18 0 21 0;
#P fasten 8 1 18 0 403 185 474 185;
#P connect 7 0 6 0;
#P connect 3 0 8 1;
#P connect 4 0 3 0;
#P connect 6 0 3 0;
#P connect 23 0 3 0;
#P connect 29 0 32 0;
#P connect 20 0 29 0;
#P connect 17 0 20 0;
#P fasten 8 0 17 0 385 182 385 182;
#P fasten 24 0 8 0 509 152 385 152;
#P connect 16 0 9 0;
#P fasten 16 1 9 0 150 163 110 163;
#P connect 11 0 16 0;
#P connect 12 0 11 0;
#P connect 25 0 12 0;
#P connect 28 0 25 0;
#P lcolor 1;
#P window clipboard copycount 35;

#81047
Jul 26, 2006 at 3:28pm

Hi wesley, thanks for your reply, your version is indeed a solution to this problem.

Could it be that the matrix objects you appended to the jit.gl.texture force the texture objects (or the movie object) to assign unique matrix id’s to the textures? I assume that’s the reason that the render now recognizes them as different images.

Below I made another version that describes the issue wesley’s way. This is unintended behaviour, right?

Mattijs

#P toggle 446 314 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 552 314 29 196617 gate;
#P newex 463 314 29 196617 gate;
#P newex 552 333 55 196617 jit.matrix;
#P newex 463 333 55 196617 jit.matrix;
#P button 22 36 15 1;
#P comment 22 22 21 196617 0);
#P newex 589 73 27 196617 t b i;
#P newex 22 56 60 196617 loadmess 1;
#P newex 606 93 27 196617 t i i;
#P message 623 113 77 196617 frame_true $1;
#P newex 659 322 252 196617 jit.gl.texture MyOutput @name tex3 @matrixoutput 1;
#P newex 571 293 252 196617 jit.gl.texture MyOutput @name tex2 @matrixoutput 1;
#P newex 482 264 252 196617 jit.gl.texture MyOutput @name tex1 @matrixoutput 1;
#P user jit.pwindow 658 199 82 62 0 1 0 0 1 0;
#P user jit.pwindow 570 199 82 62 0 1 0 0 1 0;
#P user jit.pwindow 481 199 82 62 0 1 0 0 1 0;
#P newex 22 117 50 196617 t b erase;
#P window linecount 2;
#P newex 22 272 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture tex3 @position 2 0 -1;
#P newex 22 236 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture tex2 @position 0 0 -1;
#P newex 22 201 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture tex1 @position -2 0 -1;
#P toggle 22 78 15 0;
#P window linecount 1;
#P newex 22 98 57 196617 qmetro 40;
#P window linecount 2;
#P newex 22 164 243 196617 jit.window MyOutput @depthbuffer 1 @doublebuffer 1 @fsmenubar 0 @rect 0 50 720 338;
#P window linecount 1;
#P newex 22 141 111 196617 jit.gl.render MyOutput;
#P newex 482 162 47 196617 gate 3 1;
#P button 559 36 15 1;
#P newex 559 53 40 196617 uzi 3;
#P comment 559 22 284 196617 2) click the bang twice while watching the output window;
#P message 519 36 30 196617 read;
#B color 1;
#P newex 519 132 102 196617 jit.qt.movie @rate 0;
#P comment 519 22 16 196617 1);
#P window linecount 3;
#P comment 374 314 70 196617 3) open the gate and repeat step 2;
#P connect 32 0 30 0;
#P connect 32 0 31 0;
#P connect 20 0 31 1;
#P connect 27 0 24 0;
#P connect 24 0 11 0;
#P connect 11 0 10 0;
#P connect 10 0 15 0;
#P connect 15 0 8 0;
#P fasten 15 1 8 0 67 137 27 137;
#P connect 30 0 28 0;
#P fasten 23 0 7 0 611 159 487 159;
#P fasten 7 0 16 0 487 189 487 189;
#P connect 16 0 19 0;
#P connect 19 0 30 1;
#P connect 3 0 2 0;
#P connect 5 0 2 0;
#P connect 22 0 2 0;
#P connect 2 0 7 1;
#P connect 31 0 29 0;
#P connect 6 0 5 0;
#P fasten 7 1 17 0 505 192 576 192;
#P connect 17 0 20 0;
#P connect 5 2 25 0;
#P connect 25 1 23 0;
#P connect 23 1 22 0;
#P fasten 7 2 18 0 523 185 664 185;
#P connect 18 0 21 0;
#P window clipboard copycount 33;

#81048
Jul 26, 2006 at 4:28pm

You know, this shouldn’t be an issue the way you’re doing it and I
didn’t mean to inadvertently solve the problem with those trailing
matrix objects. Here’s a good and efficient solution.

wes

#P user jit.pwindow 532 398 82 62 0 1 0 0 1 0;
#P user jit.pwindow 444 398 82 62 0 1 0 0 1 0;
#P user jit.pwindow 355 398 82 62 0 1 0 0 1 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 662 428 173 196617 jit.gl.texture MyOutput @name tex3;
#P newex 574 372 173 196617 jit.gl.texture MyOutput @name tex2;
#P newex 485 315 173 196617 jit.gl.texture MyOutput @name tex1;
#P button 25 62 15 1;
#P comment 25 48 21 196617 0);
#P newex 592 99 27 196617 t b i;
#P newex 25 82 60 196617 loadmess 1;
#P newex 609 119 27 196617 t i i;
#P message 626 139 77 196617 frame_true $1;
#P newex 662 403 55 196617 jit.matrix;
#P newex 574 347 55 196617 jit.matrix;
#P newex 485 290 55 196617 jit.matrix;
#P user jit.pwindow 661 225 82 62 0 1 0 0 1 0;
#P user jit.pwindow 573 225 82 62 0 1 0 0 1 0;
#P user jit.pwindow 484 225 82 62 0 1 0 0 1 0;
#P newex 25 143 50 196617 t b erase;
#P window linecount 2;
#P newex 25 298 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex3 @position 2 0 -1;
#P newex 25 262 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex2 @position 0 0 -1;
#P newex 25 227 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex1 @position -2 0 -1;
#P toggle 25 104 15 0;
#P window linecount 1;
#P newex 25 124 57 196617 qmetro 40;
#P window linecount 2;
#P newex 25 190 243 196617 jit.window MyOutput @depthbuffer 1
@doublebuffer 1 @fsmenubar 0 @rect 0 50 720 338;
#P window linecount 1;
#P newex 25 167 111 196617 jit.gl.render MyOutput;
#P newex 485 188 47 196617 gate 3 1;
#P button 562 62 15 1;
#P newex 562 79 40 196617 uzi 3;
#P comment 562 48 284 196617 2) click the bang twice while watching
the output window;
#P message 522 62 30 196617 read;
#B color 1;
#P newex 522 158 102 196617 jit.qt.movie @rate 0;
#P comment 522 48 16 196617 1);
#P connect 20 0 32 0;
#P connect 20 0 29 0;
#P connect 19 0 31 0;
#P connect 19 0 28 0;
#P connect 18 0 30 0;
#P connect 18 0 27 0;
#P connect 17 0 20 0;
#P connect 16 0 19 0;
#P connect 15 0 18 0;
#P connect 26 0 23 0;
#P connect 23 0 10 0;
#P connect 10 0 9 0;
#P connect 9 0 14 0;
#P connect 14 0 7 0;
#P fasten 14 1 7 0 70 163 30 163;
#P fasten 22 0 6 0 614 185 490 185;
#P fasten 6 0 15 0 490 215 490 215;
#P connect 2 0 1 0;
#P connect 4 0 1 0;
#P connect 21 0 1 0;
#P connect 1 0 6 1;
#P connect 5 0 4 0;
#P fasten 6 1 16 0 508 218 579 218;
#P connect 4 2 24 0;
#P connect 24 1 22 0;
#P connect 22 1 21 0;
#P fasten 6 2 17 0 526 211 667 211;
#P window clipboard copycount 33;

#81049
Jul 26, 2006 at 4:38pm

I’ve run up against this issue before. I believe that it is
intended, but a subtle side-effect of sending the matrix name via the
jitter patch cords, instead of actual matrix data. I think that this
small change fixes it – I change the out_name of the jit.qt.movie
each time it outputs a frame, like so:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 640 135 32 196617 print;
#P toggle 446 314 15 0;
#P newex 552 314 29 196617 gate;
#P newex 463 314 29 196617 gate;
#P newex 552 333 55 196617 jit.matrix;
#P newex 463 333 55 196617 jit.matrix;
#P button 22 36 15 1;
#P comment 22 22 21 196617 0);
#P newex 589 73 27 196617 t b i;
#P newex 22 56 60 196617 loadmess 1;
#P newex 606 93 27 196617 t i i;
#P message 628 113 153 196617 frame_true $1 , out_name $1_o;
#P newex 659 322 252 196617 jit.gl.texture MyOutput @name tex3
@matrixoutput 1;
#P newex 571 293 252 196617 jit.gl.texture MyOutput @name tex2
@matrixoutput 1;
#P newex 482 264 252 196617 jit.gl.texture MyOutput @name tex1
@matrixoutput 1;
#P user jit.pwindow 658 199 82 62 0 1 0 0 1 0;
#P user jit.pwindow 570 199 82 62 0 1 0 0 1 0;
#P user jit.pwindow 481 199 82 62 0 1 0 0 1 0;
#P newex 22 117 50 196617 t b erase;
#P window linecount 2;
#P newex 22 272 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex3 @position 2 0 -1;
#P newex 22 236 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex2 @position 0 0 -1;
#P newex 22 201 333 196617 jit.gl.gridshape MyOutput @matrixoutput 0
@shape plane @blend_enable 0 @depth_enable 1 @automatic 1 @texture
tex1 @position -2 0 -1;
#P toggle 22 78 15 0;
#P window linecount 1;
#P newex 22 98 57 196617 qmetro 40;
#P window linecount 2;
#P newex 22 164 243 196617 jit.window MyOutput @depthbuffer 1
@doublebuffer 1 @fsmenubar 0 @rect 0 50 720 338;
#P window linecount 1;
#P newex 22 141 111 196617 jit.gl.render MyOutput;
#P newex 482 162 47 196617 gate 3 1;
#P button 559 36 15 1;
#P newex 559 53 40 196617 uzi 3;
#P comment 559 22 284 196617 2) click the bang twice while watching
the output window;
#P message 519 36 30 196617 read;
#B color 1;
#P newex 519 132 102 196617 jit.qt.movie @rate 0;
#P comment 519 22 16 196617 1);
#P window linecount 3;
#P comment 374 314 70 196617 3) open the gate and repeat step 2;
#P connect 22 0 2 0;
#P connect 22 0 33 0;
#P connect 18 0 21 0;
#P fasten 7 2 18 0 523 185 664 185;
#P connect 23 1 22 0;
#P connect 25 1 23 0;
#P connect 5 2 25 0;
#P connect 17 0 20 0;
#P fasten 7 1 17 0 505 192 576 192;
#P connect 6 0 5 0;
#P connect 31 0 29 0;
#P connect 2 0 7 1;
#P connect 5 0 2 0;
#P connect 3 0 2 0;
#P connect 19 0 30 1;
#P connect 16 0 19 0;
#P fasten 7 0 16 0 487 189 487 189;
#P fasten 23 0 7 0 611 159 487 159;
#P connect 30 0 28 0;
#P fasten 15 1 8 0 67 137 27 137;
#P connect 15 0 8 0;
#P connect 10 0 15 0;
#P connect 11 0 10 0;
#P connect 24 0 11 0;
#P connect 27 0 24 0;
#P connect 20 0 31 1;
#P connect 32 0 31 0;
#P connect 32 0 30 0;
#P window clipboard copycount 34;

On Jul 26, 2006, at 4:28 PM, Mattijs Kneppers wrote:

>
> Hi wesley, thanks for your reply, your version is indeed a solution
> to this problem.
>
> Could it be that the matrix objects you appended to the
> jit.gl.texture force the texture objects (or the movie object) to
> assign unique matrix id’s to the textures? I assume that’s the
> reason that the render now recognizes them as different images.
>
> Below I made another version that describes the issue wesley’s way.
> This is unintended behaviour, right?
>
> Mattijs
>
> #P toggle 446 314 15 0;
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P newex 552 314 29 196617 gate;
> #P newex 463 314 29 196617 gate;
> #P newex 552 333 55 196617 jit.matrix;
> #P newex 463 333 55 196617 jit.matrix;
> #P button 22 36 15 1;
> #P comment 22 22 21 196617 0);
> #P newex 589 73 27 196617 t b i;
> #P newex 22 56 60 196617 loadmess 1;
> #P newex 606 93 27 196617 t i i;
> #P message 623 113 77 196617 frame_true $1;
> #P newex 659 322 252 196617 jit.gl.texture MyOutput @name tex3
> @matrixoutput 1;
> #P newex 571 293 252 196617 jit.gl.texture MyOutput @name tex2
> @matrixoutput 1;
> #P newex 482 264 252 196617 jit.gl.texture MyOutput @name tex1
> @matrixoutput 1;
> #P user jit.pwindow 658 199 82 62 0 1 0 0 1 0;
> #P user jit.pwindow 570 199 82 62 0 1 0 0 1 0;
> #P user jit.pwindow 481 199 82 62 0 1 0 0 1 0;
> #P newex 22 117 50 196617 t b erase;
> #P window linecount 2;
> #P newex 22 272 333 196617 jit.gl.gridshape MyOutput @matrixoutput
> 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1
> @texture tex3 @position 2 0 -1;
> #P newex 22 236 333 196617 jit.gl.gridshape MyOutput @matrixoutput
> 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1
> @texture tex2 @position 0 0 -1;
> #P newex 22 201 333 196617 jit.gl.gridshape MyOutput @matrixoutput
> 0 @shape plane @blend_enable 0 @depth_enable 1 @automatic 1
> @texture tex1 @position -2 0 -1;
> #P toggle 22 78 15 0;
> #P window linecount 1;
> #P newex 22 98 57 196617 qmetro 40;
> #P window linecount 2;
> #P newex 22 164 243 196617 jit.window MyOutput @depthbuffer 1
> @doublebuffer 1 @fsmenubar 0 @rect 0 50 720 338;
> #P window linecount 1;
> #P newex 22 141 111 196617 jit.gl.render MyOutput;
> #P newex 482 162 47 196617 gate 3 1;
> #P button 559 36 15 1;
> #P newex 559 53 40 196617 uzi 3;
> #P comment 559 22 284 196617 2) click the bang twice while watching
> the output window;
> #P message 519 36 30 196617 read;
> #B color 1;
> #P newex 519 132 102 196617 jit.qt.movie @rate 0;
> #P comment 519 22 16 196617 1);
> #P window linecount 3;
> #P comment 374 314 70 196617 3) open the gate and repeat step 2;
> #P connect 32 0 30 0;
> #P connect 32 0 31 0;
> #P connect 20 0 31 1;
> #P connect 27 0 24 0;
> #P connect 24 0 11 0;
> #P connect 11 0 10 0;
> #P connect 10 0 15 0;
> #P connect 15 0 8 0;
> #P fasten 15 1 8 0 67 137 27 137;
> #P connect 30 0 28 0;
> #P fasten 23 0 7 0 611 159 487 159;
> #P fasten 7 0 16 0 487 189 487 189;
> #P connect 16 0 19 0;
> #P connect 19 0 30 1;
> #P connect 3 0 2 0;
> #P connect 5 0 2 0;
> #P connect 22 0 2 0;
> #P connect 2 0 7 1;
> #P connect 31 0 29 0;
> #P connect 6 0 5 0;
> #P fasten 7 1 17 0 505 192 576 192;
> #P connect 17 0 20 0;
> #P connect 5 2 25 0;
> #P connect 25 1 23 0;
> #P connect 23 1 22 0;
> #P fasten 7 2 18 0 523 185 664 185;
> #P connect 18 0 21 0;
> #P window clipboard copycount 33;
>

#81050
Jul 27, 2006 at 10:13am

Hi wes, for me the problem was solved with your first post which confirmed that the matrix id was the actual issue.

I am no longer looking for a solution for my own patch but for ‘the common good’ ;), I still believe that this could be implemented in a better way. Perhaps the texture object should have the matrix behaviour added, in other words jit.gl.texture could make a copy of the texture data as soon as it is updated. Another option would be to add this behaviour as a warning to the help file of jit.gl.texture.

to lowfrequency.org – that is really a nice solution that doesn’t use extra memory like the previous ideas. I can imagine that the drawback is that this out_name has to be unique. This could be a problem when you put the jit.qt.movie in an abstraction and use it multiple times. But there should be a workaround for that, I’ll check it out.

Thanks again both!
Mattijs

#81051

You must be logged in to reply to this topic.