by wkat4242 · 2y ago · 0 comments
It's basically what the SimulaVR guys are aiming at, and I'm surprised Apple didn't go this way with their Mac integration. Especially because the native visionOS apps do seem to behave just that way.
But there are 3rd party solutions that will let you do just that though: https://github.com/saagarjha/Ensemble
Do the math of how much bandwidth like three windows/screens (because with this model each window is basically its own screen) at 4K/100hz/10bit color each would take.
You're at limits of TB4 _very quickly_.
You can compress the image, try to do something smart with foveated rendering (only stream the windows that users are looking at; but that breaks if you want to keep a window with logs in your peripheral vision), use chroma subsampling, etc; but those all are varying trade-offs with relation to image quality.
The primary problem I would guess here would be latency though so maybe not feasible. The other possibility is if the actual rendering happens on device instead of streaming pixels. It would dramatically decrease bandwidth required.
I think there's a solution somewhere for this.
For sure there will be some hardcore indies that just love developing for vr.
There will probably be some game studios ready to go.
TikTok will probably be there.
But, why would Netflix, Spotify, every productivity tool…go out of their way to work on this thing at a time where most are diving deeper into PWA’s?
For spatial computing, they’re going to need to improve the dev situation or accept that safari is the star of the show.
the way RDP works is the code to actually render a window or desktop gets sent over the network and is ONLY rendered on the remote client.
this is not only more efficient but also allows for fun things like rendering remote apps directly on your local desktop mixed in with your normal local windows
Here's a screenshot of 4 windows plus the deskop.
https://pasteboard.co/hPKLrKgp5vjy.jpg
This features has been there for nearly 9 years?
(note: In my view there was passthrough and I could see my room but the screenshot function didn't include that).
It seems limited to desktop + 4 popout windows but I know it used to support more because when I first got the Rift I tried to see if I could get 6 videos running + desktop all at once. It worked.
There are issues though
(1) it's just showing the desktop's image, that means it can't adjust the resolution of the window. Ideally you'd pick a devicePixelRatio and a resolution and it would re-render but no desktop OS is designed to do that.
(2) It's Microsoft Windows, not an OS that Facebook controls which means they're at Microsoft's mercy and whatever features Windows supports. No easy way to add better VR controls. For example, IIRC, you can't size a window directly. Instead you need go to the window showing the full desktop, size it there, that will then be reflected in the popout window. If that's not clear, there are 2 size. The size in VR. The resolution of the window. If the window is a tiny 320x240 pixel window on your desktop and you make it 5x3 meters in your virtual space, all Oculus can do is draw those 320x240 pixels. You can go back to your desktop, size the window to 1237x841, now Oculus can draw those 1237x841 to your 5x3 meter VR pane. But, since Oculus doesn't control windows (or maybe they're lazy), there is no way change from 320x240 to 1237x841 by directly manipulating the pane in VR. Instead you need to do that in the desktop pane in VR.
(3) IIRC it's got some weird issues with the active window. Since it's really just grabbing the textures of the Windows OS compositor and showing then in different spaces, that's separate from Windows' itself's concept of which window is the foreground window. So, as you select windows, you can see on the floating window of the "desktop" the front window keeps changing.
These are all really just a function of (2), that Facebook doesn't own the desktop OS.
The same problem would exist with the Mac. Apple, since they control Mac, could maybe make it work but it would be a huge change to MacOS. They'd effectively need each app to run on its own screen and each screen to be a different resolution and device pixel ratio. Plus they'd need to map in all of the other features to mac MacOS to be usable in AR
But I'll give it a try, thanks!
And yeah Apple would need to do some changes to macOS to make this work well, but as you say they control it. If they really view this as the future of computing they should really make it work.
The idea of SimulaVR is that it replaces your window manager so they avoid some of these issues by taking direct control. But that's something that only works on Linux.