Commit c5ba13ef authored by Percen's avatar Percen
Browse files

Update public/index.html

parent 678fe6f1
...@@ -204,6 +204,7 @@ ...@@ -204,6 +204,7 @@
scene.add(light); scene.add(light);
// Reticle (Cursor) // Reticle (Cursor)
const loader = new THREE.GLTFLoader(); const loader = new THREE.GLTFLoader();
loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/reticle.gltf", (gltf) => { loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/reticle.gltf", (gltf) => {
reticle = gltf.scene; reticle = gltf.scene;
...@@ -211,8 +212,9 @@ ...@@ -211,8 +212,9 @@
scene.add(reticle); scene.add(reticle);
}); });
//https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb
// Modelle laden // 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; models.robot = gltf.scene;
}); });
//https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf //https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf
......
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