LÖVR – A simple Lua framework for rapidly building VR experiences

siegers | 187 points

Related:

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)

dang | 4 months ago

I've been using it for a couple years now and I can't stress enough how easily you can get started for VR, especially compared to "full" engines. And it might be tailored for VR but it's absolutely fine for general 2D/3D as well.

immortalxgr | 4 months ago

How does this compare to something like A-Frame?

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

geokon | 4 months ago

Somewhat related, I'm trying to convert the Learn OpenGL tutorials [0] to LÖVR [1]. The main goal is to help me (and hopefully others) to understand the changes needed to convert the Open GL shaders to the LÖVR version, as there are some differences.

Not all tutorials are completed yet, this is still a work in progress.

---

[0]: https://learnopengl.com/

[1]: https://github.com/wolf81/lovr-learnopengl

wsc981 | 4 months ago

Wow. This sounds really interesting. I've been trying to learn unity but it's kinda tough especially if you want to make something really cross platform in VR. There's so much boilerplate in terms of libraries that also constantly seem to change so tutorials or books I follow don't seem to match.

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.

wkat4242 | 4 months ago

I’ll give it another shot because there’s definitely some really good stuff including hot reload! Last I tried it, there was definitely some missing love (pun intended) in setting it up to compile from source for custom Quest stuff I was working on… when the compilation instructions start with “here be dragons” you know it’s gonna be fun (https://lovr.org/docs/Compiling).

tasoeur | 4 months ago

Cool! I remember messing around with LÖVE (2D) back in the day. This looks just as awesome, although I'm way too busy to do anything with it at the moment. There is always looming unemployment around the corner though :P

leke | 4 months ago

I am most interested in mixed reality these days. Their FAQ mentions getPassthrough which is a start. Didn't see anything about anchors.

ilaksh | 4 months ago

it has been a joy to use it, a lot smaller than any of the alternatives and fast. When plain lua becomes a bottleneck, there is luajit.

skun007 | 4 months ago

"Metamour" would have also been acceptable

01HNNWZ0MV43FF | 4 months ago

Is anyone having success combining generative AI with building VR experiences? Now that would be wildly powerful but I’m sure quite difficult

canadiantim | 4 months ago

Does this support Apple Vision Pro?

didip | 4 months ago