hololens

HoloLens Emulator (1st edition) failed to install. Needs Universal Windows Platform tool extension optional feature for Unity

僤鯓⒐⒋嵵緔 提交于 2020-07-10 09:23:05
问题 I have been trying to install the HoloLens emulator with no success. I have installed and uninstalled the windows SDK, Installed and enabled visual studios as the external editor and installed the UWP tools when I installed VS 2019. I have Windows 10 Pro installed and Unity 2018.4 . I have installed the Windows 10 SDK (10.0.17763.0) through the VS Installer. When I run the HoloLens Installer I get these log errors. ValidateVisualStudioVersion: Visual Studio 2017 meets the minimum version

Create a very simple OPC client in Unity3d with opc ua .net library

泄露秘密 提交于 2020-06-27 10:08:32
问题 I am getting these errors while trying to implement a simple OPC client in .Net with Unity3D.These errors are in Visual Studio: Severity Code Description Project File Line Suppression State Error CS0012 The type 'X509CertificateValidator' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ServiceModel.Primitives, Version=4.5.0.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test C:\Users\hidethepain\Documents\opc\Assets\main.cs 27 Severity

How do you detect whether your Mixed Reality app is running on HoloLens 1, HoloLens 2 or an immersive headset?

和自甴很熟 提交于 2020-05-15 07:54:16
问题 Mixed Reality apps can soon run on three kinds of devices: HoloLens 1, Hololens 2 and Immersive (VR) headsets. Some behavior will likely be different depending on the type of device you run the app on. How can I ask the SDK what kind of device my app is running currently on? 回答1: If you are using MRTK (I noticed you might based on your tag), then the best way to do this is by using platform capabilities utility, since that will work as new devices come out, and across platforms. For example,

How to mimic HoloLens 2 hand tracking wIth Windows Mixed Reality controllers [MRTK2]?

こ雲淡風輕ζ 提交于 2020-05-12 08:36:52
问题 The HoloLens 2 will feature hand tracking and the ability to reach out and poke UI elements. With Unity and the Mixed Reality Toolkit V2, the input for the hand-tracked near interactions (ie poking) comes the PokePointer class and to generate events for GameObjects having BaseNearInteractionTouchable components. My question is how can we get the same PokePointer events from virtual reality controllers such as the Windows Mixed Reality controllers? This would make it possible to prototype on

How to mimic HoloLens 2 hand tracking wIth Windows Mixed Reality controllers [MRTK2]?

旧街凉风 提交于 2020-05-12 08:33:54
问题 The HoloLens 2 will feature hand tracking and the ability to reach out and poke UI elements. With Unity and the Mixed Reality Toolkit V2, the input for the hand-tracked near interactions (ie poking) comes the PokePointer class and to generate events for GameObjects having BaseNearInteractionTouchable components. My question is how can we get the same PokePointer events from virtual reality controllers such as the Windows Mixed Reality controllers? This would make it possible to prototype on

HoloLens开发手记 - 使用配件 Working with accessories

泪湿孤枕 提交于 2020-01-31 03:27:08
HoloLens提供了通过蓝牙使用配件的能力。使用附件两种常见情况是用来点击手势和虚拟键盘。对本文来讲,两个最常见的配件就是HoloLens Clicker(点击器)和蓝牙键盘。HoloLens包含了一个蓝牙4.1射频器,同时支持蓝牙HID和蓝牙GATT配置文件。 配对蓝牙附件 Pairing bluetooth accessories HoloLens配对一个蓝牙外围设备的体验和在Windows 10桌面和移动端配对类似: 从开始菜单,进入设置 前往设备菜单 如果蓝牙是关闭的,则打开蓝牙开关 使你的蓝牙设备进入 配对 模式。不同的设备做法都不一样。大部分蓝牙设备通过长按一个或多个按钮进入配对模式 等待设备名称出现在蓝牙设备列表中。一旦出现,就点击配对按钮。如果你周围有很多设备的话,你需要滑动列表去寻找你的设备,然后尝试配对 当和具有输入能力的蓝牙附件配对时,可能会出现6位或8位数字pin码。确保你输入了正确的pin码,以完成配对 点击器 HoloLens Clicker HoloLens Clicker是第一款为HoloLens特别定制的外围设备,它被包含在HoloLens开发者版套件中。HoloLens Clicker允许用户使用最小的手部移动来实现点击和滑动,以来替换点击手势(Air-tap)/它不是所有手势的替代品。例如,绽开手势(Bloom)和缩放或移动手势使用了手的运动

Hololens font camera

一个人想着一个人 提交于 2020-01-25 23:06:52
问题 I'm working with hololens, and I'm trying to get the image of the front camera. The only thing I need is to take the image of each frame of that camera and transform it into a byte array. 回答1: Follow Unity Example in the documentation . It has a well written example: https://docs.unity3d.com/Manual/windowsholographic-photocapture.html Copied from the unity documentation from the link above: using UnityEngine; using System.Collections; using System.Linq; using UnityEngine.XR.WSA.WebCam; public

Hololens font camera

拜拜、爱过 提交于 2020-01-25 23:06:20
问题 I'm working with hololens, and I'm trying to get the image of the front camera. The only thing I need is to take the image of each frame of that camera and transform it into a byte array. 回答1: Follow Unity Example in the documentation . It has a well written example: https://docs.unity3d.com/Manual/windowsholographic-photocapture.html Copied from the unity documentation from the link above: using UnityEngine; using System.Collections; using System.Linq; using UnityEngine.XR.WSA.WebCam; public

Hololens font camera

99封情书 提交于 2020-01-25 23:05:07
问题 I'm working with hololens, and I'm trying to get the image of the front camera. The only thing I need is to take the image of each frame of that camera and transform it into a byte array. 回答1: Follow Unity Example in the documentation . It has a well written example: https://docs.unity3d.com/Manual/windowsholographic-photocapture.html Copied from the unity documentation from the link above: using UnityEngine; using System.Collections; using System.Linq; using UnityEngine.XR.WSA.WebCam; public

Trouble with FilePickers in Unity Hololens development

断了今生、忘了曾经 提交于 2020-01-17 07:15:05
问题 I found a terrific reference on how to get started with file pickers. But with that being said, I am not able to get the provided code working for my Unity Hololens app. My scenario: I've a file, lets say an object file, like such, 3DModel.obj. I want my app to be able to locate this file (3DModel.obj) at runtime, and then load it at runtime. I'm attempting to use these read/write functions but I'm getting no where. I've run through numerous functions such as, Windows.Storage.ApplicationData