Bjorn
98d2cc6cd4
Merge pull request #227 from mcclure/no-post-distortion
...
Instead of showing post-distortion in Oculus mirror, show the left eye (no stereo)
2020-02-17 18:02:47 -08:00
Bjorn
2f78c29c07
Merge pull request #128 from mcclure/jun28-upside-down-mirror
...
Y-flip mirror texture on Oculus
2020-02-17 18:02:37 -08:00
Bjorn
c17af6c798
Merge pull request #225 from mcclure/msvc-2019-cpp
...
Fix ref.h in recent MSVC when compiled as C++
2020-02-17 17:54:44 -08:00
bjorn
aa0e01ddab
Cleanup;
2020-02-17 17:27:57 -08:00
bjorn
bfdebffb34
Fix volume textures;
2020-02-17 17:27:57 -08:00
Bjorn
74b9258671
Merge pull request #228 from mcclure/skybox-uv
...
Fix lovr.graphics.skybox()
2020-02-17 16:48:32 -08:00
Bjorn
1b212aacde
Merge pull request #226 from mcclure/msvc2019-warnings
...
Fix compile warnings (MSVC2019)
2020-02-17 16:32:05 -08:00
Bjorn
0a741bd110
Merge pull request #224 from mcclure/oculus-sdk-path
...
Fix build with Oculus SDK 1.43.0
2020-02-17 16:10:28 -08:00
mcc
6536216aa2
Fix lovr.graphics.skybox()
2020-02-17 18:19:05 -05:00
mcc
c22c55865a
Instead of showing post-distortion in Oculus mirror, show the left eye (no stereo)
2020-02-17 17:43:47 -05:00
mcc
7db4e4976b
Fix compile warnings (MSVC2019)
2020-02-17 17:42:13 -05:00
mcc
e7938fe514
Fix ref.h in recent MSVC when compiled as C++
...
A cast is required at this point in MSVC 2019 when ref.h is included from a C++ file. This change has no effect on Lovr compiled normally (which compiles only as C), what this change does is make it possible for forks to extend Lovr with C++ files.
2020-02-17 14:47:08 -05:00
mcc
8d7427d74a
The path to libOVR.lib has changed in more recent versions of the Oculus SDK.
...
They no longer ship separate Debug and Release binaries.
2020-02-17 14:45:03 -05:00
bjorn
18dcb07b98
Convert stuff over to use new enum system;
2020-02-16 18:31:02 -08:00
bjorn
d5487cbd40
Better luax_checkoption error messages;
2020-02-16 18:06:06 -08:00
bjorn
c20a6507d2
Add StringEntry for faster enums;
2020-02-16 17:50:51 -08:00
bjorn
47f4319ba8
core/png; rm stb_image_write;
2020-02-16 04:11:55 -08:00
bjorn
7f205d2fb1
WebGL shader fix;
2020-02-16 01:32:07 -08:00
bjorn
2db1f2b743
Fix erroneous GLES enables;
...
None of these exist in OpenGL ES. These were throwing seemingly
innocuous GL errors, so this is mostly just a matter of correctness.
2020-02-16 01:23:27 -08:00
bjorn
8477638fad
Fix warning;
2020-02-15 23:27:25 -08:00
bjorn
d2f4628791
Add pointer devices;
2020-02-14 19:10:37 -08:00
Bjorn
cce7fa8581
Merge pull request #197 from bjornbytes/hand-devices
...
More Hand Stuff
2020-02-13 16:35:14 -08:00
bjorn
409c2ad0c6
Fix projection matrices;
2020-02-13 16:33:17 -08:00
Bjorn
f048f6d6f0
Merge pull request #218 from bjornbytes/android-bounds-size
...
oculus_mobile: Expose bounds dimensions;
2020-02-13 15:53:25 -08:00
Bjorn
56dad769dd
Merge pull request #217 from bjornbytes/android-button-changed
...
oculus_mobile: Expose button changed states;
2020-02-13 15:53:11 -08:00
Bjorn
4b041820aa
Merge pull request #216 from bjornbytes/android-display-frequency
...
oculus_mobile: lovr.headset.getDisplayFrequency;
2020-02-13 15:52:56 -08:00
bjorn
e218733ee2
Make splay axis 1D;
2020-02-13 15:18:12 -08:00
bjorn
a0c7d0235f
leap: rm curl/splay emulation;
2020-02-13 15:13:08 -08:00
bjorn
5197d30b94
Add getSkeleton;
2020-02-13 15:08:59 -08:00
bjorn
0e4c42c8b0
Add pinch axis;
2020-02-13 15:08:58 -08:00
bjorn
81e3119321
leap: curl/splay emulation; openvr fixes;
2020-02-13 15:08:58 -08:00
bjorn
7e34c7adcc
leap: getPose for finger devices;
2020-02-13 15:08:58 -08:00
bjorn
71e63ddac2
openvr: add curl/splay axes for finger devices;
2020-02-13 15:08:58 -08:00
bjorn
d448bdc95c
Finger devices/axes; OpenVR finger poses;
2020-02-13 15:08:58 -08:00
Bjorn
8e3af04361
Merge pull request #220 from alloverse/fix/desktop-wasPressed
...
desktop: fix wasPressed/wasReleased
2020-02-13 09:42:09 -08:00
Nevyn Bengtsson
f2d5824a2b
desktop: fix wasPressed/wasReleased
2020-02-13 18:28:02 +01:00
bjorn
443376efde
ModelData: Use union for transform fields;
...
Nodes can have either a transform matrix, or decomposed transform
properties, but never both. Using a union means we can store both
of those variants in the same piece of memory, using the existing
matrix boolean to figure out which one to use.
This reduces the size of the struct by 48 bytes (152 -> 104), which
ends up speeding up some model operations, I'm guessing due to the
CPU cache.
2020-02-11 16:38:31 -08:00
bjorn
155718d161
shaders: Change abstract parameters to named parameters;
2020-02-11 16:17:54 -08:00
bjorn
7edb562732
Add lovr.headset.getTime;
...
Unlike lovr.timer.getTime, this is the predicted time at which the
current frame will be displayed. It can be used in place of
lovr.timer.getTime for smoother animations. It's unclear if this
could be used for a suitable replacement for dt though.
2020-02-09 11:26:23 -08:00
bjorn
e8fdd5d7f0
Support KTX textures containing ASTC data;
2020-02-08 03:57:59 -08:00
bjorn
2097241596
Improve ASTC loading;
...
Just a little more reliable and easier to read.
2020-02-08 03:57:59 -08:00
bjorn
c1e231e756
oculus_mobile: Expose bounds dimensions;
2020-02-08 03:32:50 -08:00
bjorn
adcbe6d707
oculus_mobile: Expose button changed states;
2020-02-07 23:01:01 -08:00
bjorn
8d22935c60
oculus_mobile: lovr.headset.getDisplayFrequency;
2020-02-07 22:21:32 -08:00
bjorn
02a73f333e
oculus_mobile: respect t.headset.msaa;
2020-02-07 22:09:47 -08:00
bjorn
c502f5b62a
Add highp shader flag that sets default fragment precision to highp;
...
Also, precision qualifier is required to work on desktop GL, so
we don't need ifdefs for it!
2020-02-07 19:44:51 -08:00
bjorn
cae8bba522
Remove lovrMain macro;
...
We want lovrMain to be the entrypoint but we can't figure out how
to do this in a way that wouldn't break things, on all platforms.
2020-02-07 19:25:55 -08:00
bjorn
723f5684cf
Fix mat4_fov and desktop driver projection;
...
OpenVR may need updating now, but at least we know what the correct
approach is now.
2020-02-06 17:32:44 -08:00
bjorn
4a545e4d04
EGL context creation fixes;
2020-02-04 16:48:03 -08:00
bjorn
dbf8596246
Update contributors list;
2020-02-03 15:04:58 -08:00