augmented-reality

SCNNode Z-rotation axis stays constant, while X and Y axes change when node is rotated

瘦欲@ 提交于 2019-12-13 16:13:33
问题 I have a node that the user can rotate via a pan gesture. The user can select either X, Y, or Z axis and pan, and the node will rotate around that axis. The Issue : The node's front is facing the camera. Let's say the user pans to the right and rotates the node around the Y axis. The node's front is now facing the right. If the user switches to the X axis and pans down, the node's front will rotate downward (or clockwise from the user's perspective) from it's initial right-facing orientation.

How to calculate the camera position from Vuforia GL matrix?

醉酒当歌 提交于 2019-12-13 15:25:32
问题 I calculate the camera position of a SCNScene that is rendered in Vuforia. However the object is not staying fixed on the marker but jumping around when moving. The cube in the scene appears only orthographically, no matter how the device is moved around the sides cannot be seen. The camera position is calculated with every frame: // Get model view matrix Vuforia::Matrix44F modelViewMatrix = Vuforia::Tool::convertPose2GLMatrix(result->getPose()); // Convert to extrinsic matrix SCNMatrix4

ARKit Image detection Freezing camera

北战南征 提交于 2019-12-13 13:30:20
问题 I had image detection working properly in ARKit 1.5, but in ARKit 2.0 whenever I launch my application it freezes after what looks like 1 frame of the camera. I can still interact with an object that automatically spawns on the screen, but the camera stops updating. I am using the Unity plugin and every time I change the fields under Image Tracking in the Unity AR Camera Manager script I seem to have this problem. Has anyone else experienced this? 回答1: This bug is occurred on below

How can I use my webcam inside an Azure windows server virtual machine?

有些话、适合烂在心里 提交于 2019-12-13 07:59:23
问题 I have a Windows server 2016 vm on Azure and I am trying to do some work in Augmented Reality using Vuforia and Unity. An essential part of this is being able to use my webcam but once I am inside the VM it doesnt recognise my integrated webcam. I tried to connect a webcam through USB as well but this doesn't work either. Is this an impossible task...getting a server instance to recognise webcams on my laptop or is it actually possible? Any help would be appreciated. 回答1: You could achieve it

Unity3d with vuforia showing 2d image when targed is detected

拥有回忆 提交于 2019-12-13 04:47:30
问题 I have a question about the way how to show simple 2d image on top of detected marker. I have followed some tutorial to show 3d model and it works fine. there is no problem with 3d. The problem starts when I want to add normal 2d object->sprite . When I add simple sprite I can't add texture and when I insert UI image it's added together with canvas and it is not showed when target is detected. The original image on editor is placed then so far that it's difficult to find it. I would be

3D object falling through ARGroundPlane

萝らか妹 提交于 2019-12-13 03:56:13
问题 I`m using Vuforia plugin Unity, I added 3D Water can to my scene, and make it child to the Ground Plane Stage, when I run the game the object occurs, I add Box Colliders to both Ground Plane Stage and the Water can, also I add rigidbody to the can , when running the game the can fall through ground (doesn't stop falling ) How Can I fix this and make water can stop falling ? I use Vuforia 7.5.26 回答1: Okay the problem is your object starts falling when you press play regardless of whether you

MRTK V2 - Toggle-Dot moves outside of constraints

假装没事ソ 提交于 2019-12-13 03:35:09
问题 Description - I have a settings panel in my scene which appears if I click the settings button on my toolbar. By repeating this, I noticed one bug → The dot of all toggled toggles moves further and further . The dot of an untoggled toggle stays in the right position. Did someone fix that bug in the script interactable or did a workaround? Screenshot How to reproduce - I used the toggles that were given by the example package. Place one that is already toggled and one not toggled and start

What are limitations for scanning and detecting 3d object in ARKit2.0 in iOS?

半世苍凉 提交于 2019-12-13 03:14:48
问题 I am done with 3d object scanning and detection with ARKit 2.0. I have scanned 3d object from all sides of object. Once 100% scanning is done then had given name to that object and then save that ARReference Object and image in document directory. Then on button click I am going to detect scanned object and display it’s name and image from document directory. Object get detected but it’s taking too much time to detect an object. I have gone through Apple document for best practices and

Unity3d - Vuforia-Unity: How to enable or disable a virtual button?

﹥>﹥吖頭↗ 提交于 2019-12-13 02:57:51
问题 Unity3d - Vuforia-Unity: How to enable or disable a virtual button? 回答1: Guess I found the solution myself!! For Unity and Vuforia: Approach #1: As every entity in Unity is a GameObject, we can find virtual button using approach below: To enable/disable a virtual button in C# script: var myVirtualBtn = GameObject.Find("myVirtualButtonName"); // gameobject name above transform settings section if(myVirtualBtn != null){ myVirtualBtn.GetComponent<VirtualButtonBehavior>().enabled = true; // Makes

Android Augmented Reality overlay POI

你说的曾经没有我的故事 提交于 2019-12-13 02:56:09
问题 I would like to display an icon/image floating "beacon" on a specific GPS point. I would like to make it visible to the user, if the is around the location and pointing his device to the right direction. Like on the image, I've attached. Please mind, I'm interested in Android solution, and I'm looking for pure coding or lovely libraries to use. In term of libraries, I would like to have one, which is not 2-3 years old, like to most of the google searches. I would like to kindly ask you to