Presenting 2D Web Content in XR
TPAC 2018
Presenting 2D Web Content in XR TPAC 2018 Overview 2D Web Content - - PowerPoint PPT Presentation
Presenting 2D Web Content in XR TPAC 2018 Overview 2D Web Content in 3D XR - Background Rendering Context - Potential implementation paths forward - Open questions, concerns 2D Web Content in 3D XR Rendering Context Background - 2D
TPAC 2018
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
New platforms and hardware, new features to explore for rendering 2D content securely and performantly. Compositors
Quad Layer
transparency
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
Rendering context and transform-style: preserve-3d;
rendering context when certain CSS attributes are defined on elements in the rendering context.
Instantiate new rendering context for element with will-change: transform; property
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
History of DOM to Texture
access to cross-origin content pixel data, input injection.
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
devices
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
the DOM tree hierarchy?
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
DOM quad layer
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
In order to interact with DOM content, UA will need to:
generating existing DOM events to 2D window coordinates.
2D Web Content in 3D XR Rendering Context
2D Web Content in 3D XR Rendering Context
Visual Representation
document does not get access to nested document pixel data Inputs
rendering
same input data.
2D Web Content in 3D XR Rendering Context
Differences in underlying platform support - Platform Capabilities
Platfor m Quad Layer Occlusion Depth Buffer ARKit N N N ARCore N N N Google VR SDK N* N N Magic Leap N* N N Oculus Y, multiple (ovrLayerQ uad) Y Y Platform Quad Layer Occlusion Depth Buffer OpenVR Y, limited (IVRComposit
N* N OpenXR Y, multiple (XrCompositor LayerQuad) Y* Y* WMR Hololens N (MaxQuadLay ers set to 0) N N WMR Immersive Headsets Y, multiple (HolographicQ uadLayer) Only with
layers N*
2D Web Content in 3D XR Rendering Context
platforms
necessary to do so or are there other features that will need their own layer abstraction?
world?
2D Web Content in 3D XR Rendering Context