-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodelMindARcust.html
More file actions
executable file
·28 lines (23 loc) · 1.06 KB
/
modelMindARcust.html
File metadata and controls
executable file
·28 lines (23 loc) · 1.06 KB
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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mind-ar@1.2.2/dist/mindar-image-aframe.prod.js"></script>
</head>
<body>
<a-scene
mindar-image="imageTargetSrc: https://finalar.github.io/markers/nft/mind/chess.mind;"
color-space="sRGB" renderer="colorManagement: true, physicallyCorrectLights" vr-mode-ui="enabled: false"
device-orientation-permission-ui="enabled: false">
<a-assets>
<a-asset-item id="avatarModel" src="https://finalar.github.io/models/chess/H/Chess01.glb"></a-asset-item>
</a-assets>
<a-camera position="0 0 0" look-controls="enabled: false"></a-camera>
<a-entity mindar-image-target="targetIndex: 0">
<!-- <a-plane src="#card" position="0 0 0" height="0.552" width="1" rotation="0 0 0"></a-plane> -->
<a-gltf-model rotation="90 0 0" position="0 0 0" scale="0.1 0.1 0.1" src="#avatarModel">
</a-entity>
</a-scene>
</body>
</html>