[HN Gopher] LOVR - A simple Lua framework for rapidly building V...
       ___________________________________________________________________
        
       LOVR - A simple Lua framework for rapidly building VR experiences
        
       Author : siegers
       Score  : 173 points
       Date   : 2024-09-04 14:27 UTC (3 days ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | dang wrote:
       | Related:
       | 
       |  _LOVR - An open source framework for rapidly building immersive
       | 3D experiences_ - https://news.ycombinator.com/item?id=28081656 -
       | Aug 2021 (122 comments)
       | 
       |  _Show HN: LOVR - VR framework for Lua_ -
       | https://news.ycombinator.com/item?id=15177549 - Sept 2017 (23
       | comments)
        
       | 01HNNWZ0MV43FF wrote:
       | "Metamour" would have also been acceptable
        
         | TZubiri wrote:
         | Probably built on LOVE, the 2d engine, or at least a homeage
        
           | ackfoobar wrote:
           | I thought of that when I saw the title. In the README it says
           | it's "heavily inspired by LOVE".
           | 
           | BTW I love the game "not tetris 2".
        
       | didip wrote:
       | Does this support Apple Vision Pro?
        
         | delusional wrote:
         | From the faq: "Apple Vision Pro is not known to work because it
         | doesn't support OpenXR or Vulkan."
        
           | wlesieutre wrote:
           | It does support WebXR (featured flag in VisionOS 1, by
           | default in 2) which LOVR looks like it _was_ using
           | 
           | 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."
        
         | salzig wrote:
         | Maybe not yet https://github.com/bjornbytes/lovr/issues/654
        
       | tasoeur wrote:
       | 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).
        
       | canadiantim wrote:
       | Is anyone having success combining generative AI with building VR
       | experiences? Now that would be wildly powerful but I'm sure quite
       | difficult
        
       | wsc981 wrote:
       | Somewhat related, I'm trying to convert the Learn OpenGL
       | tutorials [0] to LOVR [1]. The main goal is to help me (and
       | hopefully others) to understand the changes needed to convert the
       | Open GL shaders to the LOVR 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
        
       | ilaksh wrote:
       | I am most interested in mixed reality these days. Their FAQ
       | mentions getPassthrough which is a start. Didn't see anything
       | about anchors.
        
       | geokon wrote:
       | 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
        
         | dartos wrote:
         | You'd be surprised how standardized the VR world is.
         | 
         | At least for pcvr and quest, the OpenXR standard seems to be
         | well adopted
        
         | dale_glass wrote:
         | If you want something not locked down, try ours! --
         | https://overte.org/
         | 
         | 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.
        
           | thetoon wrote:
           | Wasn't Vircadia also derived from High Fidelity?
        
         | immortalxgr wrote:
         | For openness and simplicity look no further. LOVR is written in
         | C with a hand-built Vulkan engine, and you script your
         | games/apps in Lua. It's that simple. No app-stores, no
         | subscriptions, no web technologies/browsers. You can have a VR
         | "Hello World" in 3 lines of code.
        
       | immortalxgr wrote:
       | 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.
        
       | leke wrote:
       | Cool! I remember messing around with LOVE (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
        
       | skun007 wrote:
       | 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.
        
       ___________________________________________________________________
       (page generated 2024-09-07 23:01 UTC)