bjorn
22beccedc3
Model:getAnimationDuration;
2019-09-19 19:21:31 -07:00
bjorn
1902787b1b
Modify GPU timer API;
...
- lovr.graphics.tock returns the latest value of the timer, or 0.
- Timers are not in the stats table anymore.
This is to prepare for an upcoming internal change that affects timers.
2019-09-18 18:21:38 -07:00
bjorn
e96c541244
Multithreaded builds on Windows; Formatting;
2019-09-18 16:12:08 -07:00
bjorn
f82bcb703b
Finalize skeletal input API;
2019-09-18 16:12:08 -07:00
bjorn
6c130ebd86
Fix warning;
2019-09-18 16:12:08 -07:00
bjorn
b3f1b1db0c
mat4:rotate uses y axis by default;
2019-09-13 23:22:29 -07:00
Bjorn
e4d54f8aa6
Merge pull request #148 from mcclure/signed-lovrViewID
...
Make lovrViewID signed on Oculus Mobile (fix "mask" example)
2019-09-12 00:01:28 -07:00
Bjorn
c4b90c04cf
Merge pull request #149 from mcclure/info-print
...
Oculus mobile: Promote Lua print() statements to INFO
2019-09-12 00:00:29 -07:00
mcc
785c7c722b
Oculus mobile: Promote Lua print() statements to INFO
...
This means Lua print() statements can be uniquely filtered out vs anything else (because internal Lovr logging uses loglevel DEBUG and lovr errors use loglevel WARN).
2019-09-11 19:43:44 -04:00
mcc
38f4204661
Make lovrViewID signed on Oculus Mobile
...
The "mask" example was failing on Oculus Mobile on the line of glsl:
if (lovrViewID == 1) {
because lovrViewID was unsigned and 1 was signed. One way to fix this would be to replace 1 with 1u as that is unsigned, but this would be the wrong fix because lovrViewID is in fact signed on all platforms other than Oculus Mobile. lovrViewID was depending on platform defined to either gl_ViewportIndex (signed), a signed uniform, or gl_ViewID_OVR (unsigned). The solution is to place an explicit cast in the multiview definition of lovrViewID so that it is signed on all platforms.
2019-09-11 18:22:06 -04:00
Bjorn
cc3a3ed302
Merge pull request #146 from mcclure/getMaterialName
...
model:getMaterialName(idx)
2019-09-04 18:33:24 -07:00
mcc
c9cc5362bd
model:getAnimationName(idx) and model:getNodeName(idx)
2019-09-04 21:09:54 -04:00
mcc
8b18c735ca
model:getMaterialName(idx)
2019-09-04 17:17:56 -04:00
bjorn
5ed132635a
Fix error screen when headset module is disabled;
2019-09-03 15:34:41 -07:00
bjorn
3e47f958ad
Fix mat4:lookAt;
2019-08-31 05:45:19 -07:00
bjorn
39376a10d5
normalTexture -> normalMap;
2019-08-31 05:31:20 -07:00
bjorn
79b5d2962c
Fix problem with vector lightuserdata handles;
2019-08-31 03:08:42 -07:00
bjorn
9ea785d210
Fix normal matrix;
...
Now that lighting is in world space.
2019-08-31 03:00:54 -07:00
bjorn
17ae64baec
Fix sphere winding;
2019-08-31 03:00:40 -07:00
bjorn
00412e2e79
Add a conf.lua flag for making the window resizable;
2019-08-28 00:59:03 -07:00
bjorn
50a1629dbc
Model:get[Animation|Material|Node]Count;
2019-08-27 15:02:24 -07:00
bjorn
31fed6a940
Fix stereo flag for custom shaders;
2019-08-27 14:59:17 -07:00
bjorn
f97031a8ec
Fix Android print with multiple arguments;
2019-08-26 16:19:58 -07:00
bjorn
305596adf8
Fix windows build;
...
LOVR_EXPORT needs to be on the declaration, unfortunately.
2019-08-26 15:53:10 -07:00
bjorn
5fb3d55f37
Increase specificity of 'test' gitignore;
2019-08-26 15:46:38 -07:00
bjorn
f64e2064ef
Adjust Canvas padding so it's 128 bytes;
2019-08-23 01:43:35 -07:00
bjorn
80eaea21f1
Adjust Buffer padding so it's 48 bytes;
2019-08-23 01:35:46 -07:00
bjorn
8d8f4eef73
Adjust Texture padding so it's 64 bytes;
2019-08-23 01:34:23 -07:00
bjorn
a073206c20
Standard shader: Fix some precision issues in GLES;
2019-08-22 21:57:59 -07:00
bjorn
e9654cd067
Fix function prototypes;
2019-08-21 23:19:42 -07:00
bjorn
28344928c9
Simplify arr;
2019-08-21 23:16:58 -07:00
bjorn
ba1e97e626
Add test folder;
2019-08-21 22:27:52 -07:00
bjorn
9b0e43b249
Fix t.window = nil;
2019-08-21 22:26:31 -07:00
bjorn
13655d0df4
Simplify logging;
2019-08-21 19:02:02 -07:00
bjorn
fb2d8aae2c
Fix CMakeLists;
2019-08-21 16:33:13 -07:00
bjorn
cd09e1e695
rm sds;
2019-08-21 16:30:20 -07:00
bjorn
8d4760167f
luax is now api;
2019-08-21 15:27:26 -07:00
bjorn
7c8a44cc57
Cleanup function pointer typedefs;
2019-08-21 14:44:54 -07:00
bjorn
fb279057b8
maf no longer needs to export symbols;
2019-08-21 03:29:37 -07:00
bjorn
b51dece762
Fix bug with permanent vectors;
2019-08-20 00:54:42 -07:00
bjorn
f91eed3834
Rebuild boot.lua.h;
2019-08-20 00:54:36 -07:00
bjorn
3050d70f3d
Slightly better OpenVR head pose;
2019-08-19 14:55:28 -07:00
bjorn
e6c9fd1a6e
rm error screen buttons;
2019-08-19 14:52:56 -07:00
bjorn
26e7233fde
Fix some API issues with lightuserdata;
2019-08-19 14:35:06 -07:00
bjorn
b1b97ddb02
quat:direction returns vec3;
2019-08-19 14:19:10 -07:00
bjorn
97e90a8699
Fix checkvariant error message;
2019-08-19 14:16:42 -07:00
bjorn
2f7743583f
Rebuild actions.json.h;
2019-08-19 14:16:37 -07:00
bjorn
584261e21f
rm ffi vectors;
2019-08-19 14:13:36 -07:00
bjorn
e6bedba0bc
Fix OpenVR head pose;
2019-08-17 22:50:35 -07:00
bjorn
c703092f87
Add missing timers GraphicsFeature;
2019-08-13 22:11:59 -07:00