|
@@ -6,7 +6,7 @@
|
6
|
6
|
<title>encantar.js WebAR demo with A-Frame</title>
|
7
|
7
|
<link href="../assets/demo.css" rel="stylesheet">
|
8
|
8
|
<script src="../../dist/encantar.min.js"></script>
|
9
|
|
- <script src="https://cdn.jsdelivr.net/npm/aframe@1.4.2/dist/aframe-v1.4.2.min.js"></script>
|
|
9
|
+ <script src="https://cdn.jsdelivr.net/npm/aframe@1.6.0/dist/aframe-v1.6.0.min.js"></script>
|
10
|
10
|
<script src="../../plugins/aframe-with-encantar.js"></script>
|
11
|
11
|
<script src="../../plugins/extras/aframe-scan-gimmick-for-encantar.js"></script>
|
12
|
12
|
<script src="../../plugins/extras/aframe-gltf-anim.js"></script>
|
|
@@ -89,7 +89,7 @@
|
89
|
89
|
<a-entity rotation="-90 0 0" position="0 -0.8 0">
|
90
|
90
|
|
91
|
91
|
<!-- Light -->
|
92
|
|
- <a-light type="ambient" intensity="1.5"></a-light>
|
|
92
|
+ <a-light type="ambient" intensity="1.0"></a-light>
|
93
|
93
|
|
94
|
94
|
<!-- 3D model -->
|
95
|
95
|
<a-entity
|
|
@@ -110,7 +110,7 @@
|
110
|
110
|
<!-- The cat -->
|
111
|
111
|
<ar-root reference-image="cat">
|
112
|
112
|
<a-entity rotation="-90 0 0" position="0 -0.8 0">
|
113
|
|
- <a-light type="ambient" intensity="1.5"></a-light>
|
|
113
|
+ <a-light type="ambient" intensity="1.0"></a-light>
|
114
|
114
|
|
115
|
115
|
<a-entity
|
116
|
116
|
gltf-model="#cat-model" gltf-anim="clip: Cheer"
|