From c5ba13ef39510fb02714b475df575ebac1d33d00 Mon Sep 17 00:00:00 2001 From: Percen <21pesi1bif@hft-stuttgart.de> Date: Thu, 2 Jan 2025 19:56:40 +0000 Subject: [PATCH] Update public/index.html --- public/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index d5a82c3..81cec5b 100644 --- a/public/index.html +++ b/public/index.html @@ -204,6 +204,7 @@ scene.add(light); // Reticle (Cursor) + const loader = new THREE.GLTFLoader(); loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/reticle.gltf", (gltf) => { reticle = gltf.scene; @@ -211,8 +212,9 @@ scene.add(reticle); }); +//https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb // Modelle laden - loader.load("https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb", (gltf) => { + loader.load("https://transfer.hft-stuttgart.de/gitlab/geovistoogsi/ar/-/raw/master/public/assets/models/bench_model/scene.gltf", (gltf) => { models.robot = gltf.scene; }); //https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf -- GitLab