-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex-bkp.html
32 lines (27 loc) · 1.15 KB
/
index-bkp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta charset="UTF-8">
<title>AR Elephant</title>
<script src="/aframe.min.js"></script>
<script src="/aframe-extras.loaders.min.js"></script>
<script src="/aframe-ar.js"></script>
</head>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs="sourceType: webcam; trackingMethod: best; debugUIEnabled: false;" antialias="false" inspector="url: /aframe-inspector.min.js">
<a-assets>
<img id="my-image" src="/phpdd18-logo.svg">
</a-assets>
<a-marker preset='hiro'>
<!--Adding a glTF 2.0 model to your scene-->
<a-entity rotation="-60 -90 80" position="0 1 1" scale="0.8 0.8 0.8" animation-mixer="loop:repeat"
gltf-model="src: url(/scene.gltf);">
</a-entity>
<a-curvedimage src="#my-image" position="1 2 1" height="1.0" radius="3" theta-length="22"
rotation="0 0 180" scale="0.8 0.8 0.8"></a-curvedimage>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>