You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, December 16th 2019, 4:41pm

Iframes in VR mode

Hi.
The new demo

https://krpano.com/releases/1.20.2/viewe…tml5=only+webgl


shows, that a HTML iframe can be embedded inside a desktop viewed panorama. Does it meant that the same iframe can also be viewed in VR mode?


If so is there an example for that?


2

Monday, December 16th 2019, 10:33pm

No!

3

Monday, December 16th 2019, 10:58pm

No!
How do you know and why? Firefox Reality and Oculus browser do work like that so it is possible.
https://www.youtube.com/watch?v=p05SKePDAcs&feature=emb_logo

4

Tuesday, December 17th 2019, 2:19am

How do you know and why? ...

Trust me ..
..
..
..
VRmode = only hotspots no layers;
iframe only in layers possible (yet);
...
...

5

Wednesday, December 18th 2019, 9:29pm

Is this feature worked on or is this an external limitation?

Scott Witte

Intermediate

Posts: 339

Location: Milwaukee, WI USA

Occupation: Professional Photographer

  • Send private message

6

Monday, December 23rd 2019, 4:45pm

Pretty sure it is a limitation of WebGL. That said you can do a good amount with hotspots. I show images and video in hotspots in VR, but I don't believe there is a way to render HTML via WebGL. So, no iframe.

7

Friday, December 27th 2019, 1:59am

Have you seen these?

Mozilla Firefox Reality and Oculus Browser already have it:

https://www.youtube.com/watch?v=p05SKePDAcs&feature=emb_logo


I have also found a note on a workaround that can be found in Amazon Sumerian
https://docs.sumerian.amazonaws.com/articles/html3d/

8

Saturday, December 28th 2019, 1:30am

I have also found a note on a workaround that can be found in Amazon Sumerian

Quoted from "Amazon Sumerian"

WebVR
.....
When entering VR, we capture a screenshot of the HTML by rendering it into a canvas as SVG, then converting it to an image. The screenshot is applied to the plane as a texture. Instead of a black plane, you’ll see an image of the HTML in 3D.

Whenever the HTML is changed or resized or has a new style applied, the screenshot is updated.
Limitations
...
Rendering the HTML to an image and converting it to a texture on a plane is a slow operation that can take 200 milliseconds or longer. This delay is unacceptable for most VR use cases, where a hitch in frame rate can cause users to experience nausea.


.. so, this is nothing what you could call "a workaround"

..
..
dude, trust me *g* *g*

9

Thursday, January 2nd 2020, 2:05am

I have ALSO found a note on a workaround that can be found in Amazon Sumerian
Maybe focus on the other examples?