Commit Graph

100 Commits

Author SHA1 Message Date
bjorn 2cb11cffb0 Update Jolt; 2024-05-04 02:08:38 -07:00
bjorn 979dd044d8 Add contact callback and Contact object; 2024-05-03 13:28:47 -07:00
bjorn 836189edbe New mass API;
- All of the mass properties have regular getters/setters
  - :get/setMass
  - :get/setInertia
  - :get/setCenterOfMass
- You can use nil for any of the setters to set the mass property to an
  "automatic" value, computed from the shape and/or other overridden
  mass properties.
- If you override the mass properties, we assume you know what you're
  doing and don't try to be sneaky and auto-update downstream values.
  So changing the mass or center of mass doesn't auto-scale the inertia.
- If you change the shape (or enabled axes), mass data gets reset.
- You can use :resetMass to reset all 3 mass properties at once.  It's
  also useful if something about the underlying shape changed.
2024-05-02 23:39:55 -07:00
bjorn 91072136aa Update Jolt; 2024-04-28 11:53:38 -07:00
bjorn 5fee9feea8 Update Jolt; 2024-04-27 13:37:31 -07:00
bjorn 795b585e75 Update Jolt; 2024-04-26 17:04:55 -07:00
bjorn 816f5fce1d Update Jolt; 2024-04-23 11:17:00 -07:00
bjorn 30b8ddc2ed Update jolt; 2024-04-18 13:16:07 -07:00
bjorn bdeee99953 Tracy; 2024-04-10 14:06:57 -07:00
bjorn 9b6f58ac1e Update Jolt; 2024-04-07 13:47:52 -07:00
bjorn 3dd641c02d Undo accidental jolt submodule bump; 2024-04-04 17:31:42 -07:00
bjorn 01a0df37cc Fix OBJ triangulation for faces with more than 4 vertices; 2024-04-04 17:28:05 -07:00
bjorn cfd2374449 Update Jolt; 2024-03-29 14:50:00 -07:00
bjorn 55f0da97ce Update glslang; 2024-03-28 21:00:24 -07:00
bjorn e7d0764e49 Update Jolt;
Also disable the HelloWorldNative sample...
2024-03-28 15:28:40 -07:00
bjorn f4553075cb Upgrade Jolt;
Seems we can add the root CMake project directly now.
2024-03-28 12:58:33 -07:00
Bjorn 73eae189ae
Merge pull request #749 from bjornbytes/shader-rework
Shader Rework
2024-02-26 15:35:39 -08:00
bjorn 48e484ed8a Update OpenXR to 1.0.34; 2024-02-24 11:05:39 -08:00
bjorn ada33c6620 Downgrade glslang to 13.0.0 with lovr cherrypicks; 2024-02-21 10:25:00 -08:00
bjorn d4e2736e0b Update glslang;
Includes a fix for generating SPIRV for multiple shader stages.

Also reverts a buggy upstream commit temporarily.
2024-02-20 10:17:20 -08:00
Bjorn f2bcfee8be
Merge pull request #735 from jmiskovic/jolt-rebase
Jolt physics engine integration
2024-02-17 12:11:41 -08:00
bjorn da5a6cec10 Bump OpenXR to 1.0.33; 2024-02-09 11:00:59 -08:00
Josip Miskovic 1ad8f23fb8 Jolt physics engine integration 2024-01-30 18:22:27 +01:00
bjorn f0686f0115 Update msdfgen; Orient contours properly;
This fixes issues where some fonts would have glyphs with weird windings
and they would get rendered inside-out.

Unfortunately updating msdfgen increased its size by a factor of 2-3x.
2023-10-03 11:12:38 -07:00
bjorn 4a5a66d2ea Fix glslang submodule; 2023-09-28 22:10:27 -07:00
bjorn a2f539de56 Update glslang; Shader #include uses virtual filesystem;
This update seemed to increased glslang's binary size even more...
2023-09-28 22:04:05 -07:00
bjorn 15b6b0d41f Update LuaJIT; 2023-09-21 22:31:02 -07:00
bjorn 8b5511efc4 Upgrade to OpenXR 1.0.30; 2023-09-21 22:20:27 -07:00
bjorn 036957da23 Update ode submodule;
Includes adding the dNODEBUG option in release builds and a fix for
box-sphere collisions.
2023-08-01 00:21:32 -07:00
bjorn 211c29e8c2 rm oculus openxr loader;
As of v51, Quest works with the official OpenXR loader.
2023-05-10 18:14:09 +01:00
bjorn ff5cb9b9a4 Update OpenXR to 1.0.27; 2023-05-04 18:57:19 -07:00
bjorn edb65a7578 Update glslang; 2023-04-19 20:49:30 -07:00
bjorn 5a27a0f819 Update OpenXR to 1.0.26; 2023-02-05 18:12:43 -08:00
bjorn b9186487d1 Update LuaJIT; 2023-01-31 18:21:46 -08:00
bjorn dfdda04fc7 Add Pico OpenXR SDK submodule; 2023-01-30 18:04:57 -08:00
bjorn 886e3bb42f Fix some windows warnings; 2022-12-19 14:01:30 -08:00
bjorn b9ef1772da LÖVR no longer depends on system-installed Vulkan;
Experimental.
2022-11-14 20:54:43 -08:00
bjorn 4316c39c5d Update Oculus OpenXR loader to v42; 2022-09-23 14:36:07 -07:00
bjorn b60a9b7b40 Update glslang; 2022-08-05 23:41:48 -07:00
bjorn 8af3fffe2f Update OpenXR to 1.0.24; 2022-08-02 23:10:41 -07:00
bjorn c1bb47d737 Merge branch 'master' into dev 2022-06-16 23:50:11 -07:00
bjorn 1cc8cf9f4a Update glslang to accept array of shader strings; 2022-06-09 17:44:46 -07:00
bjorn c3e3993a6f Upgrade to OpenXR 1.0.23; 2022-05-27 21:14:39 -07:00
bjorn 355b2bf85b Switch to glslang fork;
The reason is that the glslang C API doesn't support the extra
overloads that let you provide multiple strings or the lengths for
strings.  In our case our shader blobs are not null terminated, so
sending them to glslang would overrun the buffer.  I forked glslang
and modified the C API to support a length parameter.
2022-05-22 14:58:07 -07:00
bjorn 9ae285afa7 Add glslang; 2022-05-09 11:45:15 -07:00
bjorn 018b94a0fb Update ODE to include header changes; 2022-03-25 12:38:07 -07:00
bjorn 05c15d47ac Update ODE submodule;
Includes a fix for a crash with colliders that are out of bounds.
2022-03-25 12:28:16 -07:00
bjorn d1dc2f3199 rm pico;
Notes:

- We can actually use a single Activity.java file for oculus/pico now
- We can unconditionally compile os_android.c on Android
- No need for including extra jars in build system
- Headset rendering is guaranteed synchronous now, no need to ref L
- Add an "android flavor" build setting to differentiate between oculus
  and pico devices, since they both use OpenXR.
- Update the pico manifest to reflect their OpenXR sample
- Remove some OpenGL hacks that aren't necessary anymore
2022-03-22 16:03:21 -07:00
bjorn f1cc668298 rm vrapi; 2022-03-22 16:02:45 -07:00
bjorn 4f39f4f68f rm oculus; 2022-03-22 16:02:45 -07:00