Sample 4—Static Mesh

../_images/figure9_static_mesh_sample4.png

Compatibility

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

Features

Feature

Description

Static Mesh

Pre-scanned mesh that is built based on depth data taken from multiple frames

Components

../_images/figure10_components_sample4.png

GameObject

Components

Description

Sample4_StaticMesh

Sample4_StaticMesh

Handles controller inputs for operating mesh (scanning, saving, and loading mesh) & generating throwable objects

SwitchMode

ViveSR_Experience_SwitchMode

Contains functions for switching between MR and VR

StaticMesh

ViveSR_Experience_StaticMesh

Contains functions for scanning, saving, and loading mesh

ViveSR_Experience_Recons3DAssetLoader

Contains functions for loading mesh data saved on the local disc

Controller Input

Input

Description

Touchpad Up

Start scanning

Touchpad Down

Load saved mesh data from the local disc

Touchpad Left

Stop scanning

Touchpad Right

Save mesh

Trigger

Generate a toy to throw

Grip

Switch Collider Display—available only after mesh data is loaded