|
@@ -82,15 +82,15 @@
|
82
|
82
|
<!-- A 3D camera adapted for AR -->
|
83
|
83
|
<ar-camera></ar-camera>
|
84
|
84
|
|
|
85
|
+ <!-- Light -->
|
|
86
|
+ <a-light type="ambient" intensity="1.0"></a-light>
|
|
87
|
+
|
85
|
88
|
<!-- The mage -->
|
86
|
89
|
<ar-root reference-image="mage">
|
87
|
90
|
|
88
|
91
|
<!-- Switch from top view to front view -->
|
89
|
92
|
<a-entity rotation="-90 0 0" position="0 -0.8 0">
|
90
|
93
|
|
91
|
|
- <!-- Light -->
|
92
|
|
- <a-light type="ambient" intensity="1.0"></a-light>
|
93
|
|
-
|
94
|
94
|
<!-- 3D model -->
|
95
|
95
|
<a-entity
|
96
|
96
|
gltf-model="#mage-model" gltf-anim="clip: Idle"
|
|
@@ -110,8 +110,6 @@
|
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.0"></a-light>
|
114
|
|
-
|
115
|
113
|
<a-entity
|
116
|
114
|
gltf-model="#cat-model" gltf-anim="clip: Cheer"
|
117
|
115
|
rotation="90 0 0" scale="0.7 0.7 0.7">
|