bjorn
|
6cc5a036e8
|
Fix Font:getWidth;
|
2017-03-25 18:41:25 -07:00 |
|
bjorn
|
2ae10967c4
|
Error in setVertices when overflowing Mesh size;
|
2017-03-23 17:49:57 -07:00 |
|
bjorn
|
7077d89a22
|
Font metrics;
|
2017-03-16 01:12:32 -07:00 |
|
bjorn
|
0b57b48702
|
Font pixel densities;
|
2017-03-15 20:51:16 -07:00 |
|
bjorn
|
390220f945
|
Font alignment;
|
2017-03-15 20:46:01 -07:00 |
|
bjorn
|
a6cb4ee53f
|
Alphabetize some enums;
|
2017-03-14 21:38:03 -07:00 |
|
bjorn
|
46b068c2fe
|
Fix crash on absent command line argument;
|
2017-03-14 02:34:05 -07:00 |
|
bjorn
|
22526552dc
|
Use correct texture for fonts;
|
2017-03-14 02:32:01 -07:00 |
|
bjorn
|
c4f6df11e8
|
lovr.graphics.reset on error screen;
|
2017-03-12 19:23:26 -07:00 |
|
bjorn
|
37c2a11172
|
Fix panorama Skyboxes I promise;
|
2017-03-12 17:31:06 -07:00 |
|
bjorn
|
5bd364f65f
|
Fix skybox math;
|
2017-03-12 17:13:50 -07:00 |
|
bjorn
|
a4257378f0
|
Panorama Skybox fixes;
|
2017-03-12 16:57:27 -07:00 |
|
bjorn
|
4feeb4d4ab
|
Equirectangular Skybox rough draft;
|
2017-03-12 16:45:50 -07:00 |
|
bjorn
|
ac7a97fe77
|
Minor OpenVR render model cleanup;
|
2017-03-12 15:10:07 -07:00 |
|
bjorn
|
4c3bca841b
|
ModelData doesn't need ref;
|
2017-03-12 15:04:39 -07:00 |
|
bjorn
|
062086991e
|
Blend modes;
|
2017-03-12 04:03:36 -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
|
94a5dab7b5
|
Meshes use mapped buffers;
|
2017-03-11 17:27:18 -08:00 |
|
bjorn
|
b417df1de9
|
Improve Mesh error message;
|
2017-03-11 15:26:43 -08:00 |
|
bjorn
|
d1a8a5b156
|
Make Mesh attribute binding more intelligent;
|
2017-03-11 15:15:00 -08:00 |
|
bjorn
|
7648bffda7
|
Mesh:isAttributeEnabled; Mesh:setAttributeEnabled;
|
2017-03-11 14:47:13 -08:00 |
|
bjorn
|
faad61614f
|
Change Mesh isRangeEnabled to int;
|
2017-03-11 14:30:39 -08:00 |
|
bjorn
|
1abbdc5779
|
Missed some instances of buffer;
|
2017-03-11 14:28:44 -08:00 |
|
bjorn
|
a2e1fd8972
|
Rename Buffer to Mesh;
|
2017-03-11 14:13:49 -08:00 |
|
bjorn
|
3da4d4def9
|
Add lovr.getOS;
|
2017-03-11 13:51:15 -08:00 |
|
bjorn
|
ad1706f2ba
|
Rename vive to openvr;
|
2017-03-11 03:31:04 -08:00 |
|
bjorn
|
fce7746b16
|
Simplify api structure;
|
2017-03-11 03:08:07 -08:00 |
|
bjorn
|
fa74254e64
|
Rename lovr to api;
|
2017-03-11 02:25:39 -08:00 |
|
bjorn
|
b84f72f17e
|
Rename vendor to lib;
|
2017-03-11 02:19:33 -08:00 |
|
bjorn
|
65338c8312
|
Print error when write directory fails;
|
2017-03-11 01:58:11 -08:00 |
|
bjorn
|
331f273e9b
|
Use platform specific directory separators;
|
2017-03-11 01:47:30 -08:00 |
|
bjorn
|
4c78898aec
|
Fix lovr.filesystem.getAppdataDirectory;
|
2017-03-11 01:45:33 -08:00 |
|
bjorn
|
40cf56f17a
|
Add missing filesystem API functions;
|
2017-03-11 01:44:24 -08:00 |
|
bjorn
|
4df4069915
|
Add more filesystem functionality;
|
2017-03-11 01:37:00 -08:00 |
|
bjorn
|
dfe1242332
|
pcall errhand;
|
2017-03-08 13:04:49 -08:00 |
|
bjorn
|
b3009955f3
|
Fix texture resets again;
|
2017-03-04 00:18:59 -08:00 |
|
bjorn
|
f7d2470272
|
Fix syntax issue, woops;
|
2017-03-01 20:19:37 -08:00 |
|
bjorn
|
0089ae0972
|
Optional eye for getEyePosition;
|
2017-03-01 20:18:49 -08:00 |
|
bjorn
|
b38204287c
|
lovr.filesystem.load;
|
2017-03-01 20:08:13 -08:00 |
|
bjorn
|
c52f5e7318
|
Relative sources and volume limiting;
|
2017-02-28 20:03:47 -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
|
2cc360db11
|
Fix stack adjustment in pushtype;
|
2017-02-26 14:49:42 -08:00 |
|
bjorn
|
e5aefb3f03
|
Fix windows compilation;
|
2017-02-26 14:32:59 -08:00 |
|
bjorn
|
e607216308
|
Improve error handling;
|
2017-02-26 14:28:57 -08:00 |
|
bjorn
|
13db69a2fb
|
Error when positioning stereo sources;
|
2017-02-26 13:24:22 -08:00 |
|
bjorn
|
2a6afc4999
|
lovr.audio.isSpatialized;
|
2017-02-26 13:14:15 -08:00 |
|
bjorn
|
43ecf52dbc
|
Source:getVelocity; Source:setVelocity;
|
2017-02-26 13:11:22 -08:00 |
|
bjorn
|
e25141417e
|
lovr.audio.getDopplerEffect; lovr.audio.setDopplerEffect;
|
2017-02-26 13:09:09 -08:00 |
|
bjorn
|
063f005ed7
|
lovr.audio.getVelocity; lovr.audio.setVelocity;
|
2017-02-26 12:58:43 -08:00 |
|
bjorn
|
9df7195e68
|
Source:getCone; Source:setCone;
|
2017-02-26 12:50:51 -08:00 |
|
bjorn
|
ba79d4a8e4
|
Rename Source orientation to direction;
|
2017-02-26 12:39:41 -08:00 |
|
bjorn
|
c576f7563d
|
Source:getFalloff; Source:setFalloff;
|
2017-02-26 12:37:18 -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
|
8571783b4f
|
Refactor loaders;
|
2017-02-19 01:54:58 -08:00 |
|
bjorn
|
f5f23cb29b
|
Rough draft for error handler;
|
2017-02-18 16:07:45 -08:00 |
|
bjorn
|
ea9f378850
|
Small VR rendering optimization;
|
2017-02-18 15:32:36 -08:00 |
|
bjorn
|
1400e35fb2
|
Clear Framebuffer contents on init;
|
2017-02-18 15:31:16 -08:00 |
|
bjorn
|
f46339c336
|
Reset coordinate system on lovr.graphics.reset;
|
2017-02-18 15:29:32 -08:00 |
|
bjorn
|
24d928e9a2
|
Send Transforms to Shaders;
|
2017-02-18 15:18:30 -08:00 |
|
bjorn
|
706481f9ee
|
Fix issue with registry creation;
|
2017-02-18 15:18:17 -08:00 |
|
bjorn
|
fc9ef08a52
|
Optional arguments for lovr.graphics.scale and rotate;
|
2017-02-18 15:10:09 -08:00 |
|
bjorn
|
cce3445f9b
|
Fix memory management;
|
2017-02-18 14:44:52 -08:00 |
|
bjorn
|
2c8126e708
|
Add --version command line flag;
|
2017-02-18 02:49:09 -08:00 |
|
bjorn
|
063f1d4400
|
0.4.0;
|
2017-02-17 00:49:13 -08:00 |
|
bjorn
|
aa470d6fab
|
Fix vive rendering;
|
2017-02-17 00:48:43 -08:00 |
|
bjorn
|
a40fb02550
|
Remove metrics for now;
|
2017-02-16 18:08:48 -08:00 |
|
bjorn
|
8415fa97f8
|
Decrease default height;
|
2017-02-16 17:11:07 -08:00 |
|
bjorn
|
2cbb381c5b
|
Max width parameter;
|
2017-02-16 16:54:02 -08:00 |
|
bjorn
|
ce89900dcc
|
Improve newFont API;
|
2017-02-16 16:41:46 -08:00 |
|
bjorn
|
078d5290c0
|
Move default font into loaders;
|
2017-02-16 16:41:29 -08:00 |
|
bjorn
|
ebb40867e0
|
lovr.graphics.print geometry;
|
2017-02-16 16:23:52 -08:00 |
|
bjorn
|
1b2527db18
|
Center lines by default;
|
2017-02-16 15:42:33 -08:00 |
|
bjorn
|
12bdaca72b
|
Font stability; Font line height;
|
2017-02-12 03:14:10 -08:00 |
|
bjorn
|
ff5a114e65
|
Font transforms; Font refcounting;
|
2017-02-10 03:24:13 -08:00 |
|
bjorn
|
54df1f2ff8
|
Font:getBaseline;
|
2017-02-09 21:06:08 -08:00 |
|
bjorn
|
a8b338b6e1
|
Font:getWidth;
|
2017-02-09 21:06:08 -08:00 |
|
bjorn
|
aefe788fa2
|
Use LEQUAL depth test when drawing text;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
7c1cedf809
|
Improve initial font texture size;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
530c80c63c
|
Kerning;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
458aa43700
|
Default font;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
73d8b8aa3e
|
Unicode;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
db2ed2d0a5
|
Global font metrics;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
f80e3e5a13
|
More font rendering;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
02386af34f
|
Less terrible font rendering;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
ab2d0ee79a
|
Really terrible font rendering;
|
2017-02-09 21:06:07 -08:00 |
|
bjorn
|
853e9d89d7
|
Fonts;
|
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
|
db701f249f
|
Buffer:getVertexFormat;
|
2017-01-29 19:23:37 -08:00 |
|
bjorn
|
4a3f284881
|
Buffer:draw accepts transform arguments;
|
2017-01-29 19:12:25 -08:00 |
|
bjorn
|
78c6452d09
|
Optional texture path in lovr.graphics.newModel;
|
2017-01-29 19:03:50 -08:00 |
|
bjorn
|
721102456a
|
Disable culling while drawing skyboxes;
|
2017-01-28 23:19:28 -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 |
|
bjorn
|
c47259ccec
|
Fix OpenVR models;
|
2017-01-24 21:49:51 -08:00 |
|
bjorn
|
3dee0b4782
|
lovr.headset.getEyePosition; HeadsetEye;
|
2017-01-22 21:20:34 -08:00 |
|
bjorn
|
492a75acba
|
Properly destroy modules on exit;
|
2017-01-21 18:18:12 -08:00 |
|
bjorn
|
4303846eac
|
Clean up includes;
|
2017-01-21 18:00:32 -08:00 |
|
bjorn
|
6979b59980
|
map_int_find -> luax_pushenum;
|
2017-01-21 17:38:44 -08:00 |
|
bjorn
|
14dfeb688f
|
Get rid of loadImage;
|
2017-01-21 17:29:20 -08:00 |
|
bjorn
|
dff9cc3c98
|
Add stb_image implementation file;
|
2017-01-21 17:15:04 -08:00 |
|
bjorn
|
666a3a23d7
|
Remove assimp includes from lovrGraphics;
|
2017-01-21 17:12:08 -08:00 |
|
bjorn
|
9e0d8801b6
|
mat4_setTransform;
|
2017-01-20 20:43:00 -08:00 |
|
bjorn
|
1f4ecad44b
|
Shuffle things around;
|
2017-01-20 20:16:59 -08:00 |
|
bjorn
|
039309a222
|
Remove unused math code;
|
2017-01-20 20:11:18 -08:00 |
|
bjorn
|
8a3d52b3c6
|
Cleanup ugh;
|
2017-01-20 19:55:54 -08:00 |
|
bjorn
|
07803ef16a
|
Remove Vector and Rotation;
|
2017-01-20 19:46:45 -08:00 |
|
bjorn
|
4e43af9624
|
Kill l_lovrTransformUnpack for now;
Oh well
|
2017-01-20 18:39:49 -08:00 |
|
bjorn
|
4fc7d27750
|
lovr.graphics.transform;
|
2017-01-20 18:39:49 -08:00 |
|
bjorn
|
5e2cfcc9bd
|
graphics.cube and Model:draw accept Transform;
|
2017-01-20 18:39:49 -08:00 |
|
bjorn
|
a118a6bff5
|
Cleanup;
|
2017-01-20 18:39:49 -08:00 |
|
bjorn
|
3dbafc8214
|
Cleanup;
|
2017-01-20 18:39:48 -08:00 |
|
bjorn
|
a3ccb16913
|
Rough math module;
|
2017-01-20 18:39:47 -08:00 |
|
bjorn
|
c7399c8078
|
Reorder mat4 functions;
|
2017-01-20 18:39:47 -08:00 |
|
bjorn
|
4f0f685e04
|
luax_istype;
|
2017-01-20 18:39:47 -08:00 |
|
bjorn
|
f19967e0e6
|
More general luax_registertype;
|
2017-01-20 18:39:47 -08:00 |
|
bjorn
|
e8e2a99e5b
|
Finish internal math library;
|
2017-01-20 18:39:46 -08:00 |
|
bjorn
|
fdb363df4b
|
Get closure on that lovr.event memory leak;
|
2017-01-20 18:39:46 -08:00 |
|
bjorn
|
8518e32ae2
|
vec3;
|
2017-01-20 18:39:46 -08:00 |
|
bjorn
|
7df96af22a
|
Error message for Buffer overflow;
|
2017-01-16 19:56:18 -08:00 |
|
bjorn
|
66fbcceda8
|
v0.3.0;
|
2017-01-15 14:13:33 -08:00 |
|
bjorn
|
38768afda1
|
Sort out texture coordinates;
I hope
|
2017-01-15 13:49:46 -08:00 |
|
bjorn
|
797da11480
|
Headset mirror;
|
2017-01-14 21:57:28 -08:00 |
|
bjorn
|
4e97fec4eb
|
Fix vive rendering;
|
2017-01-14 21:18:23 -08:00 |
|
bjorn
|
15ead25624
|
Headset uses Texture;
|
2017-01-14 21:08:47 -08:00 |
|
bjorn
|
59d1bb5ee9
|
MSAA Textures; Help;
|
2017-01-14 17:38:25 -08:00 |
|
bjorn
|
392962eb2b
|
Remove unused lovrGraphicsSetShapeData;
|
2017-01-13 02:01:56 -08:00 |
|
bjorn
|
a8b7af311e
|
Improve graphics primitives;
|
2017-01-13 01:59:00 -08:00 |
|
bjorn
|
af3957d3c3
|
Perspective projection textures;
|
2017-01-12 01:26:44 -08:00 |
|
bjorn
|
09fdb72d5c
|
Start texture projections;
|
2017-01-11 23:38:28 -08:00 |
|
bjorn
|
9e7e1a113f
|
Formatting;
|
2017-01-11 20:32:11 -08:00 |
|
bjorn
|
eba3996984
|
Improve CanvasState;
|
2017-01-11 20:26:08 -08:00 |
|
bjorn
|
9f43f84577
|
Fix Texture dimensions;
|
2017-01-11 18:45:01 -08:00 |
|
bjorn
|
b05e2630dd
|
CanvasState;
|
2017-01-11 09:25:43 -08:00 |
|
bjorn
|
1ad0ac557b
|
Basic framebuffers;
|
2017-01-08 22:51:43 -08:00 |
|
bjorn
|
2a8d40abd6
|
Deprecate Buffer Textures;
|
2017-01-08 21:29:16 -08:00 |
|
bjorn
|
e73e3fc5c4
|
Update to OpenVR 1.0.5;
|
2017-01-07 09:55:20 -08:00 |
|
bjorn
|
1e2294a345
|
Fix Source memory leak;
|
2017-01-06 19:15:03 -08:00 |
|
bjorn
|
d2d28e6100
|
Audio fixes;
|
2017-01-06 18:43:24 -08:00 |
|
bjorn
|
9cbfeb0bf4
|
Sync audio listener with headset;
|
2017-01-06 17:45:15 -08:00 |
|
bjorn
|
1c61fa88b3
|
HRTF;
|
2017-01-06 14:13:51 -08:00 |
|
bjorn
|
cd3da38478
|
lovr.audio.getVolume; lovr.audio.setVolume;
|
2017-01-06 00:41:08 -08:00 |
|
bjorn
|
84bbe291d1
|
Global pause/resume/rewind/stop for lovr.audio;
|
2017-01-06 00:37:16 -08:00 |
|
bjorn
|
c2c1e8aac5
|
Audio listener position and orientation;
|
2017-01-05 21:36:38 -08:00 |
|
bjorn
|
fa6b742972
|
Source:getOrientation; Source:setOrientation;
|
2017-01-05 21:21:14 -08:00 |
|
bjorn
|
d437d04259
|
SoundData -> SourceData;
|
2017-01-05 21:10:01 -08:00 |
|
bjorn
|
b28d822797
|
Source:setPosition; Source:getPosition;
|
2017-01-05 21:07:12 -08:00 |
|
bjorn
|
952330d1c8
|
Source:getPitch; Source:setPitch;
|
2017-01-05 20:32:22 -08:00 |
|
bjorn
|
0d33dd432d
|
Source:getVolume; Source:setVolume;
|
2017-01-05 20:27:32 -08:00 |
|
bjorn
|
ff10224589
|
Source:seek; Source:tell;
|
2017-01-05 20:21:16 -08:00 |
|
bjorn
|
56b121a0e9
|
Loop-de-loop!;
|
2017-01-05 18:22:38 -08:00 |
|
bjorn
|
d6a30fc6d2
|
Basic sources;
|
2017-01-05 17:44:00 -08:00 |
|
bjorn
|
807561deed
|
Add stb_vorbis;
|
2017-01-04 23:57:24 -08:00 |
|
bjorn
|
062bdda684
|
Basic audio boilerplate;
|
2017-01-02 19:09:33 -08:00 |
|
bjorn
|
724e0dd6eb
|
Shader arrays;
|
2016-12-30 11:57:15 -08:00 |
|
bjorn
|
a3d25e472a
|
Default axis for lovr.graphics.cube;
|
2016-12-05 00:54:03 -08:00 |
|
bjorn
|
276fe5ef91
|
Maybe fix vive controller buttons;
|
2016-12-03 22:22:33 -08:00 |
|
bjornbytes
|
054a672e43
|
Fix vibration;
|
2016-12-03 14:51:56 -08:00 |
|
bjorn
|
fb472c4338
|
Fix controllers;
|
2016-12-03 12:08:34 -08:00 |
|
bjorn
|
7fb670add8
|
lovr.getVersion;
|
2016-12-01 17:39:10 -08:00 |
|
bjorn
|
83fb958ac0
|
Simplify rotations;
|
2016-12-01 17:32:58 -08:00 |
|
bjorn
|
8feba7342b
|
Headset fixes;
|
2016-12-01 17:06:27 -08:00 |
|
bjorn
|
b72b1b242b
|
Improve controller detection;
|
2016-12-01 14:55:47 -08:00 |
|
bjorn
|
89f0d89223
|
Improve Controller detection;
|
2016-11-30 23:03:58 -08:00 |
|
bjorn
|
b7d1b1e5dc
|
Style;
|
2016-11-30 20:32:14 -08:00 |
|
bjorn
|
e1f5ed4641
|
Improve lovr.graphics.setColor;
|
2016-11-30 10:53:21 -08:00 |
|
bjorn
|
f13cbbc4ba
|
lovr._version;
|
2016-11-29 01:33:53 -08:00 |
|
bjorn
|
0def0d962c
|
Fix custom package loader;
|
2016-11-28 23:37:50 -08:00 |
|
bjorn
|
6a8a335a80
|
Remove unused declaration;
|
2016-11-28 23:08:42 -08:00 |
|
bjorn
|
b17111dc89
|
Fix timer ifdef;
|
2016-11-28 23:06:16 -08:00 |
|
bjorn
|
e3c1dcfa54
|
Overhaul lovr.event;
|
2016-11-28 22:59:27 -08:00 |
|
bjorn
|
40eeeabcff
|
Optimize matrix stack;
|
2016-11-27 10:57:36 -08:00 |
|
bjorn
|
cf6c862aaa
|
TextureType;
|
2016-11-27 10:34:22 -08:00 |
|
bjorn
|
8a68027f0a
|
Change lovr.timer.getFPS;
|
2016-11-27 02:29:52 -08:00 |
|
bjorn
|
d44cbfa5e7
|
Clean up textures;
|
2016-11-27 02:06:47 -08:00 |
|
bjorn
|
9b0712bb66
|
Add default texture;
|
2016-11-26 18:58:58 -08:00 |
|
bjorn
|
8252be04ed
|
Refactor Headset;
|
2016-11-26 02:32:19 -08:00 |
|
bjorn
|
54f9ea49af
|
Remove extraneous ModelData functionality;
|
2016-11-26 01:07:40 -08:00 |
|
bjorn
|
2921e2712c
|
Fix controller models;
|
2016-11-26 01:00:50 -08:00 |
|
bjorn
|
c74da49a05
|
openvr.h;
|
2016-11-26 00:31:44 -08:00 |
|
bjorn
|
006221b7fd
|
TextureData;
|
2016-11-25 23:54:45 -08:00 |
|
bjorn
|
bd9fec011b
|
headsetControllerGetModel;
|
2016-11-25 23:32:48 -08:00 |
|
bjorn
|
3d18eb99e6
|
Refactor model loader;
|
2016-11-25 23:15:04 -08:00 |
|
bjorn
|
aae636debb
|
Move GLFW into LOVR;
|
2016-11-25 17:31:41 -08:00 |
|
bjorn
|
316893d132
|
Start loaders directory;
|
2016-11-25 17:13:26 -08:00 |
|
bjorn
|
5d53cc7118
|
Progress on controller models;
|
2016-11-25 03:18:53 -08:00 |
|
bjorn
|
01a9b3d621
|
Allow lovr.graphics.newModel to accept ModelData;
|
2016-11-25 03:17:35 -08:00 |
|
bjorn
|
9602a3af2f
|
ModelFace always has 3 indices;
|
2016-11-25 03:16:11 -08:00 |
|
bjorn
|
83af2cacd7
|
Fix Model texture binding;
|
2016-11-25 03:15:13 -08:00 |
|
bjorn
|
7ce7c589bb
|
Fix naming error in buffer format;
|
2016-11-25 03:14:48 -08:00 |
|
bjorn
|
38379d44b4
|
Start Controller models;
|
2016-11-25 01:12:36 -08:00 |
|
bjorn
|
172ecbbd56
|
Refactor Model constructor;
|
2016-11-25 00:49:19 -08:00 |
|
bjorn
|
614d23198e
|
Improve VR position tracking while rendering;
|
2016-11-24 16:23:13 -08:00 |
|
bjorn
|
9f4a441bf1
|
Allow disabling of depth test;
|
2016-11-24 15:45:59 -08:00 |
|
bjorn
|
43b7592989
|
Fix lovr.headset.getBoundsGeometry;
|
2016-11-23 21:01:46 -08:00 |
|
bjorn
|
fc6fd738d2
|
Improve support for retrieving chaperone info;
|
2016-11-23 20:54:04 -08:00 |
|
bjorn
|
30f70e58f6
|
Add __tostring to objects;
|
2016-11-23 20:17:07 -08:00 |
|
bjorn
|
5d24a549ba
|
Fix lovr.headset.getTrackingSize;
|
2016-11-23 19:46:32 -08:00 |
|
bjorn
|
08d63ca19c
|
Model texture rendering;
|
2016-11-23 00:02:19 -08:00 |
|
bjorn
|
cbcaef4e77
|
Standardize shader uniforms;
All built in uniforms are prefixed with "lovr".
Added helper functions "position" and "color" to improve general use case.
This is a breaking change.
|
2016-11-22 22:17:49 -08:00 |
|
bjorn
|
a5fd7962f4
|
Organize lovr.graphics;
|
2016-11-22 21:16:13 -08:00 |
|
bjorn
|
f18ee761cd
|
lovr.graphics.setWireframe;
|
2016-11-22 21:07:33 -08:00 |
|
bjorn
|
15174b8299
|
lovr.graphics.setDepthTest;
|
2016-11-22 20:59:11 -08:00 |
|
bjorn
|
00e07c177b
|
Use luax_checkenum in lovr/graphics;
|
2016-11-22 20:45:57 -08:00 |
|
bjorn
|
3d89338fec
|
lovr.graphics.triangle;
|
2016-11-22 20:43:22 -08:00 |
|
bjorn
|
8892b03590
|
Buffer:setVertexAttribute;
|
2016-11-20 22:24:57 -08:00 |
|
bjorn
|
b557791800
|
Clean up buffer code;
|
2016-11-20 17:33:19 -08:00 |
|
bjorn
|
87a49b1903
|
size->count;
|
2016-11-20 15:53:36 -08:00 |
|
bjorn
|
0eea694bdd
|
Small reference count fixes;
|
2016-11-19 18:26:10 -08:00 |
|
bjorn
|
d014daaa53
|
Fix texture reference counting;
|
2016-11-19 14:21:17 -08:00 |
|
bjorn
|
00656b928e
|
Buffer texture reference counting;
|
2016-11-19 14:14:42 -08:00 |
|
bjorn
|
c41204f876
|
Shader reference counting;
|
2016-11-19 14:06:41 -08:00 |
|
bjorn
|
0f0c301525
|
Use generic Lua helpers;
|
2016-11-19 13:35:03 -08:00 |
|
bjorn
|
0c200b9a2c
|
Clean up util naming;
|
2016-11-19 13:33:40 -08:00 |
|
bjorn
|
a743cfd3b6
|
Initial reference counting system;
|
2016-11-19 13:33:40 -08:00 |
|
bjorn
|
7e4e9a6108
|
Clean up includes;
|
2016-11-19 01:28:01 -08:00 |
|
bjorn
|
3813e0b9ce
|
Increase max shader length;
|
2016-11-18 02:08:49 -08:00 |
|
bjorn
|
67b55ac7f6
|
Fix Shader memory leaks;
|
2016-11-18 02:08:36 -08:00 |
|
bjorn
|
3c2fc33f1c
|
Fix Model memory leaks;
|
2016-11-18 02:03:50 -08:00 |
|
bjorn
|
42c1047b88
|
Fix small vive memory leak;
|
2016-11-18 01:28:40 -08:00 |
|
bjorn
|
45618e5f72
|
Better handling of command line arguments;
|
2016-11-18 00:33:26 -08:00 |
|
bjorn
|
0ec31f3625
|
Texture:refresh;
|
2016-11-17 23:12:30 -08:00 |
|
bjorn
|
027c0db032
|
Fix BUFFER_INT access in shaders;
|
2016-11-17 23:11:58 -08:00 |
|
bjorn
|
4b177a6a21
|
Fix for int buffer attribute type;
|
2016-11-14 22:01:44 -08:00 |
|
bjorn
|
7b81618198
|
BUFFER_INT;
|
2016-11-14 21:31:17 -08:00 |
|
bjorn
|
0c86495171
|
Improve Buffer:setVertex error message;
|
2016-11-14 21:25:46 -08:00 |
|
bjorn
|
ee08af588c
|
Make Buffer:setVertexMap error even better;
|
2016-11-14 20:16:18 -08:00 |
|
bjorn
|
92030baf22
|
Buffer:setVertexMap better error handling;
|
2016-11-14 20:14:45 -08:00 |
|
bjorn
|
f083285a31
|
More LÖVEly error messages;
|
2016-11-14 20:14:36 -08:00 |
|
bjorn
|
3520fca758
|
Controller:isDown;
|
2016-11-14 19:57:23 -08:00 |
|
bjorn
|
8fe678b83a
|
Internal Controller rename;
|
2016-11-14 19:47:24 -08:00 |
|
bjorn
|
c358fac8c7
|
Controller:vibrate;
|
2016-11-14 19:33:42 -08:00 |
|
bjorn
|
14d29ca100
|
Controller:getAxis;
|
2016-11-14 16:22:28 -08:00 |
|
bjorn
|
40f7260dd3
|
Start controller input;
|
2016-11-14 16:05:55 -08:00 |
|
bjorn
|
69ecfc550e
|
Optimize switching Buffer vertex maps a lot;
|
2016-11-14 15:56:05 -08:00 |
|
bjorn
|
954592d8bd
|
Refactor graphics state, especially shaders;
This should improve performance, if not then I have failed.
|
2016-11-14 15:48:17 -08:00 |
|
bjorn
|
06c71ed07c
|
Allow loading shaders from files;
The first argument is always the vertex shader.
The second argument is always the fragment shader.
|
2016-11-14 14:42:40 -08:00 |
|
bjorn
|
5cb11f4b2c
|
Compilation improvements;
|
2016-11-14 14:16:16 -08:00 |
|
bjorn
|
21aba100a1
|
Refactor lovr.graphics.getDimensions and friends;
|
2016-11-14 13:47:15 -08:00 |
|
bjorn
|
36bc1ad9a2
|
Improve error messages when main.lua has error;
|
2016-11-14 13:43:34 -08:00 |
|
bjorn
|
acde08228c
|
Bind texture after setting buffer;
The `buffer` field was not being initialized to 0, so sometimes
the texture was binding to the wrong target.
|
2016-11-14 01:00:06 -08:00 |
|
bjorn
|
3ef84510c9
|
Improve windows platform detection;
|
2016-11-14 00:02:21 -08:00 |
|
bjorn
|
daa942d932
|
Support BufferTextures;
|
2016-11-13 17:28:22 -08:00 |
|
bjorn
|
b619a65946
|
Fix Buffer constructor bug;
|
2016-11-13 02:42:05 -08:00 |
|
bjorn
|
11f35763b7
|
Fix Buffer attribute indices;
|
2016-11-13 02:35:26 -08:00 |
|
bjorn
|
c0db50b6ae
|
Buffer:setVertices;
|
2016-11-12 23:18:53 -08:00 |
|
bjorn
|
11d96f1826
|
lovr.graphics.setPointSize;
|
2016-11-12 17:38:49 -08:00 |
|
bjorn
|
ffde873299
|
Oh no;
|
2016-11-12 15:20:04 -08:00 |
|
bjorn
|
cffa8df971
|
Fix Buffer crash on custom byte type;
|
2016-11-12 04:30:52 -08:00 |
|
bjorn
|
0c8db44e78
|
Fix model include;
|
2016-11-12 03:46:40 -08:00 |
|
bjorn
|
f891a00b2f
|
rm printf;
|
2016-11-12 01:49:39 -08:00 |
|
bjorn
|
27d3601c00
|
Add missing headset bounds functions;
|
2016-11-12 01:23:22 -08:00 |
|
bjorn
|
811bf67071
|
Windows fixes;
|
2016-11-12 01:19:47 -08:00 |
|
bjorn
|
7550da44d8
|
Model textures;
|
2016-11-08 14:55:16 -08:00 |
|
bjorn
|
8267733a42
|
Texture filters;
|
2016-11-08 14:55:16 -08:00 |
|
bjorn
|
b69a7be1ba
|
Better malloc error handling;
|
2016-11-08 14:55:07 -08:00 |
|
bjorn
|
82a1f17b16
|
Enum helpers;
|
2016-11-08 14:22:16 -08:00 |
|
bjorn
|
a59f03ef78
|
Simplify filesystem checks;
|
2016-11-08 13:47:13 -08:00 |
|
bjorn
|
17601e237b
|
Buffer:getTexture; Buffer:setTexture;
|
2016-11-08 03:14:50 -08:00 |
|
bjorn
|
136d6b1da7
|
Texture; lovr.graphics.newTexture;
|
2016-11-08 03:14:33 -08:00 |
|
bjorn
|
a22b158b0c
|
Fix Buffer bug;
|
2016-11-08 03:13:32 -08:00 |
|
bjorn
|
4dd8bcd40b
|
Add src/lovr/types;
To avoid naming conflicts between modules and types.
|
2016-11-08 01:48:55 -08:00 |
|
bjorn
|
49761a789a
|
Add loadImage to util;
|
2016-11-08 01:42:31 -08:00 |
|
bjorn
|
48ff1fa93c
|
lovr.graphics.points;
|
2016-11-07 23:16:33 -08:00 |
|
bjorn
|
88a8afd775
|
Reset coordinate system on each frame;
|
2016-11-07 22:38:45 -08:00 |
|
bjorn
|
e8022e1efc
|
Fix segfault when model file does not exist;
|
2016-11-07 22:34:04 -08:00 |
|
bjorn
|
e74149a762
|
Fix filesystem memory leaks;
|
2016-11-07 22:23:13 -08:00 |
|
bjorn
|
be13d761e7
|
Clean up util;
|
2016-11-07 22:20:39 -08:00 |
|
bjorn
|
91f46929fe
|
Normalize rotation axis vectors;
|
2016-11-07 22:03:13 -08:00 |
|
bjorn
|
c4cc9a981a
|
Enable vsync by default;
|
2016-11-07 22:03:03 -08:00 |
|
bjorn
|
34988bcdd7
|
lovr.filesystem.append;
|
2016-11-07 14:31:11 -08:00 |
|
bjorn
|
bb98fc5aec
|
lovr.filesystem.write;
|
2016-11-07 14:31:02 -08:00 |
|
bjorn
|
419a03a202
|
Filesystem utility functions;
|
2016-11-07 14:30:32 -08:00 |
|
bjorn
|
7362fafd8c
|
rm lovr.filesystem.write;
|
2016-11-06 18:39:16 -08:00 |
|
bjorn
|
09359c6793
|
Clean up setSource;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
5d2f4746ab
|
lovr.filesystem.write;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
fff1638414
|
Fix Skybox paths;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
5188e5d830
|
Fix Model paths;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
74c78d7f3e
|
lovr/graphics imports filesystem;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
0c0429b8d9
|
lovr.filesystem.read;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
9743660d5a
|
rm file;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
c33534f703
|
Start File;
|
2016-11-05 16:17:29 -07:00 |
|
bjorn
|
956ea96827
|
Fix initGlfw declaration;
|
2016-11-05 16:17:16 -07:00 |
|
bjorn
|
1cdde81e35
|
Improve lovr.timer;
|
2016-11-04 22:29:38 -07:00 |
|
bjorn
|
38c46106da
|
Model normals;
|
2016-11-01 21:52:32 -07:00 |
|
bjorn
|
45d4029f6a
|
Math is hard;
|
2016-11-01 21:52:19 -07:00 |
|
bjorn
|
93c13c8593
|
Model.draw transform;
|
2016-11-01 20:56:29 -07:00 |
|
bjorn
|
94a9c0e8cb
|
lovrGraphicsTransform;
|
2016-11-01 20:48:04 -07:00 |
|
bjorn
|
c0e7837ac1
|
Rough package loader;
|
2016-11-01 20:27:15 -07:00 |
|
bjorn
|
8869539f97
|
isDirectory and isFile;
|
2016-10-31 18:35:00 -07:00 |
|
bjorn
|
7c5a9585fd
|
Clean up Model better;
|
2016-10-31 17:35:43 -07:00 |
|
bjorn
|
e988f7ae41
|
Start lovr.filesystem;
|
2016-10-31 17:14:31 -07:00 |
|
bjorn
|
fb6c1c28ed
|
Model;
|
2016-10-31 13:54:32 -07:00 |
|
bjorn
|
9d6b6dddb4
|
ModelData;
|
2016-10-29 15:18:10 -07:00 |
|
bjorn
|
4a8c0f479b
|
Fix missing include;
|
2016-10-29 15:17:49 -07:00 |
|
bjorn
|
629b26ae05
|
Move includes;
|
2016-10-28 23:40:31 -07:00 |
|
bjorn
|
9975e695dd
|
Headset display dimensions;
|
2016-10-24 16:03:29 -07:00 |
|
bjorn
|
769ded9c71
|
Controller:getHand;
|
2016-10-24 15:52:16 -07:00 |
|
bjorn
|
703b0c2af0
|
Skybox;
|
2016-10-24 15:02:23 -07:00 |
|
bjorn
|
2b11142970
|
Improve compilation UX;
|
2016-10-24 14:09:32 -07:00 |
|
bjorn
|
2267396e5a
|
Render to window if headset unavailable;
|
2016-10-24 13:43:07 -07:00 |
|
bjorn
|
b3cd1a103e
|
Improve error messages in main.lua;
|
2016-10-24 13:39:09 -07:00 |
|
bjorn
|
125e2d0e13
|
Skybox rough draft;
|
2016-10-23 19:03:10 -07:00 |
|
bjorn
|
406eab420c
|
lovrGraphicsSetShapeData;
|
2016-10-23 19:01:27 -07:00 |
|
bjorn
|
4afc3841d8
|
Fix lovrGraphicsPrepare;
|
2016-10-23 19:01:00 -07:00 |
|
bjorn
|
b446d8d734
|
Fix lovr.graphics.setShader will nil arg;
|
2016-10-21 19:21:43 -07:00 |
|
bjorn
|
12476af804
|
Remove warning about conf.lua;
|
2016-10-21 19:21:16 -07:00 |
|
bjorn
|
79397fc0e6
|
Fix shader uniforms;
|
2016-10-18 15:29:26 -07:00 |
|
bjorn
|
53409920c6
|
Skybox texture parameters;
|
2016-10-16 21:21:26 -07:00 |
|
bjorn
|
3d5625c482
|
Fix lovr.headset.renderTo callback arg;
|
2016-10-15 20:12:56 -07:00 |
|
bjorn
|
15f69d1d8a
|
Start Skybox;
|
2016-10-15 20:11:54 -07:00 |
|
bjorn
|
9f9b2ef7e2
|
Include stb_image I guess ugh;
|
2016-10-15 16:36:31 -07:00 |
|
bjorn
|
36677afa76
|
Add stb_image;
|
2016-10-15 16:32:46 -07:00 |
|
bjorn
|
a521cdaa68
|
Add optional exit code to lovr.event.quit;
|
2016-10-13 23:50:57 -07:00 |
|
bjorn
|
7cd168aa46
|
Custom Buffer vertex attribute formats;
|
2016-10-09 17:40:02 -07:00 |
|
bjorn
|
6c4100e7fb
|
Fix ModelData memory leak;
|
2016-10-08 21:54:23 -07:00 |
|
bjorn
|
e07dc76bf9
|
Basic ModelData;
|
2016-10-08 21:52:58 -07:00 |
|
bjorn
|
d35287499f
|
Use constants for shader attributes;
|
2016-10-07 18:30:37 -07:00 |
|
bjorn
|
aa5e9943ef
|
Use explicit generic attribute indices;
|
2016-10-07 18:28:09 -07:00 |
|
bjorn
|
a6df0c58c7
|
Rework shape internals;
|
2016-10-06 23:34:35 -07:00 |
|
bjorn
|
78f0c2d947
|
Clean up, clean up;
Everybody everywhere!
|
2016-10-04 15:13:57 -07:00 |
|
bjorn
|
93979f9ae6
|
Clean up matrix;
|
2016-10-04 15:05:34 -07:00 |
|
bjorn
|
7fab9741fe
|
Ignore Tupfile;
It's messy anyway ;_;
|
2016-10-04 15:03:21 -07:00 |
|
bjorn
|
3aa079b531
|
Start Model; Reorganize constructors;
|
2016-10-03 21:54:27 -07:00 |
|
bjorn
|
8ac95f4038
|
lovr.graphics.plane;
|
2016-10-03 20:56:45 -07:00 |
|
bjorn
|
a2c51e17ab
|
Fix vive orientation math;
|
2016-10-03 18:00:33 -07:00 |
|
bjorn
|
d66e7c0d81
|
Improve vive orientation;
|
2016-10-03 17:02:01 -07:00 |
|
bjorn
|
5ef7a6a588
|
Graphics culling;
|
2016-10-03 12:02:49 -07:00 |
|
bjorn
|
2e48c00876
|
ColorMask is char;
|
2016-10-03 11:41:31 -07:00 |
|
bjorn
|
e6dcfad12d
|
lovrHeadsetIsPresent returns char;
|
2016-10-03 11:40:20 -07:00 |
|
bjorn
|
c93630dd4c
|
Fix default color;
|
2016-10-03 11:39:23 -07:00 |
|
bjorn
|
2c7e03c0ed
|
Better bools;
|
2016-10-03 11:26:54 -07:00 |
|
bjorn
|
2391185931
|
Controller:getOrientation;
|
2016-10-03 11:16:48 -07:00 |
|
bjorn
|
a940a473bb
|
Add missing lovr/headset include;
|
2016-10-03 11:15:46 -07:00 |
|
bjorn
|
c9f937ec19
|
Controller:getPosition;
|
2016-10-03 11:12:21 -07:00 |
|
bjorn
|
b594b218b2
|
Controller:isPresent;
|
2016-10-03 11:12:06 -07:00 |
|
bjorn
|
dbc1037d4c
|
Controller type;
|
2016-10-03 11:11:30 -07:00 |
|
bjorn
|
c56050ce92
|
Add viveGetPose;
|
2016-10-03 11:10:24 -07:00 |
|
bjorn
|
18b6b4462f
|
lovr.headset.getController API;
|
2016-10-03 07:40:20 -07:00 |
|
bjorn
|
58a2d60ef7
|
Controller basics;
|
2016-10-02 18:09:33 -07:00 |
|
bjorn
|
814b62c323
|
Add missing interface definitions;
|
2016-10-01 18:09:18 -07:00 |
|