load video my mouse click


    Jul 04 2012 | 2:03 am
    So, I have 3 movies running at same time on window (They have little dimensions). I have movie 1 at position x y, is it possible when the mouse reaches x and y position of movie 1 it can load and play a different movie in full screen?

    • Jul 04 2012 | 3:10 am
      look to [mousestate], and "fullscreen 1" message to jit.window.
    • Jul 04 2012 | 11:31 am
      It is not that point. Let's forget the fullscreen. I pasted the Patch. So I want to figure out when I click on the video, it can load another one.
      {
      "patcher" : {
      "fileversion" : 1,
      "rect" : [ 111.0, 44.0, 1079.0, 688.0 ],
      "bglocked" : 0,
      "defrect" : [ 111.0, 44.0, 1079.0, 688.0 ],
      "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
      "openinpresentation" : 0,
      "default_fontsize" : 12.0,
      "default_fontface" : 0,
      "default_fontname" : "Arial",
      "gridonopen" : 0,
      "gridsize" : [ 15.0, 15.0 ],
      "gridsnaponopen" : 0,
      "toolbarvisible" : 1,
      "boxanimatetime" : 200,
      "imprint" : 0,
      "boxes" : [ {
      "box" : {
      "maxclass" : "comment",
      "text" : "plane nr 1",
      "id" : "obj-399",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 180.0, 118.0, 103.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "plane nr 2",
      "id" : "obj-398",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 883.0, 120.0, 103.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "timer para por objectos a andar",
      "linecount" : 2,
      "id" : "obj-397",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 600.63855, 657.759033, 103.0, 33.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "janela de output final",
      "linecount" : 2,
      "id" : "obj-396",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 206.63855, 590.759033, 103.0, 33.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "estrutura do render",
      "linecount" : 2,
      "id" : "obj-395",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 31.63855, 647.759033, 103.0, 33.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "button",
      "id" : "obj-385",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 646.0, 595.0, 20.0, 20.0 ],
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "metro 200",
      "id" : "obj-383",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 12.0,
      "patching_rect" : [ 646.0, 558.0, 65.0, 20.0 ],
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-380",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 12.0,
      "patching_rect" : [ 691.0, 630.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-371",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 12.0,
      "patching_rect" : [ 745.0, 630.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "counter 0 0. 10.",
      "id" : "obj-365",
      "fontname" : "Arial",
      "numinlets" : 5,
      "numoutlets" : 4,
      "fontsize" : 12.0,
      "patching_rect" : [ 691.0, 585.0, 94.0, 20.0 ],
      "outlettype" : [ "int", "", "", "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "1.333",
      "id" : "obj-297",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1436.0, 344.0, 38.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "change x scale to match aspect ratio. e.g. typical 4:3 video would have an x scale of 1.333",
      "linecount" : 3,
      "id" : "obj-298",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1431.187866, 293.2771, 174.0, 46.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "umenu",
      "id" : "obj-299",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 3,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1166.0, 180.0, 59.0, 20.0 ],
      "items" : [ "argb", ",", "uyvy" ],
      "outlettype" : [ "int", "", "" ],
      "types" : [ ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "prepend colormode",
      "id" : "obj-300",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1186.0, 210.0, 108.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "id" : "obj-301",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1548.0, 147.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "id" : "obj-302",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1497.0, 147.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak dim 320 240",
      "id" : "obj-303",
      "fontname" : "Arial",
      "numinlets" : 3,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1446.0, 172.0, 121.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-304",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1447.0, 471.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak rotate 0. 0. 0. 1.",
      "id" : "obj-305",
      "fontname" : "Arial",
      "numinlets" : 5,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1424.0, 493.0, 112.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "(under OS X only)",
      "id" : "obj-306",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1262.0, 485.0, 103.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-307",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1243.0, 485.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "client_storage $1",
      "id" : "obj-308",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1243.0, 510.0, 97.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "set blend amount",
      "id" : "obj-309",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 899.0, 401.0, 97.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "r movie",
      "id" : "obj-310",
      "fontname" : "Arial",
      "numinlets" : 0,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1304.0, 173.0, 49.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "1.",
      "id" : "obj-311",
      "hidden" : 1,
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1207.0, 382.0, 18.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_scale_y $1",
      "id" : "obj-312",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1086.0, 307.0, 86.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-313",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1086.0, 284.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_scale_x $1",
      "id" : "obj-314",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 999.0, 307.0, 86.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-315",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 999.0, 284.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_offset_y $1",
      "id" : "obj-316",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1086.0, 254.0, 87.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-317",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1086.0, 232.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_offset_x $1",
      "id" : "obj-318",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 999.0, 255.0, 87.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-319",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 999.0, 233.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-320",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1366.0, 237.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "auto_rotate $1",
      "id" : "obj-321",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1366.0, 260.0, 85.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-322",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1037.0, 186.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "interp $1",
      "id" : "obj-323",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1037.0, 208.0, 54.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "nudge $1",
      "id" : "obj-324",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1089.0, 208.0, 57.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-325",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1089.0, 186.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-326",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1202.0, 417.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "blend_enable $1",
      "id" : "obj-327",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1202.0, 440.0, 94.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-328",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 899.0, 417.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "reset",
      "id" : "obj-329",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1327.0, 261.0, 36.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-330",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1392.0, 147.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "rate $1",
      "id" : "obj-331",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1392.0, 172.0, 47.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "read",
      "id" : "obj-332",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1357.0, 173.0, 34.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.qt.movie 320 240",
      "id" : "obj-333",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1304.0, 208.0, 109.0, 20.0 ],
      "outlettype" : [ "jit_matrix", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-334",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1050.0, 381.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "draw as mesh",
      "id" : "obj-335",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1071.0, 381.0, 100.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-336",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1538.0, 365.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-337",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1487.0, 365.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-338",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1436.0, 365.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak scale 1. 1. 1.",
      "id" : "obj-339",
      "fontname" : "Arial",
      "numinlets" : 4,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1435.0, 392.0, 96.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.gl.handle foo @depth_enable 1 @radius 2.",
      "linecount" : 3,
      "id" : "obj-340",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1327.0, 286.0, 90.0, 46.0 ],
      "outlettype" : [ "", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "id" : "obj-341",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 979.0, 186.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "dim $1 $1",
      "id" : "obj-342",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 979.0, 208.0, 59.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "r plane2",
      "id" : "obj-343",
      "fontname" : "Arial",
      "numinlets" : 0,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 936.0, 294.0, 52.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "s plane2",
      "id" : "obj-344",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 988.0, 501.0, 54.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-345",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1553.433716, 416.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-346",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1502.433716, 416.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-347",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 1451.433716, 416.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "color 1. 1. 1. $1",
      "id" : "obj-348",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 899.0, 440.0, 88.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-349",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1301.0, 417.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "lighting_enable $1",
      "id" : "obj-350",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1301.0, 440.0, 105.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-351",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 844.0, 417.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "axes $1",
      "id" : "obj-352",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 844.0, 440.0, 49.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-353",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1076.0, 417.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-354",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1032.0, 417.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak poly_mode 0 0",
      "id" : "obj-355",
      "fontname" : "Arial",
      "numinlets" : 3,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 988.0, 440.0, 107.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "loadbang",
      "id" : "obj-356",
      "hidden" : 1,
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1203.0, 356.0, 56.0, 20.0 ],
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-357",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 1100.0, 417.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "depth_enable $1",
      "id" : "obj-358",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1100.0, 440.0, 95.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.gl.videoplane foo",
      "id" : "obj-359",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 979.0, 344.0, 108.0, 20.0 ],
      "outlettype" : [ "jit_matrix", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak position 0. 0. 0.",
      "id" : "obj-360",
      "fontname" : "Arial",
      "numinlets" : 4,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1451.0, 442.120483, 109.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "rotate about z axis",
      "id" : "obj-361",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1500.63855, 470.759033, 103.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "set colormode to argb or uyvy",
      "id" : "obj-362",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 1128.0, 159.0, 161.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-46",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 383.0, 615.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "floating $1",
      "id" : "obj-47",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 383.0, 638.0, 62.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "p esc-fullscreen",
      "id" : "obj-71",
      "fontname" : "Arial",
      "numinlets" : 0,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 286.0, 638.0, 90.0, 20.0 ],
      "outlettype" : [ "" ],
      "patcher" : {
      "fileversion" : 1,
      "rect" : [ 86.0, 108.0, 235.0, 205.0 ],
      "bglocked" : 0,
      "defrect" : [ 86.0, 108.0, 235.0, 205.0 ],
      "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
      "openinpresentation" : 0,
      "default_fontsize" : 11.595187,
      "default_fontface" : 0,
      "default_fontname" : "Arial",
      "gridonopen" : 0,
      "gridsize" : [ 15.0, 15.0 ],
      "gridsnaponopen" : 0,
      "toolbarvisible" : 1,
      "boxanimatetime" : 200,
      "imprint" : 0,
      "boxes" : [ {
      "box" : {
      "maxclass" : "comment",
      "text" : "Escape ASCII Code",
      "id" : "obj-7",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 86.0, 67.0, 114.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "outlet",
      "id" : "obj-2",
      "numinlets" : 1,
      "numoutlets" : 0,
      "patching_rect" : [ 27.0, 157.25, 25.0, 25.0 ],
      "comment" : ""
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "fullscreen $1",
      "id" : "obj-3",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 27.0, 127.25, 76.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "key",
      "id" : "obj-4",
      "fontname" : "Arial",
      "numinlets" : 0,
      "numoutlets" : 4,
      "fontsize" : 11.595187,
      "patching_rect" : [ 27.0, 37.0, 46.0, 20.0 ],
      "outlettype" : [ "int", "int", "int", "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "select 27",
      "id" : "obj-5",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 27.0, 67.25, 57.0, 20.0 ],
      "outlettype" : [ "bang", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-6",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 27.0, 97.25, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      ],
      "lines" : [ {
      "patchline" : {
      "source" : [ "obj-4", 0 ],
      "destination" : [ "obj-5", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-5", 0 ],
      "destination" : [ "obj-6", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-6", 0 ],
      "destination" : [ "obj-3", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-3", 0 ],
      "destination" : [ "obj-2", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      ]
      }
      ,
      "saved_object_attributes" : {
      "default_fontname" : "Arial",
      "fontname" : "Arial",
      "default_fontsize" : 11.595187,
      "globalpatchername" : "",
      "fontface" : 0,
      "fontsize" : 11.595187,
      "default_fontface" : 0
      }
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.window foo @depthbuffer 1",
      "id" : "obj-72",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 288.0, 664.0, 163.0, 20.0 ],
      "outlettype" : [ "bang", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "1.333",
      "id" : "obj-1",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 669.0, 341.0, 38.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "maximum" : 2,
      "id" : "obj-2",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 85.0, 559.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ],
      "minimum" : 0
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "change x scale to match aspect ratio. e.g. typical 4:3 video would have an x scale of 1.333",
      "linecount" : 3,
      "id" : "obj-3",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 664.187866, 290.2771, 174.0, 46.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "umenu",
      "id" : "obj-4",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 3,
      "fontsize" : 11.595187,
      "patching_rect" : [ 399.0, 177.0, 59.0, 20.0 ],
      "items" : [ "argb", ",", "uyvy" ],
      "outlettype" : [ "int", "", "" ],
      "types" : [ ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "prepend colormode",
      "id" : "obj-5",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 419.0, 207.0, 108.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "id" : "obj-9",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 781.0, 144.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "id" : "obj-10",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 730.0, 144.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak dim 320 240",
      "id" : "obj-11",
      "fontname" : "Arial",
      "numinlets" : 3,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 679.0, 169.0, 121.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-12",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 680.0, 468.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak rotate 0. 0. 0. 1.",
      "id" : "obj-13",
      "fontname" : "Arial",
      "numinlets" : 5,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 657.0, 490.0, 112.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "(under OS X only)",
      "id" : "obj-14",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 495.0, 482.0, 103.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-15",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 476.0, 482.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "client_storage $1",
      "id" : "obj-16",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 476.0, 507.0, 97.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "set blend amount",
      "id" : "obj-17",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 132.0, 398.0, 97.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "r movie",
      "id" : "obj-18",
      "fontname" : "Arial",
      "numinlets" : 0,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 537.0, 170.0, 49.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "s movie",
      "id" : "obj-19",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 104.0, 306.0, 48.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "1.",
      "id" : "obj-21",
      "hidden" : 1,
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 440.0, 379.0, 18.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_scale_y $1",
      "id" : "obj-22",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 319.0, 304.0, 86.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-23",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 319.0, 281.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_scale_x $1",
      "id" : "obj-24",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 232.0, 304.0, 86.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-25",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 232.0, 281.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_offset_y $1",
      "id" : "obj-26",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 319.0, 251.0, 87.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-27",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 319.0, 229.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "tex_offset_x $1",
      "id" : "obj-28",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 232.0, 252.0, 87.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-29",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 232.0, 230.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-30",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 599.0, 234.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "auto_rotate $1",
      "id" : "obj-31",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 599.0, 257.0, 85.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-32",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 270.0, 183.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "interp $1",
      "id" : "obj-33",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 270.0, 205.0, 54.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "nudge $1",
      "id" : "obj-34",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 322.0, 205.0, 57.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-35",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 322.0, 183.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-37",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 435.0, 414.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "blend_enable $1",
      "id" : "obj-38",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 435.0, 437.0, 94.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-39",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 132.0, 414.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "reset",
      "id" : "obj-40",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 560.0, 258.0, 36.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "ortho $1",
      "id" : "obj-41",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 85.0, 583.0, 51.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-42",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 625.0, 144.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "rate $1",
      "id" : "obj-43",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 625.0, 169.0, 47.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "read",
      "id" : "obj-44",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 590.0, 170.0, 34.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.qt.movie 320 240",
      "id" : "obj-45",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 537.0, 205.0, 109.0, 20.0 ],
      "outlettype" : [ "jit_matrix", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-63",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 283.0, 378.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "draw as mesh",
      "id" : "obj-64",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 304.0, 378.0, 100.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "camera 0 0 4",
      "id" : "obj-65",
      "hidden" : 1,
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 81.0, 509.0, 76.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-66",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 771.0, 362.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-67",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 720.0, 362.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-68",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 669.0, 362.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak scale 1. 1. 1.",
      "id" : "obj-69",
      "fontname" : "Arial",
      "numinlets" : 4,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 668.0, 389.0, 96.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.gl.handle foo @depth_enable 1 @radius 2.",
      "linecount" : 3,
      "id" : "obj-70",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 560.0, 283.0, 90.0, 46.0 ],
      "outlettype" : [ "", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "id" : "obj-76",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 212.0, 183.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "dim $1 $1",
      "id" : "obj-77",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 212.0, 205.0, 59.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "r plane",
      "id" : "obj-78",
      "fontname" : "Arial",
      "numinlets" : 0,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 169.0, 291.0, 46.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "jit.fpsgui",
      "id" : "obj-79",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 85.333328, 329.0, 80.0, 35.0 ],
      "outlettype" : [ "", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "s plane",
      "id" : "obj-80",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 221.0, 498.0, 46.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-81",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 786.433655, 413.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-82",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 735.433655, 413.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "flonum",
      "id" : "obj-83",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 684.433655, 413.0, 50.0, 20.0 ],
      "outlettype" : [ "float", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "color 1. 1. 1. $1",
      "id" : "obj-84",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 132.0, 437.0, 88.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-85",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 534.0, 414.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "lighting_enable $1",
      "id" : "obj-86",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 534.0, 437.0, 105.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-88",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 77.0, 414.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "axes $1",
      "id" : "obj-89",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 77.0, 437.0, 49.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-90",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 309.0, 414.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-91",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 265.0, 414.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak poly_mode 0 0",
      "id" : "obj-92",
      "fontname" : "Arial",
      "numinlets" : 3,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 221.0, 437.0, 107.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "loadbang",
      "id" : "obj-93",
      "hidden" : 1,
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 436.0, 353.0, 56.0, 20.0 ],
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "number",
      "id" : "obj-94",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "triscale" : 0.9,
      "patching_rect" : [ 92.0, 228.0, 50.0, 20.0 ],
      "outlettype" : [ "int", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-95",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 333.0, 414.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "message",
      "text" : "depth_enable $1",
      "id" : "obj-96",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 333.0, 437.0, 95.0, 18.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "toggle",
      "id" : "obj-97",
      "numinlets" : 1,
      "numoutlets" : 1,
      "patching_rect" : [ 48.0, 228.0, 20.0, 20.0 ],
      "outlettype" : [ "int" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "qmetro 20",
      "id" : "obj-98",
      "fontname" : "Arial",
      "numinlets" : 2,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 48.0, 254.0, 63.0, 20.0 ],
      "outlettype" : [ "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "t b erase b b",
      "id" : "obj-99",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 4,
      "fontsize" : 11.595187,
      "patching_rect" : [ 48.0, 281.0, 75.0, 20.0 ],
      "outlettype" : [ "bang", "erase", "bang", "bang" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.gl.videoplane foo",
      "id" : "obj-100",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 212.0, 341.0, 108.0, 20.0 ],
      "outlettype" : [ "jit_matrix", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "jit.gl.render foo",
      "id" : "obj-101",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 2,
      "fontsize" : 11.595187,
      "patching_rect" : [ 48.0, 613.0, 85.0, 20.0 ],
      "outlettype" : [ "bang", "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "newobj",
      "text" : "pak position 0. 0. 0.",
      "id" : "obj-102",
      "fontname" : "Arial",
      "numinlets" : 4,
      "numoutlets" : 1,
      "fontsize" : 11.595187,
      "patching_rect" : [ 684.0, 439.120483, 109.0, 20.0 ],
      "outlettype" : [ "" ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "rotate about z axis",
      "id" : "obj-103",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 733.63855, 467.759033, 103.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "comment",
      "text" : "set colormode to argb or uyvy",
      "id" : "obj-104",
      "fontname" : "Arial",
      "numinlets" : 1,
      "numoutlets" : 0,
      "fontsize" : 11.595187,
      "patching_rect" : [ 361.0, 156.0, 161.0, 20.0 ]
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "bgcolor" : [ 0.498039, 0.647059, 1.0, 1.0 ],
      "id" : "obj-386",
      "numinlets" : 1,
      "numoutlets" : 0,
      "patching_rect" : [ 31.0, 217.0, 145.0, 427.0 ],
      "rounded" : 0
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "bgcolor" : [ 0.54902, 1.0, 0.498039, 1.0 ],
      "id" : "obj-387",
      "numinlets" : 1,
      "numoutlets" : 0,
      "patching_rect" : [ 165.0, 111.0, 675.0, 436.0 ],
      "rounded" : 0
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "bgcolor" : [ 1.0, 0.772549, 0.498039, 1.0 ],
      "id" : "obj-388",
      "numinlets" : 1,
      "numoutlets" : 0,
      "patching_rect" : [ 842.0, 114.0, 780.0, 436.0 ],
      "rounded" : 0
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "bgcolor" : [ 1.0, 0.54902, 0.498039, 1.0 ],
      "id" : "obj-389",
      "numinlets" : 1,
      "numoutlets" : 0,
      "patching_rect" : [ 200.0, 577.0, 349.0, 146.0 ],
      "rounded" : 0
      }
      }
      , {
      "box" : {
      "maxclass" : "panel",
      "bgcolor" : [ 1.0, 0.498039, 0.87451, 1.0 ],
      "id" : "obj-390",
      "numinlets" : 1,
      "numoutlets" : 0,
      "patching_rect" : [ 566.0, 548.0, 349.0, 146.0 ],
      "rounded" : 0
      }
      }
      ],
      "lines" : [ {
      "patchline" : {
      "source" : [ "obj-47", 0 ],
      "destination" : [ "obj-72", 0 ],
      "hidden" : 0,
      "midpoints" : [ 392.5, 662.0, 297.5, 662.0 ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-71", 0 ],
      "destination" : [ "obj-72", 0 ],
      "hidden" : 0,
      "midpoints" : [ 295.5, 662.0, 297.5, 662.0 ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-380", 0 ],
      "destination" : [ "obj-347", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-97", 0 ],
      "destination" : [ "obj-383", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-383", 0 ],
      "destination" : [ "obj-385", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-365", 3 ],
      "destination" : [ "obj-371", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-365", 0 ],
      "destination" : [ "obj-380", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-385", 0 ],
      "destination" : [ "obj-365", 0 ],
      "hidden" : 0,
      "midpoints" : [ ]
      }
      }
      , {
      "patchline" : {
      "source" : [ "obj-343", 0 ],
      "destination" : [ "obj-359", 0 ],
      "hidden" : 0
    • Jul 04 2012 | 6:43 pm
      use Edit-->Copy Compressed and repost your patch... ;)
    • Jul 05 2012 | 2:32 am