Skip to content

About

A virtual reality game designed to get K-12 students students interested in engineering and medical research. Created by Charles Brammell at the Auburn Neuroimaging Research Center.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Made with Unity

MRI Anatomy Slicer VR

A standalone virtual reality educational game for Meta Quest. Players test their anatomical spatial awareness by slicing a 3D human model at the exact cross-section corresponding to a displayed medical MRI scan.

Designed to get K-12 students interested in engineering and medical research.

Gameplay Features

  • Dynamic MRI Targeting: The game randomly selects an MRI slice from various anatomical regions (Head, Chest, Abdomen, Legs, Feet) and challenges the player to locate that exact physical cross-section on the 3D patient model.

  • Precision Slicing Mechanics: Using a virtual sword, players physically strike the 3D model. The game calculates the exact height of the intersection down to the millimeter.

  • Instant Visual Feedback:

    • Red Plane: Renders exactly where the player's sword intersected the body part.

    • Green Plane: Renders the "perfect" target location for visual correction and learning.

  • Gamified Loop:

    • Scores are calculated based on slice accuracy (0-100% precision).

    • Local High Score persistence (saved to the headset).

    • 3-Strike System: Hitting the incorrect anatomical region counts as a strike. 3 strikes and it's Game Over!

Technical Implementation

The Math Behind the Slice (AnatomyHitbox.cs)

To accurately map a 2D MRI image to an organic 3D mesh, the system utilizes local transform matrix math rather than global coordinates.

  1. BoxColliders act as bounding volumes for individual anatomical regions.

  2. When the sword triggers an OnTriggerEnter event, the system calculates the world-space intersection point and converts it to the limb's local coordinate space using InverseTransformPoint().

  3. The local strike coordinate is normalized (0.0 to 1.0) along the limb's primary axis (X, Y, or Z).

  4. This normalized float is directly compared against the index of the displayed MRI image to calculate the player's accuracy percentage.

  5. Visual feedback Quads are dynamically spawned, parented, rotated, and scaled via code to perfectly fill the bounding box at the exact slice location.

Installation (Meta Quest)

Since this is a standalone VR application, you will need to sideload the .apk file to your Meta Quest headset.

  1. Download the latest mri-slicer-game.apk from the Releases tab.

  2. Enable Developer Mode on your Meta Quest headset via the Meta Quest mobile app.

  3. Connect your headset to your PC via USB-C.

  4. Use SideQuest or the Meta Quest Developer Hub (MQDH) to install the .apk file.

  5. Put on the headset, go to your App Library, filter by Unknown Sources, and launch the game.

Created by Charles Brammell at the Auburn Neuroimaging Research Center for the College of Engineering’s E-Day

About

A virtual reality game designed to get K-12 students students interested in engineering and medical research. Created by Charles Brammell at the Auburn Neuroimaging Research Center.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages