Spatial Mapping in Unity for Hololens 1 - unity3d

Good morning,
I am trying to install the Mixed Reality Toolkit for Hololens 1. I need to do a Spatial Mapping in Unity and I would like to use a "Spatial Mapping" prefab which should be displayed after Unity configuration with the MRTK tool. Unfortunately, I don’t see the prefab. I enabled the "SpatialPerception" in the Player configuration and simply put "Microsoft Reality Toolkit Foundation" in my project from the MRTK tool. How can I access the Spatial Mapping prefab please?
Thank you.
image unity

To use spatial mapping in the app, we should enable the Spatial Awareness system in the MixedRealityToolkit profile and register spatial observers to provide mesh data. There is not a Spatial Mapping "prefab" in MRTK. Here is a step by step guide showing how to do that:Spatial awareness getting started

Related

hololens - using Azure Anchors with Vuforia

We are using Vuforia for image tracking with hololens and unity engine. Vuforia works fine. We are also using Azure Spacial Anchors to fix the location of objects. However, Anchors do not seem to work with Vuforia. It appears that Vuforia captures camera events and does not pass them on to Azure Anchors, maybe?
Is there a way to get both technologies working at the same time?
the major issue would be Vuforia occupied the Camera pipeline
you may stop Vuforia and switch to ASA and switch back.
Or you may use pics and time stamps and ASA
Please read this page
https://library.vuforia.com/platform-support/working-camera-unity
may help you get the camera frame. then you may make the parameter transferd to a service you hosted in linux server, with Spatial https://github.com/microsoft/azure_spatial_anchors_ros

How can I combine ARFoundation with Vuforia?

I wanted to know if anybody managed to use ARFoundation with Vuforia.
The reason we want to do this is that we find the Vuforia ground plane not flexible and we found out the ground plane is less accurate than the native capabilities but we still want to keep the image tracking (without the extended tracking because since 7.5 we really don't like the fact that targets are extended by default).
If you want to use Vuforia and AR foundation in the same project , The answer is yes it is possible.
Only Thing we need to make sure is please disable the "Include AR core Library" settings under Vuforia configuration.

Vuforia + Unity dynamic 3d models and triggers

I want to build a cross-platform mobile app that can identify QR-codes and will render a 3d model on it using AR.
I found that Unity in combination with Vuforia will do the trick on the AR part, but is it possible here to download and use 3D models dynamically?
Thanks
I guess what you're looking for is called AssetBundle be aware that downloading a large model (+texture) at run time can be heavy and will highly depend on the internet connection of the device.
Hope this helps.

Can Project Tango Device 3D Map an Entire Building.

I would like to know if It is possible to make a 3D model of an entire building on my college campus. If I am able to make the 3D model of each room, and then somehow combine all the rooms to make a full 3D building it would be a great project for my senior internship. Please direct me to the correct information. Or please give me instructions on how to use the Project Tango Device to create a full 3D building. Ultimately, I want to use the Project Tango Device to conduct indoor mapping using augmented reality.
Project Tango can export your scanned meshes to .obj files. Programs like 3DSMax allows you to import several .obj-files.
To create a mesh of a room with project tango and export the files you can use the constructor app.

How to load 3d object from web server or url in vuforia unity 5.1?

I want to load a 3D object from a URL to a CloudRecoTarget, anyone knows how to do it?
Can you specify your intention more precise? I'm not sure if if get it.
Where is your problem and what kind of technology are you using (App, Server...)?
I guess you want to upload a 3D object, that you are downloading from somewhere of the web, to the Vuforia Cloud Database to create a Vuforia Marker that can be used in Unity for an AR application.
Usually you have a server that handles the communication between the app and the Vuforia API. Your server can simply add a target (your 3d object) to the cloud database and after analysing the target you can download the marker from Vuforia. That's the way I've done it.
Probably you can do this without a server using Unity and C# only. Have a look at the Vuforia API to write you own Vuforia Client in C#. Maybe there is a code snippet somewhere.