Forums > Jitter

jxf files

October 24, 2008 | 9:35 pm

i have found a patch on the web from randall jones that uses jxf files to make a mask on the render window. i


October 25, 2008 | 6:07 pm

You can fill a matrix, then write an jxf file, This is the way I go to create a mask. By the way you can import this mask in a new matrix …

Does it make sense for you?


October 25, 2008 | 7:28 pm

hi kyred,

it makes sense but no idea how to do that..

i tryed it with the export msg.. no way.

thanks


October 25, 2008 | 7:54 pm

Here is one way, basic, on how you can do a mask, i.te
Start here, come back later …

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 443 283 109 196617 read your mask;
#P user jit.pwindow 115 619 82 62 0 1 0 0 1 0;
#P comment 216 588 109 196617 write the mask as file;
#P comment 222 418 109 196617 1-op = reverse values;
#N vpreset 1;
#X append 1 2 10 97 184 number int 0 ; 11 97 145 number int 1 ; 12 97 75 number int 255 ;;
#P preset 279 53 47 27;
#P message 29 540 35 196617 write;
#P newex 75 588 105 196617 jit.matrix 1 char 2 2;
#P number 75 97 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 145 97 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 184 97 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 75 128 131 196617 pack 255 0 0;
#P user jit.pwindow 444 349 82 62 0 1 0 0 1 0;
#P message 405 284 30 196617 read;
#P newex 405 316 55 196617 jit.matrix;
#P user jit.pwindow 118 459 82 62 0 1 0 0 1 0;
#P newex 75 420 115 196617 jit.op @op !- @val 255;
#P user jit.pwindow 114 264 82 62 0 1 0 0 1 0;
#P message 75 153 129 196617 setcell $2 $3 val $1 , bang;
#P newex 75 231 105 196617 jit.matrix 1 char 2 2;
#P comment 213 186 100 196617 1-create zone;
#P fasten 13 0 18 0 80 612 121 612;
#P connect 4 0 13 0;
#P fasten 4 0 5 0 80 448 124 448;
#P connect 1 0 4 0;
#P fasten 1 0 3 0 80 257 120 257;
#P connect 14 0 13 0;
#P connect 2 0 1 0;
#P connect 12 0 9 0;
#P connect 11 0 9 1;
#P connect 10 0 9 2;
#P connect 9 0 2 0;
#P connect 7 0 6 0;
#P fasten 6 0 8 0 410 342 450 342;
#P window clipboard copycount 20;


October 25, 2008 | 7:55 pm

Look at [jit.alphablend] to use your mask.


October 25, 2008 | 8:29 pm

with write.. :)

thanks a lot kyred!


October 25, 2008 | 8:38 pm

one thing kyred. the jxf file of of randall


October 25, 2008 | 8:51 pm

You mean … inside a matrix?


October 25, 2008 | 8:54 pm

I’m pretty curious as a rule, could you post the patch you’re talking about? I have nice ones.


October 25, 2008 | 9:03 pm

it


October 26, 2008 | 4:55 pm

> the jxf file of of randall


October 26, 2008 | 6:52 pm

>Could it be a [jit.matrixset] file?

yes, it is!


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