|
@@ -82,6 +82,16 @@ class DemoUtils
|
82
|
82
|
|
83
|
83
|
return null;
|
84
|
84
|
}
|
|
85
|
+
|
|
86
|
+ referenceImageName(ar)
|
|
87
|
+ {
|
|
88
|
+ const referenceImage = this.referenceImage(ar);
|
|
89
|
+
|
|
90
|
+ if(referenceImage === null)
|
|
91
|
+ return null;
|
|
92
|
+
|
|
93
|
+ return referenceImage.name;
|
|
94
|
+ }
|
85
|
95
|
}
|
86
|
96
|
|
87
|
97
|
|
|
@@ -174,7 +184,7 @@ class DemoScene extends ARScene
|
174
|
184
|
|
175
|
185
|
// add light
|
176
|
186
|
const ambientLight = new THREE.AmbientLight(0xffffff);
|
177
|
|
- ambientLight.intensity = 1.4;
|
|
187
|
+ ambientLight.intensity = 1.5;
|
178
|
188
|
ar.scene.add(ambientLight);
|
179
|
189
|
|
180
|
190
|
// create the magic circle
|