Module 05 · Your room as a world

Rebuilding a room 1:1 and moving between MR and VR

At the endA 1:1 twin of your room you can switch into

Recorded on the headset
Time
about 50 min
Level
Advanced
You need
Unity 2022.3 LTS (Built-in render pipeline), Meta XR Core SDK, MR Utility Kit · A CC0 modular interior kit (for example from Kenney or Quaternius) or your own models · Python 3 (your agent runs it for the room model and checks) · Quest 3 or 3S, a tape measure · Claude Code or Codex

Evidence: documented practice with some reconstructed steps.

What this lesson covers

The strongest effect I've built in mixed reality - your room turns into another room around you, with your bed still where your knees expect it. How to measure the room, rebuild it 1:1 in an original style with strict matching rules, align it to the live Space Setup with one rotation and one shift (and refuse fits above 0.35 m), keep baked lighting by moving the room as one block, and switch between passthrough and VR with masks in room coordinates.

  • Turn measurements into a confirmed room model, with the agent proposing and you confirming
  • Brief a 1:1 themed twin with matching rules (same place and size, nothing where the real room is empty, no fallbacks)
  • Demand a rigid alignment that resolves the 180° ambiguity with evidence and refuses fits above 0.35 m
  • Get transitions as masks in room coordinates (spreading from a point, rising from the floor, a strip of real room between two rooms)

This lesson is part of full access

You can see above what it covers. The steps, prompts, code and downloads open with full access: all 46 lessons for €49, paid once.