You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried writing angular application with mindAR, camera opens and it scans the image but objects are not being spawned. While the same code works fine in with html css. getting no error in console.
The text was updated successfully, but these errors were encountered:
private loadBox(posx:number,posy:number,posz:number)
{
const geometry = new THREE.BoxGeometry( 0.1, 0.1, 0.1 );
const material = new THREE.MeshLambertMaterial( { color: 0xc0c0c0 } );
var mesh = new THREE.Mesh( geometry, material );
this.anchor[0].group.add(mesh);
mesh.position.set(posx0.1,posy0.1,posz*0.1);
}
break points are coming fine but cube is not spawning
I tried writing angular application with mindAR, camera opens and it scans the image but objects are not being spawned. While the same code works fine in with html css. getting no error in console.
The text was updated successfully, but these errors were encountered: