{ "patcher": { "fileversion": 1, "appversion": { "major": 9, "minor": 1, "revision": 4, "architecture": "x64", "modernui": 1 }, "classnamespace": "box", "rect": [ 387.0, 144.0, 1071.0, 739.0 ], "boxes": [ { "box": { "id": "obj-38", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 710.0, 37.0, 176.0, 20.0 ], "text": "Weird behaviour of jit.gl.node" } }, { "box": { "id": "obj-37", "maxclass": "button", "numinlets": 1, "numoutlets": 1, "outlettype": [ "bang" ], "parameter_enable": 0, "patching_rect": [ 782.0, 58.0, 24.0, 24.0 ] } }, { "box": { "id": "obj-36", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 614.0, 37.0, 86.0, 20.0 ], "text": "Default view" } }, { "box": { "id": "obj-34", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 664.0, 15.0, 86.0, 20.0 ], "text": "Example:" } }, { "box": { "id": "obj-33", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 876.0, 94.0, 91.0, 22.0 ], "text": "position 0. 0. -2" } }, { "box": { "id": "obj-15", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 731.0, 94.0, 134.0, 22.0 ], "text": "rotate 79. 0.5 -0.8 -0.05" } }, { "box": { "id": "obj-6", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 496.0, 526.0, 140.0, 22.0 ], "text": "jit.map @map 0. 1. -1. 1." } }, { "box": { "id": "obj-5", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 38.0, 518.0, 140.0, 22.0 ], "text": "jit.map @map 0. 1. -1. 1." } }, { "box": { "id": "obj-2", "linecount": 4, "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 38.0, 237.0, 430.0, 62.0 ], "text": "jit.gl.multiple + 1 jit.gl.gridshape\n-> if you try to move 3d space jit.world with mosue, you can see shapes stay in their position\n-> high shapes generated, always smooth while moving 3d space with mouse" } }, { "box": { "id": "obj-1", "linecount": 3, "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 496.0, 237.0, 518.0, 48.0 ], "text": "jit.gl.multiple + jit.gl.node + 2 jit.gl.gridshape\n-> Shapes doesn't stay in their position and perspective is not working well\n-> high shapes generated, everything dramatically slows down" } }, { "box": { "id": "obj-16", "maxclass": "newobj", "numinlets": 1, "numoutlets": 3, "outlettype": [ "bang", "bang", "" ], "patching_rect": [ 496.0, 427.0, 40.0, 22.0 ], "text": "t b b l" } }, { "box": { "id": "obj-21", "maxclass": "number", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "bang" ], "parameter_enable": 0, "patching_rect": [ 496.0, 364.0, 50.0, 22.0 ] } }, { "box": { "id": "obj-22", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 496.0, 401.0, 45.0, 22.0 ], "text": "dim $1" } }, { "box": { "id": "obj-27", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 799.0, 488.0, 80.0, 22.0 ], "text": "loadmess 0.1" } }, { "box": { "id": "obj-28", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 799.0, 518.0, 87.0, 22.0 ], "text": "setall $1 $1 $1" } }, { "box": { "id": "obj-29", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 491.0, 316.0, 120.0, 20.0 ], "text": "N. shapes" } }, { "box": { "id": "obj-31", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 496.0, 338.0, 77.0, 22.0 ], "text": "loadmess 30" } }, { "box": { "id": "obj-32", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 799.0, 557.0, 103.0, 22.0 ], "text": "jit.matrix 3 float32" } }, { "box": { "id": "obj-35", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 496.0, 489.0, 110.16949415206909, 22.0 ], "text": "jit.noise 3 float32 5" } }, { "box": { "attr": "enable", "id": "obj-4", "maxclass": "attrui", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "parameter_enable": 0, "patching_rect": [ 515.0, 581.0, 150.0, 22.0 ] } }, { "box": { "attr": "enable", "id": "obj-3", "maxclass": "attrui", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "parameter_enable": 0, "patching_rect": [ 64.0, 583.0, 150.0, 22.0 ] } }, { "box": { "id": "obj-30", "maxclass": "newobj", "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 496.0, 616.0, 322.0, 22.0 ], "text": "jit.gl.multiple 2 @glparams position scale @drawto world_1" } }, { "box": { "id": "obj-24", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 646.0, 59.0, 35.0, 22.0 ], "text": "reset" } }, { "box": { "id": "obj-14", "maxclass": "newobj", "numinlets": 1, "numoutlets": 3, "outlettype": [ "bang", "bang", "" ], "patching_rect": [ 38.0, 416.0, 40.0, 22.0 ], "text": "t b b l" } }, { "box": { "id": "obj-20", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 580.0, 757.0, 410.0, 22.0 ], "text": "jit.gl.gridshape @shape cube @dim 20 20 @color 0 0 1 1 @position 2. 0. 0." } }, { "box": { "id": "obj-19", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 604.0, 719.0, 313.0, 22.0 ], "text": "jit.gl.gridshape @shape cube @dim 20 20 @color 1 1 0 1" } }, { "box": { "id": "obj-8", "maxclass": "newobj", "numinlets": 1, "numoutlets": 3, "outlettype": [ "jit_gl_texture", "", "" ], "patching_rect": [ 496.0, 676.0, 187.0, 22.0 ], "text": "jit.gl.node @capture 0 @enable 1" } }, { "box": { "id": "obj-26", "maxclass": "number", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "bang" ], "parameter_enable": 0, "patching_rect": [ 38.0, 364.0, 50.0, 22.0 ] } }, { "box": { "id": "obj-25", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 38.0, 390.0, 45.0, 22.0 ], "text": "dim $1" } }, { "box": { "id": "obj-18", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 341.0, 481.0, 80.0, 22.0 ], "text": "loadmess 0.1" } }, { "box": { "id": "obj-17", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 341.0, 511.0, 87.0, 22.0 ], "text": "setall $1 $1 $1" } }, { "box": { "id": "obj-318", "maxclass": "comment", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 38.0, 316.0, 120.0, 20.0 ], "text": "N. shapes" } }, { "box": { "id": "obj-322", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 38.0, 338.0, 77.0, 22.0 ], "text": "loadmess 30" } }, { "box": { "id": "obj-9", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 341.0, 546.0, 103.0, 22.0 ], "text": "jit.matrix 3 float32" } }, { "box": { "id": "obj-241", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 464.0, 132.0, 90.0, 22.0 ], "text": "loadmess reset" } }, { "box": { "id": "obj-228", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 464.0, 161.0, 125.0, 22.0 ], "text": "jit.gl.handle @hover 1" } }, { "box": { "id": "obj-218", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 38.0, 478.0, 110.16949415206909, 22.0 ], "text": "jit.noise 3 float32 5" } }, { "box": { "id": "obj-220", "maxclass": "newobj", "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 38.0, 616.0, 322.0, 22.0 ], "text": "jit.gl.multiple 2 @glparams position scale @drawto world_1" } }, { "box": { "id": "obj-62", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 380.0, 129.0, 70.0, 22.0 ], "text": "loadmess 1" } }, { "box": { "id": "obj-46", "maxclass": "toggle", "numinlets": 1, "numoutlets": 1, "outlettype": [ "int" ], "parameter_enable": 0, "patching_rect": [ 380.0, 160.0, 24.0, 24.0 ] } }, { "box": { "id": "obj-23", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 38.0, 676.0, 323.0, 22.0 ], "text": "jit.gl.gridshape @shape cube @dim 20 20 @color 1 1 0 0.5" } }, { "box": { "id": "obj-44", "maxclass": "newobj", "numinlets": 1, "numoutlets": 3, "outlettype": [ "jit_matrix", "bang", "" ], "patching_rect": [ 380.0, 194.0, 310.0, 22.0 ], "text": "jit.world world_1 @floating 1 @erase_color 0.2 0.2 0.2 1." } } ], "lines": [ { "patchline": { "destination": [ "obj-18", 0 ], "source": [ "obj-14", 1 ] } }, { "patchline": { "destination": [ "obj-218", 0 ], "order": 1, "source": [ "obj-14", 2 ] } }, { "patchline": { "destination": [ "obj-218", 0 ], "source": [ "obj-14", 0 ] } }, { "patchline": { "destination": [ "obj-9", 0 ], "order": 0, "source": [ "obj-14", 2 ] } }, { "patchline": { "destination": [ "obj-44", 0 ], "source": [ "obj-15", 0 ] } }, { "patchline": { "destination": [ "obj-27", 0 ], "source": [ "obj-16", 1 ] } }, { "patchline": { "destination": [ "obj-32", 0 ], "order": 0, "source": [ "obj-16", 2 ] } }, { "patchline": { "destination": [ "obj-35", 0 ], "order": 1, "source": [ "obj-16", 2 ] } }, { "patchline": { "destination": [ "obj-35", 0 ], "source": [ "obj-16", 0 ] } }, { "patchline": { "destination": [ "obj-9", 0 ], "source": [ "obj-17", 0 ] } }, { "patchline": { "destination": [ "obj-17", 0 ], "source": [ "obj-18", 0 ] } }, { "patchline": { "destination": [ "obj-22", 0 ], "source": [ "obj-21", 0 ] } }, { "patchline": { "destination": [ "obj-5", 0 ], "source": [ "obj-218", 0 ] } }, { "patchline": { "destination": [ "obj-16", 0 ], "source": [ "obj-22", 0 ] } }, { "patchline": { "destination": [ "obj-23", 0 ], "source": [ "obj-220", 0 ] } }, { "patchline": { "destination": [ "obj-44", 0 ], "source": [ "obj-228", 0 ] } }, { "patchline": { "destination": [ "obj-228", 0 ], "source": [ "obj-24", 0 ] } }, { "patchline": { "destination": [ "obj-228", 0 ], "source": [ "obj-241", 0 ] } }, { "patchline": { "destination": [ "obj-14", 0 ], "source": [ "obj-25", 0 ] } }, { "patchline": { "destination": [ "obj-25", 0 ], "source": [ "obj-26", 0 ] } }, { "patchline": { "destination": [ "obj-28", 0 ], "source": [ "obj-27", 0 ] } }, { "patchline": { "destination": [ "obj-32", 0 ], "source": [ "obj-28", 0 ] } }, { "patchline": { "destination": [ "obj-220", 0 ], "source": [ "obj-3", 0 ] } }, { "patchline": { "destination": [ "obj-8", 0 ], "source": [ "obj-30", 0 ] } }, { "patchline": { "destination": [ "obj-21", 0 ], "source": [ "obj-31", 0 ] } }, { "patchline": { "destination": [ "obj-30", 1 ], "source": [ "obj-32", 0 ] } }, { "patchline": { "destination": [ "obj-26", 0 ], "source": [ "obj-322", 0 ] } }, { "patchline": { "destination": [ "obj-44", 0 ], "source": [ "obj-33", 0 ] } }, { "patchline": { "destination": [ "obj-6", 0 ], "source": [ "obj-35", 0 ] } }, { "patchline": { "destination": [ "obj-15", 0 ], "order": 1, "source": [ "obj-37", 0 ] } }, { "patchline": { "destination": [ "obj-33", 0 ], "order": 0, "source": [ "obj-37", 0 ] } }, { "patchline": { "destination": [ "obj-30", 0 ], "source": [ "obj-4", 0 ] } }, { "patchline": { "destination": [ "obj-32", 0 ], "order": 0, "source": [ "obj-44", 1 ] } }, { "patchline": { "destination": [ "obj-9", 0 ], "order": 1, "source": [ "obj-44", 1 ] } }, { "patchline": { "destination": [ "obj-44", 0 ], "source": [ "obj-46", 0 ] } }, { "patchline": { "destination": [ "obj-220", 0 ], "source": [ "obj-5", 0 ] } }, { "patchline": { "destination": [ "obj-30", 0 ], "source": [ "obj-6", 0 ] } }, { "patchline": { "destination": [ "obj-46", 0 ], "source": [ "obj-62", 0 ] } }, { "patchline": { "destination": [ "obj-19", 0 ], "order": 0, "source": [ "obj-8", 1 ] } }, { "patchline": { "destination": [ "obj-20", 0 ], "order": 1, "source": [ "obj-8", 1 ] } }, { "patchline": { "destination": [ "obj-220", 1 ], "source": [ "obj-9", 0 ] } } ], "autosave": 0, "styles": [ { "name": "numberGold-1", "default": { "accentcolor": [ 0.764706, 0.592157, 0.101961, 1.0 ] }, "parentstyle": "", "multi": 0 } ] } }