you map something to texture using the @capture attribute.<br><br><br><br>do a search for "sketch cmd_list inherent blend" in the archives.<br><br>On Feb 1, 2008 12:02 AM, Eric Wafford <<a href="mailto:psykel@gmail.com">psykel@gmail.com</a>> wrote:<br>
> <br>> 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.<br>
> <br>> max v2;<br>> #N vpatcher 261 230 1281 823;<br>> #P origin 0 -30;<br>> #P window setfont "Sans Serif" 9.;<br>> #P window linecount 1;<br>> #P newex 164 179 62 196617 jit.unpack 2;<br>
> #P newex 164 235 314 196617 jit.gl.graph blabla @depth_enable 1 @color 1. 1. 1. 1. @circpoints 1;<br>> #B color 5;<br>> #P newex 149 356 194 196617 jit.gl.handle blabla @inherit_transform 1;<br>> #P newex 190 475 193 196617 jit.window blabla @fsaa 1 @pos 650 100;<br>
> #P newex 145 278 55 196617 t b erase b;<br>> #P newex 148 335 172 196617 jit.gl.render blabla @depth_enable 1;<br>> #P user jit.fpsgui 89 162 48 196617 3;<br>> #P user jit.fpsgui 23 162 60 196617 0;<br>> #P newex 473 177 30 196617 dac~;<br>
> #P message 426 156 27 196617 stop;<br>> #P number 185 63 28 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br>> #P message 473 154 65 196617 startwindow;<br>> #P toggle 145 63 15 0;<br>> #P newex 145 86 50 196617 qmetro 2;<br>
> #P newex 145 135 106 196617 jit.catch~ 1 @mode 3;<br>> #N vpatcher 255 120 678 490;<br>> #P window setfont "Sans Serif" 9.;<br>> #P number 153 46 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br>
> #P window linecount 1;<br>> #P hidden newex 452 402 105 196617 bgcolor 255 230 230;<br>> #P newex 153 121 40 196617 *~ 0.2;<br>> #P newex 153 81 56 196617 rect~ 555;<br>> #P outlet 198 205 15 0;<br>> #P outlet 69 205 15 0;<br>
> #P connect 3 0 0 0;<br>> #P connect 5 0 2 0;<br>> #P connect 2 0 3 0;<br>> #P connect 3 0 1 0;<br>> #P pop 1;<br>> #P newobj 473 99 51 196617 p cycle;<br>> #N vpatcher 86 108 243 289;<br>> #P origin 0 397;<br>
> #P window setfont "Sans Serif" 9.;<br>> #P window linecount 1;<br>> #P hidden newex 347 321 105 196617 bgcolor 255 230 230;<br>> #P outlet 27 118 15 0;<br>> #P window linecount 0;<br>> #P message 27 98 69 196617 fullscreen \$1;<br>
> #P newex 27 37 40 196617 key;<br>> #P newex 27 58 54 196617 select 27;<br>> #P toggle 27 79 15 0;<br>> #P connect 2 0 1 0;<br>> #P connect 1 0 0 0;<br>> #P connect 0 0 3 0;<br>> #P connect 3 0 4 0;<br>
> #P pop;<br>> #P newobj 190 457 82 196617 p esc-fullscreen;<br>> #N vpatcher 309 53 657 324;<br>> #P window setfont "Sans Serif" 9.;<br>> #P newex 158 158 20 196617 t b;<br>> #P newex 158 134 55 196617 route read;<br>
> #P hidden newex 14 29 105 196617 bgcolor 255 230 230;<br>> #P newex 45 109 99 196617 jit.qt.movie @vol 0.;<br>> #P newex 45 134 111 196617 prepend texture movie;<br>> #P outlet 234 169 15 0;<br>> #P outlet 45 187 15 0;<br>
> #P inlet 45 80 15 0;<br>> #N vpatcher 78 104 279 266;<br>> #P window setfont "Sans Serif" 9.;<br>> #P hidden newex 452 402 105 196617 bgcolor 255 230 230;<br>> #P newex 30 9 45 196617 loadbang;<br>
> #P outlet 30 127 15 0;<br>> #P newex 30 82 128 196617 jit.matrix 4 float32 10 10;<br>> #P message 30 34 111 196617 setall 1. 0.2 0.7 1.;<br>> #P newex 30 105 101 196617 prepend texture blue;<br>> #P newex 30 58 50 196617 t b l;<br>
> #P connect 5 0 2 0;<br>> #P connect 2 0 0 0;<br>> #P connect 0 0 3 0;<br>> #P fasten 0 1 3 0 75 78 35 78;<br>> #P connect 3 0 1 0;<br>> #P connect 1 0 4 0;<br>> #P pop;<br>> #P newobj 57 158 72 196617 p blue texture;<br>
> #P message 75 75 29 196617 read;<br>> #P message 234 135 73 196617 texture movie;<br>> #P comment 76 60 188 196617 &#8226; click here to use a movie as a tetxure;<br>> #P connect 2 0 8 0;<br>> #P connect 4 0 8 0;<br>
> #P connect 8 0 7 0;<br>> #P connect 3 0 5 0;<br>> #P connect 7 0 5 0;<br>> #P connect 8 1 10 0;<br>> #P connect 10 0 11 0;<br>> #P fasten 11 0 1 0 163 184 221 184 221 123 239 123;<br>> #P connect 1 0 6 0;<br>
> #P pop;<br>> #P newobj 189 303 55 196617 p textures;<br>> #P user panel 184 298 65 29;<br>> #X brgb 255 255 255;<br>> #X frgb 100 202 30;<br>> #X border 2;<br>> #X rounded 0;<br>> #X shadow 0;<br>
> #X done;<br>> #P fasten 4 0 11 0 150 157 28 157;<br>> #P fasten 4 0 12 0 150 157 94 157;<br>> #P connect 6 0 5 0;<br>> #P fasten 3 0 4 0 478 123 150 123;<br>> #P connect 5 0 4 0;<br>> #P connect 4 0 14 0;<br>
> #P connect 1 0 13 0;<br>> #P connect 14 0 13 0;<br>> #P fasten 16 0 13 0 154 375 128 375 128 330 153 330;<br>> #P connect 14 1 13 0;<br>> #P fasten 4 0 18 0 150 157 169 157;<br>> #P fasten 1 1 17 0 239 330 250 330 250 272 158 272 158 236 169 236;<br>
> #P connect 18 0 17 0;<br>> #P connect 8 0 5 1;<br>> #P connect 14 2 1 0;<br>> #P connect 2 0 15 0;<br>> #P hidden connect 7 0 10 0;<br>> #P hidden connect 9 0 10 0;<br>> #P pop;<br>> <br>> <br>
> 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..<br>> <br>> <br>> <br>> _______________________________________________<br>
> jitter mailing list<br>> <a href="mailto:jitter@cycling74.com">jitter@cycling74.com</a><br>> <a href="http://www.cycling74.com/mailman/listinfo/jitter">http://www.cycling74.com/mailman/listinfo/jitter</a><br>> <br>
<br>