https://github.com/bjornbytes/lovr Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions By size + Enterprise + Teams + Startups By industry + Healthcare + Financial services + Manufacturing By use case + CI/CD & Automation + DevOps + DevSecOps * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} bjornbytes / lovr Public * * Notifications You must be signed in to change notification settings * Fork 132 * Star 1.8k Lua Virtual Reality Framework lovr.org License MIT license 1.8k stars 132 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 20 * Pull requests 3 * Discussions * Actions * Security * Insights Additional navigation options * Code * Issues * Pull requests * Discussions * Actions * Security * Insights bjornbytes/lovr This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. dev BranchesTags Go to file Code Folders and files Name Name Last commit message Last commit date Latest commit History 5,656 Commits .github .github deps deps etc etc plugins plugins src src test test .gitignore .gitignore .gitmodules .gitmodules CHANGES.md CHANGES.md CMakeLists.txt CMakeLists.txt LICENSE LICENSE README.md README.md Tupfile.lua Tupfile.lua View all files Repository files navigation * README * MIT license LOVR [68747470733a2f2f6c6f7672] A simple Lua framework for rapidly building VR experiences. You can use LOVR to easily create VR experiences without much setup or programming experience. The framework is tiny, fast, open source, and supports lots of different platforms and devices. Build Version Matrix Discord Homepage | Documentation | FAQ [687474703a2f2f6c6f767] [687474703a2f2f6c6f767] [687474703a2f2f6c6f767] Features * Cross-Platform - Runs on Windows, macOS, Linux, and Android. * Cross-Device - Supports Vive/Index, Oculus Rift/Quest, Windows MR, and has a VR simulator. * Beginner-friendly - Simple VR scenes can be created in just a few lines of Lua. * Fast - Writen in C11 and scripted with LuaJIT, includes optimized single-pass stereo rendering. * Asset Import - Supports 3D models (glTF, OBJ), skeletal animation, HDR textures, cubemaps, fonts, etc. * Spatialized Audio - Audio is automatically spatialized using HRTFs. * Vector Library - Efficient first-class support for 3D vectors, quaternions, and matrices. * 3D Rigid Body Physics - Including 4 collider shapes, triangle mesh colliders, and 4 joint types. * Compute Shaders - For high performance GPU tasks, like particles. Getting Started It's really easy to get started making things with LOVR. Grab a copy of the executable from https://lovr.org/download, then write a main.lua script and drag it onto the executable. Here are some example projects to try: Hello World function lovr.draw(pass) pass:text('Hello World!', 0, 1.7, -3, .5) end Spinning Cube function lovr.draw(pass) pass:cube(0, 1.7, -1, .5, lovr.timer.getTime()) end Hand Tracking function lovr.draw(pass) for _, hand in ipairs(lovr.headset.getHands()) do pass:sphere(vec3(lovr.headset.getPosition(hand)), .1) end end 3D Models function lovr.load() model = lovr.graphics.newModel('model.gltf') end function lovr.draw(pass) pass:draw(model, x, y, z) end More examples are on the docs page. Building You can build LOVR from source using CMake. Here are the steps using the command line: mkdir build cd build cmake .. cmake --build . See the Compiling Guide for more info. Resources * Documentation: Guides, tutorials, examples, and API documentation. * FAQ: Frequently Asked Questions. * Matrix: The LOVR community for discussion and support. * Nightly Builds: Nightly builds for Windows. * Compiling Guide: Information on compiling LOVR from source. * Contributing: Guide for helping out with development * LOVE: LOVR is heavily inspired by LOVE, a 2D game framework. Contributors * @bjornbytes * @shakesoda * @bcampbell * @mcclure * @nevyn * @porglezomp * @jmiskovic * @wallbraker License MIT, see LICENSE for details. About Lua Virtual Reality Framework lovr.org Topics gamedev lua game-engine vr openvr oculus virtual-reality lovr oculus-quest openxr Resources Readme License MIT license Activity Stars 1.8k stars Watchers 57 watching Forks 132 forks Report repository Releases 20 v0.17.1 Latest Mar 12, 2024 + 19 releases Sponsor this project Sponsor Learn more about GitHub Sponsors Contributors 36 * @bjornbytes * @nevyn * @mcclure * @jmiskovic * @xiejiangzhi * @bcampbell * @brainrom * @Wallbraker * @shakesoda * @s-ol * @SfernandezML * @Voxar * @cjbarre * @sgosselin + 22 contributors Languages * C 94.0% * C++ 4.1% * Lua 0.9% * CMake 0.5% * GLSL 0.3% * JavaScript 0.2% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.