GithubHelp home page GithubHelp logo

Comments (3)

felixvh avatar felixvh commented on July 23, 2024 1

Hi @vimusc,

thanks for your reply! I continued my work with the OpenXR API so I don't need further help, thanks! I wasn't sure if I should leave the issue open as the actual problem wasn't solved. But I will close it now.

Thanks again and best regards
Felix

from mixedreality-qrcode-sample.

felixvh avatar felixvh commented on July 23, 2024

In case somebody has the same question: I could not make it work this sample. I tried to change the SpatialGraphCoordinateSystem.cs script by importing the feature Mixed Reality WinRT Projections using the Mixed Reality Feature Tool. After that I could import Microsoft.Windows.Perception.Spatial library such that the methods in the script are also available in the unity editor. However, when executing the script I got the following error with the method CoordinateSystem = Microsoft.Windows.Perception.Spatial.Preview.SpatialGraphInteropPreview.CreateCoordinateSystemForNode(id);

ArgumentException: Value does not fall within the expected range.

Long story short: I found another example in which they used OpenXR instead of the Windows XR Plugin. In this case it worked.

https://github.com/yl-msft/QRTracking

from mixedreality-qrcode-sample.

vimusc avatar vimusc commented on July 23, 2024

Hi @felixvh,

in general, it is possible to use QR codes with Holographic Remoting.
You can find the remoting QR sample here.

This Unity sample seems to be not quite up to date. After following your steps and addressing various Unity errors/warnings, I got it in a state, where the CreateCoordinateSystemForNode() call succeeded.
Nevertheless, I would recommend using the never OpenXR API and the sample you linked before.

Do you need further help?

Best regards
Vincent

from mixedreality-qrcode-sample.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.