bjorn
26bb0ea1ac
Reset canvas state in lovr.graphics.reset;
2018-06-11 19:00:43 -07:00
bjorn
54a9a8eb78
Fix lovrGraphicsSetCanvas framebuffer binding;
2018-06-11 19:00:43 -07:00
bjorn
4370b7f0f5
Fake headset cleanup;
2018-06-10 10:18:54 -07:00
bjorn
df87eeee31
Inertia tuning;
2018-06-10 09:51:34 -07:00
bjorn
ab1e46cab4
Add inertia timeout;
2018-06-10 09:51:34 -07:00
bjorn
8e013877d6
Add inertia to fake headset mouselook;
2018-06-10 09:51:34 -07:00
bjorn
fb3eed5518
Fix skybox shaders for WebGL;
2018-06-09 23:18:02 -07:00
bjorn
17bf06b817
Fixes for openvr driver;
2018-06-04 19:49:36 -07:00
bjorn
183f6003e9
rm mapped buffers mostly;
2018-06-03 19:00:31 -07:00
bjorn
6ff7292333
Mostly remove instanced stereo rendering;
2018-06-03 17:18:42 -07:00
bjorn
7273811120
Some extra graphics state diffing;
2018-06-02 15:30:26 -07:00
bjornbytes
c68d65441c
Draw the rest of the fucking owl;
2018-05-27 19:05:10 -07:00
bjorn
df876bf3b2
Static display;
2018-05-27 19:05:10 -07:00
bjorn
8bc7802246
Controller events;
2018-05-27 19:05:10 -07:00
bjorn
b51e8694ac
Add lovrQuit;
2018-05-27 19:05:10 -07:00
bjorn
faeb12f206
Refactor main loop;
2018-05-27 19:05:10 -07:00
bjorn
8c2e9df1b4
Fix error handler when graphics module is disabled;
2018-05-27 19:05:10 -07:00
bjorn
0d7810b333
Fix some issues with lovr.event.quit('restart');
2018-05-27 19:05:10 -07:00
bjorn
781a5a7688
Rename luax_stubnil to luax_emptymodule;
2018-05-27 19:05:10 -07:00
bjorn
f4ecdb074b
WebVR isMounted I guess;
2018-05-27 19:05:10 -07:00
bjorn
a3a59f01a3
WebVR controller input;
...
No events yet.
2018-05-27 19:05:10 -07:00
bjornbytes
389a95c9ce
WebVR;
2018-05-27 19:05:10 -07:00
bjornbytes
2b183a49be
Work around emscripten window limitation;
2018-05-27 19:05:10 -07:00
bjorn
be217a9b63
Some basic WebVR Controller functions;
2018-05-27 19:05:10 -07:00
bjorn
805629b4ca
WebVR controller list;
2018-05-27 19:05:10 -07:00
bjorn
1b0f1acaf1
Simplify C defines;
2018-05-27 19:05:10 -07:00
bjorn
7ffd3fc25d
Use more primitive getControllers signature;
2018-05-27 19:05:10 -07:00
bjorn
32668fc231
Fix C defines;
2018-05-27 19:05:10 -07:00
bjorn
fd5ae4d124
webvrGetEyePose;
2018-05-27 19:05:10 -07:00
bjorn
ab2594b204
WebVR velocity functions;
2018-05-27 19:05:10 -07:00
bjorn
065a5aa0dd
Finish webvrGetPose;
2018-05-27 19:05:10 -07:00
bjorn
a3e4b9b2b3
Change mat4_transform signature;
2018-05-27 19:05:10 -07:00
bjorn
615144c74a
Clean up more CMake flags;
2018-05-27 19:05:10 -07:00
bjorn
04a5202d0d
Disable Lua popen support in emscripten;
2018-05-27 19:05:10 -07:00
bjorn
aef08a9719
Clean up some CMake flags;
2018-05-27 19:05:10 -07:00
bjorn
26be8a5113
Suppress some ODE warnings in emscripten build;
2018-05-27 19:05:10 -07:00
bjorn
3d253a8acb
Fix lovr.js path;
2018-05-27 19:05:10 -07:00
bjorn
498a1843ad
Work on WebVR pose input;
2018-05-27 19:05:10 -07:00
bjorn
c343a3feb5
.travis;
2018-05-27 19:05:10 -07:00
bjorn
859251d020
Start WebVR rewrite;
2018-05-27 19:05:10 -07:00
bjorn
c767e9c165
Simplify headset structure;
2018-05-27 19:05:10 -07:00
bjorn
b8eb2799f9
Fix quotes for windows shells;
2018-05-27 19:05:10 -07:00
bjorn
93e082c8cc
WebVR;
...
- Add FORCE_FILESYSTEM
- Handle THREAD_ERROR event with noop case
- Remove hopefully redundant lovr.graphics.clear in errhand
- Finally use correct type signature for assimpFileTell
2018-05-27 19:05:10 -07:00
bjorn
8702d7422f
Rewrite boot.lua, main.c, and exception handling;
...
There are breaking changes:
- lovr.step is removed.
- lovr.run is expected to return a main loop wrapped in a function. The
returned function is run as a coroutine to facilitate a cooperative
main loop.
- lovr.errhand should return a loop function instead of while true-ing.
2018-05-27 19:05:10 -07:00
bjorn
275006847d
Prepend @ to loaded Lua chunks for better errors;
2018-05-27 19:05:10 -07:00
bjorn
7e5be11f74
Fix default shader;
2018-05-27 19:05:10 -07:00
bjorn
012ba07063
Disable threads in WebVR;
...
Browser/emscripten support is currently unstable.
2018-05-27 19:05:10 -07:00
bjorn
2f6a25a1ff
Also link against libccd for ode on macOS;
2018-05-15 19:53:44 -07:00
bjorn
c386cdd94f
rm XOPEN_SOURCE to fix macOS issue;
2018-05-14 21:39:07 -07:00
Bjorn Swenson
4ccaff4386
Merge pull request #45 from johnoliverdriscoll/input-fix-linux-mac
...
Fix controller button detection for linux and mac
2018-04-22 18:55:30 -07:00