187 points · by siegers · 2y ago · 34 comments
LÖVR – An open source framework for rapidly building immersive 3D experiences - https://news.ycombinator.com/item?id=28081656 - Aug 2021 (122 comments)
Show HN: LÖVR – VR framework for Lua - https://news.ycombinator.com/item?id=15177549 - Sept 2017 (23 comments)
It feels like all the VR platforms are quite locked down and funneling users to app stores - so if you want something simple and not performant then a framework that works through the browser would in theory get traction more easily
Tangentially, I also always quite liked the idea of webpages being VR spaces. Has more of a "metaverse" vibe to it
We're a non-profit, and our code is entirely under the Apache License. Not only nothing is monetized, but the architecture is extremely monetization-unfriendly, and we ripped out what little there was in the original code. Oddly enough the codebase was built by a company with commercial ambitions (High Fidelity), but unsurprisingly failed to make any money.
So we picked that up and are continuing development.
So if you want freedom, I believe we're at the top of the list. Everything is open, nothing is centralized. Not even accounts are required. You can just easily set this up on your own hardware with no outside dependencies and do whatever you want.
Vircadia started off well, but then the lead decided to go all in on crypto. Pretty much everyone just left and made a new project, while Vircadia as far as I can tell has almost no development going on. Or if there's anything it's not public.
At least for pcvr and quest, the OpenXR standard seems to be well adopted
OpenXR is "Vulkan for VR" by the way, every major HMD vendors runtime supports it. Though only SteamVR supports Linux, and there's mess with support of advanced tech like asynchronous reprojection, I hope Monado which is "Mesa for VR" will succeed. And Firefox gets WebXR.
Not all tutorials are completed yet, this is still a work in progress.
---
I wonder if this is powerful enough and easier to learn. Definitely will give it a look.
I have some questions though. Is it as performant as unity? Can you import external content as easily? Is there a performance penalty for using Lua?
But anyway I guess I won't know till I try it.
Just your basic Player object is a tangled tree of ridiculous amounts of different GameObjects. God forbid you want to support hands and controllers.
It's documented but I don't find it very clear. In the end I've started using the Oculus toolkit rather than the openxr one as it was the only one I managed to make work. Some things are implemented weirdly though. Like the fade to black when teleporting, it just draws a black rectangle in front of your face but that doesn't work if you're not looking straight ahead because you can look past the edges of the rectangle. So then I have to go and fix that.
I understand everything needs to be flexible, in an engine you can't make assumptions otherwise you can't do things that deviate from the norm. But this seems to be overly complicated to me.
BTW I love the game "not tetris 2".
>How is this project related to LÖVE?
>LÖVR is heavily inspired by LÖVE and has a similar Lua API, but the 2 projects don't share any code.
--
https://github.com/bjornbytes/lovr/issues/176#issuecomment-6...
EDIT - WebXR target was removed from README in July 2023, with commit message "Don't trick people into thinking WebXR is supported right now, and spell macOS better."