Forums > Jitter

rendering multiple jit.gl.mesh @capture

April 6, 2008 | 1:16 am

Hey list,

Ive captured three different meshes using the capture atr. to a texture. Ive then drawn video planes using the textures and rendered them using AB’s sketch @layer method but I am only getting one videoplane. Ive tried changing all of the videoplane’
s color attributes to 0. 0. 0. <1. but to no avail.

Heres the patch.

max v2;
#N vpatcher 74 41 1244 793;
#P window setfont "Sans Serif" 10.;
#P window linecount 1;
#P comment 751 359 103 9109514 matrix manpulation;
#P comment 392 359 103 9109514 matrix manpulation;
#P window setfont "Sans Serif" 9.;
#P newex 767 233 47 9109513 r draw;
#P objectname receive[3];
#P newex 69 233 47 9109513 r draw;
#P objectname receive[2];
#P newex 767 382 53 9109513 jit.pack 3;
#P newex 767 333 63 9109513 jit.unpack 3;
#P flonum 941 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[10];
#P flonum 899 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[11];
#P flonum 859 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[12];
#P newex 879 481 86 9109513 pak scale 0 0 0;
#P flonum 944 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[13];
#P flonum 904 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[14];
#P flonum 864 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[15];
#P newex 863 414 96 9109513 pak position 0 0 0;
#P number 803 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[8];
#P number 767 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[9];
#P newex 767 481 106 9109513 pak blend_mode 0 0;
#P toggle 997 392 14 0;
#P objectname toggle[7];
#P message 968 414 85 9109513 auto_normals $1;
#P toggle 869 348 15 0;
#P objectname toggle[8];
#P message 869 367 94 9109513 smooth_shading $1;
#P toggle 968 348 15 0;
#P objectname toggle[9];
#P message 968 367 90 9109513 lighting_enable $1;
#P window linecount 3;
#P newex 767 524 282 9109513 jit.gl.mesh cymon @blend_enable 1 @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_fan @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture high @blend_mode 6 1;
#P objectname jit.gl.mesh[2];
#P window linecount 1;
#P newex 767 265 269 9109513 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#P newex 418 382 53 9109513 jit.pack 3;
#P newex 418 333 63 9109513 jit.unpack 3;
#P flonum 592 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[1];
#P flonum 550 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[2];
#P flonum 510 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[3];
#P newex 530 481 86 9109513 pak scale 0 0 0;
#P flonum 595 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[4];
#P flonum 555 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[5];
#P flonum 515 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[6];
#P newex 514 414 96 9109513 pak position 0 0 0;
#P number 454 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[5];
#P number 418 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[6];
#P newex 418 481 106 9109513 pak blend_mode 0 0;
#P toggle 648 392 14 0;
#P objectname toggle[1];
#P message 619 414 85 9109513 auto_normals $1;
#P toggle 520 348 15 0;
#P objectname toggle[2];
#P message 520 367 94 9109513 smooth_shading $1;
#P toggle 619 348 15 0;
#P objectname toggle[6];
#P message 619 367 90 9109513 lighting_enable $1;
#P window linecount 3;
#P newex 418 524 282 9109513 jit.gl.mesh cymon @blend_enable 1 @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_fan @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture mid @blend_mode 6 1;
#P objectname jit.gl.mesh[1];
#P window linecount 1;
#P newex 418 265 290 9109513 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#N vpatcher 64 18 1065 839;
#P window setfont "Sans Serif" 9.;
#P newex 13 445 180 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[7];
#P flonum 199 390 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 199 410 137 9109513 param erase_color 0 0 0 $1;
#P newex 67 419 91 9109513 jit.gl.slab cymon;
#P objectname jit.gl.slab[8];
#P newex 13 391 180 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[9];
#P newex 353 487 399 9109513 jit.gl.videoplane cymon @automatic 0 @name sc_high @transform_reset 2 @color 1. 1. 1. 0.5;
#P objectname jit.gl.videoplane[3];
#P newex 13 362 268 9109513 jit.gl.texture cymon @name high @automatic 0 @dim 465 265;
#P objectname jit.gl.texture[3];
#P newex 13 303 180 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[4];
#P flonum 199 248 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 199 268 137 9109513 param erase_color 0 0 0 $1;
#P newex 67 277 91 9109513 jit.gl.slab cymon;
#P objectname jit.gl.slab[5];
#P newex 13 249 180 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[6];
#P newex 353 345 397 9109513 jit.gl.videoplane cymon @automatic 0 @name sc_mid @transform_reset 2 @color 1. 1. 1. 0.5;
#P objectname jit.gl.videoplane[2];
#P newex 13 220 266 9109513 jit.gl.texture cymon @name mid @automatic 0 @dim 465 265;
#P objectname jit.gl.texture[2];
#P newex 13 37 33 9109513 r draw;
#P objectname receive[1];
#P newex 13 156 180 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[2];
#P flonum 199 101 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 199 121 137 9109513 param erase_color 0 0 0 $1;
#P newex 67 130 91 9109513 jit.gl.slab cymon;
#P objectname jit.gl.slab[3];
#P newex 13 102 180 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[1];
#P newex 353 198 395 9109513 jit.gl.videoplane cymon @automatic 0 @name sc_low @transform_reset 2 @color 1. 1. 1. 0.5;
#P objectname jit.gl.videoplane[1];
#P newex 13 73 264 9109513 jit.gl.texture cymon @name low @automatic 0 @dim 465 265;
#P objectname jit.gl.texture[1];
#P connect 7 0 0 0;
#P connect 0 0 2 0;
#P connect 4 0 2 0;
#P connect 2 0 6 0;
#P fasten 7 0 8 0 18 64 18 64;
#P connect 12 0 10 0;
#P connect 8 0 10 0;
#P connect 10 0 14 0;
#P fasten 7 0 15 0 18 64 18 64;
#P connect 19 0 17 0;
#P connect 15 0 17 0;
#P connect 17 0 21 0;
#P connect 2 0 3 0;
#P connect 10 0 11 0;
#P connect 17 0 18 0;
#P connect 3 0 2 1;
#P connect 11 0 10 1;
#P connect 18 0 17 1;
#P connect 5 0 4 0;
#P connect 13 0 12 0;
#P connect 20 0 19 0;
#P fasten 6 0 1 0 18 186 358 186;
#P fasten 14 0 9 0 18 333 358 333;
#P fasten 21 0 16 0 18 475 358 475;
#P pop;
#P newobj 855 99 61 9109513 p processing;
#N vpatcher 497 200 910 516;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 46 53 281 9109513 reset , drawobject sc_low , drawobject sc_mid , drawobject sc_high ,;
#P newex 46 73 234 9109513 jit.gl.sketch cymon @layer 1 @capture tex_scene;
#P message 47 132 164 9109513 reset , drawobject scene_plane1 0;
#P newex 47 152 140 9109513 jit.gl.sketch cymon @layer 2;
#P newex 11 26 48 9109513 loadbang;
#P newex 11 232 248 9109513 jit.gl.texture cymon @name tex_scene @automatic 0;
#P objectname jit.gl.texture[2];
#P window linecount 2;
#P newex 11 252 260 9109513 jit.gl.videoplane cymon @automatic 0 @name scene_plane1 @transform_reset 2 @texture tex_scene;
#P objectname jit.gl.videoplane[2];
#P fasten 2 0 6 0 16 49 51 49;
#P connect 6 0 5 0;
#P fasten 2 0 4 0 16 99 52 99;
#P connect 4 0 3 0;
#P pop 1;
#P newobj 845 77 71 9109513 p rendermaster;
#P newex 69 382 53 9109513 jit.pack 3;
#P newex 69 333 63 9109513 jit.unpack 3;
#P newex 73 139 347 9109513 jit.window cymon @depthbuffer 1 @fsaa 6 @border 1 @floating 1 @dim 465 265;
#P objectname jit.window;
#P flonum 243 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[18];
#P flonum 201 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[17];
#P flonum 161 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[16];
#P newex 181 481 86 9109513 pak scale 0 0 0;
#P flonum 246 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[9];
#P flonum 206 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[8];
#P flonum 166 392 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[7];
#P newex 165 414 96 9109513 pak position 0 0 0;
#P number 105 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[3];
#P number 69 454 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[2];
#P newex 69 481 106 9109513 pak blend_mode 0 0;
#P toggle 290 392 14 0;
#P objectname toggle[5];
#P message 270 414 85 9109513 auto_normals $1;
#P toggle 171 348 15 0;
#P objectname toggle[4];
#P message 171 367 94 9109513 smooth_shading $1;
#P toggle 270 348 15 0;
#P objectname toggle[3];
#P message 270 367 90 9109513 lighting_enable $1;
#P window linecount 3;
#P newex 69 524 282 9109513 jit.gl.mesh cymon @blend_enable 1 @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_fan @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture low @blend_mode 6 1;
#P objectname jit.gl.mesh;
#P window linecount 1;
#P newex 81 94 41 9109513 s draw;
#P objectname receive[13];
#P message 257 53 29 9109513 reset;
#P window linecount 2;
#P newex 257 77 187 9109513 jit.gl.handle cymon @inherit_transform 1 @auto_rotate 1 @visible 0 @radius 100;
#P objectname handle;
#P window linecount 1;
#P newex 71 68 66 9109513 t b b b erase;
#P newex 71 116 373 9109513 jit.gl.render cymon @erase_color 0. 0. 0. 1. @depth_enable 1 @blend_enable 1;
#P objectname jit.gl.render;
#P toggle 71 28 15 0;
#P objectname toggle;
#P newex 71 47 64 9109513 qmetro 30;
#P window setfont "Sans Serif" 10.;
#P comment 15 359 103 9109514 matrix manpulation;
#P window setfont "Sans Serif" 9.;
#P newex 69 265 290 9109513 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#P newex 418 233 47 9109513 r draw;
#P objectname receive[1];
#P connect 75 0 1 0;
#P connect 1 0 29 0;
#P connect 29 0 30 0;
#P connect 20 0 10 0;
#P connect 30 0 10 0;
#P connect 24 0 10 0;
#P connect 17 0 10 0;
#P hidden connect 11 0 10 0;
#P hidden connect 13 0 10 0;
#P connect 15 0 10 0;
#P connect 4 0 3 0;
#P connect 3 0 6 0;
#P fasten 6 3 5 0 130 115 76 115;
#P fasten 6 0 5 0 76 101 76 101;
#P fasten 7 0 5 0 262 115 76 115;
#P fasten 6 2 9 0 112 90 86 90;
#P connect 29 1 30 1;
#P connect 29 2 30 2;
#P connect 18 0 17 1;
#P connect 19 0 17 2;
#P connect 14 0 13 0;
#P connect 21 0 20 1;
#P connect 25 0 24 1;
#P connect 22 0 20 2;
#P connect 26 0 24 2;
#P connect 23 0 20 3;
#P connect 27 0 24 3;
#P connect 8 0 7 0;
#P connect 12 0 11 0;
#P connect 16 0 15 0;
#P connect 0 0 33 0;
#P connect 33 0 52 0;
#P connect 52 0 53 0;
#P connect 44 0 34 0;
#P connect 53 0 34 0;
#P connect 48 0 34 0;
#P connect 41 0 34 0;
#P hidden connect 35 0 34 0;
#P hidden connect 37 0 34 0;
#P connect 39 0 34 0;
#P connect 52 1 53 1;
#P connect 52 2 53 2;
#P connect 42 0 41 1;
#P connect 43 0 41 2;
#P connect 38 0 37 0;
#P connect 45 0 44 1;
#P connect 49 0 48 1;
#P connect 46 0 44 2;
#P connect 50 0 48 2;
#P connect 47 0 44 3;
#P connect 51 0 48 3;
#P connect 36 0 35 0;
#P connect 40 0 39 0;
#P connect 76 0 54 0;
#P connect 54 0 73 0;
#P connect 73 0 74 0;
#P connect 65 0 55 0;
#P connect 60 0 55 0;
#P hidden connect 58 0 55 0;
#P hidden connect 56 0 55 0;
#P connect 62 0 55 0;
#P connect 69 0 55 0;
#P connect 74 0 55 0;
#P connect 73 1 74 1;
#P connect 73 2 74 2;
#P connect 63 0 62 1;
#P connect 64 0 62 2;
#P connect 59 0 58 0;
#P connect 66 0 65 1;
#P connect 70 0 69 1;
#P connect 67 0 65 2;
#P connect 71 0 69 2;
#P connect 68 0 65 3;
#P connect 72 0 69 3;
#P connect 57 0 56 0;
#P connect 61 0 60 0;
#P pop;

