Open Bug 1171764 Opened 10 years ago Updated 3 years ago

[meta/webvr] Allow Iframe to be used as "portal" into another 3d world/view

Categories

(Core :: WebVR, enhancement)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: caseyyee.ca, Unassigned)

Details

(Whiteboard: [webvr] [horizon])

Attachments

(1 file)

Attached image iframe-viewport.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2420.0 Safari/537.36 Steps to reproduce: We need this to be able to view CSS-VR sites from within Horizon. Actual results: iframe embedded CSS-VR content shows extreme perspective. http://caseyyee.github.io/experiment-cssvr-iframe/iframe.html The screen shots are from May 7th builds.
Whiteboard: webvr, horizon
Whiteboard: webvr, horizon → [webvr] [horizon]
Testing bugzilla slack integration (forgive me)
-> Core/General; in order to do this we'll likely need to hang a bunch of bugs off this one. This is essentially allowing multiple preserve-3d contexts to exist, with flattening along the way, but with different viewports.
Component: Untriaged → General
Product: Firefox → Core
Summary: Allow Iframe to be used as "portal" into another 3d world/view → [meta/webvr] Allow Iframe to be used as "portal" into another 3d world/view
Attempted to fix this in-content by applying the inverse perspective matrix to the containing element of the iframe. Turns out, the left/right eye projections are slightly different and the cannot be reversed uniformly. The fix will have to happen in platform.
Component: General → WebVR
Type: defect → enhancement
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: