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
3snow p7im
69cf13f4ae
Only apply alignment fix when including openvr api
2018-04-22 18:22:40 -07:00
3snow p7im
2bfba10f81
Fix button controller button detection for linux and mac
2018-04-22 09:25:55 -07:00
bjorn
3e5e0f143b
WebVR fixes;
2018-04-11 18:32:56 -07:00
bjorn
c59c545198
Fix loading referenced textures for models at project root;
2018-04-11 18:32:56 -07:00
bjorn
7a309c88ca
Update OpenAL so it works with newer CMake versions;
2018-04-11 00:57:27 -07:00
bjorn
8783d36183
luax_readvertices returns vertex count correctly;
2018-04-11 00:26:26 -07:00
bjorn
3528182919
openvr driver uses correct offset;
2018-04-11 00:26:16 -07:00
bjorn
7dc8f4ad58
rm lovrEventRemovePump in openvr driver;
2018-04-11 00:02:02 -07:00
bjorn
b2e16fa87d
Fix OpenGL crash on Windows;
...
glGetActiveAttrib doesn't like NULL pointers for its arguments on windows.
2018-04-10 23:56:41 -07:00
bjorn
b3013704ca
Initialize mutex before adding event pump;
2018-04-06 18:51:49 -07:00
bjorn
8b3fcc94b8
Event module is thread safe;
2018-04-01 22:43:54 -07:00
bjorn
40c363fff4
lovr.data.newVertexData accepts a vertex table;
2018-04-01 21:57:16 -07:00
bjorn
b180b28037
Mesh:getVertexMap with tables and Blobs;
2018-04-01 21:25:48 -07:00
bjorn
25a267acd1
ModelData:getTriangle;
2018-04-01 21:00:20 -07:00
bjorn
823b7000da
Texture:getDepth; Also change Texture:getDimensions;
2018-04-01 20:54:05 -07:00
bjorn
a3a50e5ca7
Ensure arg gets passed to lovr.load;
2018-03-30 18:48:20 -07:00
bjorn
be67da4c09
Rename Blob:getFilename to Blob:getName;
2018-03-24 13:16:08 -07:00
bjorn
1911d5b90e
Make depth test more flexible;
2018-03-24 12:50:09 -07:00
bjorn
98c9775054
Update msdfgen;
2018-03-24 01:18:15 -07:00