{ "patcher": { "fileversion": 1, "appversion": { "major": 9, "minor": 1, "revision": 4, "architecture": "x64", "modernui": 1 }, "classnamespace": "box", "rect": [ 34.0, 77.0, 1212.0, 873.0 ], "boxes": [ { "box": { "id": "obj-9", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 808.0, 730.0, 150.0, 20.0 ], "text": "DOES NOT WORK!", "textcolor": [ 0.9254901960784314, 0.03137254901960784, 0.03137254901960784, 1.0 ] } }, { "box": { "id": "obj-7", "linecount": 3, "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 717.0, 752.0, 150.0, 48.0 ], "presentation_linecount": 3, "text": "switch between videoplanes in windowRight:" } }, { "box": { "id": "obj-3", "linecount": 3, "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 27.0, 762.0, 150.0, 48.0 ], "text": "switch between videoplanes in windowLeft:" } }, { "box": { "id": "obj-77", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 868.0, 778.0, 45.0, 22.0 ], "text": "layer 3" } }, { "box": { "id": "obj-78", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 819.0, 778.0, 45.0, 22.0 ], "text": "layer 1" } }, { "box": { "id": "obj-79", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 717.0, 858.0, 481.0, 22.0 ], "style": "default", "text": "jit.gl.videoplane windowRIght @transform_reset 2 @shader p3d @texture cube @layer 3" } }, { "box": { "id": "obj-71", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 39.5, 904.0, 424.0, 22.0 ], "style": "default", "text": "jit.gl.videoplane windowLeft @transform_reset 2 @texture cube map @layer 2" } }, { "box": { "id": "obj-55", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 175.0, 784.0, 45.0, 22.0 ], "text": "layer 3" } }, { "box": { "id": "obj-37", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 123.0, 784.0, 45.0, 22.0 ], "text": "layer 1" } }, { "box": { "id": "obj-16", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 669.0, 716.0, 71.0, 22.0 ], "text": "jit.rgb2luma" } }, { "box": { "id": "obj-24", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 1154.0, 342.0, 150.0, 20.0 ], "text": "RGB24 1280x720" } }, { "box": { "id": "obj-35", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 858.0, 256.0, 50.0, 22.0 ], "text": "settings" } }, { "box": { "id": "obj-38", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 693.0, 919.0, 549.0, 22.0 ], "style": "default", "text": "jit.gl.videoplane windowRight @transform_reset 2 @rotatexyz 0. 180. 0. @texture cube map @layer 2" } }, { "box": { "fontface": 0, "fontname": "Arial", "fontsize": 12.0, "id": "obj-54", "maxclass": "jit.fpsgui", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 389.0, 144.0, 80.0, 36.0 ] } }, { "box": { "id": "obj-53", "maxclass": "newobj", "numinlets": 1, "numoutlets": 3, "outlettype": [ "jit_matrix", "bang", "" ], "patching_rect": [ 338.0, 110.0, 121.0, 22.0 ], "text": "jit.world windowRight" } }, { "box": { "fontface": 0, "fontname": "Arial", "fontsize": 12.0, "id": "obj-14", "maxclass": "jit.fpsgui", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 211.0, 144.0, 80.0, 36.0 ] } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-19", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 270.0, 218.5, 79.0, 23.0 ], "text": "getformatlist" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-5", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "clear", "clear" ], "patcher": { "fileversion": 1, "appversion": { "major": 9, "minor": 1, "revision": 4, "architecture": "x64", "modernui": 1 }, "classnamespace": "box", "rect": [ 34.0, 79.0, 389.0, 300.0 ], "boxes": [ { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-21", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 50.0, 132.5, 27.0, 23.0 ], "text": "iter" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-23", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "clear" ], "patching_rect": [ 151.0, 132.5, 46.0, 23.0 ], "text": "t clear" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-24", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "clear" ], "patching_rect": [ 302.0, 131.5, 46.0, 23.0 ], "text": "t clear" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-27", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 201.0, 155.5, 107.0, 23.0 ], "text": "prepend append" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-28", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 201.0, 132.5, 27.0, 23.0 ], "text": "iter" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-32", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 50.0, 155.5, 107.0, 23.0 ], "text": "prepend append" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-33", "maxclass": "newobj", "numinlets": 3, "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 50.0, 100.0, 141.0, 23.0 ], "text": "route vdevlist formatlist" } }, { "box": { "comment": "", "id": "obj-1", "index": 1, "maxclass": "inlet", "numinlets": 0, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 50.0, 40.0, 25.0, 25.0 ] } }, { "box": { "comment": "", "id": "obj-5", "index": 1, "maxclass": "outlet", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 95.5, 236.5, 25.0, 25.0 ] } }, { "box": { "comment": "", "id": "obj-13", "index": 2, "maxclass": "outlet", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 246.5, 236.5, 25.0, 25.0 ] } } ], "lines": [ { "patchline": { "destination": [ "obj-33", 0 ], "source": [ "obj-1", 0 ] } }, { "patchline": { "destination": [ "obj-32", 0 ], "source": [ "obj-21", 0 ] } }, { "patchline": { "destination": [ "obj-5", 0 ], "source": [ "obj-23", 0 ] } }, { "patchline": { "destination": [ "obj-13", 0 ], "source": [ "obj-24", 0 ] } }, { "patchline": { "destination": [ "obj-13", 0 ], "source": [ "obj-27", 0 ] } }, { "patchline": { "destination": [ "obj-27", 0 ], "source": [ "obj-28", 0 ] } }, { "patchline": { "destination": [ "obj-5", 0 ], "source": [ "obj-32", 0 ] } }, { "patchline": { "destination": [ "obj-21", 0 ], "order": 1, "source": [ "obj-33", 0 ] } }, { "patchline": { "destination": [ "obj-23", 0 ], "midpoints": [ 59.5, 128.5, 160.5, 128.5 ], "order": 0, "source": [ "obj-33", 0 ] } }, { "patchline": { "destination": [ "obj-24", 0 ], "midpoints": [ 120.5, 124.5, 311.5, 124.5 ], "order": 0, "source": [ "obj-33", 1 ] } }, { "patchline": { "destination": [ "obj-28", 0 ], "midpoints": [ 120.5, 124.5, 210.5, 124.5 ], "order": 1, "source": [ "obj-33", 1 ] } } ] }, "patching_rect": [ 776.0, 313.0, 170.0, 23.0 ], "text": "p vdev/format" } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-6", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 927.0, 388.0, 63.0, 23.0 ], "text": "format $1" } }, { "box": { "id": "obj-12", "items": [ "RGB24 [640 x 480] 30", ",", "RGB24 [160 x 90] 30", ",", "RGB24 [160 x 100] 30", ",", "RGB24 [160 x 120] 30", ",", "RGB24 [176 x 144] 30", ",", "RGB24 [320 x 180] 30", ",", "RGB24 [320 x 200] 30", ",", "RGB24 [320 x 240] 30", ",", "RGB24 [352 x 288] 30", ",", "RGB24 [640 x 360] 30", ",", "RGB24 [640 x 400] 30", ",", "RGB24 [864 x 480] 15", ",", "RGB24 [768 x 480] 30", ",", "RGB24 [800 x 450] 30", ",", "RGB24 [800 x 500] 30", ",", "RGB24 [800 x 600] 30", ",", "RGB24 [960 x 720] 30", ",", "RGB24 [1280 x 720] 15", ",", "RGB24 [1280 x 800] 25", ",", "RGB24 [1280 x 1024] 10", ",", "RGB24 [1600 x 900] 10", ",", "RGB24 [1600 x 1000] 10", ",", "RGB24 [1600 x 1200] 10", ",", "I420 [640 x 480] 30", ",", "I420 [160 x 90] 30", ",", "I420 [160 x 100] 30", ",", "I420 [160 x 120] 30", ",", "I420 [176 x 144] 30", ",", "I420 [320 x 180] 30", ",", "I420 [320 x 200] 30", ",", "I420 [320 x 240] 30", ",", "I420 [352 x 288] 30", ",", "I420 [640 x 360] 30", ",", "I420 [640 x 400] 30", ",", "I420 [864 x 480] 15", ",", "I420 [768 x 480] 30", ",", "I420 [800 x 450] 30", ",", "I420 [800 x 500] 30", ",", "I420 [800 x 600] 30", ",", "I420 [960 x 720] 30", ",", "I420 [1280 x 720] 15", ",", "I420 [1280 x 800] 25", ",", "I420 [1280 x 1024] 10", ",", "I420 [1600 x 900] 10", ",", "I420 [1600 x 1000] 10", ",", "I420 [1600 x 1200] 10" ], "maxclass": "umenu", "numinlets": 1, "numoutlets": 3, "outlettype": [ "int", "", "" ], "parameter_enable": 0, "patching_rect": [ 927.0, 341.0, 211.5, 22.0 ] } }, { "box": { "fontname": "Arial", "fontsize": 13.0, "id": "obj-30", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 776.0, 384.0, 73.0, 23.0 ], "text": "vdevice $1" } }, { "box": { "id": "obj-31", "items": [ "Sony Camera (Imaging Edge)", ",", "Integrated Camera", ",", "Logitech Webcam 600" ], "maxclass": "umenu", "numinlets": 1, "numoutlets": 3, "outlettype": [ "int", "", "" ], "parameter_enable": 0, "patching_rect": [ 776.0, 341.0, 145.0, 22.0 ] } }, { "box": { "id": "obj-13", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 175.0, 219.0, 65.0, 22.0 ], "text": "getvdevlist" } }, { "box": { "id": "obj-28", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 292.0, 317.0, 234.0, 20.0 ], "text": "adjust grab format if output looks pixelated" } }, { "box": { "id": "obj-10", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 292.0, 401.0, 61.0, 22.0 ], "text": "dim $1 $1" } }, { "box": { "id": "obj-11", "maxclass": "newobj", "numinlets": 0, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 292.0, 370.0, 35.0, 22.0 ], "text": "r dim" } }, { "box": { "id": "obj-4", "maxclass": "toggle", "numinlets": 1, "numoutlets": 1, "outlettype": [ "int" ], "parameter_enable": 0, "patching_rect": [ 136.0, 34.0, 48.0, 48.0 ] } }, { "box": { "id": "obj-2", "maxclass": "newobj", "numinlets": 1, "numoutlets": 3, "outlettype": [ "jit_matrix", "bang", "" ], "patching_rect": [ 164.0, 106.0, 113.0, 22.0 ], "text": "jit.world windowLeft" } }, { "box": { "id": "obj-63", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 39.0, 858.0, 473.0, 22.0 ], "style": "default", "text": "jit.gl.videoplane windowLeft @transform_reset 2 @shader p3d @texture cube @layer 3" } }, { "box": { "id": "obj-61", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_gl_texture", "" ], "patching_rect": [ 39.0, 716.0, 607.0, 22.0 ], "style": "default", "text": "jit.gl.texture @rectangle 0 @wrap repeat repeat repeat @dim 512 512 32 @adapt 0 @name cube @usedstdim 1" } }, { "box": { "fontface": 0, "fontname": "Arial", "fontsize": 11.934731801347926, "id": "obj-41", "maxclass": "jit.fpsgui", "mode": 3, "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 131.0, 430.0, 80.0, 36.0 ], "style": "default" } }, { "box": { "id": "obj-18", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 131.0, 316.0, 153.0, 22.0 ], "style": "default", "text": "jit.grab 512 512 @unique 1" } }, { "box": { "background": 1, "id": "obj-22", "maxclass": "jit.pwindow", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 602.0, 512.0, 149.0, 96.0 ], "sync": 1 } } ], "lines": [ { "patchline": { "destination": [ "obj-18", 0 ], "source": [ "obj-10", 0 ] } }, { "patchline": { "destination": [ "obj-10", 0 ], "source": [ "obj-11", 0 ] } }, { "patchline": { "destination": [ "obj-6", 0 ], "source": [ "obj-12", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "source": [ "obj-13", 0 ] } }, { "patchline": { "destination": [ "obj-38", 0 ], "order": 0, "source": [ "obj-16", 0 ] } }, { "patchline": { "destination": [ "obj-71", 0 ], "order": 1, "source": [ "obj-16", 0 ] } }, { "patchline": { "destination": [ "obj-16", 0 ], "order": 0, "source": [ "obj-18", 0 ] } }, { "patchline": { "destination": [ "obj-22", 0 ], "order": 1, "source": [ "obj-18", 0 ] } }, { "patchline": { "destination": [ "obj-41", 0 ], "order": 2, "source": [ "obj-18", 0 ] } }, { "patchline": { "destination": [ "obj-5", 0 ], "midpoints": [ 274.5, 360.0, 667.0, 360.0, 667.0, 303.0, 785.5, 303.0 ], "source": [ "obj-18", 1 ] } }, { "patchline": { "destination": [ "obj-61", 0 ], "order": 3, "source": [ "obj-18", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "source": [ "obj-19", 0 ] } }, { "patchline": { "destination": [ "obj-14", 0 ], "source": [ "obj-2", 1 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "midpoints": [ 785.5, 417.0, 609.0, 417.0, 609.0, 287.0, 140.5, 287.0 ], "source": [ "obj-30", 0 ] } }, { "patchline": { "destination": [ "obj-30", 0 ], "source": [ "obj-31", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "source": [ "obj-35", 0 ] } }, { "patchline": { "destination": [ "obj-63", 0 ], "source": [ "obj-37", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "order": 2, "source": [ "obj-4", 0 ] } }, { "patchline": { "destination": [ "obj-2", 0 ], "order": 1, "source": [ "obj-4", 0 ] } }, { "patchline": { "destination": [ "obj-53", 0 ], "order": 0, "source": [ "obj-4", 0 ] } }, { "patchline": { "destination": [ "obj-12", 0 ], "source": [ "obj-5", 1 ] } }, { "patchline": { "destination": [ "obj-31", 0 ], "source": [ "obj-5", 0 ] } }, { "patchline": { "destination": [ "obj-54", 0 ], "source": [ "obj-53", 1 ] } }, { "patchline": { "destination": [ "obj-63", 0 ], "source": [ "obj-55", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "midpoints": [ 936.5, 442.0, 538.5, 442.0, 538.5, 306.0, 140.5, 306.0 ], "source": [ "obj-6", 0 ] } }, { "patchline": { "destination": [ "obj-79", 0 ], "source": [ "obj-77", 0 ] } }, { "patchline": { "destination": [ "obj-79", 0 ], "source": [ "obj-78", 0 ] } } ], "autosave": 0 } }