The latest release build contains a new entity type, Web based entities. These are 2D surfaces similar to text entities, but instead of displaying a string of text, they take a URL and will render the contents of that URL to the surface.
Bear in mind this feature is experimental (it’s on double secret probation). There are some bugs and caveats.
Currently, owing to my failing at SVG’s it’s not obvious how to add one. In the toolbar, when edit mode is on, there is now a mostly blank rectangle between Zone entities and Text entities. Click that blank ‘toolbar button’ and it will create a 1.6m x 0.9m Web entity in the scene (roughly equivalent to a 72 inch TV).
Right now the DPI of a web-entity is fixed at ~30, so the above size gives you almost exactly a 1920x1080 resolution for the web entity. Because the DPI is fixed, increasing or decreasing the size of the web entity will result in a corresponding change in the resolution. So don’t try to create the equivalent of an IMAX screen, or the app will try to create a rendering surface of billions of pixels and most likely fail.
You can modify the ‘source URL’ in the entity properties to change what the page displays. The source URL must be a fully qualified valid URL.
google.com will not work, but
The page is actually responsive to mouse clicks, but not to keyboard input, so no google searches, sorry. You could create a script that lets a user type something in and translates that into a URL and sets the entity property.
The mouse interaction is a little wonky, since mouse actions and up getting read by both the entity and the actual interface UI.
- If the entity is locked, all mouse input is ignored
- Clicking on links to navigate only modifies your local view of the web entity, not the entity properties and not anyone else’s view of the page.
- Left clicking should act as expected allowing you to click on links and flick-scroll through content as if you were looking at a touchscreen device
- Middle clicking on the page will tell it to go ‘home’, i.e. to whatever URL is associated with the entity via the properties
Right clicking on the page will cause it to navigate backwards.
- This will happen even if you’re just using the right mouse drag button to change your view and happen to have the cursor over the page when you release the button
- If you right click when it’s on the starting URL, the page will navigate back to about:blank. Use the middle mouse button to get back ‘home’
- Elements in the web page that would respond to dragging won’t work (most notably volume sliders)
Other known issues
- We’ve identified some sort of race condition inside Qt that can sometimes cause the app to crash if you have a web entity in the scene, particularly if you are looking at one when you first load Interface.
- Right now some pages seem to fail to load on OSX, such as Youtube video pages. They work correctly on Windows and anyone running a windows client will be able to see them, regardless of the platform on which they were created.
- Any audio generated by the page is non-positional and non-attenuated. This is super annoying to me personally, but it’s not an easy thing to fix.
- Shutting down the entity doesn’t always properly close the offscreen webpage. So if you delete an entity that’s playing audio it might continue to be audible.
- Sites that depend on the user agent string to test if a given browser is compatible
- Since there’s no keyboard input, any site requiring authentication will not function