PPTIK FORUM
Hololens / Windows Mixed Reality based Development - Printable Version

+- PPTIK FORUM (http://forum.pptik.id)
+-- Forum: Learning Material (http://forum.pptik.id/forumdisplay.php?fid=1)
+--- Forum: 3D Computer Graphics & Virtual Reality (http://forum.pptik.id/forumdisplay.php?fid=9)
+---- Forum: Computer Graphics (http://forum.pptik.id/forumdisplay.php?fid=1825)
+----- Forum: VR / AR (http://forum.pptik.id/forumdisplay.php?fid=1827)
+----- Thread: Hololens / Windows Mixed Reality based Development (/showthread.php?tid=72561)



Hololens / Windows Mixed Reality based Development - vpratama - 07-03-2020

[Image: ce30b57e-9eb3-4918-bd2e-80930ee2f72e_169.jpg?w=650]

Microsoft memperkenalkan teknologi baru bernama Windows Holographic / Hololens yang memungkinkan para pengguna berinteraksi dengan objek tiga dimensi (3D) di sekitar Anda.

Untuk bisa melihat dan menyentuh gambar hologram tersebut, pengguna harus memakai perangkat khusus yang dikenakan di kepala bernama HoloLens. Para pengguna bisa berinteraksi secara langsung dengan gambar seperti menarik mereka, mencubit, menekan, hingga mengibas.


Teknologi di dalamnya membuat perangkat canggih ini mengenali gerakan, suara pengguna serta bisa memetakan keadaan sekitar.

Sebagai contoh kasus, ada seorang perempuan pengguna HoloLens butuh bantuan untuk memperbaiki wastafel yang bocor. Kemudian ada seorang lelaki di kota berbeda, sedang memainkan gadgetnya dan melihat apa yang perempuan itu juga lihat.

Maka lelaki itu bisa membantunya dengan cara menandai pipa bocor yang harus diperbaiki, kemudian perempuan itu bisa langsung melihat tanda 3D yang ditunjukan si lelaki untuk diperbaiki.


Reality - vpratama - 07-03-2020

[Image: holographic_comparison.jpg]


Reality Spectrum - vpratama - 07-03-2020

[Image: mixedrealityspectrum.png]
[Image: mixed-reality-venn-diagram-300px.png]


RE: Hololens / Windows Mixed Reality based Development - vpratama - 07-03-2020




RE: Hololens / Windows Mixed Reality based Development - vpratama - 07-03-2020

Tahap Persiapan

Siapkan Windows 10 Pro / Education dan Visual Studio Serta Windows 10 SDK
Installation checklist
INSTALLATION CHECKLISTTool
Description
Notes[Image: windows10_logo.png]

Windows 10 (Manual install link)

Install the most recent version of Windows 10 so your PC's operating system matches the platform for which you're building mixed reality applications.
Installing Windows 10
  • You can install the most recent version of Windows 10 via Windows Update in Settings or by creating installation media, using the link in the left column.

  • See current release notes for information about the newest mixed reality features available with each release of Windows 10.
Enable developer mode on your PC at Settings > Update & Security > For developers.

Note for enterprise and corporate-managed PCs: if your PC is managed by an your organization's IT department, you might need to contact them in order to update.

'N' versions of Windows: Windows Mixed Reality immersive (VR) headsets are not supported on 'N' versions of Windows.
[Image: visualstudio_logo.png]

Visual Studio 2019 (16.2 or higher) (Install link)
Fully-featured integrated development environment (IDE) for Windows and more. You'll use Visual Studio to write code, debug, test, and deploy.
Be sure you install the following workloads:
[/color]
  • Desktop development with C++

  • Universal Windows Platform (UWP) development
Within the UWP workload, be sure to check the following optional component if you'll be developing for HoloLens:
  • USB Device Connectivity
Note about Unity: Unless you're intentionally trying to install a newer (non-LTS) version of Unity for a specific purpose, we recommend not installing the Unity workload as part of Visual Studio installation, and instead install the **Unity 2019
LTS** stream as noted below.

Note: There are some known issues with debugging mixed reality apps in Visual Studio 2019 version 16.0. Please ensure that you update to Visual Studio 2019 version 16.2 or higher.


[Image: windows10_logo.png]

Windows 10 SDK (10.0.18362.0) (Manual install link)
Provides the latest headers, libraries, metadata, and tools for building Windows 10 apps on HoloLens 2.
To build HoloLens 2 apps, you must install the Windows SDK, build 18362 or later.

If you are only developing applications for desktop Windows Mixed Reality headsets or HoloLens (1st gen), you can use the Windows SDK installed by Visual Studio 2017.
[Image: hololensicon.jpg]

HoloLens 2 Emulator (Windows Holographic, version 2004 June 2020 Update) (Install link: 10.0.19041.1106)

HoloLens (1st gen) Emulator (Install link: 10.0.17763.134)
The emulator lets you run applications on a HoloLens virtual machine image without a physical HoloLens.

See Using the HoloLens emulator for more information on getting started with the emulator.

Your system must support Hyper-V for the emulator installation to succeed. Reference the System Requirements section below for details.


Siapkan Juga PC dan Laptop dengan Spesifikasi minimum sebagai berikut
Processor
Notebook: Intel Mobile Core i5 7th generation CPU, Dual-Core with Hyper Threading Desktop: Intel Desktop i5 6th generation CPU, Dual-Core with Hyper ThreadingOR AMD FX4350 4.2Ghz Quad-Core equivalent

GPU
Notebook: NVIDIA GTX 965M, AMD RX 460M (2GB) equivalent or greater DX12 capable GPU Desktop: NVIDIA GTX 960/1050, AMD Radeon RX 460 (2GB) equivalent or greater DX12 capable GPU
GPU driver WDDM version
WDDM 2.2 driver
Thermal Design Power
15W or greater
Graphics display ports
1x available graphics display port for headset (HDMI 1.4 or DisplayPort 1.2 for 60Hz headsets, HDMI 2.0 or DisplayPort 1.2 for 90Hz headsets)
Display resolution
Resolution: SVGA (800x600) or greater Bit depth: 32 bits of color per pixel
Memory
8 GB of RAM or greater
16 GB of RAM or greater
Storage
>10 GB additional free space
USB Ports
1x available USB port for headset (USB 3.0 Type-A) Note: USB must supply a minimum of 900mA
Bluetooth
Bluetooth 4.0 (for accessory connectivity)

Tutorial Installasi bisa dilihat di link berikut https://docs.microsoft.com/en-us/windows/mixed-reality/install-the-tools


RE: Hololens / Windows Mixed Reality based Development - vpratama - 07-03-2020

Choose your engine
[Image: unity_logo.png]
Unity
We typically recommend the Unity LTS (Long Term Support) stream as the best version with which to start new projects, updating to its latest revision to pick up the latest stable fixes.

The current recommendation is to use Unity 2019, which is the LTS build required for MRTK v2 below.

Some developers might want to use a different version of Unity for specific reasons. For those cases, Unity supports side-by-side installs of different versions.

See the Unity development overview to get started with Unity development for HoloLens 2 or Windows Mixed Reality immersive headsets.

[Image: final_mrtk-small_logo.png]
Mixed Reality Toolkit (MRTK)

Mixed Reality Toolkit (MRTK) v2 for Unity is an open source cross-platform development kit for mixed reality applications.

MRTK v2 is intended to accelerate development of applications targeting Microsoft HoloLens, Windows Mixed Reality immersive (VR) headsets, and the OpenVR platform. The project is aimed at reducing the barriers to entry in creating mixed reality applications and contributing back to the community as things evolve.[/size][/color]
[Image: unreal_logo.png]
Unreal

Unreal Engine 4 is a powerful, open source creation engine with full support for mixed reality in both C++ and Blueprints.

As of Unreal Engine 4.25, HoloLens support is full-featured and production-ready.

See the Unreal development overview to get started with Unreal development for HoloLens 2.

[Image: visualstudio-small_logo.png]
Native (OpenXR)

OpenXR is an open royalty-free API standard from Khronos that provides engines native access to a wide range of devices from many vendors that span across the mixed reality spectrum. The BasicXrApp project demonstrates a simple OpenXR sample with two Visual Studio project files, one for both a Win32 desktop app and one for a UWP HoloLens 2 app.

Native (WinRT)
The Windows Mixed Reality native app templates provide all of the essentials you need to start writing a mixed reality app using DirectX with native APIs. Includes a rendering loop (or "game loop"), a DeviceResources helper class to manage the Direct3D device and context, and a simple example hologram renderer. Available for Direct3D11 and Direct3D 12.

See the Native development overview to get started with native app development using WinRT or OpenXR for HoloLens 2 or Windows Mixed Reality immersive headsets.



RE: Hololens / Windows Mixed Reality based Development - vpratama - 07-03-2020

UrhoSharp HoloLens Samples
These samples use the UrhoSharp.SharpReality package and show how you can use Urho to create Holographic applications with HoloLens.

More: https://github.com/xamarin/urho-samples/tree/f1bcec78cf8b08c19f5bf29ddfd44181c9e47295/HoloLens

[Image: Video2.gif]
The above is the Physics sample in this directory.
Quick start
In order to start doing your holograms you can try our Visual Studio project template. It contains a basic scene and a few assets to get started: [Image: 68747470733a2f2f686162726173746f72616765...652e676966]
Making HoloLens applications with Urho is trivial, all you have to do is this:
Code:
using Urho;
using Urho.Actions;
using Urho.Holographics;
using Urho.SharpReality;
using Urho.Shapes;
using Windows.ApplicationModel.Core;

internal class Program
{
    [MTAThread]
    static void Main() => CoreApplication.Run(
        new UrhoAppViewSource<HelloWorldApplication>(
            new ApplicationOptions("Data")));
}

public class MyHoloApp : StereoApplication
{
    public MyHoloApp(ApplicationOptions opts) : base(opts) { }

    protected override async void Start()
    {
        // base.Start() creates a basic Scene
        base.Start();
       
        // Create a node
        boxNode = Scene.CreateChild();
        boxNode.Rotation = new Quaternion(0, 45, 0);
        boxNode.Position = new Vector3(0, 0, 2); //2 meters
        boxNode.SetScale(0.3f); //30cm*30cm*30cm

        // Attach a StaticModel to the node:
        var model = boxNode.CreateComponent<StaticModel>();
        model.Model = CoreAssets.Models.Box;
        mode.SetMaterial(Material.FromColor(Color.Yellow));
       
        boxNode.RunActions(new RepeatForever(new RotateBy(1f, 0, 90, 0)));
    }
}