Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 3.77 KB

File metadata and controls

45 lines (32 loc) · 3.77 KB

Sample Scenes

The main scene to build is "TheWorldBeyond.unity." Smaller scenes in the project simplify the development experience, located in the Scenes folder:

Passthrough Pet

Passthrough Pet

Explore augmented pet behavior here. It provides Scene elements as occluding colliders so Oppy convincingly renders behind and avoids furniture. A NavMesh is created for her to walk on, and pressing the index trigger on the right controller sets a target towards which she navigates. Learn more about Unity's navigation system from their documentation.

Passthrough Room

Passthrough Room

Scene elements are loaded, and wall/ceiling/door/window game objects are destroyed. A modified ball shooter demonstrates collision with Scene elements. This scene can serve as a base when your room is the center of a VR playspace.

Virtual Frames

Virtual Frames

Rendering a virtual world outside your windows is achieved with rendering tricks shown in this scene. Prefabs similar to the overrides in this scene's OVRSceneManager are required. The virtual environment renders first, then the frame-and-depth-occluder prefab where windows and doors are. Finally, Scene walls render 0 to alpha, revealing Passthrough.

  • Furniture resizer to demonstrate consistent frame width
  • Floor fade material at door base
  • Grass at door perimeter instantiated in SampleDoorDebris.SpawnDebris()
  • User notification if missing door or windows in Scene data

Voice Transcription

Voice Transcription

This sample transcribes the user's speech to text, including a button supported by the Interaction SDK and a text dialog prefab for developers to provide more information to users.