Archive 17/01/2023.

Could Urho3d run on Hololens?

larsonmattr

The Microsoft Hololens is an augmented reality device that can display 3D objects as if they were physical objects. Currently there is support to deploy Unity3D UWP programs to the Hololens, but no other available 3D engines. How difficult would it be to use Urho3D with the Hololens?

There was a prior thread with users experimenting with deploying Urho3D as a UWP application. It sounded like a successful effort sans mixing with XAML UI. The hololens requires UWP support, and additionally supporting the Hololens library for interacting with the mesh of the environment & probably for gestures.

The Hololens is an x86 device, ~1 gigahertz cpu. It has a limit of ~150,000 triangles max for good performance and suggested basic textures/illumination.

Any thoughts on how I could start experimenting along creating and deploying as a UWP application for the Hololens?

Egorbo

I’ve just managed to launch Urho3D (C++) in 2D mode (UWP) on HoloLens emulator:

I’ll send a PR soon.

larsonmattr

@Egorbo

Good news, thanks for working on this and the PR.

Vincentwx

@Egorbo, I am just wondering if you will do an C# binding wrapper.

larsonmattr

It looks like the work on Urho3D & UWP is happening on the UrhoSharp (xamarin/urho) project. EgorBo has been building on a branch there (github.com/xamarin/urho/tree/uwp).

@EgorBo
For us non-C# people, what is the best way to get the UWP code into urho/urho3D? What is the relationship between the urho/urho3d and xamarin/urho projects? Does the xamarin codebase push changes back to urho/urho3D?

Egorbo

[quote=“larsonmattr”]It looks like the work on Urho3D & UWP is happening on the UrhoSharp (xamarin/urho) project. EgorBo has been building on a branch there (github.com/xamarin/urho/tree/uwp).

@EgorBo
For us non-C# people, what is the best way to get the UWP code into urho/urho3D? What is the relationship between the urho/urho3d and xamarin/urho projects? Does the xamarin codebase push changes back to urho/urho3D?[/quote]
The screenshot above is C++ UWP. I had to rewrite UWP SDL and now I am trying to figure out how to merge it with urho3d cmake system.

AlCaTrAzz

would be very interested to see how this works out, is it very different to getting it to work on VR?