Commit c3a33b56 authored by Percen's avatar Percen
Browse files

Update public/index.html

parent f1147ee2
......@@ -74,6 +74,9 @@
<body>
<div class="container">
<h1>GeoVis AR Projekt</h1>
<p>Mit Augmented Reality können Sie ihrer Fantasie freien Lauf lassen und ihre Stadt interaktiv gestalten!</p>
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment