Introduction to mechanisms and programming for virtual reality, augmented reality, and related technologies. Covers elements of a standard VR system, including creating, managing and rendering visual and audio VR content, tracking orientation and positions of head mounted display (HMD) and controller, rendering stereo imagery for VR headsets, and implementing approaches for user interactivity.