[maxmsp] [jitter]Exam ple ase
DO_Ray
ceo at diurnal.net
Fri Aug 24 07:38:00 MDT 2007
- Previous message: [maxmsp]beachball
- Next message: [maxmsp] Error including js file on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
L.S. (lectori salutant) Appendix B of the Jittertutorial16 mentions a connection matrix. like: jit_matrix [geometry matrix] [connections matrix] [draw primitive]. Can someone give an working example ? The jit.gl.mesh object accepts these matrices (vertex, texcoord, normal, color, specular, edgeflag, tangent, bitangent, and index data). Can someone give an working example ? Can you achieve the same result as with jit.gl.model ? How ? BTW On Mc ctrl + alt will show all attributes and messages for an object, which keyboard shortcut is there for Windows ? These questions were asked for the prosperity of Max/MSP/Jitter users Sincerely DO_Ray DemoPatch max v2; #N vpatcher 386 78 946 509; #P origin 237 21; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 100 36 48 196617 loadbang; #P newex 362 289 97 196617 jit.gl.handle thither; #P toggle 301 287 15 0; #P message 301 305 55 196617 floating \$1; #P toggle 228 287 15 0; #P newex 189 286 35 196617 sel 27; #P message 228 305 68 196617 fullscreen \$1; #P newex 146 329 164 196617 jit.window thither @depthbuffer 1; #P newex 144 286 40 196617 key; #P button 168 193 15 0; #P button 181 170 15 0; #P window setfont "Sans Serif" 12.; #P number 365 119 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 329 119 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 293 119 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 214 119 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont "Sans Serif" 9.; #P newex 198 167 27 196617 t b l; #P newex 198 143 115 196617 pak setcell 0 0 val 0 0; #P newex 189 191 103 196617 jit.matrix 2 long 4 1; #P window setfont "Sans Serif" 12.; #P newex 24 256 39 196620 zl join; #P number 444 121 35 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont "Sans Serif" 9.; #P newex 463 188 60 196617 prepend set; #P window setfont "Proportional Serif" 10.; #P comment 443 145 95 131727370 Drawing Primitive; #P window setfont "Sans Serif" 9.; #P user ubumenu 445 162 68 196617 0 1 1 0; #X add points; #X add lines; #X add line_strip; #X add line_loop; #X add triangles; #X add tri_strip; #X add tri_fan; #X add quads; #X add quad_strip; #X add polygon; #X add tri_grid; #X add quad_grid; #X prefix_set 0 0 <none> 0; #X pattrmode 1; #P newex 24 299 85 196617 append quad_grid; #P user jit.fpsgui 3 347 60 196617 0; #P newex 3 112 58 196617 t b b erase; #P newex 100 127 61 196617 jit.fill geom; #P window linecount 4; #P message 100 65 96 196617 plane 0 \, 1 -1 -1 1 \, plane 1 \, -1 -1 1 1 \, plane 3 \, 1 0 0 1 \, plane 4 \, 1 1 0 0; #P window linecount 1; #P newex 24 183 139 196617 jit.matrix geom 5 float32 4 1; #P toggle 3 34 15 0; #P newex 3 55 59 196617 metro 80; #P newex 3 325 95 196617 jit.gl.render thither; #B color 5; #P connect 2 0 1 0; #P connect 1 0 6 0; #P connect 6 2 0 0; #P connect 6 0 0 0; #P fasten 30 0 0 0 367 321 8 321; #P connect 8 0 0 0; #P connect 0 0 7 0; #P connect 6 1 3 0; #P connect 3 0 13 0; #P connect 13 0 8 0; #P fasten 11 0 8 0 468 283 29 283; #P connect 14 0 13 1; #P connect 31 0 4 0; #P connect 4 0 5 0; #P fasten 28 0 24 0 306 324 151 324; #P fasten 25 0 24 0 233 324 151 324; #P connect 16 0 22 0; #P connect 16 0 14 0; #P connect 21 0 14 0; #P connect 16 1 14 0; #P fasten 23 0 26 0 149 305 186 305 186 284 194 284; #P connect 15 0 16 0; #P connect 17 0 15 1; #P fasten 26 0 27 0 194 304 225 304 225 284 233 284; #P connect 27 0 25 0; #P connect 18 0 15 4; #P connect 29 0 28 0; #P connect 19 0 15 5; #P connect 12 0 9 0; #P connect 9 1 11 0; #P pop;
- Previous message: [maxmsp]beachball
- Next message: [maxmsp] Error including js file on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
