Script: Closeup Of Performers 3D Fly Through

Closeup Of Performers 3D Fly Through picture
Type
Rete logo indicatorrete
Date Created
Aug 31, 2024, 1:45:22 PM
Last Edit Date
Jan 8, 2026, 6:52:44 PM

Project Information

This project contains few scripts showing various experiences that involve art piece by Edmund Fraser and Christie Lau created by using Gaussian splatting 3D scanning technique.

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "8dc8fae4c4662c34": {
      "id": "8dc8fae4c4662c34",
      "name": "bitbybit.babylon.gaussianSplatting.create",
      "customName": "gaussian splatting",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "url": "https://bitbybit.dev/files/users%2FyVqNAFXmieX0iAkdP6wAz5BJ4X82%2Fprojects%2FvDktj5Py0Bg4lgn3sHz9%2Fassets%2FS01_v3.splat?alt=media&token=5e832f34-2479-4aaa-90a3-fef2e50b2b88"
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "f1558e22db49afb6",
              "output": "exec",
              "data": {}
            },
            {
              "node": "ee1d646693184959",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        936.643682727077,
        447.3447230264515
      ]
    },
    "1b2e79c25eb7cbda": {
      "id": "1b2e79c25eb7cbda",
      "name": "bitbybit.flow.babylon.render",
      "customName": "render",
      "data": {},
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "554287420dd48f91",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4103.59159326727,
        719.1823107446309
      ]
    },
    "f1558e22db49afb6": {
      "id": "f1558e22db49afb6",
      "name": "bitbybit.flow.actions.trigger",
      "customName": "trigger",
      "data": {},
      "inputs": {},
      "position": [
        466.7758448464449,
        660.5886299951358
      ]
    },
    "8ce2f46acbc26694": {
      "id": "8ce2f46acbc26694",
      "name": "bitbybit.flow.counters.counterMinMax",
      "customName": "counter min max",
      "data": {
        "count": 0,
        "min": 0,
        "max": 360,
        "step": 1,
        "pulse": false,
        "end": false
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "1b2e79c25eb7cbda",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "max": {
          "connections": [
            {
              "node": "a08d11b6d76fa773",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5045.607348963147,
        385.150696851804
      ]
    },
    "7874daffaae649d1": {
      "id": "7874daffaae649d1",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 1,
        "y": 1.3,
        "z": 1.4
      },
      "inputs": {},
      "position": [
        1675.615941232152,
        -2214.732298437754
      ]
    },
    "13481e76176e7d9b": {
      "id": "13481e76176e7d9b",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -0.8,
        "y": 1.5,
        "z": 2.2
      },
      "inputs": {},
      "position": [
        1673.8495910993493,
        -1861.8892305817333
      ]
    },
    "e201e0f742a58e14": {
      "id": "e201e0f742a58e14",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -1.5,
        "y": 1,
        "z": 1.5
      },
      "inputs": {},
      "position": [
        1665.5082054416969,
        -1516.630876328816
      ]
    },
    "ed40ff1a33eb3c62": {
      "id": "ed40ff1a33eb3c62",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -1.1,
        "y": 0.9,
        "z": -0.3
      },
      "inputs": {},
      "position": [
        1669.7427765424145,
        -1186.2819803065902
      ]
    },
    "e4d0ee5da276db41": {
      "id": "e4d0ee5da276db41",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -0.75,
        "y": 0.5,
        "z": -1.6
      },
      "inputs": {},
      "position": [
        1654.4347503707631,
        -857.0230303754367
      ]
    },
    "ff836c0084008ffd": {
      "id": "ff836c0084008ffd",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 0.7,
        "y": 1,
        "z": -0.7
      },
      "inputs": {},
      "position": [
        1652.3268441640873,
        -515.510092177397
      ]
    },
    "c15cb8e49c4c7bc3": {
      "id": "c15cb8e49c4c7bc3",
      "name": "bitbybit.lists.createList",
      "customName": "create list",
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": "7874daffaae649d1",
              "output": "result",
              "data": {}
            },
            {
              "node": "13481e76176e7d9b",
              "output": "result",
              "data": {}
            },
            {
              "node": "e201e0f742a58e14",
              "output": "result",
              "data": {}
            },
            {
              "node": "ed40ff1a33eb3c62",
              "output": "result",
              "data": {}
            },
            {
              "node": "e4d0ee5da276db41",
              "output": "result",
              "data": {}
            },
            {
              "node": "ff836c0084008ffd",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2365.6424849685322,
        -1672.23693172372
      ]
    },
    "0d7548b63409a534": {
      "id": "0d7548b63409a534",
      "name": "bitbybit.occt.shapes.wire.interpolatePoints",
      "customName": "interpolate points",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "periodic": true,
        "tolerance": 1e-7
      },
      "inputs": {
        "points": {
          "connections": [
            {
              "node": "c15cb8e49c4c7bc3",
              "output": "list",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2755.893281131129,
        -1548.6309111906419
      ]
    },
    "5410e526bfa2360e": {
      "id": "5410e526bfa2360e",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 3.5,
        "y": 1.4,
        "z": 3
      },
      "inputs": {},
      "position": [
        3613.802746360828,
        -2255.6797444549616
      ]
    },
    "82c7ae54feb22a90": {
      "id": "82c7ae54feb22a90",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -1,
        "y": 1.5,
        "z": 3.2
      },
      "inputs": {},
      "position": [
        3615.9462039139885,
        -1919.1663649938419
      ]
    },
    "e5fc74eeb8f19144": {
      "id": "e5fc74eeb8f19144",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -2.5,
        "y": 0.5,
        "z": 2.3
      },
      "inputs": {},
      "position": [
        3624.6247983397416,
        -1566.7310512229444
      ]
    },
    "41b5b3e21b4d9c52": {
      "id": "41b5b3e21b4d9c52",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -3.5,
        "y": 0,
        "z": -1.5
      },
      "inputs": {},
      "position": [
        3631.8599391840353,
        -1223.393343647403
      ]
    },
    "5bbb0f364381494d": {
      "id": "5bbb0f364381494d",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -2.4,
        "y": -0.1,
        "z": -4
      },
      "inputs": {},
      "position": [
        3624.1803779111533,
        -868.6057890102472
      ]
    },
    "8cc6c18e7673a7cb": {
      "id": "8cc6c18e7673a7cb",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 3.5,
        "y": 1,
        "z": -2.5
      },
      "inputs": {},
      "position": [
        3624.4104836374363,
        -546.6075825874308
      ]
    },
    "685e93317df52a5d": {
      "id": "685e93317df52a5d",
      "name": "bitbybit.lists.createList",
      "customName": "create list",
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": "5410e526bfa2360e",
              "output": "result",
              "data": {}
            },
            {
              "node": "82c7ae54feb22a90",
              "output": "result",
              "data": {}
            },
            {
              "node": "e5fc74eeb8f19144",
              "output": "result",
              "data": {}
            },
            {
              "node": "41b5b3e21b4d9c52",
              "output": "result",
              "data": {}
            },
            {
              "node": "5bbb0f364381494d",
              "output": "result",
              "data": {}
            },
            {
              "node": "8cc6c18e7673a7cb",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4345.73521169714,
        -1566.6776596241527
      ]
    },
    "d11af2cd2f375405": {
      "id": "d11af2cd2f375405",
      "name": "bitbybit.occt.shapes.wire.interpolatePoints",
      "customName": "interpolate points",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "periodic": true,
        "tolerance": 1e-7
      },
      "inputs": {
        "points": {
          "connections": [
            {
              "node": "685e93317df52a5d",
              "output": "list",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4802.023309610023,
        -1579.4285236886224
      ]
    },
    "f097f7cd5069745e": {
      "id": "f097f7cd5069745e",
      "name": "bitbybit.occt.shapes.wire.divideWireByParamsToPoints",
      "customName": "divide wire by params to points",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "nrOfDivisions": 1000,
        "removeStartPoint": false,
        "removeEndPoint": true
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "d11af2cd2f375405",
              "output": "result",
              "data": {}
            }
          ]
        },
        "nrOfDivisions": {
          "connections": [
            {
              "node": "fba4ef618916bc01",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5258.684862385338,
        -1460.4044330383203
      ]
    },
    "1f529539b8ee1f15": {
      "id": "1f529539b8ee1f15",
      "name": "bitbybit.occt.shapes.wire.divideWireByParamsToPoints",
      "customName": "divide wire by params to points",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "nrOfDivisions": 1000,
        "removeStartPoint": false,
        "removeEndPoint": true
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "0d7548b63409a534",
              "output": "result",
              "data": {}
            }
          ]
        },
        "nrOfDivisions": {
          "connections": [
            {
              "node": "fba4ef618916bc01",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5259.308781316884,
        -684.9513166225485
      ]
    },
    "fba4ef618916bc01": {
      "id": "fba4ef618916bc01",
      "name": "bitbybit.math.number",
      "customName": "number",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "number": 4000
      },
      "inputs": {},
      "position": [
        4072.9651919468297,
        218.15073723361675
      ]
    },
    "325b865eea4d1bbb": {
      "id": "325b865eea4d1bbb",
      "name": "bitbybit.babylon.camera.target.create",
      "customName": "target camera",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "position": [
          20,
          20,
          20
        ],
        "target": [
          0,
          0,
          0
        ]
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "554287420dd48f91",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5213.05784016813,
        942.7829089575854
      ]
    },
    "3d8de3c0fca639e8": {
      "id": "3d8de3c0fca639e8",
      "name": "bitbybit.lists.getItem",
      "customName": "get item",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "index": 0,
        "clone": false
      },
      "inputs": {
        "index": {
          "connections": [
            {
              "node": "8ce2f46acbc26694",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "8ce2f46acbc26694",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "list": {
          "connections": [
            {
              "node": "f097f7cd5069745e",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5861.760847467522,
        -362.1381795755842
      ]
    },
    "b7942f9c7afc793d": {
      "id": "b7942f9c7afc793d",
      "name": "bitbybit.lists.getItem",
      "customName": "get item",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "index": 0,
        "clone": false
      },
      "inputs": {
        "list": {
          "connections": [
            {
              "node": "1f529539b8ee1f15",
              "output": "result",
              "data": {}
            }
          ]
        },
        "index": {
          "connections": [
            {
              "node": "8ce2f46acbc26694",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "3d8de3c0fca639e8",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        6604.24757687048,
        739.1584887711226
      ]
    },
    "9eba59412d822810": {
      "id": "9eba59412d822810",
      "name": "bitbybit.babylon.scene.activateCamera",
      "customName": "activate camera",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        }
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "325b865eea4d1bbb",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "camera": {
          "connections": [
            {
              "node": "325b865eea4d1bbb",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5762.255555143952,
        1158.3948112916135
      ]
    },
    "b76e3e22264149af": {
      "id": "b76e3e22264149af",
      "name": "bitbybit.babylon.camera.setPosition",
      "customName": "set position",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": true
        },
        "position": [
          20,
          20,
          20
        ]
      },
      "inputs": {
        "position": {
          "connections": [
            {
              "node": "3d8de3c0fca639e8",
              "output": "result",
              "data": {}
            }
          ]
        },
        "camera": {
          "connections": [
            {
              "node": "325b865eea4d1bbb",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "3d8de3c0fca639e8",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        6968.639862039397,
        414.11929660647775
      ]
    },
    "fe0ab8ae57a89970": {
      "id": "fe0ab8ae57a89970",
      "name": "bitbybit.babylon.camera.setTarget",
      "customName": "set target",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": true
        },
        "target": [
          0,
          0,
          0
        ]
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "b76e3e22264149af",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "camera": {
          "connections": [
            {
              "node": "325b865eea4d1bbb",
              "output": "result",
              "data": {}
            }
          ]
        },
        "target": {
          "connections": [
            {
              "node": "b7942f9c7afc793d",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        7490.644688223801,
        1030.7612289083452
      ]
    },
    "a08d11b6d76fa773": {
      "id": "a08d11b6d76fa773",
      "name": "bitbybit.math.twoNrOperation",
      "customName": "two nr operation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "first": 1,
        "second": 1,
        "operation": "subtract"
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": "fba4ef618916bc01",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4497.008497058934,
        326.2257049260983
      ]
    },
    "ee1d646693184959": {
      "id": "ee1d646693184959",
      "name": "bitbybit.flow.actions.start",
      "customName": "start",
      "data": {},
      "inputs": {},
      "position": [
        488.41142401884144,
        468.78419661084405
      ]
    },
    "554287420dd48f91": {
      "id": "554287420dd48f91",
      "name": "bitbybit.babylon.mesh.setLocalScale",
      "customName": "set local scale",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "scale": 10
      },
      "inputs": {
        "babylonMesh": {
          "connections": [
            {
              "node": "8dc8fae4c4662c34",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "8dc8fae4c4662c34",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1832.087675147755,
        518.8699207408285
      ]
    }
  }
}