Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pandrr committed May 15, 2024
1 parent 3384903 commit 3654620
Show file tree
Hide file tree
Showing 12 changed files with 93 additions and 28 deletions.
Binary file modified src/ops/base/Ops.Array.PointArray.PointsRectangle/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,6 @@
"license": "MIT",
"docs": {
"ports": []
}
},
"exampleProjectId": "l1KQN8"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/ops/base/Ops.Gl.DownloadTexture/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/ops/base/Ops.Gl.DownloadTexture_v2/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@
"license": "MIT",
"docs": {
"ports": []
}
},
"exampleProjectId": "15LaTs"
}
102 changes: 82 additions & 20 deletions src/ops/base/Ops.Gl.DownloadTexture_v3/att_subpatch_json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"opId": "7f601f11-6d44-4c0a-842a-51b4fa8ccd6b",
"id": "jqf9xuicl",
"uiAttribs": {
"subPatch": "ky0fpsui7",
"subPatch": "xb8aaibq6",
"translate": {
"x": -12,
"y": -80
},
"blueprintSubpatch2": true,
"tempSubOldOpId": null
"tempSubOldOpId": null,
"color": null
},
"storage": {},
"portsOut": [
Expand All @@ -22,6 +23,12 @@
"portOut": "Next",
"objIn": "dc2cts19z",
"objOut": "jqf9xuicl"
},
{
"portIn": "exe",
"portOut": "Next",
"objIn": "amfuo8tfs",
"objOut": "jqf9xuicl"
}
]
}
Expand All @@ -31,13 +38,14 @@
"opId": "c4e4e933-136e-479e-8de8-0b35b75d9217",
"id": "s3ipieojx",
"uiAttribs": {
"subPatch": "ky0fpsui7",
"subPatch": "xb8aaibq6",
"translate": {
"x": 1,
"y": -420
},
"blueprintSubpatch2": true,
"tempSubOldOpId": null
"tempSubOldOpId": null,
"color": null
},
"storage": {},
"portsOut": [
Expand Down Expand Up @@ -107,13 +115,14 @@
"opId": "02d45073-7936-4830-81ad-59a162febf1f",
"id": "dc2cts19z",
"uiAttribs": {
"subPatch": "ky0fpsui7",
"subPatch": "xb8aaibq6",
"translate": {
"x": 0,
"y": 40
"x": 1,
"y": 109.397909800062
},
"blueprintSubpatch2": true,
"tempSubOldOpId": null
"tempSubOldOpId": null,
"color": null
},
"storage": {},
"portsIn": [
Expand All @@ -127,12 +136,13 @@
"opId": "bc110e48-812d-489d-b1b3-b09c644c6982",
"id": "xtisz9h2s",
"uiAttribs": {
"subPatch": "ky0fpsui7",
"subPatch": "xb8aaibq6",
"translate": {
"x": 312,
"y": -160
},
"blueprintSubpatch2": true
"blueprintSubpatch2": true,
"color": null
},
"storage": {},
"portsIn": [
Expand Down Expand Up @@ -162,11 +172,11 @@
},
{
"name": "add spaces",
"value": false
"value": 0
},
{
"name": "new lines",
"value": false
"value": 0
}
],
"portsOut": [
Expand All @@ -187,12 +197,13 @@
"opId": "6b7f9561-6faf-4df7-ac3b-64235dded700",
"id": "to8nqx69d",
"uiAttribs": {
"subPatch": "ky0fpsui7",
"subPatch": "xb8aaibq6",
"translate": {
"x": 312,
"y": -340
},
"blueprintSubpatch2": true
"blueprintSubpatch2": true,
"color": null
},
"storage": {},
"portsIn": [
Expand Down Expand Up @@ -243,12 +254,13 @@
"opId": "bff9c3d9-e63a-46d2-a59f-932c715aceab",
"id": "129jufs0y",
"uiAttribs": {
"subPatch": "ky0fpsui7",
"subPatch": "xb8aaibq6",
"translate": {
"x": 336,
"y": -260
},
"blueprintSubpatch2": true
"blueprintSubpatch2": true,
"color": null
},
"storage": {},
"portsOut": [
Expand All @@ -269,13 +281,15 @@
"opId": "920090d2-63b2-4aae-8ca7-0b0aacf6bc93",
"id": "g76abal0y",
"uiAttribs": {
"subPatch": "ky0fpsui7",
"subPatch": "xb8aaibq6",
"translate": {
"x": -24,
"y": -240
},
"tempSubOldOpId": null,
"blueprintSubpatch2": true
"blueprintSubpatch2": true,
"color": null,
"error": null
},
"storage": {},
"portsIn": [
Expand All @@ -289,13 +303,13 @@
},
{
"name": "Output dataUrl",
"value": true
"value": 1
}
],
"portsOut": [
{
"name": "Binary Size",
"value": 0
"value": 37964
},
{
"name": "Base64 string",
Expand All @@ -320,10 +334,58 @@
"portOut": "Finished",
"objIn": "jqf9xuicl",
"objOut": "g76abal0y"
},
{
"portIn": "exe",
"portOut": "Finished",
"objIn": "rxnsr0uls",
"objOut": "g76abal0y"
}
]
}
]
},
{
"opId": "e640619f-235c-4543-bbf8-b358e0283180",
"id": "rxnsr0uls",
"uiAttribs": {
"extendTitle": 0,
"subPatch": "xb8aaibq6",
"translate": {
"x": -337.6741504378739,
"y": -88.74245733376421
}
},
"portsOut": [
{
"name": "timesTriggered",
"value": 0
}
],
"storage": {
"ref": "rxnsr0uls"
}
},
{
"opId": "e640619f-235c-4543-bbf8-b358e0283180",
"id": "amfuo8tfs",
"uiAttribs": {
"extendTitle": 0,
"subPatch": "xb8aaibq6",
"translate": {
"x": -249.6035813745615,
"y": 29.397909800061996
}
},
"portsOut": [
{
"name": "timesTriggered",
"value": 0
}
],
"storage": {
"ref": "amfuo8tfs"
}
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
"license": "MIT",
"docs": {
"ports": []
}
},
"exampleProjectId": "t5H1Qc"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ const canvas = document.createElement("canvas");

let pixelReader = new CGL.PixelReader();

dataUrl.onChange =
start.onTriggered = retrySoon;
// dataUrl.onChange =
start.onTriggered = retrySoon;

inFormat.onChange = () =>
{
inQuality.setUiAttribs({ "greyout": inFormat.get() == "PNG" });
retrySoon();
// retrySoon();
};

function retrySoon()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ function renderOverlay(body)
// console.log("sphere")
cgl.pushModelMatrix();
mat4.translate(cgl.mMatrix, cgl.mMatrix, body.pos);
CABLES.UI.OverlayMeshes.drawSphere(op, body.radius, true);
CABLES.UI.OverlayMeshes.drawSphere(op, body.radius * 2, true);
cgl.popModelMatrix();
}
else if (body.type === SHAPE_AABB) // AABB
{
cgl.pushModelMatrix();
mat4.translate(cgl.mMatrix, cgl.mMatrix, body.pos);
CABLES.UI.OverlayMeshes.drawCube(op, body.size[0] / 2, body.size[1] / 2, body.size[2] / 2);
CABLES.UI.OverlayMeshes.drawCube(op, body.size[0], body.size[1], body.size[2]);
cgl.popModelMatrix();
}
else if (body.type === SHAPE_POINT) // point
Expand Down

0 comments on commit 3654620

Please sign in to comment.