After importing, the MRTK examples are still compressed in a package. If you missed this step, you can open up the Mixed Reality Feature Tool now and import the Mixed Reality Toolkit Examples.ġ. If you followed along with the previous post, you should already have the example scenes imported into your project. Opening an MRTK example projectīeing able to test out a working HoloLens 2 application can be instructive. Rename it to something your can remember ( M圜ameraProfile will work in a pinch).Ħ. Go ahead and clone the DefaultXRSDKCameraProfile. The MRTK configuration files are set up in a daisy chain fashion, with config files referencing other config files, all of which can be copied and customized. Next, click on the Clone button and choose a new pertinent name for your application’s configuration (if you can’t think of one, then the old standby M圜onfigurationProfile will work in a pinch – you can go back and change it later).ĥ. Without making this change, even basic head tracking will not work for you.Ĥ. It is extremely important that you switch from the default DefaultMixedRealityToolkitConfigurationProfile to DefaultXRSDKConfigurationProfile. The naming of these profiles is confusing. In the Inspector pane for the MixedReality Toolkit game object, there is a dropdown of various configuration profiles. Select the MixedReality Toolkit game object.ģ. Verify in the Hierarchy window that your new scene includes the following game objects: Directional Light, MixedReality Toolkit, and Mixed Reality Playspace. This will add the needed MRTK components to your current scene. From the Mixed Reality Toolkit item in the toolbar, select Add to Scene and Configure.Ģ. Setting up a new scene for the HoloLens only takes a few steps.ġ. Use the project from the previous post in which you configured the project settings, player settings, build settings, and imported the MRTK to use with the new XR SDK pipeline. Finally I will show you how to set up and configure one of the MRTK built-in example projects. In this post, I will continue building on that project by showing you how to set up an HoloLens 2 scene in Unity using the Mixed Reality Toolkit. In the first part of this series, I provided a detailed walkthrough of setting up a project using new Unity XR SDK pipeline for HoloLens 2 development and how to integrate it with the HoloLens 2 toolchain.
0 Comments
Leave a Reply. |