From c7c7b833ccff7f2bf162009910ef8903ffbeb95a Mon Sep 17 00:00:00 2001 From: Percen <21pesi1bif@hft-stuttgart.de> Date: Thu, 2 Jan 2025 20:03:38 +0000 Subject: [PATCH] Update public/index.html --- public/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/index.html b/public/index.html index 9837d45..2cdeb83 100644 --- a/public/index.html +++ b/public/index.html @@ -216,12 +216,15 @@ // Modelle laden loader.load("https://transfer.hft-stuttgart.de/gitlab/geovistoogsi/ar/-/raw/master/public/assets/models/bench_model/scene.gltf", (gltf) => { models.robot = gltf.scene; + models.robot.position.set(0, 0, -2); models.robot.lookAt(camera.position); + scene.add(models.robot); }); //https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf loader.load("https://transfer.hft-stuttgart.de/gitlab/geovistoogsi/ar/-/raw/master/public/assets/models/trash_model/scene.gltf", (gltf) => { models.sunflower = gltf.scene; models.sunflower.scale.set(0.04, 0.04, 0.04); + }); loader.load("https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/refs/heads/main/Models/Lantern/glTF/Lantern.gltf", (gltf) => { -- GitLab