XML Feeds

.

[jitter] Re: Re: Basic Question

yair reshef yair99 at gmail.com
Fri Feb 1 03:49:33 MST 2008


you map something to texture using the @capture attribute.



do a search for "sketch cmd_list inherent blend" in the archives.

On Feb 1, 2008 12:02 AM, Eric Wafford <psykel at gmail.com> wrote:
>
> ok, so now I have a basic understanding of rendering audio into the
jit.gl.graph, but now how can I map this to a texture of a plane? I have
tried to a couple of ways, but to no success...  here is my basic start for
the graph part.
>
> max v2;
> #N vpatcher 261 230 1281 823;
> #P origin 0 -30;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 164 179 62 196617 jit.unpack 2;
> #P newex 164 235 314 196617 jit.gl.graph blabla @depth_enable 1 @color 1.
1. 1. 1. @circpoints 1;
> #B color 5;
> #P newex 149 356 194 196617 jit.gl.handle blabla @inherit_transform 1;
> #P newex 190 475 193 196617 jit.window blabla @fsaa 1 @pos 650 100;
> #P newex 145 278 55 196617 t b erase b;
> #P newex 148 335 172 196617 jit.gl.render blabla @depth_enable 1;
> #P user jit.fpsgui 89 162 48 196617 3;
> #P user jit.fpsgui 23 162 60 196617 0;
> #P newex 473 177 30 196617 dac~;
> #P message 426 156 27 196617 stop;
> #P number 185 63 28 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 473 154 65 196617 startwindow;
> #P toggle 145 63 15 0;
> #P newex 145 86 50 196617 qmetro 2;
> #P newex 145 135 106 196617 jit.catch~ 1 @mode 3;
> #N vpatcher 255 120 678 490;
> #P window setfont "Sans Serif" 9.;
> #P number 153 46 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P window linecount 1;
> #P hidden newex 452 402 105 196617 bgcolor 255 230 230;
> #P newex 153 121 40 196617 *~ 0.2;
> #P newex 153 81 56 196617 rect~ 555;
> #P outlet 198 205 15 0;
> #P outlet 69 205 15 0;
> #P connect 3 0 0 0;
> #P connect 5 0 2 0;
> #P connect 2 0 3 0;
> #P connect 3 0 1 0;
> #P pop 1;
> #P newobj 473 99 51 196617 p cycle;
> #N vpatcher 86 108 243 289;
> #P origin 0 397;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P hidden newex 347 321 105 196617 bgcolor 255 230 230;
> #P outlet 27 118 15 0;
> #P window linecount 0;
> #P message 27 98 69 196617 fullscreen \$1;
> #P newex 27 37 40 196617 key;
> #P newex 27 58 54 196617 select 27;
> #P toggle 27 79 15 0;
> #P connect 2 0 1 0;
> #P connect 1 0 0 0;
> #P connect 0 0 3 0;
> #P connect 3 0 4 0;
> #P pop;
> #P newobj 190 457 82 196617 p esc-fullscreen;
> #N vpatcher 309 53 657 324;
> #P window setfont "Sans Serif" 9.;
> #P newex 158 158 20 196617 t b;
> #P newex 158 134 55 196617 route read;
> #P hidden newex 14 29 105 196617 bgcolor 255 230 230;
> #P newex 45 109 99 196617 jit.qt.movie @vol 0.;
> #P newex 45 134 111 196617 prepend texture movie;
> #P outlet 234 169 15 0;
> #P outlet 45 187 15 0;
> #P inlet 45 80 15 0;
> #N vpatcher 78 104 279 266;
> #P window setfont "Sans Serif" 9.;
> #P hidden newex 452 402 105 196617 bgcolor 255 230 230;
> #P newex 30 9 45 196617 loadbang;
> #P outlet 30 127 15 0;
> #P newex 30 82 128 196617 jit.matrix 4 float32 10 10;
> #P message 30 34 111 196617 setall 1. 0.2 0.7 1.;
> #P newex 30 105 101 196617 prepend texture blue;
> #P newex 30 58 50 196617 t b l;
> #P connect 5 0 2 0;
> #P connect 2 0 0 0;
> #P connect 0 0 3 0;
> #P fasten 0 1 3 0 75 78 35 78;
> #P connect 3 0 1 0;
> #P connect 1 0 4 0;
> #P pop;
> #P newobj 57 158 72 196617 p blue texture;
> #P message 75 75 29 196617 read;
> #P message 234 135 73 196617 texture movie;
> #P comment 76 60 188 196617 &#8226; click here to use a movie as a
tetxure;
> #P connect 2 0 8 0;
> #P connect 4 0 8 0;
> #P connect 8 0 7 0;
> #P connect 3 0 5 0;
> #P connect 7 0 5 0;
> #P connect 8 1 10 0;
> #P connect 10 0 11 0;
> #P fasten 11 0 1 0 163 184 221 184 221 123 239 123;
> #P connect 1 0 6 0;
> #P pop;
> #P newobj 189 303 55 196617 p textures;
> #P user panel 184 298 65 29;
> #X brgb 255 255 255;
> #X frgb 100 202 30;
> #X border 2;
> #X rounded 0;
> #X shadow 0;
> #X done;
> #P fasten 4 0 11 0 150 157 28 157;
> #P fasten 4 0 12 0 150 157 94 157;
> #P connect 6 0 5 0;
> #P fasten 3 0 4 0 478 123 150 123;
> #P connect 5 0 4 0;
> #P connect 4 0 14 0;
> #P connect 1 0 13 0;
> #P connect 14 0 13 0;
> #P fasten 16 0 13 0 154 375 128 375 128 330 153 330;
> #P connect 14 1 13 0;
> #P fasten 4 0 18 0 150 157 169 157;
> #P fasten 1 1 17 0 239 330 250 330 250 272 158 272 158 236 169 236;
> #P connect 18 0 17 0;
> #P connect 8 0 5 1;
> #P connect 14 2 1 0;
> #P connect 2 0 15 0;
> #P hidden connect 7 0 10 0;
> #P hidden connect 9 0 10 0;
> #P pop;
>
>
> Any help would be awesome, just basic guidance of getting it onto the
plane would rock, I know how to move them around and stuff..
>
>
>
> _______________________________________________
> jitter mailing list
> jitter at cycling74.com
> http://www.cycling74.com/mailman/listinfo/jitter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cycling74.com/pipermail/jitter/attachments/20080201/ea0e0a0a/attachment.htm


More information about the jitter mailing list