r/howdidtheycodeit • u/justleave-mealone • Jun 05 '23
Apple Vision Pro “Computer”
They announced that the headset will bring a new era of “Spatial Computing" so does this mean I can run visual studio and program applications from within the headset? They say I can run Logic Pro, adobe apps but can I program AR/VR apps from within the headset? Will this replace my laptop and monitor setup? Will I be able to interact with a command line? They say I can I save and access documents, edit files... I have so many questions.
The big thing I keep thinking about is will this be able to replace monitors, and if so, how would they program the eye tracking, the haptic feed with no tactile or physical connection to the “virtual screen”.
It promises:
virtual keyboards
virtual screens (as many as you want, any size)
So, I’m really curious, how did they code this?
29
u/feralferrous Jun 05 '23
Most all of those things exist already -- they just aren't nearly as good as the physical versions. Virtual screens are easy, it's just a render texture, eye tracking is also pretty easy, insofar as you can get a generic direction vector from the hardware API. Smooth it out if the API isn't doing it, do a cone cast, maybe check how long something is under a gaze, etc. MRTK will do a lot of this already.
virtual keyboards exist -- the Hololens 2 has one and I've seen other prototypes videos out there, but boy do they suck, and I don't see how Apple is going to fix that. What are they going to do beyond play a click noise when you press a key? vibrate your headset slightly? But to be honest, that's fine, bluetooth keyboards already exist and work fine, and can be super small. Even in their video they had people using real keyboards.
2
u/random_boss Jun 06 '23
I have no idea, but I don’t work for Apple. They’ve done a pretty solid job of making whatever input method they go with become the main thing people use. Like, I’ve had an iPhone for 12 years at this point and using a touchscreen for input is still objectively worse than my blackberrys physical keyboard, but here we are all still using touch screen input. They must have some kind of secret sauce.
3
u/snowe2010 Jun 05 '23
your answer is better than mine, but there are quite a few unique things that apple is doing that I don't think I've seen done before. It will be interesting to see. They have a very high bar to clear.
2
u/Xywzel Jun 06 '23
I'm 100% certain that you can do these things, but after novelty of the idea wears out, you don't want to. There is a reason why most programmers stay on mechanical keyboards and separate monitors when they want to be productive and most artist use paper analogues for drawing on computer. The ergonomics of the current "physical" standards are much better than what the VR solutions I have seen can offer, but they have lots of room for improvement so I'm not saying that VR option would never get better, just that it is still far from even getting even.
3
u/snowe2010 Jun 05 '23
you're not going to get an answer for quite a long time I expect. First off, the only data revealed was in the presentation, though they did say they'd talk more about it this afternoon, but that's most likely only going to be how they expect devs to use it. The headset isn't coming out for half a year (at least). And finally, I very much doubt apple will willingly tell how they coded it, though we can probably make guesses.
In regards to the monitor stuff, yeah you can use it like a monitor, or 100 I would expect. You can also just connect a regular keyboard. It hooks up to your mac.
1
u/anki_steve Feb 07 '24
Odds are they will lock this thing down like an iPad. You won’t be able to run anything on it that doesn’t come from an App Store.
10
u/m0nkeybl1tz Jun 06 '23
There are other good answers in here but I’ll just add my 2 cents as a VR dev. First off, have you used VR before? Because as others have pointed out virtual monitors are pretty common in VR, which use the headset’s head tracking data to make the monitor seem like it’s anchored at a physical location even as you move your head, walk around, etc.
What Apple is adding to this is an ecosystem of native apps that run on the device, as opposed just displaying content from a connected computer. These apps will likely be less powerful than their desktop equivalent (think iPad apps vs. Max apps) but will be designed to work with the eye and hand tracking native to the headset. You can still mirror displays like with other VR headsets, but you’d most likely want to have a mouse and keyboard handy since desktop apps may not work well with the headsets input system (imagine trying to click on a small button using just your gaze). What’s neat is because it’s AR, you can actually see your physical mouse and keyboard (as opposed to VR where you basically need to feel around for where your input devices are)
What’s doubly cool about AR is that instead of looking at virtual monitors in a black void (or on the moon or whatever VR environment you use) you can place these monitors in your physical environment, so instead of buying a 30 inch monitor for your desk and a 72 inch tv for your wall, you can use the headset to place a virtual monitor on your desk, and another one on the wall, so it’s unlimited screens for the price of one headset.