XML Feeds

.

[maxmsp] [Bug?] Wierd behavior with jitter stopping output

Bas van der Graaff per at soon.com
Mon Apr 7 07:53:44 MDT 2008


Hello board,

I've been trying to build some effects for models in Jitter before (thread: http://www.cycling74.com/forums/index.php?t=msg&th=32513&start=0&rid=5118&S=2acef99bdc4239316a3a47066c54051f) but with limited success. This example features an apple with noise instead of z-coordinates. So far, I found a total of 4 ways to turn off my output when it shouldn't, to my knowledge. 

The following movie illustrates this:
http://smadsteck.nl/Matrixmodel.mov

- Attaching the jit.unpack to a jit.pwindow (did not always occur)
- Moving another object connected to jit.unpack to the left of the bang object
- Selecting a certain jit.pwindow
- Sending an extra bang to the jit.noise object (even when disconnecting the original connection, it doesn't work)

Does anyone have any idea what the logic behind this is? And can anyone reproduce this behavior? When checking on the matrix ids being passed around, all of them are different, so one shouldn't influence another. This makes it pretty impossible to create any kind of effect for me...

And of course, here's the patch:

#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 517 327 100 196617 3 Select this jit.pwindow;
#P window linecount 3;
#P comment 517 394 100 196617 4 Connect from the bang object instead of the trigger object;
#P window linecount 2;
#P comment 517 268 100 196617 2 Move jit.op to the left of the trigger;
#P user jit.pwindow 426 215 82 62 0 1 0 0 0 0;
#P button 261 213 15 0;
#P user jit.pwindow 426 317 82 62 0 1 0 0 0 0;
#P button 375 419 15 0;
#P button 388 352 15 0;
#P user jit.pwindow 426 409 82 62 0 1 0 0 1 0;
#P window linecount 1;
#P newex 427 294 101 196617 jit.op @op + @val 0.;
#P newex 375 328 20 196617 t b;
#P newex 375 383 125 196617 jit.noise 1 float32 12120;
#P newex 204 415 66 196617 jit.pack 5;
#P newex 204 239 83 196617 jit.unpack 5;
#P newex 205 472 38 196617 zl join;
#P newex 204 213 51 196617 zl slice 2;
#P message 282 104 42 196617 skin.tif;
#P newex 282 127 68 196617 prepend read;
#P newex 282 149 154 196617 jit.gl.texture mdl @name mytex;
#P button 10 47 15 0;
#P newex 10 74 48 196617 loadbang;
#P message 204 151 73 196617 read apple.obj;
#P message 45 485 50 196617 reset;
#P newex 45 505 155 196617 jit.gl.handle mdl @auto_rotate 1;
#P newex 10 135 57 196617 qmetro 20;
#P newex 10 182 50 196617 t b erase;
#P newex 10 356 80 196617 jit.gl.render mdl;
#P window linecount 3;
#P newex 10 382 137 196617 jit.window mdl @depthbuffer 1 @rect 614 76 934 316 @floating 0;
#P window linecount 2;
#P newex 205 495 315 196617 jit.gl.mesh mdl @draw_mode triangles @texture mytex @smooth_shading 1 @lighting_enable 0 @color 1. 1. 1. 1. @enable 1;
#P newex 204 173 371 196617 jit.gl.model mdl @depth_enable 1 @smooth_shading 1 @material_mode 2 @lighting_enable 0 @color 1. 1. 1. 1. @enable 1 @matrixoutput 1 @drawgroup 1;
#B color 5;
#P window linecount 4;
#P comment 517 210 100 196617 1 Connect unpack outlet 3 to this pwindow (does not always work);
#P connect 19 0 18 2;
#P connect 19 0 24 0;
#P connect 19 0 22 0;
#P connect 21 0 25 0;
#P connect 17 2 20 0;
#P connect 17 2 21 0;
#P connect 20 0 19 0;
#P connect 20 0 23 0;
#P connect 13 0 12 0;
#P connect 14 0 13 0;
#P connect 10 0 6 0;
#P connect 10 0 9 0;
#P connect 10 0 14 0;
#P connect 1 0 15 0;
#P connect 1 0 26 0;
#P connect 17 4 18 4;
#P connect 17 3 18 3;
#P fasten 15 1 16 1 250 234 300 234 300 441 238 441;
#P connect 17 1 18 1;
#P connect 7 0 2 0;
#P connect 16 0 2 0;
#P connect 18 0 16 0;
#P connect 17 0 18 0;
#P connect 15 0 17 0;
#P connect 9 0 1 0;
#P connect 8 0 7 0;
#P connect 5 0 4 0;
#P connect 5 1 4 0;
#P connect 6 0 5 0;
#P connect 11 0 10 0;
#P window clipboard copycount 31;


--
SmadSteck - http://www.smadsteck.nl
Hard- and software for interactive audiovisual sampling


More information about the maxmsp mailing list