Skip to content

Unity AR Scene

fabo-0 edited this page Jul 12, 2024 · 2 revisions

Unity AR Scene:

Our first question is: "which objects are needed in our Unity scene for AR?"

Installed packages:

-> See here: https://github.com/cgtuebingen/spatial_xr/wiki/Projekteinstellungen-in-Unity

List of needed Objects:

  • XR Origin(XR Rig) -> This contains an AR Camera Manager, for which the tracking mode should be set to "device". The subcomponent of the camera should get a background type solid color with full transparency.
  • AR Session -> In here the components "AR Input Manager" and "AR Session" need to be added.
  • XR Interaction Manager -> For now we only require an XR Interaction Manager.

Scene

Und damit hat man auch schon eine Passtrough fähige Szene in Unity. Zum Testen des Passtroughs muss die App in die Brille geladen werden. Controllerfunktionen und Handtracking, sind dabei nicht dabei.