5 ms·
Godot already supports VR via OpenXR. OpenXR is the Khronos-maintained industry standard for VR/AR devices—supported by SteamVR, Oculus, Vive, Pico, Windows Mi
by andsoitis 2y ago
Godot already supports VR via OpenXR.
OpenXR is the Khronos-maintained industry standard for VR/AR devices—supported by SteamVR, Oculus, Vive, Pico, Windows Mixed Reality, Quest.
Notably absent is visionOS / Vision Pro.
I would insist Apple conforms to the industry standard. More scalable, open.
- deleted 2y ago[deleted]
- skeptrune 2y ago> The visionOS platform doesn't have OpenGL support, as it's not supported by visionOS. Hell would freeze over before Apple conformed and contributed to an existing open standard. They even failed to follow the Godot contribution guide for the PR itself.
- eksu 2y agoOpenGL is quite dated for VR/AR. In the Apple ecosystem they supported OpenGL 4.1 for quite some time before moving to Metal, which was announced 2 years before Vulkan. If you spent the time developing an in house graphics API since open standards weren’t moving forward, why would you rewrite everything a second time just a few years later? Shouldn’t you expect to get a decade or two out of your existing API and only do the massive rewrite when the benefits become more substantial? Vulkan & OpenGL applications can translate to Metal with MoltenGL and MoltenVK, respectively.
- bigyabai 2y agoIn an ideal world, Apple would have just built DirectX and sold the Xbox too. But you can't look at it from an executive's perspective, you have to look at it from the developer's point-of-view. This insistence on high-investment, low-ROI APIs is why the Mac doesn't have games. If you run the Metal playbook with VR again, you will have developers outright abandon you. We've already seen what happens. Apple's GPUs support a decent chunk of the Vulkan featureset, you can go boot it up on an M1 with Asahi. Same goes for OpenXR. These are things that Apple neglects because they want to use their customerbase as leverage to market proprietary APIs. This hurts users, because Apple has neither industry-leading standards nor the leverage to force the industry to adapt. And they sure as hell lack the humility to just support both in the name of fair competition.
- pjmlp 2y agoAh, I guess that is why Nintendo and Sony also don't have games.
- meindnoch 2y ago>This insistence on high-investment, low-ROI APIs is why the Mac doesn't have games Yeah, that's why iOS doesn't have any games either. /s
- p_ing 2y agoAPIs are the last reason there aren't 'major' games on macOS. You've got architecture changes; PPC to Intel was a big loss of game compatibility, and then again when x86-32 support was removed from OS X nuked most of a user's Steam library. And there's the chicken/egg problem of gamers just not being present in large enough numbers on macOS. The platform already has a fairly small marketshare in the overall PC space, the number of gamers are vanishingly much smaller; Steam stats put macOS at 1.58%, less than Linux. https://store.steampowered.com/hwsurvey https://store.steampowered.com/hwsurvey All of the major game engines support Apple's Metal, so API compat from that perspective isn't an issue.
- bigyabai 2y agoAPIs are the exact reason. Why can't you run Proton on MacOS? WoW64 works. Rosetta and Wine work. Is there any technical limitation besides API support preventing the Macbook from working like a Steam Deck?
- p_ing 2y agoProton relies on Linux sys APIs not available on macOS, but the Porting Toolkit is available. I've been able to "play" Noita on my M2 Air (granted the perf sucks, but that's what I get for owning an Air). This discussion hasn't been centered around kernel APIs, but rather graphics APIs (D3D/Vulkan), if you're going for that "gotcha!". Crossover is another option, though I have no need to pay for it as I own a Windows PC/consoles. https://www.reddit.com/r/linux_gaming/comments/gt3fat/proton_for_mac/ https://www.reddit.com/r/linux_gaming/comments/gt3fat/proton...
- andsoitis 2y ago> OpenGL is quite dated for VR/AR. Vulkan and DirectX are the favored graphics rendering technologies for VR. Godot supports Vulkan rendering via OpenXR. To get a vibe for Apple’s general posture in this regard it is worth noting that Vulkan rendering through OpenXR on macOS is technically possible via MoltenVK, but macOS does not have an official OpenXR runtime. You’d need to use third-party workarounds or wait for broader support.
- eksu 2y agomacOS used to have OpenVR support (SteamVR) around 2017 for the HTC Vive, yes, but never any OpenXR runtime as no later hmds had macOS support.
- serbuvlad 2y ago> why would you rewrite everything a second time just a few years later? Why is this the dichotomy? Why not support both?
- Zambyte 2y agoMoney
- freedomben 2y ago> If you spent the time developing an in house graphics API since open standards weren’t moving forward, why would you rewrite everything a second time just a few years later? Shouldn’t you expect to get a decade or two out of your existing API and only do the massive rewrite when the benefits become more substantial? I have a natural inclination to agree with this thinking, but I think it's important to recognize that this is the sunk cost fallacy at work[1]. [1]: https://en.wikipedia.org/wiki/Sunk_cost https://en.wikipedia.org/wiki/Sunk_cost
- josephg 2y ago> Hell would freeze over before Apple conformed and contributed to an existing open standard. Better get some blankets because Apple has made significant contributions to many open standards - for example, USB-C. And, back in the day, OpenGL. Its a mistake to think of a large company like apple as if it were a person, with their own goals and ideas. Apple is just too big for that. I mean, they have 164,000 staff. Thats big enough that "small" business units will still have thousands of people. So each area will end up creating its own culture, and have its own way of doing things. The graphics division - these days - seems very intent on doing their own thing. But that doesn't tell us much about the rest of apple. 164 000 people is a lot of people. That's an awful lot of different opinions about open standards.
- bigyabai 2y agoI think people are (rightfully) upset at the business-oriented decisions that limit MacOS as a platform, prevent competition on iOS and demand annual tithes from their developers like they're peons tilling land for coin. These are fair criticisms, prosecuted in a few courts even, and well within the realm of reasonable change. Apple makes great things for their users when they collaborate with the industry. That's why we're concerned when they abandon standards and demand convergence on suspicious centralized cloud crap.
- troupo 2y ago> That's why we're concerned when they abandon standards Is DirectX a standard? Is Playstation NDK (or whatever it's called) a standard? Vulkan is not a "standard". It's a designed-by-committee API that arrived on the scene years after "non-standard" APIs.
- kimixa 2y ago> It's a designed-by-committee API So a "standard"? Maybe I'm biased as I was involved with the standardization - but the whole point of a standard is something is legally possible to implement, communicates the needed information to the layer below, and general enough that it doesn't require specific hardware. All boxes are checked by Vulkan? At least that was the intention. So what if the origin of Vulkan was AMD's donation of Mantle, and the committee knocked the "hardware specific" points off - isn't that the desired result?
- willtemperley 2y ago> Hell would freeze over before Apple conformed and contributed to an existing open standard. Why the vitriol? Apple did in fact initiate and co-create the WebGPU standard [1]. [1] https://en.wikipedia.org/wiki/WebGPU https://en.wikipedia.org/wiki/WebGPU Edit to include quote of parent comment.
- andsoitis 2y agoI don’t know that that is relevant. In this context, what’s relevant is OpenXR. Apple’s visionOS does not natively support OpenXR, the open standard developed by the Khronos Group for cross-platform AR/VR development. Apple has not indicated any plans to adopt OpenXR, choosing instead to promote its proprietary frameworks such as ARKit, RealityKit, and PolySpatial for spatial computing on the Vision Pro. What Apple is finding, however, is that there’s virtually no consumer or developer appetite for visionOS / Vision Pro.
- willtemperley 2y agoYou probably didn't see the comment I was replying to. I should have quoted: > Hell would freeze over before Apple conformed and contributed to an existing open standard. This is patently false given the fact I posted.
- furyofantares 2y agoI don't see how you can say it's patently false. Do you have any proof that hell didn't freeze over before then?
- freedomben 2y agoAn excellent comment for it's humor value. (not to ruin the humor with an explanation, but this is a masterful use of sophistry as it's logically sound, but clearly not a serious argument). Now to add to the unhelpfulness in what I hope is a humorous way, we in fact have some evidence that hell did freeze over: https://www.npr.org/sections/thetwo-way/2014/01/08/260735693/hell-has-frozen-over-headline-writers-rejoice https://www.npr.org/sections/thetwo-way/2014/01/08/260735693...
- greenknight 2y agoCorrect... But from my understanding... OpenXR isnt reliant on OpenGL? it supports Vulkan, DirectX and metal -- https://github.com/godotengine/godot/pull/98872 https://github.com/godotengine/godot/pull/98872
- wat10000 2y agoPOSIX? C++? HTML? USB? There are plenty of existing open standards that Apple conforms and contributes to. When open source types complain about this, I always enjoy the irony that macOS is POSIX compliant while Linux is not.
- andsoitis 2y agoThose are fantastic examples. At the same time it begs the question: why does Apple not play nicely with graphics standards? It could be that the those standards bodies are dysfunctional or too slow so Apple has to go their own way. However, I suspect that that is not the main reason.
- wat10000 2y agoBeing too slow certainly seems to be part of it. Metal was released two years before Vulkan, for example.
- SirBill 2y ago"Hell would freeze over before Apple conformed and contributed to an existing open standard." Counterpoint: WebKit and Swift.
- klausa 2y agoThis would get you, maybe, VR/AR games/apps running on the device. The PR from Apple also adds support for "flat" Godot games/apps running on Vision Pro.
- mort96 2y agoIf Godot does nothing and insists that it's on Apple to to support OpenXR, then VR developers who want to support the Vision Pro will have to use Unity or Unreal or some other non-Godot engine. It achieves nothing other than to reduce Godot's relevance. Godot isn't big enough to pressure Apple.
- skeptrune 2y agoApple is big enough to sponsor Godot and should if they want to burden their maintainers with extra work long term.
- mort96 2y agoI agree. I'm just saying that the result of responding "no, we won't accept this PR because we won't support visionOS until it supports OpenXR" only results in Godot not support ion visionOS. It doesn't result in visionOS gaining OpenXR support. Now that doesn't mean it would be the wrong choice for the Godot project, they don't have to support visionOS.
- jayd16 2y agoConsidering install base, I'd figure the Vision Pro isn't big enough to pressure Godot.
- mort96 2y agoGood thing I never mentioned anything about anyone pressuring Godot
- dagmx 2y agoThis PR specifically is about getting Godot able to build for visionOS. Even if Godot insisted on needing OpenXR support , you’d still need to land this PR to get the engine itself to work first.
- andsoitis 2y agoApple has no intention of fitting within godot’s GTM strategy for VR via OpenXR standard. Amongst other signals, the PR comment says: “To support creating Immersive experiences by using a new Godot's visionOS VR Plugin.”
- dagmx 2y agoOkay? That still doesn’t mitigate the need for this specific PR first though to even get to that discussion point. That line you mention is not part of the contents of this PR.
- andsoitis 2y agoA good partner discusses startegy and shared interest first, negotiates terms of engagement, tradeoffs, shared roadmaps, etc. Instead we get a pretty arrogant and presumptive interaction from the Apple crew. It should be noted that Apple is struggling with visionOS and Pro adoption amongst consumers and developers, so their arrogance is unwarranted and they cannot rely on market power.
- dagmx 2y agoThat’s what this PR is! It’s a first attempt to start that dialogue. You can even see the employee trying to address notes as they come in, and asking if there are better ways they should align with Godot. Point to the arrogance involved. From all your comments I can see you have an intense distaste for Apple and I honestly feel it’s colouring your perception of this change. The only person who seems upset is you. The Godot maintainers are positive, Miguel is positive. Should contributors never open PRs until they’ve discussed it first? What if they want to get feedback on an idea in code form?
- jeroenhd 2y ago> I would insist Apple conforms to the industry standard Insisting Apple conforms to anything is useless, unless you're in control of government regulations. You can stick to Apple's ridiculous custom APIs, or you can release your software without Apple support. Luckily, VisionOS seems to have gone the way of the Apple Pippin, so I don't think many people will care much about Apple's headsets not being supported by VR games. Apple certainly doesn't. If Godot wants VisionOS support, this is probably the way to do it. The question then becomes: is an alteration this heavy worth the maintenance cost, especially for hardware that expensive and uncommon? You don't want to end up in a situation where the one guy with such a headset falls ill and suddenly you can't test your engine anymore without spending a couple thousand on new hardware.
- viraptor 2y agoIt's a pretty well self regulating issue, isn't it? If there is no maintainer available, there's no market either, so it could be dropped. If there's enough people to develop for this expensive uncommon system, then surely there's enough money going round to pay someone. Right now it looks like they have enough first party support and third party dyi efforts to at least give it a go.
- solarkraft 2y agoApple wants Godot to support the Vision Pro, hence the PR. Hence Godot has some leverage here (though possibly not enough).
- andsoitis 2y agoThey could just politely declare that visionOS / Vision Pro is not a big enough platform to warrant the distraction (opportunity cost). That is my recommendation. Heck, the PR comment even asks that someone creates a vision OS logo (you would think Apple would include it)!
- aaronfranke 2y agoGodot supports lots of niche platforms, it even supports the editor on Android and web. It won't be turned down for this reason.
- migueldeicaza 2y agoThere is no need to have Apple conform to it, you can just expose the functionality, like this plugin does https://github.com/jamuus/OpenVision/tree/main https://github.com/jamuus/OpenVision/tree/main Which was used by a community effort to bring VisionOS support to Godot: https://github.com/jamuus/godot-vision https://github.com/jamuus/godot-vision