Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Rahman
Argumented Reality
Commits
1c8f15cc
Commit
1c8f15cc
authored
Jun 22, 2024
by
Rahman
Browse files
Update index.html
parent
3a4eeef7
Pipeline
#9765
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
1c8f15cc
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<!-- three.js -->
<!-- three.js -->
<script
src=
"https://unpkg.com/three@0.126.0/build/three.js"
></script>
<script
src=
"https://unpkg.com/three@0.126.0/build/three.js"
></script>
<script
src=
"https://unpkg.com/three@0.126.0/examples/js/loaders/GLTFLoader.js"
></script>
<script
src=
"https://unpkg.com/three@0.126.0/examples/js/loaders/GLTFLoader.js"
></script>
</head>
</head>
<body>
<body>
...
@@ -71,6 +70,7 @@ async function activateXR() {
...
@@ -71,6 +70,7 @@ async function activateXR() {
// Replace the URL below with the URL of the new GLTF model you want to use
// Replace the URL below with the URL of the new GLTF model you want to use
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/22raya1mpg/argumented-reality/-/raw/master/scene.gltf
"
,
function
(
gltf
)
{
loader
.
load
(
"
https://transfer.hft-stuttgart.de/gitlab/22raya1mpg/argumented-reality/-/raw/master/scene.gltf
"
,
function
(
gltf
)
{
pineCone
=
gltf
.
scene
;
pineCone
=
gltf
.
scene
;
pineCone
.
scale
.
set
(
0.15
,
0.15
,
0.15
);
// Adjust scale as needed
});
});
session
.
addEventListener
(
"
select
"
,
(
event
)
=>
{
session
.
addEventListener
(
"
select
"
,
(
event
)
=>
{
...
@@ -121,4 +121,3 @@ async function activateXR() {
...
@@ -121,4 +121,3 @@ async function activateXR() {
</script>
</script>
</body>
</body>
</html>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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