Stereoscopic 3D creates depth by showing the eyes slightly different viewpoints. A split-screen scene, aligned over the eyes, produces the impression of entering a virtual world. section 15.2
Phones can track head movement by combining accelerometer, gyroscope, and magnetometer readings through sensor-fusion algorithms. Web Components can encapsulate these sensing and rendering complexities. section 15.2
A web implementation depends on several layers:
- Sensor fusion estimates how the viewer’s head moves. section 15.2
- WebGL uses the GPU for serious real-time 3D rendering, rather than relying on slower CPU graphics. section 15.2
- Shaders transform geometry and pixels, but a simple image effect remains far short of a complete 3D scene. section 15.2
