This is a proof of concept project for using MR (Mixed Reality) to visualize dynamic emissions data in a 3D environment.
- Download and install Unity Hub from https://unity.com/download.
- Sign up for a Unity account if you don't have one.
- When asked to install the newest version of Unity, click "Skip Installation".
- Clone this repository to your local machine.
- Open the project folder in Unity Hub (Add > select folder).
- You will be prompted to install the required Unity version (6000.0.24f1). Click "Install" and follow the instructions.
- When selecting modules during installation, ensure the following are checked:
- Android Build Support
- Android SDK & NDK Tools
- OpenJDK
- Once installation completes, Unity Hub will automatically open the project.
- Unity will automatically download and install all required packages (this may take several minutes on first launch).
- This project is designed to work with the Meta Quest 3 headset due to its advanced passthrough capabilities, which allow for a more immersive XR experience.
- Follow the official Meta Quest 3 setup guide to configure your headset: Meta Quest 3 Setup Guide.
- Enable Developer Mode on your Meta Quest 3 headset (required for deploying custom applications).
- Place your input data file in
Assets/StreamingAssets/. - In Unity, navigate to
Tools > Data Asset Baker > Bake the dataset. - Wait for the baking process to complete.
- Locate the baked dataset in the Assets folder.
- In the Hierarchy, find the
BakerGameObject. - Drag the baked dataset into the
Dataset Assetfield on the Baker component.
- In Unity, go to
File > Build Settings. - Ensure
Androidis selected as the target platform. If not, select it and clickSwitch Platform(this may take a few minutes). - Open
Edit > Project Settings > XR Plug-in Managementand ensureOculusis enabled under the Android tab. - Connect your Meta Quest 3 headset to your computer via USB-C cable.
- Ensure your headset is turned on and you've allowed USB debugging when prompted on the headset.
- In the Build Profiles tab (within Build Settings), change the
Run Devicefrom "Default" to your connected Meta Quest 3 headset. - Click
Build and Runto compile and deploy the application to your headset.
The application should now launch on your Meta Quest 3 headset, allowing you to visualize your emissions data in an immersive XR environment.
- If the headset isn't detected in the Run Device dropdown, check that USB debugging is enabled and try a different USB cable.
- If the build fails, ensure all required packages have finished installing (check the Package Manager).
- Make sure Developer Mode is enabled on your Meta Quest 3 device.