Script: 3D Bike

3D Bike picture
Type
Rete logo indicatorrete
Date Created
Jun 6, 2024, 12:40:58 AM
Last Edit Date
Jan 8, 2026, 7:31:36 PM

Project Information

The scanned 3D bike on the grass, displayed by using gaussian splatting technique

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "a4ee338a0421c44c": {
      "id": "a4ee338a0421c44c",
      "name": "bitbybit.babylon.gaussianSplatting.create",
      "customName": "gaussian splatting",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "url": "https://firebasestorage.googleapis.com/v0/b/bit-by-bit-prod.appspot.com/o/users%2FyVqNAFXmieX0iAkdP6wAz5BJ4X82%2Fprojects%2FJKpvUltDwDVhSb43fg8f%2Fassets%2Fbike.splat?alt=media&token=37847ffe-698f-47e9-8e1f-c9f284d46b93"
      },
      "inputs": {},
      "position": [
        1178.5676976557688,
        1850.3055464550237
      ]
    },
    "f21ccb08ada32f57": {
      "id": "f21ccb08ada32f57",
      "name": "bitbybit.draw.drawGridMesh",
      "customName": "draw grid mesh",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "width": 400,
        "height": 400,
        "subdivisions": 10,
        "majorUnitFrequency": 10,
        "minorUnitVisibility": 0.45,
        "gridRatio": 0.5,
        "opacity": 0.5,
        "backFaceCulling": false,
        "mainColor": "#ffffff",
        "secondaryColor": "#ffffff"
      },
      "inputs": {},
      "position": [
        -1427.0268766031559,
        1862.9388405417849
      ]
    },
    "1e5a377712115ea5": {
      "id": "1e5a377712115ea5",
      "name": "bitbybit.occt.shapes.face.createCircleFace",
      "customName": "circle face",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "radius": 8,
        "center": [
          0,
          0,
          0
        ],
        "direction": [
          0,
          1,
          0
        ]
      },
      "inputs": {
        "center": {
          "connections": [
            {
              "node": "1fc425037d0b8010",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -291.13836139356056,
        1887.6273671450756
      ]
    },
    "1fc425037d0b8010": {
      "id": "1fc425037d0b8010",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 0,
        "y": -0.2,
        "z": 0
      },
      "inputs": {},
      "position": [
        -671.1074953852208,
        1860.767095459332
      ]
    },
    "d2c61882cde4b4f1": {
      "id": "d2c61882cde4b4f1",
      "name": "bitbybit.draw.drawAnyAsync",
      "customName": "draw any async",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        }
      },
      "inputs": {
        "entity": {
          "connections": [
            {
              "node": "1e5a377712115ea5",
              "output": "result",
              "data": {}
            }
          ]
        },
        "options": {
          "connections": [
            {
              "node": "3e9d73e1dbcb37c1",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        154.57887003420421,
        1928.3520766456368
      ]
    },
    "3e9d73e1dbcb37c1": {
      "id": "3e9d73e1dbcb37c1",
      "name": "bitbybit.draw.optionsOcctShapeSimple",
      "customName": "options occt shape simple",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "precision": 0.01,
        "drawFaces": true,
        "faceColour": "#292929",
        "drawEdges": false,
        "edgeColour": "#ffffff",
        "edgeWidth": 2,
        "drawTwoSided": false,
        "backFaceColour": "#0000ff",
        "backFaceOpacity": 1
      },
      "inputs": {},
      "position": [
        -290.56411273085877,
        2188.0124447036455
      ]
    },
    "ba3b333942ffc1e2": {
      "id": "ba3b333942ffc1e2",
      "name": "bitbybit.babylon.scene.backgroundColour",
      "customName": "background colour",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "colour": "#8f8f8f"
      },
      "inputs": {},
      "position": [
        -1049.7062272600606,
        1860.7982918430775
      ]
    },
    "32f842142ea4de21": {
      "id": "32f842142ea4de21",
      "name": "bitbybit.babylon.mesh.setLocalScale",
      "customName": "set local scale",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "scale": 3
      },
      "inputs": {
        "babylonMesh": {
          "connections": [
            {
              "node": "a4ee338a0421c44c",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1639.229704837312,
        2035.7191067334354
      ]
    }
  }
}