Skip to content

nanovis/MixedReality-HolographicRemoting-Samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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} }
}

About

Code samples for using Microsoft's Holographic Remoting library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 75.3%
  • HTML 13.1%
  • C++ 10.7%
  • Objective-C 0.9%