diff --git a/extras/meshwarp-launcher.maxpat b/extras/meshwarp-launcher.maxpat new file mode 100644 index 0000000..acc3902 --- /dev/null +++ b/extras/meshwarp-launcher.maxpat @@ -0,0 +1,84 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 2, + "revision" : 0, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 104.0, 641.0, 354.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "fontsize" : 30.178794438211202, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 76.0, 70.260000000000005, 468.0, 40.0 ], + "text" : "Meshwarp Launcher will go here..." + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 246.0, 209.0, 89.0, 22.0 ], + "text" : "jit.gl.meshwarp" + } + + } + ], + "lines" : [ ], + "dependency_cache" : [ { + "name" : "jit.gl.meshwarp.maxpat", + "bootpath" : "~/dev/cycling/meshwarp/patchers", + "patcherrelativepath" : "../patchers", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "meshwarp.js", + "bootpath" : "~/dev/cycling/meshwarp/code", + "patcherrelativepath" : "../code", + "type" : "TEXT", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/help/jit.gl.meshwarp.maxhelp b/help/jit.gl.meshwarp.maxhelp index 82367c3..b4e31b7 100644 --- a/help/jit.gl.meshwarp.maxhelp +++ b/help/jit.gl.meshwarp.maxhelp @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 494.0, 192.0, 826.0, 527.0 ], + "rect" : [ 34.0, 79.0, 826.0, 527.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -37,6 +37,7 @@ "tags" : "", "style" : "", "subpatcher_template" : "", + "helpsidebarclosed" : 1, "assistshowspatchername" : 0, "boxes" : [ { "box" : { @@ -46,7 +47,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 47.142860054969788, 398.0, 333.0, 24.0 ], - "presentation_linecount" : 4, "text" : "Send your image/video as a Texture to the jit.gl.meshwarp" } @@ -59,8 +59,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 428.0, 182.119050145149231, 127.0, 38.0 ], - "presentation_linecount" : 2, + "patching_rect" : [ 428.0, 182.119050145149231, 127.0, 37.0 ], "text" : "Mode: 0 (mesh)\nMode: 1 (NURBS)" } @@ -73,7 +72,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 447.0, 113.119050145149231, 127.0, 24.0 ], - "presentation_linecount" : 2, "text" : "Number of meshes" } @@ -122,7 +120,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 508.333333333333258, 319.0, 286.0, 53.0 ], + "patching_rect" : [ 508.333333333333258, 319.0, 286.0, 52.0 ], "text" : "Resize single mesh. \nSelect a mesh by its index (0 .. meshes-1) to resize." } @@ -145,7 +143,6 @@ "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 624.0, 374.0, 83.0, 20.0 ], - "presentation_linecount" : 2, "text" : "horizontal dim" } @@ -168,7 +165,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 19.0, 65.0, 516.0, 34.0 ], + "patching_rect" : [ 19.0, 65.0, 516.0, 33.0 ], "text" : "The jit.gl.meshwarp allows to deform visual material projected on an arbitrary number of planes.\nIt can be used either for video-mapping or as a creative tool." } @@ -181,7 +178,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 19.0, 14.0, 241.0, 43.0 ], + "patching_rect" : [ 19.0, 14.0, 241.0, 42.0 ], "text" : "jit.gl.meshwarp" } @@ -388,7 +385,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 98.142860054969788, 247.119050145149231, 80.0, 36.0 ] + "patching_rect" : [ 98.142860054969788, 247.119050145149231, 80.0, 35.0 ] } } @@ -418,6 +415,10 @@ } , { "box" : { + "frozen_object_attributes" : { + "rect" : [ 895, 39, 1535, 519 ] + } +, "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, @@ -593,15 +594,15 @@ ], "dependency_cache" : [ { "name" : "jit.gl.meshwarp.maxpat", - "bootpath" : "D:/MyData/Lavori/Cycling74/MaxMapper_with_Rob/meshwarp", - "patcherrelativepath" : ".", + "bootpath" : "~/dev/cycling/meshwarp/patchers", + "patcherrelativepath" : "../patchers", "type" : "JSON", "implicit" : 1 } , { "name" : "meshwarp.js", - "bootpath" : "D:/MyData/Lavori/Cycling74/MaxMapper_with_Rob/meshwarp", - "patcherrelativepath" : ".", + "bootpath" : "~/dev/cycling/meshwarp/code", + "patcherrelativepath" : "../code", "type" : "TEXT", "implicit" : 1 } diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..97b5104 Binary files /dev/null and b/icon.png differ diff --git a/package-info.json b/package-info.json new file mode 100644 index 0000000..b4378fd --- /dev/null +++ b/package-info.json @@ -0,0 +1,22 @@ +{ + "name" : "meshwarp", + "version" : "0.0.1", + "author" : "Cycling '74", + "description" : "Deform visual material projected on an arbitrary number of planes", + "max_version_min" : "8.2.0", + "max_version_max" : "none", + "os" : { + "macintosh" : { + "min_version" : "none", + "platform" : [ "x64" ] + } +, + "windows" : { + "min_version" : "none", + "platform" : [ "x64" ] + } + + } +, + "homepatcher" : "meshwarp-launcher.maxpat" +} diff --git a/patchers/jit.gl.meshwarp.maxpat b/patchers/jit.gl.meshwarp.maxpat index 0096841..8dbbccd 100644 --- a/patchers/jit.gl.meshwarp.maxpat +++ b/patchers/jit.gl.meshwarp.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 676.0, -1019.0, 768.0, 485.0 ], + "rect" : [ 568.0, 79.0, 876.0, 485.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -171,7 +171,7 @@ "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "jit_gl_texture" ], + "outlettype" : [ "" ], "patching_rect" : [ 47.0, 12.0, 30.0, 30.0 ] }