Skip to content

This simple UI editor allows you to change and create multiple passthrough settings directly in your build and save it as a JSON configuration

Notifications You must be signed in to change notification settings

immersive-arts/quest-passthrough-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quest Passthrough Editor

alt text

Introduction

The Quest/2 passthrough functions allow developers to create mixed reality experiences and games by integrating the camera image of the VR headset. There are multiple options to customize the black and white camera feed. However, the changes only apply in a new build, which means you have to switch back and forth between the editor and the build. This simple UI editor allows you to change and create multiple passthrough settings directly in your build and save it as a JSON configuration. Later this configuration can be added to the Unity Project and will be applied on startup.

Process

Build an APK of this project or implement it into your existing project. Install and run the application and create multiple passthrough presets. Use Android File Transfer to copy the saved JSON config from your headset to your computer. The JSON config on the quest/2 is stored under the following path: Android/data/com.companyname.appname/files/PassthroughData.json

Replace the newly created JSON with the JSON of your unity editor on the presistent data path. When changing into the play mode of the Unity editor, the new configuration is loaded from your JSON config and you can write it to the OVRPassthroughLayer.cs component by selecting the specific preset in the game UI. While in play mode, use copy component to copy the data. After that stop the play mode and paste the copied data onto the component to store it permanently.

alt text

Repository

This Unity project has been developed and tested with Unity 2020.3.13f1. Import the Oculus Integration from the asset store in to this project.

Licenses

All code is licensed under CC-BY.

Credits

Created by the IASpace, Zürich University of the Arts, Switzerland.

  • Chris Elvis Leisi - Associate Researcher at the Immersive Arts Space

About

This simple UI editor allows you to change and create multiple passthrough settings directly in your build and save it as a JSON configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published