Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Debugging is the process of finding and resolving defects or problems within a computer program that prevent correct operation of the software.
Debugging tactics can involve:
Interactive debugging.
Control flow analysis.
Monitoring at the application or system level.
Reuse the model instance instead of a new model where ever you can.
In this section we will install Windows Mixed Reality developer tools and learn about how to use them.
Introduction to Mixed Reality Developer Tools and 3D Concepts
Short link: aka.ms/UnityMixedRealityDeveloperTools
In this section, we will go through the developer tools and how to get started with debugging our applications.
Second part of the course is focused on creating and using 3D assets in your applications.
Mixed Reality Toolkit(MRTK) supports in-editor input simulation. Simply run your scene by clicking Unity’s play button. Use these keys to simulate input.
Press W, A, S, D keys to move the camera.
Hold the right mouse button and move the mouse to look around.
To bring up the simulated hands, press Space bar(Right hand) or left Shift key(Left hand).
To keep in the view, press T or Y key.
To rotate simulated hands, press Q or E(horizontal) / R or F(vertical).
You can download the latest here:.
Before installing the emulator, make sure your PC meets the following hardware requirements:
Windows 10 Home Edition does not support Hyper-V or the HoloLens Emulator. The HoloLens 2 Emulator requires the Windows 10 October 2018 update or later.
The HoloLens Emulator lets you test holographic applications on your PC without a physical HoloLens. It also includes the HoloLens development toolset.
A 3D model is a digital representation of a real world object. Representing a 3D object requires you to get to know some parts that makes up the 3D object.
Polygonal modeling is an approach for modeling objects by representing or approximating their surfaces using polygon meshes.
Objects created with polygon meshes must store different types of elements. These include vertices, edges, faces, polygons and surfaces.
The more edges and faces a model has, detail if the model improves. On the other hand, having a high polygon count model will reduce the performance of your app. The calculation that needs to be done to render the model is expensive.
Developer Tools and 3D assets resources
Asset creation tools: https://github.com/Yonet/MixedRealityResources#asset-creation-tools.
Asset Libraries: https://github.com/Yonet/MixedRealityResources#asset-libraries.
Debugging C# code in Unity: https://docs.unity3d.com/Manual/ManagedCodeDebugging.html
Unity IL2CPP debugging: https://aka.ms/AA7qap4.
The Windows Device Portal for HoloLens lets you configure and manage your device remotely over Wi-Fi or USB. The Device Portal is a web server on your HoloLens that you can connect to from a web browser on your PC. The Device Portal includes many tools that will help you manage your HoloLens and debug and optimize your apps.
Turn on your HoloLens device.
Tab your wrist(HoloLens 2) or make a bloom gesture(HoloLens 1) to initiate Windows menu.
Open the Settings > Update & Security.
Select For Developers tab on the right hand panel.
Enable "use developer features" by toggling on/off button.
Scroll down at the For Developer settings to enable "Device Portal".
Go back to all settings page by clicking "Home" on the left hand panel and select "Network & Internet" settings.
Select "Wifi" tab on the left, if it is not already selected.
Select the wifi you are connected to and click on "Advanced Options".
Scroll down and write down the IPV4 address.
You will type in this IP address to your browser to reach to your device portal.
You might see a connection Alert as shown below:
Go ahead and click Advanced button and click Proceed to <your IP address>(unsafe).
Congrats, you made it to your device portal.
Click Views on the right hand panel and select "Live Preview" to see the camera view of your HoloLens.
You can turn off PV camera if you would like to share or record what you are seeing through your HoloLens but do not want to capture your environment.
You can see the videos recorded or screenshots you snapped by asking Cortana here, on the Videos and Photos section, if you enabled voice commands.