1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-15 10:13:34 +00:00
Commit graph

131 commits

Author SHA1 Message Date
bjorn 0311232ae1 Add lovrModel and lovrView matrices; 2017-08-10 22:23:19 -07:00
bjorn 74f585ca8d Use lovrAssert and lovrThrow for better errors; 2017-08-10 01:05:04 -07:00
bjorn b65673bc3f Color object; 2017-08-08 01:33:52 -07:00
bjorn fb10cf6f2a Fix WebVR; 2017-08-06 23:58:14 -07:00
bjorn 9650524e53 Fix origin type boolean check; 2017-08-06 23:58:14 -07:00
bjorn 42a3444fd8 HeadsetOrigin; conf.headset.offset; 2017-08-06 23:58:14 -07:00
bjorn b5a58e31f1 Declare secret OpenVR functions; 2017-08-03 00:57:52 -07:00
bjorn 0e470a9088 Pass correct arguments to webvr sittingToStanding; 2017-07-31 02:42:00 -07:00
bjorn 39ba6d3f12 Add trigger ControllerButton; 2017-07-24 23:17:00 -07:00
bjorn f1141664b6 Mipmap generation; 2017-07-23 16:24:43 -07:00
bjorn 2a05fb4033 Refactor TextureFormat; 2017-07-23 16:24:43 -07:00
bjorn ca95fa0df0 Handle texture formats better; 2017-06-18 17:28:15 -07:00
bjorn 9428f9628e Fix dirtied sittingToStanding matrix; 2017-06-10 23:18:32 -07:00
bjorn bf555d558d Use default shader when drawing mirror texture; 2017-06-10 14:05:20 -07:00
bjorn 7b22a8fac3 Remove guard against null sittingToStanding matrix; 2017-05-06 16:26:52 -07:00
bjorn f9e2b1441e Support polyfill; 2017-04-23 16:02:08 -07:00
bjorn 4399a2feb8 rm bounds visibility functions;
Minor WebVR fixes.
2017-04-22 22:53:03 -07:00
bjorn c1afd6ca33 WebVR Controllers; 2017-04-22 18:20:12 -07:00
bjorn 95fb96ec2c Controller experiments; 2017-04-22 16:59:54 -07:00
bjorn 37479be4b0 Fix rendering coordinate system; 2017-04-22 10:50:12 -07:00
bjorn 520227aa87 Fix meshes; 2017-04-22 10:34:44 -07:00
bjorn 255dc5a43c Fix coordinate system; 2017-04-21 23:06:10 -07:00
bjorn 068784ef73 Add more to headset API; 2017-04-20 20:46:35 -07:00
bjorn 872ceb365d WIP; 2017-04-19 21:44:35 -07:00
bjorn 0f1acae42a WIP; 2017-04-16 16:56:49 -07:00
bjorn 9eb4d7b393 Move all window code into graphics module; 2017-04-12 19:48:47 -07:00
bjorn 0d552a0f0c Draw headset mirror with white color; 2017-04-02 11:14:25 -07:00
bjorn ac7a97fe77 Minor OpenVR render model cleanup; 2017-03-12 15:10:07 -07:00
bjorn c6b635a2ec rm lovr.graphics.setProjection; 2017-03-11 21:19:26 -08:00
bjorn f3dfbe518a Fix switch scope; 2017-03-11 21:10:13 -08:00
bjorn 49a0ba4d1c lovr.headset.isMirrored; lovr.headset.setMirrored;
Also add conf.lua field to configure initial mirroring state.
2017-03-11 19:12:03 -08:00
bjorn 0c6da83332 lovr.focus;
This may not work in all cases involving e.g. overlays.
2017-03-11 19:01:01 -08:00
bjorn f9f0773b92 lovr.controllerpressed; lovr.controllerreleased; 2017-03-11 18:46:07 -08:00
bjorn ad1706f2ba Rename vive to openvr; 2017-03-11 03:31:04 -08:00
bjorn b84f72f17e Rename vendor to lib; 2017-03-11 02:19:33 -08:00
bjorn b3009955f3 Fix texture resets again; 2017-03-04 00:18:59 -08:00
bjorn a932c4fec5 Fix Controller model freeing; 2017-02-26 23:52:40 -08:00
bjorn 2368f725a1 Fix OpenVR controller models; 2017-02-26 18:49:40 -08:00
bjorn 97ba379bd3 More Controller fixes; 2017-02-26 18:37:07 -08:00
bjorn f58e58d172 Improve headset safety; 2017-02-26 16:54:55 -08:00
bjorn 94af335225 Fix OpenVR texture reset yet again; 2017-02-26 16:33:20 -08:00
bjorn 9f351774d2 Fix vive state; 2017-02-20 01:21:58 -08:00
bjorn 686be658bf Simplify headset abstractions; 2017-02-19 15:49:39 -08:00
bjorn 6692734151 Move all OpenVR code into vive; 2017-02-19 14:59:53 -08:00
bjorn ea9f378850 Small VR rendering optimization; 2017-02-18 15:32:36 -08:00
bjorn aa470d6fab Fix vive rendering; 2017-02-17 00:48:43 -08:00
bjorn f80e3e5a13 More font rendering; 2017-02-09 21:06:07 -08:00
bjorn 6d55c51a3e Fix crash when SteamVR is missing; 2017-02-03 16:08:58 -08:00
bjorn 1714804651 Fix headset types; 2017-01-26 02:26:15 -08:00
bjorn e80f390151 Try #pragma once; 2017-01-26 02:21:56 -08:00