Skip to content

jankais3r/HoloMinecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HoloMinecraft

Minecraft as a real-world hologram. No glasses required.

Hardware Requirements

Software Requirements

Server

  • Minecraft Java Edition with Optifine
  • Python 3 with the following modules mss, pywin32, opencv-python, diff_match_patch
  • Windows (while this could be made to work on any OS, the window-identification part of the screen recording code is currently tailored for Windows)

Client

Demo

See it in action here and here.

Setup

  • If you plan on using HoloMinecraft without the HoloPlay service with hardcoded calibration values, get yours here and use them to replace my values on row 55.
  • If you are using a single computer as both server and client, you might have to reduce FPS on row 40, reduce the size of your Minecraft window, or both. I recommend using a PC as a server and an iPad as a client for best results.

Steps

  1. Put the DepthExtractor folder into your shaderpacks folder (e.g. C:\Users\Username\AppData\Roaming\.minecraft\shaderpacks\)
  2. Enable the DepthExtractor shader in Minecraft (Options… -> Video Settings… -> Shaders…)
  3. Run holominecraft.py
  4. Open http://localhost:9090/holo.html in your browser, move the window to the Looking Glass display and enable Fullscreen.