-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
26 lines (25 loc) · 1 KB
/
index.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
<!doctype HTML>
<html>
<head>
<!-- A-Frameを読み込み -->
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
<!-- AR.jsを読み込み -->
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
<script src="https://cdn.rawgit.com/donmccurdy/aframe-extras/v5.0.0/dist/aframe-extras.min.js"></script>
</head>
<body style="margin : 0px; overflow: hidden">
<!-- AR.jsのデバックとA-FrameのVRボタンを非表示 -->
<a-scene embedded arjs="debugUIEnabled: false" vr-mode-ui="enabled: false">
<a-assets>
<!-- 3Dモデルをプリロード -->
<a-asset-item id="uribo" src="assets/uribo.glb"></a-asset-item>
</a-assets>
<a-marker-camera preset='hiro'></a-marker-camera>
<!--<a-marker preset='custom' type='pattern' url="marker/pattern-marker.patt">-->
<a-entity gltf-model="#uribo" scale="0.1 0.1 0.1" animation-mixer></a-entity>
<!--</a-marker>
<a-entity camera></a-entity>-->
</a-marker-camera>
</a-scene>
</body>
</html>