Thanx


April 6, 2008 | 1:23 am

cont. sorry obviously I want to see all the geometries/video planes.


April 6, 2008 | 7:15 pm

a few minor problems with that patch, but i think fundamentally you had the concept correct.

first, all your pak scale’s and pak positions were initialized with 0 instead of 0. (that’s a decimal point not a period). that decimal makes a huge difference. secondly dim is not an attribute of jit.window, but you can set the dim with the second and third arguments to window.
third draw_mode tri_grid is the proper mode for drawing the output of gl.gridshape (assuming you want it to look just like the gridshape, which may not be the case).

as far as the overall concept, the blend_mode’s on the gl.mesh’s aren’t really doing anything since each mesh is being drawn to a separate gl.texture and not composited with anything else in that texture. if you had drawn three mesh’s to the same texture, then perhaps the blending would have come into play.

what i did to fix your patch was to take the jit.gl.slab-op3sources patch from the slab examples patch, and use that to composite the three accum slabs, draw that to one videoplane, which gets drawn by the gl.sketch. now the patch works as it should.

keep in mind, the final step (the capturing of the sketch to tex_scene) is unnecessary with the current structure of your patch. you will only need that if you plan to do some final scene processing to the overall scene, or set up the context sharing for a preview window.

-rob

#P window setfont "Sans Serif" 9.;
#P flonum 947 435 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[21];
#P flonum 608 436 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[20];
#P flonum 270 438 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[19];
#P window setfont "Sans Serif" 10.;
#P window linecount 1;
#P comment 737 362 103 196618 matrix manpulation;
#P comment 378 362 103 196618 matrix manpulation;
#P window setfont "Sans Serif" 9.;
#P newex 753 236 47 196617 r draw;
#P objectname receive[3];
#P newex 55 236 47 196617 r draw;
#P objectname receive[2];
#P newex 753 385 53 196617 jit.pack 3;
#P newex 753 336 63 196617 jit.unpack 3;
#P flonum 927 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[10];
#P flonum 885 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[11];
#P flonum 845 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[12];
#P newex 865 484 87 196617 pak scale 0. 0. 0.;
#P flonum 930 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[13];
#P flonum 890 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[14];
#P flonum 850 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[15];
#P newex 849 417 99 196617 pak position 0. 0. 0.;
#P toggle 983 395 14 0;
#P objectname toggle[7];
#P message 954 417 85 196617 auto_normals $1;
#P toggle 855 351 15 0;
#P objectname toggle[8];
#P message 855 370 94 196617 smooth_shading $1;
#P toggle 954 351 15 0;
#P objectname toggle[9];
#P message 954 370 90 196617 lighting_enable $1;
#P window linecount 3;
#P newex 753 527 311 196617 jit.gl.mesh cymon @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_grid @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture high @scale 0.2 0.2 0.2 @position 0. -0.4 0.;
#P objectname jit.gl.mesh[2];
#P window linecount 1;
#P newex 753 268 298 196617 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#P newex 404 385 53 196617 jit.pack 3;
#P newex 404 336 63 196617 jit.unpack 3;
#P flonum 578 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[1];
#P flonum 536 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[2];
#P flonum 496 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[3];
#P newex 516 484 87 196617 pak scale 0. 0. 0.;
#P flonum 581 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[4];
#P flonum 541 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[5];
#P flonum 501 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[6];
#P newex 500 417 99 196617 pak position 0. 0. 0.;
#P toggle 634 395 14 0;
#P objectname toggle[1];
#P message 605 417 85 196617 auto_normals $1;
#P toggle 506 351 15 0;
#P objectname toggle[2];
#P message 506 370 94 196617 smooth_shading $1;
#P toggle 605 351 15 0;
#P objectname toggle[6];
#P message 605 370 90 196617 lighting_enable $1;
#P window linecount 3;
#P newex 404 526 304 196617 jit.gl.mesh cymon @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_grid @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture mid @scale 0.3 0.3 0.3 @position 0. 0. 0.;
#P objectname jit.gl.mesh[1];
#P window linecount 1;
#P newex 404 268 290 196617 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#N vpatcher 386 79 923 768;
#P window setfont "Sans Serif" 9.;
#N vpatcher 348 337 1002 784;
#P outlet 57 243 15 0;
#P inlet 233 191 15 0;
#P inlet 51 97 15 0;
#P inlet 31 98 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 67 194 52 196617 r slabbo2;
#P newex 304 399 52 196617 s slabbo2;
#P flonum 440 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 440 307 95 196617 param in2offset $1;
#P flonum 343 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 343 307 92 196617 param in2scale $1;
#P flonum 440 338 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 440 359 95 196617 param outoffset $1;
#P flonum 440 234 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 440 255 90 196617 param inoffset $1;
#P flonum 343 338 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 343 359 92 196617 param outscale $1;
#P flonum 343 234 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 343 255 85 196617 param inscale $1;
#P user ubumenu 95 170 60 196617 0 1 1 0;
#X add pass;
#X add mult;
#X add div;
#X add add;
#X add sub;
#X add mod;
#X add min;
#X add max;
#X add abs;
#X add avg;
#X add absdiff;
#X add and;
#X add or;
#X add xor;
#X add not;
#X add gt;
#X add lt;
#X add gte;
#X add lte;
#X add eq;
#X add neq;
#X add gtp;
#X add ltp;
#X add gtep;
#X add ltep;
#X add eqp;
#X add neqp;
#X add sin;
#X add cos;
#X add tan;
#X add asin;
#X add acos;
#X add atan;
#X add atan2;
#X add sinh;
#X add cosh;
#X add tanh;
#X add asinh;
#X add acosh;
#X add atanh;
#X add exp;
#X add exp2;
#X add ln;
#X add log2;
#X add log10;
#X add hypot;
#X add pow;
#X add sqrt;
#X add ceil;
#X add floor;
#X add fract;
#X add normsin;
#X add normcos;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P newex 120 192 111 196617 sprintf read op.%s.jxs;
#P newex 57 217 164 196617 jit.gl.slab cymon @file op.max.jxs;
#P newex 315 216 52 196617 s slabbo1;
#P newex 69 95 52 196617 r slabbo1;
#P flonum 451 103 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 451 124 95 196617 param in2offset $1;
#P flonum 354 103 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 354 124 92 196617 param in2scale $1;
#P flonum 451 155 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 451 176 95 196617 param outoffset $1;
#P flonum 451 51 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 451 72 90 196617 param inoffset $1;
#P flonum 354 155 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 354 176 92 196617 param outscale $1;
#P flonum 354 51 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 354 72 85 196617 param inscale $1;
#P user ubumenu 100 68 60 196617 0 1 1 0;
#X add pass;
#X add mult;
#X add div;
#X add add;
#X add sub;
#X add mod;
#X add min;
#X add max;
#X add abs;
#X add avg;
#X add absdiff;
#X add and;
#X add or;
#X add xor;
#X add not;
#X add gt;
#X add lt;
#X add gte;
#X add lte;
#X add eq;
#X add neq;
#X add gtp;
#X add ltp;
#X add gtep;
#X add ltep;
#X add eqp;
#X add neqp;
#X add sin;
#X add cos;
#X add tan;
#X add asin;
#X add acos;
#X add atan;
#X add atan2;
#X add sinh;
#X add cosh;
#X add tanh;
#X add asinh;
#X add acosh;
#X add atanh;
#X add exp;
#X add exp2;
#X add ln;
#X add log2;
#X add log10;
#X add hypot;
#X add pow;
#X add sqrt;
#X add ceil;
#X add floor;
#X add fract;
#X add normsin;
#X add normcos;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 125 94 111 196617 sprintf read op.%s.jxs;
#P newex 57 128 164 196617 jit.gl.slab cymon @file op.max.jxs;
#P fasten 34 0 0 0 36 120 62 120;
#P connect 15 0 0 0;
#P fasten 1 0 0 0 130 116 62 116;
#P connect 0 0 17 0;
#P connect 33 0 17 0;
#P fasten 18 0 17 0 125 214 62 214;
#P connect 17 0 37 0;
#P connect 19 1 18 0;
#P connect 2 1 1 0;
#P fasten 35 0 0 1 56 120 216 120;
#P fasten 36 0 17 1 238 211 216 211;
#P fasten 28 0 32 0 348 329 309 329;
#P fasten 22 0 32 0 348 381 309 381;
#P fasten 20 0 32 0 348 277 309 277;
#P fasten 24 0 32 0 445 273 309 273;
#P fasten 30 0 32 0 445 325 309 325;
#P fasten 26 0 32 0 445 377 309 377;
#P fasten 9 0 16 0 456 194 320 194;
#P fasten 13 0 16 0 456 142 320 142;
#P fasten 7 0 16 0 456 90 320 90;
#P fasten 3 0 16 0 359 94 320 94;
#P fasten 5 0 16 0 359 198 320 198;
#P fasten 11 0 16 0 359 146 320 146;
#P connect 21 0 20 0;
#P connect 29 0 28 0;
#P connect 23 0 22 0;
#P connect 4 0 3 0;
#P connect 12 0 11 0;
#P connect 6 0 5 0;
#P connect 25 0 24 0;
#P connect 31 0 30 0;
#P connect 27 0 26 0;
#P connect 8 0 7 0;
#P connect 14 0 13 0;
#P connect 10 0 9 0;
#P pop;
#P newobj 212 554 111 196617 p composite;
#P newex 13 445 173 196617 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[7];
#P flonum 199 390 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 199 410 137 196617 param erase_color 0 0 0 $1;
#P newex 67 419 85 196617 jit.gl.slab cymon;
#P objectname jit.gl.slab[8];
#P newex 13 391 173 196617 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[9];
#P newex 212 588 228 196617 jit.gl.videoplane cymon @automatic 0 @name sc_high @transform_reset 2 @color 1. 1. 1. 0.5;
#P objectname jit.gl.videoplane[3];
#P newex 13 362 289 196617 jit.gl.texture cymon @name high @automatic 0 @dim 465 265;
#P objectname jit.gl.texture[3];
#P newex 13 303 173 196617 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[4];
#P flonum 199 248 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 199 268 137 196617 param erase_color 0 0 0 $1;
#P newex 67 277 85 196617 jit.gl.slab cymon;
#P objectname jit.gl.slab[5];
#P newex 13 249 173 196617 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[6];
#P newex 13 220 287 196617 jit.gl.texture cymon @name mid @automatic 0 @dim 465 265;
#P objectname jit.gl.texture[2];
#P newex 13 37 41 196617 r draw;
#P objectname receive[1];
#P newex 13 156 173 196617 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[2];
#P flonum 199 101 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 199 121 137 196617 param erase_color 0 0 0 $1;
#P newex 67 130 85 196617 jit.gl.slab cymon;
#P objectname jit.gl.slab[3];
#P newex 13 102 173 196617 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[1];
#P newex 13 73 287 196617 jit.gl.texture cymon @name low @automatic 0 @dim 465 265;
#P objectname jit.gl.texture[1];
#P connect 6 0 0 0;
#P connect 0 0 1 0;
#P connect 3 0 1 0;
#P connect 1 0 5 0;
#P fasten 6 0 7 0 18 64 18 64;
#P connect 10 0 8 0;
#P connect 7 0 8 0;
#P connect 8 0 12 0;
#P fasten 6 0 13 0 18 64 18 64;
#P connect 17 0 15 0;
#P connect 13 0 15 0;
#P connect 15 0 19 0;
#P connect 1 0 2 0;
#P connect 8 0 9 0;
#P connect 15 0 16 0;
#P connect 2 0 1 1;
#P connect 9 0 8 1;
#P connect 16 0 15 1;
#P connect 4 0 3 0;
#P connect 11 0 10 0;
#P connect 18 0 17 0;
#P fasten 5 0 20 0 18 540 217 540;
#P connect 20 0 14 0;
#P fasten 12 0 20 1 18 528 267 528;
#P fasten 19 0 20 2 18 516 317 516;
#P pop;
#P newobj 841 102 61 196617 p processing;
#N vpatcher 497 200 910 516;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 46 53 133 196617 reset , drawobject sc_high ,;
#P newex 46 73 234 196617 jit.gl.sketch cymon @layer 1 @capture tex_scene;
#P message 47 132 164 196617 reset , drawobject scene_plane1 0;
#P newex 47 152 140 196617 jit.gl.sketch cymon @layer 2;
#P newex 11 26 48 196617 loadbang;
#P newex 11 232 248 196617 jit.gl.texture cymon @name tex_scene @automatic 0;
#P objectname jit.gl.texture[2];
#P window linecount 2;
#P newex 11 252 260 196617 jit.gl.videoplane cymon @automatic 0 @name scene_plane1 @transform_reset 2 @texture tex_scene;
#P objectname jit.gl.videoplane[2];
#P fasten 2 0 6 0 16 49 51 49;
#P connect 6 0 5 0;
#P fasten 2 0 4 0 16 99 52 99;
#P connect 4 0 3 0;
#P pop 1;
#P newobj 831 80 85 196617 p rendermaster;
#P newex 55 385 53 196617 jit.pack 3;
#P newex 55 336 63 196617 jit.unpack 3;
#P newex 59 142 347 196617 jit.window cymon 465 265 @depthbuffer 1 @fsaa 6 @border 1 @floating 1;
#P objectname jit.window;
#P flonum 229 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[18];
#P flonum 187 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[17];
#P flonum 147 457 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[16];
#P newex 167 484 87 196617 pak scale 0. 0. 0.;
#P flonum 232 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[9];
#P flonum 192 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[8];
#P flonum 152 395 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[7];
#P newex 151 418 99 196617 pak position 0. 0. 0.;
#P toggle 276 395 14 0;
#P objectname toggle[5];
#P message 256 417 85 196617 auto_normals $1;
#P toggle 157 351 15 0;
#P objectname toggle[4];
#P message 157 370 94 196617 smooth_shading $1;
#P toggle 256 351 15 0;
#P objectname toggle[3];
#P message 256 370 90 196617 lighting_enable $1;
#P window linecount 3;
#P newex 55 527 304 196617 jit.gl.mesh cymon @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_grid @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture low @scale 0.2 0.2 0.2 @position 0. 0.4 0.;
#P objectname jit.gl.mesh;
#P window linecount 1;
#P newex 67 97 41 196617 s draw;
#P objectname receive[13];
#P message 243 56 29 196617 reset;
#P window linecount 2;
#P newex 243 80 201 196617 jit.gl.handle cymon @inherit_transform 1 @auto_rotate 1 @visible 0 @radius 100;
#P objectname handle;
#P window linecount 1;
#P newex 57 71 66 196617 t b b b erase;
#P newex 57 119 373 196617 jit.gl.render cymon @erase_color 0. 0. 0. 1. @depth_enable 1 @blend_enable 1;
#P objectname jit.gl.render;
#P toggle 57 31 15 0;
#P objectname toggle;
#P newex 57 50 64 196617 qmetro 30;
#P window setfont "Sans Serif" 10.;
#P comment 1 362 103 196618 matrix manpulation;
#P window setfont "Sans Serif" 9.;
#P newex 55 268 290 196617 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#P newex 404 236 47 196617 r draw;
#P objectname receive[1];
#P connect 66 0 1 0;
#P connect 1 0 26 0;
#P connect 26 0 27 0;
#P connect 27 0 10 0;
#P hidden connect 11 0 10 0;
#P hidden connect 13 0 10 0;
#P connect 15 0 10 0;
#P connect 21 0 10 0;
#P connect 17 0 10 0;
#P connect 4 0 3 0;
#P connect 3 0 6 0;
#P fasten 6 3 5 0 116 118 62 118;
#P fasten 6 0 5 0 62 104 62 104;
#P fasten 7 0 5 0 248 118 62 118;
#P fasten 6 2 9 0 98 93 72 93;
#P connect 26 1 27 1;
#P connect 26 2 27 2;
#P connect 70 0 22 0;
#P connect 14 0 13 0;
#P connect 18 0 17 1;
#P connect 70 0 23 0;
#P connect 22 0 21 1;
#P connect 19 0 17 2;
#P connect 23 0 21 2;
#P connect 70 0 24 0;
#P connect 20 0 17 3;
#P connect 24 0 21 3;
#P connect 8 0 7 0;
#P connect 12 0 11 0;
#P connect 16 0 15 0;
#P connect 0 0 30 0;
#P connect 30 0 46 0;
#P connect 46 0 47 0;
#P connect 38 0 31 0;
#P connect 42 0 31 0;
#P connect 47 0 31 0;
#P hidden connect 32 0 31 0;
#P hidden connect 34 0 31 0;
#P connect 36 0 31 0;
#P connect 46 1 47 1;
#P connect 46 2 47 2;
#P connect 71 0 43 0;
#P connect 35 0 34 0;
#P connect 39 0 38 1;
#P connect 71 0 44 0;
#P connect 43 0 42 1;
#P connect 40 0 38 2;
#P connect 44 0 42 2;
#P connect 71 0 45 0;
#P connect 41 0 38 3;
#P connect 45 0 42 3;
#P connect 33 0 32 0;
#P connect 37 0 36 0;
#P connect 67 0 48 0;
#P connect 48 0 64 0;
#P connect 64 0 65 0;
#P connect 54 0 49 0;
#P hidden connect 52 0 49 0;
#P hidden connect 50 0 49 0;
#P connect 65 0 49 0;
#P connect 60 0 49 0;
#P connect 56 0 49 0;
#P connect 64 1 65 1;
#P connect 64 2 65 2;
#P connect 72 0 61 0;
#P connect 53 0 52 0;
#P connect 57 0 56 1;
#P connect 72 0 62 0;
#P connect 61 0 60 1;
#P connect 58 0 56 2;
#P connect 62 0 60 2;
#P connect 72 0 63 0;
#P connect 59 0 56 3;
#P connect 63 0 60 3;
#P connect 51 0 50 0;
#P connect 55 0 54 0;
#P window clipboard copycount 73;


