Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GeoVistoogsi
AR
Commits
c7c7b833
Commit
c7c7b833
authored
Jan 02, 2025
by
Percen
Browse files
Update public/index.html
parent
2b5a8e09
Changes
1
Show whitespace changes
Inline
Side-by-side
public/index.html
View file @
c7c7b833
...
@@ -216,12 +216,15 @@
...
@@ -216,12 +216,15 @@
// Modelle laden
// Modelle laden
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/geovistoogsi/ar/-/raw/master/public/assets/models/bench_model/scene.gltf
"
,
(
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
;
models
.
robot
.
position
.
set
(
0
,
0
,
-
2
);
models
.
robot
.
lookAt
(
camera
.
position
);
models
.
robot
.
lookAt
(
camera
.
position
);
scene
.
add
(
models
.
robot
);
});
});
//https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf
//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
)
=>
{
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
=
gltf
.
scene
;
models
.
sunflower
.
scale
.
set
(
0.04
,
0.04
,
0.04
);
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
)
=>
{
loader
.
load
(
"
https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/refs/heads/main/Models/Lantern/glTF/Lantern.gltf
"
,
(
gltf
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment