Forums > Jitter

output jit.gl.sketch as matrix …

April 12, 2008 | 3:31 pm

Hello !

… Is there a way to do that ?

:-


April 12, 2008 | 4:15 pm

capture to texture and from there to matrix

On Sat, Apr 12, 2008 at 6:31 PM, Derrick Giscloux
wrote:

>
> Hello !
>
> … Is there a way to do that ?
>
> :-
>


April 13, 2008 | 9:11 am

hello
its reply to door rotation post last week…
this little thingie is a bit shorter:
best
alex


April 13, 2008 | 4:12 pm

Yes ! clever , thanks Alex.


April 13, 2008 | 6:13 pm

Alex,

I can’t read your attachment – seems to be corrupt. It’s generally a good idea to zip the file up, or even better, paste the patcher text into your post.

best,
Zachary


April 13, 2008 | 7:51 pm

max v2;
#N vpatcher 96 285 1051 662;
#P window setfont "Sans Serif" 18.;
#P window linecount 1;
#P comment 87 44 250 196626 rotates around Y and X axis;
#P comment 514 42 196 196626 rotates around Y axis;
#P window setfont "Sans Serif" 9.;
#P newex 33 91 48 196617 loadbang;
#P flonum 461 156 26 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 431 156 26 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 402 156 26 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 393 175 99 196617 pak position 0. 0. 0.;
#P message 98 235 220 196617 up 0 1 0 , camera 0. 0. 5. , erase_color 0 0 0 1;
#P newex 61 287 246 196617 jit.window door @border 0 @pos 5 5 @size 320 240;
#P newex 63 190 50 196617 t b erase;
#P newex 63 262 88 196617 jit.gl.render door;
#P toggle 63 146 15 0;
#P newex 63 166 57 196617 qmetro 40;
#P flonum 520 71 26 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 511 90 109 196617 pak rotatexyz 0. 0. 0.;
#P flonum 152 72 26 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 143 91 109 196617 pak rotatexyz 0. 0. 0.;
#P message 198 136 276 196617 reset , glcolor 0 2 0 , moveto -1 1 0 , plane 1 1 , scale 1 1 0;
#P newex 143 209 252 196617 jit.gl.sketch door @depth_enable 1 @lighting_enable 1;
#P message 519 135 271 196617 reset , glcolor 1 0 0 , moveto 1 0 0 , plane 1 1 , scale 1 1 0;
#P newex 511 208 252 196617 jit.gl.sketch door @depth_enable 1 @lighting_enable 1;
#P window setfont "Sans Serif" 18.;
#P comment 470 289 381 196626 shapeorient command also can be useful…;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P user com 271 82 189 196617 36;
#K set 0 27687 28514 27237 29728 25971 29728 25742 25441 27790 8310 25970 29472 27749 8296 24949 29740 8292 24942 29472 29551 28192 3433 28265 29801 24940 26995 24948 26991 28192 14880 28015 30309 29807 8313 15665 11789;
#K end;
#P connect 11 0 10 0;
#P connect 10 0 13 0;
#P connect 15 0 12 0;
#P connect 13 0 12 0;
#P connect 13 1 12 0;
#P fasten 20 0 15 0 38 214 103 214;
#P connect 16 0 4 0;
#P connect 6 0 4 0;
#P connect 5 0 4 0;
#P connect 7 0 6 1;
#P fasten 20 0 5 0 38 132 203 132;
#P connect 17 0 16 1;
#P connect 18 0 16 2;
#P connect 19 0 16 3;
#P connect 16 0 2 0;
#P connect 8 0 2 0;
#P fasten 3 0 2 0 524 179 516 179;
#P fasten 20 0 3 0 38 132 524 132;
#P connect 9 0 8 1;
#P pop;


April 13, 2008 | 10:09 pm

Nice… No need to deal with the math like in my patch. Thanks for posting, Alex.

best,
Zachary


April 14, 2008 | 10:13 am

> No need to deal with the math like in my patch

Hi Zach,
to the contrary, your math example patch gave me many possibilities. So thank you again.


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