Script: Gaussian Splatting Of 3D Ruta

Gaussian Splatting Of 3D Ruta picture
Type
Rete logo indicatorrete
Project
3D Ruta
Date Created
Jun 6, 2024, 4:19:40 PM
Last Edit Date
Jun 12, 2024, 12:33:59 PM

Project Information

This project incorporates parametric chair design with a 3D scanned gaussian splatting of a human ;)

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "6d659b94881086f9": {
      "id": "6d659b94881086f9",
      "name": "bitbybit.babylon.gaussianSplatting.create",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "url": "https://firebasestorage.googleapis.com/v0/b/bit-by-bit-prod.appspot.com/o/users%2FyVqNAFXmieX0iAkdP6wAz5BJ4X82%2Fprojects%2FUBzXJuiF3BaG3Yuu2Kaa%2Fassets%2Fruta.splat?alt=media&token=5151d734-9519-4bba-ba29-7173c2bab431"
      },
      "inputs": {},
      "position": [
        -1195.2793574956847,
        1510.8229948715352
      ]
    },
    "14b8fbd47b6f2286": {
      "id": "14b8fbd47b6f2286",
      "name": "bitbybit.occt.shapes.solid.createBox",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "width": 5,
        "length": 5,
        "height": 0.2,
        "center": [
          0,
          0,
          0
        ]
      },
      "inputs": {
        "center": {
          "connections": [
            {
              "node": "229f401f3ed0d8d9",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -683.0482059298731,
        2038.2447659134432
      ]
    },
    "229f401f3ed0d8d9": {
      "id": "229f401f3ed0d8d9",
      "name": "bitbybit.vector.vectorXYZ",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": -0.4,
        "y": -0.15,
        "z": 0
      },
      "inputs": {},
      "position": [
        -1185.2732811979358,
        1849.6581715778862
      ]
    },
    "27ff98943687a537": {
      "id": "27ff98943687a537",
      "name": "bitbybit.draw.drawAnyAsync",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "options": {
          "connections": [
            {
              "node": "ae85e5b2e6f8838d",
              "output": "result",
              "data": {}
            }
          ]
        },
        "entity": {
          "connections": [
            {
              "node": "742eaae486731fe8",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        146.75154814182133,
        2268.2210594786493
      ]
    },
    "ae85e5b2e6f8838d": {
      "id": "ae85e5b2e6f8838d",
      "name": "bitbybit.draw.optionsOcctShapeSimple",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "precision": 0.01,
        "drawFaces": true,
        "faceColour": "#3d3d3d",
        "drawEdges": false,
        "edgeColour": "#ffffff",
        "edgeWidth": 2
      },
      "inputs": {},
      "position": [
        -834.6338076268535,
        2465.1186525236794
      ]
    },
    "bd211959c16c9830": {
      "id": "bd211959c16c9830",
      "name": "bitbybit.babylon.scene.enableSkybox",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "skybox": "city",
        "size": 1000,
        "blur": 0.5,
        "environmentIntensity": 0.7
      },
      "inputs": {},
      "position": [
        -1161.4183818496763,
        2165.02862190228
      ]
    },
    "742eaae486731fe8": {
      "id": "742eaae486731fe8",
      "name": "bitbybit.occt.fillets.filletEdges",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 0.05
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "14b8fbd47b6f2286",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -328.5699397225112,
        2041.2825898809606
      ]
    },
    "dd1adf78fc89af28": {
      "id": "dd1adf78fc89af28",
      "name": "bitbybit.json.parse",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "text": "[[-1.5,0,0], [-0.4,0,0],[-0,1.2,0],[-1,1.2,0],[-1.2,2.2,0]]"
      },
      "inputs": {},
      "position": [
        2637.1165396098727,
        1919.2676252989424
      ]
    },
    "e9bc60691d06594c": {
      "id": "e9bc60691d06594c",
      "name": "bitbybit.babylon.mesh.setPosition",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "babylonMesh": {
          "connections": [
            {
              "node": "6d659b94881086f9",
              "output": "result",
              "data": {}
            }
          ]
        },
        "position": {
          "connections": [
            {
              "node": "77e2cf250804b136",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -631.5935541675199,
        1312.5269995536514
      ]
    },
    "77e2cf250804b136": {
      "id": "77e2cf250804b136",
      "name": "bitbybit.vector.vectorXYZ",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": -0.6,
        "y": 0.1,
        "z": -0.1
      },
      "inputs": {},
      "position": [
        -1188.3878577813657,
        1213.1794077946213
      ]
    },
    "8d6bd884cdec45da": {
      "id": "8d6bd884cdec45da",
      "name": "bitbybit.occt.shapes.wire.createPolylineWire",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "points": {
          "connections": [
            {
              "node": "dd1adf78fc89af28",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2958.911651487621,
        1908.986631617026
      ]
    },
    "4d1ef68862fca85c": {
      "id": "4d1ef68862fca85c",
      "name": "bitbybit.occt.fillets.fillet2d",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 0.2
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "8d6bd884cdec45da",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3291.1733731659147,
        1883.0743297154834
      ]
    },
    "55a560e8b9f2b3a2": {
      "id": "55a560e8b9f2b3a2",
      "name": "bitbybit.occt.operations.revolve",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "angle": 60,
        "direction": [
          0,
          1,
          0
        ],
        "copy": false
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "4d1ef68862fca85c",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3715.326234109609,
        1873.2973627858983
      ]
    },
    "5cc7888de075b6c7": {
      "id": "5cc7888de075b6c7",
      "name": "bitbybit.occt.transforms.rotateAroundCenter",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "angle": -30,
        "center": [
          0,
          0,
          0
        ],
        "axis": [
          0,
          0,
          1
        ]
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "55a560e8b9f2b3a2",
              "output": "result",
              "data": {}
            }
          ]
        },
        "axis": {
          "connections": [
            {
              "node": "34495c7b0a1167c8",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4254.075544506879,
        1942.4075990055608
      ]
    },
    "34495c7b0a1167c8": {
      "id": "34495c7b0a1167c8",
      "name": "bitbybit.vector.vectorXYZ",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 0,
        "y": 1,
        "z": 0
      },
      "inputs": {},
      "position": [
        3902.3727934488215,
        2321.2870661714214
      ]
    },
    "b645c7c510d0e3bd": {
      "id": "b645c7c510d0e3bd",
      "name": "bitbybit.occt.operations.makeThickSolidSimple",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "offset": -0.05
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "5cc7888de075b6c7",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4719.961888115414,
        1928.7674927853245
      ]
    },
    "51f35cc6b1a69dc0": {
      "id": "51f35cc6b1a69dc0",
      "name": "bitbybit.draw.drawAnyAsync",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "entity": {
          "connections": [
            {
              "node": "b645c7c510d0e3bd",
              "output": "result",
              "data": {}
            }
          ]
        },
        "options": {
          "connections": [
            {
              "node": "3ef37d1ca553adf2",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5734.990358732306,
        2070.049675737041
      ]
    },
    "3ef37d1ca553adf2": {
      "id": "3ef37d1ca553adf2",
      "name": "bitbybit.draw.optionsOcctShapeSimple",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "precision": 0.001,
        "drawFaces": true,
        "faceColour": "#0f0f0f",
        "drawEdges": false,
        "edgeColour": "#ffffff",
        "edgeWidth": 2
      },
      "inputs": {},
      "position": [
        5224.930904299012,
        2419.9193569748586
      ]
    },
    "997b4c9b03753977": {
      "id": "997b4c9b03753977",
      "name": "bitbybit.occt.shapes.wire.createPolylineWire",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "points": {
          "connections": [
            {
              "node": "9c8a4989d82d6be3",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2921.6386982497384,
        2375.9696434677435
      ]
    },
    "9c8a4989d82d6be3": {
      "id": "9c8a4989d82d6be3",
      "name": "bitbybit.json.parse",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "text": "[[-1.5,0,0], [-0.7,0.2,0],[-0.3,1,0],[-1.1,1.1,0],[-1.2,2.2,0]]"
      },
      "inputs": {},
      "position": [
        2606.143901988449,
        2285.7561407469775
      ]
    },
    "0d7e0eadbd0195c7": {
      "id": "0d7e0eadbd0195c7",
      "name": "bitbybit.occt.fillets.fillet2d",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 0.2
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "997b4c9b03753977",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3255.4613674266075,
        2453.393938017366
      ]
    },
    "dc5f94559a890709": {
      "id": "dc5f94559a890709",
      "name": "bitbybit.occt.shapes.wire.combineEdgesAndWiresIntoAWire",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "shapes": {
          "connections": [
            {
              "node": "342122e08edbb91f",
              "output": "list",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4284.781071053761,
        2731.897771571714
      ]
    },
    "342122e08edbb91f": {
      "id": "342122e08edbb91f",
      "name": "bitbybit.lists.createList",
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": "4d1ef68862fca85c",
              "output": "result",
              "data": {}
            },
            {
              "node": "0d7e0eadbd0195c7",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3875.7735106343134,
        2807.4153758717953
      ]
    },
    "45ac890e6f605790": {
      "id": "45ac890e6f605790",
      "name": "bitbybit.occt.transforms.rotateAroundCenter",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "angle": 25,
        "center": [
          0,
          0,
          0
        ],
        "axis": [
          0,
          0,
          1
        ]
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "7afe0d2a870390b2",
              "output": "result",
              "data": {}
            }
          ]
        },
        "axis": {
          "connections": [
            {
              "node": "34495c7b0a1167c8",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5625.9477104667985,
        2987.3650383715662
      ]
    },
    "7e2378a3bab84ff3": {
      "id": "7e2378a3bab84ff3",
      "name": "bitbybit.occt.shapes.face.createFaceFromWire",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "planar": true
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "dc5f94559a890709",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4724.323757448768,
        2917.091419295152
      ]
    },
    "7afe0d2a870390b2": {
      "id": "7afe0d2a870390b2",
      "name": "bitbybit.occt.operations.revolve",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "angle": 5,
        "direction": [
          0,
          1,
          0
        ],
        "copy": false
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "7e2378a3bab84ff3",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5137.3735049674915,
        3320.872537953233
      ]
    },
    "15674fe5581a9368": {
      "id": "15674fe5581a9368",
      "name": "bitbybit.draw.drawAnyAsync",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "entity": {
          "connections": [
            {
              "node": "45ac890e6f605790",
              "output": "result",
              "data": {}
            },
            {
              "node": "4c7bd7bb67270d77",
              "output": "result",
              "data": {}
            }
          ]
        },
        "options": {
          "connections": [
            {
              "node": "115b1d925b0a1c9d",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        6969.57069575544,
        3090.9146200116134
      ]
    },
    "4c7bd7bb67270d77": {
      "id": "4c7bd7bb67270d77",
      "name": "bitbybit.occt.transforms.rotateAroundCenter",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "angle": -55,
        "center": [
          0,
          0,
          0
        ],
        "axis": [
          0,
          0,
          1
        ]
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "45ac890e6f605790",
              "output": "result",
              "data": {}
            }
          ]
        },
        "axis": {
          "connections": [
            {
              "node": "34495c7b0a1167c8",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5606.468884339986,
        3420.4946172778837
      ]
    },
    "20e25ae08697f59a": {
      "id": "20e25ae08697f59a",
      "name": "bitbybit.babylon.mesh.setRotation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "babylonMesh": {
          "connections": [
            {
              "node": "6d659b94881086f9",
              "output": "result",
              "data": {}
            }
          ]
        },
        "rotation": {
          "connections": [
            {
              "node": "ec0e83b32d1b757f",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -2.547066450238617,
        1585.50816023469
      ]
    },
    "ec0e83b32d1b757f": {
      "id": "ec0e83b32d1b757f",
      "name": "bitbybit.vector.vectorXYZ",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 0,
        "y": -10,
        "z": 0
      },
      "inputs": {},
      "position": [
        -615.8279054615159,
        1689.3621926243031
      ]
    },
    "8067618b80c543c3": {
      "id": "8067618b80c543c3",
      "name": "bitbybit.babylon.scene.drawDirectionalLight",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "direction": [
          -100,
          -100,
          -100
        ],
        "intensity": 0.5,
        "diffuse": "#8d85ff",
        "specular": "#ffffff",
        "shadowGeneratorMapSize": 4000,
        "enableShadows": true,
        "shadowDarkness": 0
      },
      "inputs": {},
      "position": [
        2912.9315124794066,
        2914.3164628256573
      ]
    },
    "115b1d925b0a1c9d": {
      "id": "115b1d925b0a1c9d",
      "name": "bitbybit.draw.optionsOcctShapeMaterial",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "precision": 0.01,
        "drawEdges": false,
        "edgeColour": "#ffffff",
        "edgeWidth": 2
      },
      "inputs": {
        "faceMaterial": {
          "connections": [
            {
              "node": "5cc51664625909f7",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        6475.067515781621,
        3431.8012552460673
      ]
    },
    "5cc51664625909f7": {
      "id": "5cc51664625909f7",
      "name": "bitbybit.babylon.material.pbrMetallicRoughness.create",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "name": "Custom Material",
        "baseColor": "#8000ff",
        "emissiveColor": "#000000",
        "metallic": 0.9,
        "roughness": 0.15,
        "alpha": 1,
        "backFaceCulling": false,
        "zOffset": 0
      },
      "inputs": {},
      "position": [
        6102.163054711879,
        3690.676664567237
      ]
    }
  }
}
Plans & Pricing

Choose Your Plan

Editor plans for 3D development, API keys for server-side CAD algorithms

B2B

ENTERPRISE

Custom pricing

Custom software development, dedicated servers & CAD automation at scale.

CAD Automation & Software
  • Custom software development
  • Cloud CAD automation pipelines
  • 3D configurators (STEP & GLTF)
  • Batch export jobs
  • Custom algorithms & deployment
Infrastructure & Support
  • Custom compute allocation
  • Dedicated / VPS server tenants
  • Long-running computation jobs
  • Custom upload limits & overage
  • SLA & premium support