{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 3 } , "rect" : [ 200.0, 44.0, 822.0, 631.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 11.595187, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-25", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 449.0, 426.0, 106.0, 60.0 ], "text" : "order of planes for geometry matrix: x, y, z, s, t, a, r, g, b, nx, ny, nz" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-24", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 411.0, 548.0, 134.0, 18.0 ], "text" : "usetexture movietexture" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-23", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 411.0, 525.0, 74.0, 18.0 ], "text" : "usetexture 0" } } , { "box" : { "id" : "obj-22", "maxclass" : "jit.pwindow", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 564.0, 551.0, 16.0, 16.0 ], "planemap" : [ 2, 3, 2, 4 ] } } , { "box" : { "id" : "obj-20", "maxclass" : "jit.pwindow", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 564.0, 509.0, 16.0, 16.0 ], "planemap" : [ 0, 1, 2, 0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-19", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 564.0, 531.0, 100.0, 18.0 ], "text" : "planemap 2 3 2 4" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-18", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 564.0, 489.0, 100.0, 18.0 ], "text" : "planemap 0 1 2 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-67", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 3.0, 312.0, 179.0, 33.0 ], "text" : "send to plane 5 (z) of geometry matrix" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-66", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 3.0, 265.0, 179.0, 20.0 ], "text" : "multiply by a scalar" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-65", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 3.0, 240.0, 179.0, 20.0 ], "text" : "convert to float32" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-64", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 3.0, 215.0, 179.0, 20.0 ], "text" : "calculate sum of rgb components" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-21", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 23.0, 12.0, 147.0, 60.0 ], "text" : "this patch shows creating a grid geometry, and texturing and displacing the geometry with a movie." } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-63", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 515.0, 38.0, 104.0, 20.0 ], "text" : "set geometry dims" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-62", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 666.0, 377.0, 118.0, 60.0 ], "text" : "a small 2x2x5 matrix is created \"by hand\", then interpolated to create geometry." } } , { "box" : { "bgcolor" : [ 0.827451, 0.827451, 0.827451, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-61", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 458.0, 80.0, 59.0, 18.0 ], "text" : "dim $1 $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-60", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], "patching_rect" : [ 615.0, 60.0, 46.5, 20.0 ], "text" : "t b i" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "hidden" : 1, "id" : "obj-59", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 524.0, 20.0, 21.0, 18.0 ], "text" : "64" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-58", "maxclass" : "number", "mouseup" : 1, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 615.0, 38.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-57", "linecount" : 6, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 655.0, 247.0, 108.0, 84.0 ], "text" : "plane 0, -0.5 -0.5 0.5 0.5, plane 1, -0.5 0.5 -0.5 0.5, plane 2, 0. 0. 0. 0., plane 3, 0. 1. 0. 1., plane 4, 0. 0. 1. 1." } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-56", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 655.0, 334.0, 63.0, 20.0 ], "text" : "jit.fill small" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-55", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 655.0, 357.0, 151.0, 20.0 ], "text" : "jit.matrix small 5 float32 2 2" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-54", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 518.0, 245.0, 92.0, 20.0 ], "text" : "z displace scale" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-53", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 469.0, 245.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "hidden" : 1, "id" : "obj-52", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.0, 20.0, 33.0, 18.0 ], "text" : "0.25" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-51", "maxclass" : "newobj", "numinlets" : 5, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 180.0, 312.0, 223.0, 20.0 ], "text" : "jit.pack 5 float32 64 64 @out_name geom" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-50", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 180.0, 290.0, 23.0, 20.0 ], "text" : "t b" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 180.0, 265.0, 151.0, 20.0 ], "text" : "jit.op 1 float32 64 64 @op *" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-48", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 180.0, 240.0, 232.0, 20.0 ], "text" : "jit.matrix 1 float32 64 64 @thru 1 @interp 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-41", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 180.0, 215.0, 260.0, 20.0 ], "text" : "jit.scalebias 4 char 64 64 @mode 1 @scale 0.33" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-26", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 545.0, 440.0, 130.0, 33.0 ], "text" : "jit.matrix geom 5 float32 64 64 @interp 1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 3 } , "rect" : [ 104.0, 44.0, 441.0, 216.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "id" : "obj-15", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 340.0, 34.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-14", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 340.0, 57.0, 85.0, 18.0 ], "text" : "auto_rotate $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-5", "linecount" : 4, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 18.0, 111.0, 125.0, 60.0 ], "text" : "jit.window render_grid @rect 10 50 200 200 @depthbuffer 1 @fsmenubar 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-13", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 287.0, 106.0, 150.0, 46.0 ], "text" : "inherit_transform is important here, since we are controlling jit.gl.render" } } , { "box" : { "comment" : "", "id" : "obj-12", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 170.0, 164.0, 25.0, 25.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-11", "linecount" : 5, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 170.0, 88.0, 120.0, 73.0 ], "text" : "jit.gl.handle render_grid @inherit_transform 1 @depth_enable 1 @tracking 8" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-10", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 301.0, 57.0, 36.0, 18.0 ], "text" : "reset" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-8", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 240.0, 57.0, 58.0, 18.0 ], "text" : "radius $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-9", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 240.0, 34.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-7", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 170.0, 57.0, 67.0, 18.0 ], "text" : "tracking $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-6", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 170.0, 34.0, 50.0, 20.0 ] } } , { "box" : { "id" : "obj-4", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 18.0, 62.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 18.0, 85.0, 106.0, 20.0 ], "text" : "prepend fullscreen" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 18.0, 39.0, 57.0, 20.0 ], "text" : "select 27" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 4, "outlettype" : [ "int", "int", "int", "int" ], "patching_rect" : [ 18.0, 16.0, 46.0, 20.0 ], "text" : "key" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 310.5, 83.0, 179.5, 83.0 ], "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 349.5, 86.0, 179.5, 86.0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 179.5, 77.0, 179.5, 77.0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 249.5, 80.0, 179.5, 80.0 ], "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ], "dependency_cache" : [ ] } , "patching_rect" : [ 497.0, 337.0, 131.0, 20.0 ], "saved_object_attributes" : { "fontface" : 0, "fontsize" : 10.0, "globalpatchername" : "", "default_fontface" : 0, "digest" : "", "default_fontname" : "Arial", "fontname" : "Arial", "default_fontsize" : 10.0, "tags" : "", "description" : "" } , "text" : "p window-mouse-rotate" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-46", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 486.0, 281.0, 156.0, 60.0 ], "text" : "the window is made in here. drag in window to rotate the rendered geometry. hit 'esc' to toggle fullscreen mode." } } , { "box" : { "fontname" : "Arial Black", "fontsize" : 22.69252, "id" : "obj-45", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 505.0, 155.0, 278.0, 38.0 ], "text" : "Movie to Texture Grid" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-44", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 289.0, 374.0, 96.0, 20.0 ], "text" : "other draw prims" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-43", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 178.0, 374.0, 97.0, 20.0 ], "text" : "default draw prim" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-42", "items" : [ "points", ",", "lines", ",", "line_strip", ",", "line_loop", ",", "triangles", ",", "tri_strip", ",", "tri_fan", ",", "quads", ",", "quad_strip", ",", "polygon", ",", "tri_grid", ",", "quad_grid" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 286.0, 392.0, 100.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-40", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 202.0, 392.0, 46.0, 18.0 ], "text" : "tri_grid" } } , { "box" : { "id" : "obj-39", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 277.0, 537.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-38", "linecount" : 3, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 166.0, 417.0, 265.0, 44.0 ], "text" : "lookat 0 0 0, camera 0. -0.5 1.5, color 1. 1. 1. 0.5, erase_color 0. 0. 0. 1., depth_enable 1, texture movietexture 64 64, usetexture movietexture" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "hidden" : 1, "id" : "obj-37", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 175.0, 517.0, 25.0, 18.0 ], "text" : "45." } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-36", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 175.0, 537.0, 48.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-35", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 277.0, 560.0, 99.0, 18.0 ], "text" : "poly_mode $1 $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-34", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 175.0, 560.0, 81.0, 18.0 ], "text" : "lens_angle $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-33", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 249.0, 505.0, 56.0, 18.0 ], "text" : "interp $1" } } , { "box" : { "id" : "obj-32", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 249.0, 482.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 380.0, 594.0, 130.0, 20.0 ], "text" : "jit.gl.render render_grid" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "hidden" : 1, "id" : "obj-17", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 467.0, 21.0, 18.0, 18.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "hidden" : 1, "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 465.0, 0.0, 58.0, 20.0 ], "text" : "loadbang" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-15", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 204.0, 187.0, 148.0, 20.0 ], "text" : "send texture to jit.gl.render" } } , { "box" : { "id" : "obj-14", "maxclass" : "jit.pwindow", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 368.0, 146.0, 32.0, 32.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-13", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 347.0, 178.0, 93.0, 33.0 ], "text" : "prepend texture movietexture" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "erase" ], "patching_rect" : [ 180.0, 337.0, 65.0, 20.0 ], "text" : "t b b erase" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-11", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 390.0, 19.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-10", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 200.0, 15.0, 180.0, 20.0 ], "text" : "• read a movie and turn metro on" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-9", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 390.0, 41.0, 47.0, 18.0 ], "text" : "rate $1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-8", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 357.0, 41.0, 32.5, 18.0 ], "text" : "stop" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-7", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 323.0, 41.0, 33.0, 18.0 ], "text" : "start" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-6", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 288.0, 41.0, 34.0, 18.0 ], "text" : "read" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 180.0, 66.0, 111.0, 20.0 ], "text" : "jit.qt.movie 160 120" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 180.0, 40.0, 56.0, 20.0 ], "text" : "metro 20" } } , { "box" : { "id" : "obj-3", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 180.0, 16.0, 22.0, 22.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 180.0, 122.0, 278.0, 20.0 ], "text" : "jit.matrix 4 char 64 64 @planemap 1 1 2 3 @interp 1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-1", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 192.0, 102.0, 204.0, 20.0 ], "text" : "scale movie and map ARGB to RRGB" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 212.5, 363.0, 554.5, 363.0 ], "source" : [ "obj-12", 1 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 235.5, 358.0, 399.0, 358.0, 399.0, 412.0, 436.0, 412.0, 436.0, 466.0, 389.5, 466.0 ], "source" : [ "obj-12", 2 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 189.5, 368.0, 396.0, 368.0, 396.0, 409.0, 433.0, 409.0, 433.0, 469.0, 389.5, 469.0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 356.5, 287.0, 402.0, 287.0, 402.0, 415.0, 439.0, 415.0, 439.0, 463.0, 389.5, 463.0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-17", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-38", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-52", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-57", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-17", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 189.5, 154.0, 356.5, 154.0 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 189.5, 145.0, 377.5, 145.0 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-41", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 420.5, 545.0, 389.5, 545.0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 420.5, 573.0, 389.5, 573.0 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 554.5, 508.0, 573.5, 508.0 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 554.5, 550.0, 573.5, 550.0 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 554.5, 584.0, 389.5, 584.0 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-33", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-32", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 258.5, 584.0, 389.5, 584.0 ], "source" : [ "obj-33", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 184.5, 587.0, 389.5, 587.0 ], "source" : [ "obj-34", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 286.5, 581.0, 389.5, 581.0 ], "source" : [ "obj-35", 0 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-36", 0 ] } } , { "patchline" : { "destination" : [ "obj-36", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-37", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 175.5, 463.0, 389.5, 463.0 ], "source" : [ "obj-38", 0 ] } } , { "patchline" : { "destination" : [ "obj-35", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-39", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 211.5, 412.0, 158.0, 412.0, 158.0, 469.0, 389.5, 469.0 ], "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-48", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 336.0, 415.0, 161.0, 415.0, 161.0, 466.0, 389.5, 466.0 ], "source" : [ "obj-42", 1 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 506.5, 359.0, 442.0, 359.0, 442.0, 481.0, 389.5, 481.0 ], "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-50", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-51", 2 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 189.5, 288.0, 291.5, 288.0 ], "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-51", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-50", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-51", 0 ] } } , { "patchline" : { "destination" : [ "obj-53", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-52", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-53", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 664.5, 436.0, 554.5, 436.0 ], "source" : [ "obj-55", 0 ] } } , { "patchline" : { "destination" : [ "obj-55", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-56", 0 ] } } , { "patchline" : { "destination" : [ "obj-56", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-57", 0 ] } } , { "patchline" : { "destination" : [ "obj-60", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-58", 0 ] } } , { "patchline" : { "destination" : [ "obj-58", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-59", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 297.5, 63.0, 189.5, 63.0 ], "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-53", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 624.5, 145.0, 478.5, 145.0 ], "source" : [ "obj-60", 0 ] } } , { "patchline" : { "destination" : [ "obj-57", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 624.5, 145.0, 809.0, 145.0, 809.0, 203.0, 664.5, 203.0 ], "source" : [ "obj-60", 0 ] } } , { "patchline" : { "destination" : [ "obj-61", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-60", 1 ] } } , { "patchline" : { "color" : [ 0.239216, 0.643137, 0.709804, 1.0 ], "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 467.5, 102.0, 189.5, 102.0 ], "source" : [ "obj-61", 0 ] } } , { "patchline" : { "color" : [ 0.239216, 0.643137, 0.709804, 1.0 ], "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 467.5, 402.0, 554.5, 402.0 ], "source" : [ "obj-61", 0 ] } } , { "patchline" : { "color" : [ 0.239216, 0.643137, 0.709804, 1.0 ], "destination" : [ "obj-41", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 467.5, 213.0, 189.5, 213.0 ], "source" : [ "obj-61", 0 ] } } , { "patchline" : { "color" : [ 0.239216, 0.643137, 0.709804, 1.0 ], "destination" : [ "obj-48", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 467.5, 237.0, 189.5, 237.0 ], "source" : [ "obj-61", 0 ] } } , { "patchline" : { "color" : [ 0.239216, 0.643137, 0.709804, 1.0 ], "destination" : [ "obj-49", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 467.5, 265.0, 189.5, 265.0 ], "source" : [ "obj-61", 0 ] } } , { "patchline" : { "color" : [ 0.239216, 0.643137, 0.709804, 1.0 ], "destination" : [ "obj-51", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 467.5, 311.0, 189.5, 311.0 ], "source" : [ "obj-61", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 332.5, 63.0, 189.5, 63.0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 366.5, 63.0, 189.5, 63.0 ], "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 399.5, 63.0, 189.5, 63.0 ], "source" : [ "obj-9", 0 ] } } ], "dependency_cache" : [ ] } }