diff --git a/public/index.html b/public/index.html index fd6ebb6ea37e279ae9d63188d6c80e9e10284cad..74f1d29875e96db1f5836c2c752a15d059075149 100644 --- a/public/index.html +++ b/public/index.html @@ -74,6 +74,9 @@ + + +

GeoVis AR Projekt

Mit Augmented Reality können Sie ihrer Fantasie freien Lauf lassen und ihre Stadt interaktiv gestalten!

@@ -123,12 +126,20 @@ reticle.visible = false; scene.add(reticle); }); - +/** let flower; loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf", function(gltf) { flower = gltf.scene; }); +*/ + let flower; + loader.load("https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb", function(gltf) { + flower = gltf.scene; + }); + + + session.addEventListener("select", (event) => { if (flower) { const clone = flower.clone();