Sample 8—Tile Drawer

../_images/figure17_laying_tiles.png
../_images/figure18_depth_occlusion_1.png

Depth Occlusion Disabled

../_images/figure18_depth_occlusion_2.png

Depth Occlusion Enabled

Compatibility

AMD graphics cards are not compatible with SRWorks’ 3D Reconstruction module, a requirement of this scene.

Features

Feature

Description

Tile Placement

Places tile GameObjects on selected pre-scanned mesh

Depth Occlusion

The tiles will occlude real world objects based on depth information

Components

../_images/figure19_components_sample8.png

GameObject

Components

Description

Sample8_Tile Drawer

Sample8_Tile Drawer

Handles controller inputs for laying tiles on scanned mesh and for toggling depth occlusion

TileDrawer

ViveSR_Experience_TileMgr

Manages generated tile GameObjects

ViveSR_Experience_TileSprawner

Contains functions for laying tiles on scanned mesh