Skip to content

lmxy0212/Younique.XR

Repository files navigation

Have you ever dreamed of owning a life simulator?

What about having a Dokodemo Door?

Some cool videos you should watch

And follow us on instagram to learn more about ur Younique Journey:

About The Project

The year is 2040.

In a world overwhelmed by data, Younique suddenly came into view.

Amidst this sea of endless possibilities and pervasive uncertainty, struggling Generation Alpha found Younique to be a beacon of clarity. It offers them a clear path through the information overload and serves as a guiding light, providing relief from their struggle to make informed life decisions.

Update

We're currently developing our MVP, an immersive virtual experience centered around the art of ikebana. We believe that this XR project offers complex interactions that traditional media can't easily replicate. To bring this vision to life, we've digitized a physical space using 3D scanning technology, turning it into a virtual environment where users can interact with 3D scanned flowers. Participants use a VR headset to arrange these flowers, crafting their own ikebana creations. Afterwards, they can explore and interact with their floral designs in augmented reality, making the experience even more engaging.

Contributors

Mackenzie Li, XR Generalist, Harvard 25', manxueyingli@mde.harvard.edu

Grace Mai, Technical Artist, Harvard 25', gmai@mde.harvard.edu

Vera Wu, Creative Prototyper, Harvard 25', vwu@mde.harvard.edu

Table of Contents

  1. Build With
  2. Documentations
  3. Getting Started
  4. Contributing
  5. Credits
  6. <li><a href="#license">License</a></li>
    <li><a href="#acknowledgments">Acknowledgments</a></li>
    

Build with

Unity 2022.3.21f1 | StandardRP | GraphicAPI-DX12

OpenXR + XR Interaction Toolkit 3.0.1

Tested on Quest2 and Quest Pro

(back to top)

Documentations

Updated on Apr14/2024

Folder Structure

  • Current active Scene: Assets/Scenes/IkebanaWIP

  • All Scripts can be fond in Assets/Scripts

  • All prefabs in the scene are located in Assets/Flowers

  • Gaussian Splat assets can be created from Tools/Gaussian Splat/Create GaussianSplatAsset

Key Features

Gaussian Splat Assets:

Plates:

  • Plates featuring kanzan can be picked up.
  • Once pick up a plate for the first time, player will see a description of kanzan.

Knife:

  • Player can pick up the knife.
  • Use the knife to trim the branches and leaves of flowers.

Flowers and Leaves:

  • These can also be picked up.
  • Player can use the knife to cut them.
  • The main branch can be snapped to the kanzan.

Book/Manual:

  • Player can flip through the book in both directions, depending on which side is touched.

Menu:

  • clickable hologram
  • Save the selected ikebana to FBX when camera button is clicked

Scripts

Snapping: snap to pos, preserving the rotation and toggle physics when snap/unsnapped

  • AutoSnap.cs: Attach to snap destination
  • SnapObj.cs: Attach to the snaped object

Hand Interactions: interactions using hands (other than grab)

  • FlipBook.cs: Control flip book forward and backward animation
  • HandMenuInteracter.cs: Control menu buttons
  • MenuController.cs: Control menu item transform

Object Manipulation:

  • Cutcutcut.cs: Unparent the gameobject that is nearest to the cut point.

Tooltip:

  • StayVertical.cs: Make info panel stay vertical and facing the camera
  • TwoPoiintLine.cs: Render line between two point (run in editor)

Save FBX file:

  • CustomFbxExporter.cs: Save the selected gameobject to FBX to the desired location (modified from Fbx Exporter for Unity)

Overwrite XRI:

  • CheckOnGrab.cs: Enable tooltip on the first grab

  • CustomSocketInteractor.cs: Flag the gameobject being snapped by socket interaction

  • SetDynamicAttachPos.cs: Set dynamic attach pos when XRGrabIneractable is attached to the gameobject in runtime

  • XRInstantiateGrabbableObject.cs: Instantiate XRGrabInteractable to gameobject

Audio:

  • PlayAudio.cs: Play audio on collision

(back to top)

Getting Started

Prerequisites

  • Unity 2022.3.21f1

Installation

  1. Clone the repo

    git clone https://github.com/lmxy0212/VRGaussianSplat.git
  2. Open with Unity Hub

    project path: /VRGaussianSplat/VRGaussianSplat-Younique

(back to top)

Credits

Assets and external resources used in this projects:

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

This project is developed in Harvard MDE Studio II in Spring 2024, adviced by Jonathan Grinham, Karen Reuther, Kipp Bradford, Mark Coughlin.

(back to top)