April 6, 2008 | 7:23 pm

should note however, the patch i posted doesn’t care about z-depth of the three mesh objects. if you need that information then its much tricker.


April 8, 2008 | 12:58 am

Ive come to realization that it is important for me to keep the blend modes. Ive tried to capture to a single texture but only one geometry can be seen at a time.

I basically want to be able to do scene processing after it has been rendered.

how can I do this?

thanx

max v2;
#N vpatcher 100 100 1195 735;
#P window setfont "Sans Serif" 9.;
#P user jit.fpsgui 60 176 60 9109513 0;
#P flonum 947 435 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[21];
#P flonum 608 436 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[20];
#P flonum 270 438 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[19];
#P window setfont "Sans Serif" 10.;
#P comment 737 362 103 9109514 matrix manpulation;
#P comment 378 362 103 9109514 matrix manpulation;
#P window setfont "Sans Serif" 9.;
#P newex 753 236 47 9109513 r draw;
#P objectname receive[3];
#P newex 55 236 47 9109513 r draw;
#P objectname receive[2];
#P newex 753 385 53 9109513 jit.pack 3;
#P newex 753 336 63 9109513 jit.unpack 3;
#P flonum 927 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[10];
#P flonum 885 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[11];
#P flonum 845 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[12];
#P newex 865 484 87 9109513 pak scale 0. 0. 0.;
#P flonum 930 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[13];
#P flonum 890 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[14];
#P flonum 850 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[15];
#P newex 849 417 99 9109513 pak position 0. 0. 0.;
#P toggle 983 395 14 0;
#P objectname toggle[7];
#P message 954 417 85 9109513 auto_normals $1;
#P toggle 855 351 15 0;
#P objectname toggle[8];
#P message 855 370 94 9109513 smooth_shading $1;
#P toggle 954 351 15 0;
#P objectname toggle[9];
#P message 954 370 90 9109513 lighting_enable $1;
#P window linecount 3;
#P newex 753 527 304 9109513 jit.gl.mesh cymon @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_grid @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture sc @scale 0.2 0.2 0.2 @position 0. -0.4 0.;
#P objectname jit.gl.mesh[2];
#P window linecount 1;
#P newex 753 268 298 9109513 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#P newex 404 385 53 9109513 jit.pack 3;
#P newex 404 336 63 9109513 jit.unpack 3;
#P flonum 578 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[1];
#P flonum 536 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[2];
#P flonum 496 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[3];
#P newex 516 484 87 9109513 pak scale 0. 0. 0.;
#P flonum 581 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[4];
#P flonum 541 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[5];
#P flonum 501 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[6];
#P newex 500 417 99 9109513 pak position 0. 0. 0.;
#P toggle 634 395 14 0;
#P objectname toggle[1];
#P message 605 417 85 9109513 auto_normals $1;
#P toggle 506 351 15 0;
#P objectname toggle[2];
#P message 506 370 94 9109513 smooth_shading $1;
#P toggle 605 351 15 0;
#P objectname toggle[6];
#P message 605 370 90 9109513 lighting_enable $1;
#P window linecount 3;
#P newex 404 526 296 9109513 jit.gl.mesh cymon @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_grid @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture sc @scale 0.3 0.3 0.3 @position 0. 0. 0.;
#P objectname jit.gl.mesh[1];
#P window linecount 1;
#P newex 404 268 290 9109513 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#N vpatcher 222 210 759 899;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P newex 11 199 213 9109513 jit.gl.videoplane cymon @automatic 0 @name sc_plane @transform_reset 2 @color 1. 1. 1. 0.5;
#P objectname jit.gl.videoplane[3];
#P window linecount 1;
#P newex 13 37 41 9109513 r draw;
#P objectname receive[1];
#P newex 13 156 173 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[2];
#P flonum 199 101 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 199 121 137 9109513 param erase_color 0 0 0 $1;
#P newex 67 130 85 9109513 jit.gl.slab cymon;
#P objectname jit.gl.slab[3];
#P newex 13 102 173 9109513 jit.gl.slab cymon @file co.accum.jxs;
#P objectname jit.gl.slab[1];
#P newex 13 73 261 9109513 jit.gl.texture cymon @name sc @automatic 0 @dim 465 265;
#P objectname jit.gl.texture[1];
#P connect 5 0 7 0;
#P connect 6 0 0 0;
#P connect 0 0 1 0;
#P connect 3 0 1 0;
#P connect 1 0 5 0;
#P connect 1 0 2 0;
#P connect 2 0 1 1;
#P connect 4 0 3 0;
#P pop 1;
#P newobj 841 102 61 9109513 p processing;
#N vpatcher 368 569 781 885;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 46 53 122 9109513 reset , drawobject sc_plane ,;
#P newex 46 73 234 9109513 jit.gl.sketch cymon @layer 1 @capture tex_scene;
#P message 47 132 164 9109513 reset , drawobject scene_plane1 0;
#P newex 47 152 140 9109513 jit.gl.sketch cymon @layer 2;
#P newex 11 26 48 9109513 loadbang;
#P newex 11 232 248 9109513 jit.gl.texture cymon @name tex_scene @automatic 0;
#P objectname jit.gl.texture[2];
#P window linecount 2;
#P newex 11 252 260 9109513 jit.gl.videoplane cymon @automatic 0 @name scene_plane1 @transform_reset 2 @texture tex_scene;
#P objectname jit.gl.videoplane[2];
#P fasten 2 0 6 0 16 49 51 49;
#P connect 6 0 5 0;
#P fasten 2 0 4 0 16 99 52 99;
#P connect 4 0 3 0;
#P pop;
#P newobj 831 80 85 9109513 p rendermaster;
#P newex 55 385 53 9109513 jit.pack 3;
#P newex 55 336 63 9109513 jit.unpack 3;
#P newex 59 142 347 9109513 jit.window cymon 465 265 @depthbuffer 1 @fsaa 6 @border 1 @floating 1;
#P objectname jit.window;
#P flonum 229 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[18];
#P flonum 187 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[17];
#P flonum 147 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[16];
#P newex 167 484 87 9109513 pak scale 0. 0. 0.;
#P flonum 232 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[9];
#P flonum 192 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[8];
#P flonum 152 395 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname flonum[7];
#P newex 151 418 99 9109513 pak position 0. 0. 0.;
#P toggle 276 395 14 0;
#P objectname toggle[5];
#P message 256 417 85 9109513 auto_normals $1;
#P toggle 157 351 15 0;
#P objectname toggle[4];
#P message 157 370 94 9109513 smooth_shading $1;
#P toggle 256 351 15 0;
#P objectname toggle[3];
#P message 256 370 90 9109513 lighting_enable $1;
#P window linecount 3;
#P newex 55 527 301 9109513 jit.gl.mesh cymon @viewalign 1 @scale 1. 1 1 @depth_enable 1 @draw_mode tri_grid @lighting_enable 1 @color 1. 1. 1. 1 @auto_normals 1 @capture sc @scale 0.2 0.2 0.2 @position 0. 0.4 0.;
#P objectname jit.gl.mesh;
#P window linecount 1;
#P newex 67 97 41 9109513 s draw;
#P objectname receive[13];
#P message 243 56 29 9109513 reset;
#P window linecount 2;
#P newex 243 80 201 9109513 jit.gl.handle cymon @inherit_transform 1 @auto_rotate 1 @visible 0 @radius 100;
#P objectname handle;
#P window linecount 1;
#P newex 57 71 66 9109513 t b b b erase;
#P newex 57 119 373 9109513 jit.gl.render cymon @erase_color 0. 0. 0. 1. @depth_enable 1 @blend_enable 1;
#P objectname jit.gl.render;
#P toggle 57 31 15 0;
#P objectname toggle;
#P newex 57 50 64 9109513 qmetro 30;
#P window setfont "Sans Serif" 10.;
#P comment 1 362 103 9109514 matrix manpulation;
#P window setfont "Sans Serif" 9.;
#P newex 55 268 290 9109513 jit.gl.gridshape @shape sphere @matrixoutput 1 @automatic 0;
#P newex 404 236 47 9109513 r draw;
#P objectname receive[1];
#P connect 66 0 1 0;
#P connect 1 0 26 0;
#P connect 26 0 27 0;
#P connect 17 0 10 0;
#P connect 21 0 10 0;
#P connect 15 0 10 0;
#P hidden connect 13 0 10 0;
#P hidden connect 11 0 10 0;
#P connect 27 0 10 0;
#P connect 4 0 3 0;
#P connect 3 0 6 0;
#P fasten 6 3 5 0 116 118 62 118;
#P fasten 6 0 5 0 62 104 62 104;
#P fasten 7 0 5 0 248 118 62 118;
#P connect 5 0 73 0;
#P fasten 6 2 9 0 98 93 72 93;
#P connect 26 1 27 1;
#P connect 26 2 27 2;
#P connect 70 0 22 0;
#P connect 14 0 13 0;
#P connect 18 0 17 1;
#P connect 70 0 23 0;
#P connect 22 0 21 1;
#P connect 19 0 17 2;
#P connect 23 0 21 2;
#P connect 70 0 24 0;
#P connect 20 0 17 3;
#P connect 24 0 21 3;
#P connect 8 0 7 0;
#P connect 12 0 11 0;
#P connect 16 0 15 0;
#P connect 0 0 30 0;
#P connect 30 0 46 0;
#P connect 46 0 47 0;
#P connect 36 0 31 0;
#P hidden connect 34 0 31 0;
#P hidden connect 32 0 31 0;
#P connect 47 0 31 0;
#P connect 42 0 31 0;
#P connect 38 0 31 0;
#P connect 46 1 47 1;
#P connect 46 2 47 2;
#P connect 71 0 43 0;
#P connect 35 0 34 0;
#P connect 39 0 38 1;
#P connect 71 0 44 0;
#P connect 43 0 42 1;
#P connect 40 0 38 2;
#P connect 44 0 42 2;
#P connect 71 0 45 0;
#P connect 41 0 38 3;
#P connect 45 0 42 3;
#P connect 33 0 32 0;
#P connect 37 0 36 0;
#P connect 67 0 48 0;
#P connect 48 0 64 0;
#P connect 64 0 65 0;
#P connect 56 0 49 0;
#P connect 60 0 49 0;
#P connect 65 0 49 0;
#P hidden connect 50 0 49 0;
#P hidden connect 52 0 49 0;
#P connect 54 0 49 0;
#P connect 64 1 65 1;
#P connect 64 2 65 2;
#P connect 72 0 61 0;
#P connect 53 0 52 0;
#P connect 57 0 56 1;
#P connect 72 0 62 0;
#P connect 61 0 60 1;
#P connect 58 0 56 2;
#P connect 62 0 60 2;
#P connect 72 0 63 0;
#P connect 59 0 56 3;
#P connect 63 0 60 3;
#P connect 51 0 50 0;
#P connect 55 0 54 0;
#P pop;


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