Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 2.09 KB

File metadata and controls

55 lines (34 loc) · 2.09 KB

Opengl-on-Hololens2

This code is a sample program for streaming OpenGL API on Hololens2.

We modified microsoft/MixedReality-HolographicRemoting-Samples. microsoft/MixedReality-HolographicRemoting-Samples to enable OpenGL.

Setup

1- Open the .sln file.

2- On first use, right-click the solution and select Restore NuGet Packages.

Running using Visual studio:

Debug Propeties -> Configuration poperities -> Debugging -> command Arguments -> <Hololens2 Ip Address>

Command line

./SampleRemoteOpenXr.exe <Hololens2 Ip Address.> 

Output

The below Windows show the rendered scene from Both OpenGL and Hololens2

Hololens2 View

3D Manipulation

The user can manipulate the triangle with translation, rotation, and scaling.

Right hand -> translation.

Left hand-> rotation.

Both hands -> scaling.

Close your thumbs and your index finger to start the interaction. Follow the hand gesture in the following image:

Citation

If you use our code in a research project leading to a publication, please cite it using the following BibTex entry

@misc{Nanovis:OpenGLHolographicRemoting,
 author = {Shorouq Altamimi, Ruwayda Alharbi, Ondrej Strnad, Ivan Viola},
 title = {OpenGL Holographic Remoting},
 howpublished = {\url{https://www.nanovis.org/Holographic-Remoting.html}},
 year = {2021} }
}