Script: Rotating Gaussian Splatting 3D Scene With People

Rotating Gaussian Splatting 3D Scene With People picture
Type
Rete logo indicatorrete
Date Created
Aug 30, 2024, 3:21:34 PM
Last Edit Date
Jan 8, 2026, 6:54:41 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": {
    "054d47da55d9340d": {
      "id": "054d47da55d9340d",
      "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": "8b5e113ae0e4d9f9",
              "output": "exec",
              "data": {}
            },
            {
              "node": "7ec5dbf0a78928b9",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        936.643682727077,
        447.3447230264515
      ]
    },
    "ede5d481c9faffc7": {
      "id": "ede5d481c9faffc7",
      "name": "bitbybit.flow.babylon.render",
      "customName": "render",
      "data": {},
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1413.046875,
        502.875
      ]
    },
    "7ec5dbf0a78928b9": {
      "id": "7ec5dbf0a78928b9",
      "name": "bitbybit.flow.actions.trigger",
      "customName": "trigger",
      "data": {},
      "inputs": {},
      "position": [
        466.7758448464449,
        660.5886299951358
      ]
    },
    "ca1d1a92b6fc3e40": {
      "id": "ca1d1a92b6fc3e40",
      "name": "bitbybit.flow.counters.counterMinMax",
      "customName": "counter min max",
      "data": {
        "count": 0,
        "min": 0,
        "max": 360,
        "step": 0.1,
        "pulse": false,
        "end": false
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "ede5d481c9faffc7",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1860.24609375,
        528.34375
      ]
    },
    "b871a59d21635301": {
      "id": "b871a59d21635301",
      "name": "bitbybit.babylon.mesh.setRotation",
      "customName": "set rotation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": true
        }
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "f9e77c83f03dbe14",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "rotation": {
          "connections": [
            {
              "node": "f9e77c83f03dbe14",
              "output": "result",
              "data": {}
            }
          ]
        },
        "babylonMesh": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2776.703125,
        166.078125
      ]
    },
    "f9e77c83f03dbe14": {
      "id": "f9e77c83f03dbe14",
      "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,
        "z": 0
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "ca1d1a92b6fc3e40",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "y": {
          "connections": [
            {
              "node": "ca1d1a92b6fc3e40",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2323.1953125,
        318.859375
      ]
    },
    "8b5e113ae0e4d9f9": {
      "id": "8b5e113ae0e4d9f9",
      "name": "bitbybit.flow.actions.start",
      "customName": "start",
      "data": {},
      "inputs": {},
      "position": [
        488.41142401884144,
        468.78419661084405
      ]
    },
    "d3eb76b907425d92": {
      "id": "d3eb76b907425d92",
      "name": "bitbybit.babylon.scene.adjustActiveArcRotateCamera",
      "customName": "adjust active arc rotate camera",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "position": [
          10,
          10,
          10
        ],
        "lookAt": [
          0,
          0,
          0
        ],
        "lowerBetaLimit": 50,
        "upperBetaLimit": 110,
        "angularSensibilityX": 3000,
        "angularSensibilityY": 3000,
        "maxZ": 100,
        "panningSensibility": 0,
        "wheelPrecision": 100
      },
      "inputs": {
        "exec": {
          "connections": [
            {
              "node": "8b5e113ae0e4d9f9",
              "output": "exec",
              "data": {}
            },
            {
              "node": "7ec5dbf0a78928b9",
              "output": "exec",
              "data": {}
            }
          ]
        },
        "position": {
          "connections": [
            {
              "node": "45532fedcfd268fa",
              "output": "result",
              "data": {}
            }
          ]
        },
        "lowerRadiusLimit": {
          "connections": [
            {
              "node": "5b056dc81aac0edb",
              "output": "result",
              "data": {}
            }
          ]
        },
        "upperRadiusLimit": {
          "connections": [
            {
              "node": "8dc0f1a23e2bde79",
              "output": "result",
              "data": {}
            }
          ]
        },
        "lookAt": {
          "connections": [
            {
              "node": "6aeeee0d98c70ecc",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1001.8277305132052,
        -432.04867842418435
      ]
    },
    "45532fedcfd268fa": {
      "id": "45532fedcfd268fa",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": 3,
        "y": 2,
        "z": 3
      },
      "inputs": {},
      "position": [
        326.09531146002263,
        -1309.7496427034412
      ]
    },
    "5b056dc81aac0edb": {
      "id": "5b056dc81aac0edb",
      "name": "bitbybit.math.number",
      "customName": "number",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "number": 4
      },
      "inputs": {},
      "position": [
        328.4269137596765,
        -597.5038827321953
      ]
    },
    "8dc0f1a23e2bde79": {
      "id": "8dc0f1a23e2bde79",
      "name": "bitbybit.math.number",
      "customName": "number",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "number": 10
      },
      "inputs": {},
      "position": [
        328.813358481348,
        -327.33408507840056
      ]
    },
    "6aeeee0d98c70ecc": {
      "id": "6aeeee0d98c70ecc",
      "name": "bitbybit.vector.vectorXYZ",
      "customName": "vector xyz",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "x": -0.4,
        "y": 0,
        "z": 0.4
      },
      "inputs": {},
      "position": [
        351.5926713570892,
        -957.3856339552299
      ]
    },
    "51c7ae09a6ca3aee": {
      "id": "51c7ae09a6ca3aee",
      "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": "054d47da55d9340d",
              "output": "result",
              "data": {}
            }
          ]
        },
        "exec": {
          "connections": [
            {
              "node": "054d47da55d9340d",
              "output": "exec",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1591.0391466633191,
        1035.1861726529874
      ]
    }
  }
}