View-dependent stereo in the Unity game engine. Allows viewing runtime imported .GLB models with motion parallax. Off-axis projection is used to achieve the correct camera perspective.
The Unity project source code is in the src folder. In addition to the Unity application, there are the scripts and models folders. Those are related to my photogrammetry pipeline for visualizing the restoration process of statues in different stages of restoration, which I then import into the Virtual Showcase application.
Download the latest Windows build.
If you just want to see how it works, download the build from the releases.
- Clone the repo:
git clone https://github.com/YelovSK/Virtual-Showcase.git
.
- Import these assets from the Unity Asset Store:
- Big Furniture Pack for the room decoration. To change the materials to be URP compatible, select the materials in
Assets/BigFurniturePack/Models/Materials
and go to Edit → Rendering → Materials → Convert Selected Built-in Materials to URP.
- Download these .fbx models - PcMonitor.fbx, uploads_files_873805_studio_objs.fbx and put them in Assets/Objects via the file explorer, not dragging into Unity (the .meta file with guid gets rewritten if dragged inside the Unity window). I don't want to add them to the repo due to licensing issues.
- You should be asked to import TextMeshPro after the first run (the essentials are enough).
KalmanFilter for smoothing eye keypoints.
Video.z.prvej.osoby.mp4
Recorded before implementing position interpolation, so movement appears a bit choppy due to a low FPS webcam.