Commit Graph

1064 Commits

Author SHA1 Message Date
bjorn baede52ae6 Update msdfgen; 2017-12-17 19:45:50 -08:00
bjorn 0028bbd51e Throw an error if a texture is too big; 2017-12-17 19:19:09 -08:00
bjorn 386ab78ae9 Throw an error if font texture overflows; 2017-12-17 19:13:04 -08:00
bjorn 5f38153cf1 Initialize animation track alphas properly; 2017-12-17 18:24:43 -08:00
bjorn 7dc04e8d53 Update appveyor.yml; 2017-12-17 13:46:38 -08:00
bjorn c20265d957 Update appveyor.yml; 2017-12-16 19:24:01 -08:00
bjorn 287da3cb4f Update appveyor.yml; 2017-12-16 19:18:29 -08:00
bjorn 1d20e49829 Move api header; 2017-12-10 12:41:43 -08:00
bjorn 72aa7e858a Rename loaders to data; 2017-12-10 12:41:43 -08:00
bjorn 4a2cc56fef Move shaders into resources; 2017-12-10 12:41:43 -08:00
bjorn 2d2a4cf038 Rename data to resources; 2017-12-10 12:41:43 -08:00
bjorn c3fc7b61fd Fix crash with lovr.graphics.newMaterial; 2017-12-10 12:41:43 -08:00
bjorn 3c9e297f63 Update README; 2017-12-10 12:41:43 -08:00
bjorn 3b9db7fd42 Give OpenVR its depth buffer back; 2017-12-09 22:51:37 -08:00
bjorn 80c8a6dc47 Add appveyor.yml; 2017-12-09 20:16:50 -08:00
bjorn 7ca6e4026c Update CMakeLists; 2017-12-09 20:10:36 -08:00
bjorn 6f58b758e3 Fix texture coordinates; 2017-12-09 20:09:27 -08:00
bjorn 6df8dfe456 Canvas:getFormat; 2017-12-09 20:09:27 -08:00
bjorn ee36b47864 Depth/stencil buffers; More work on Canvas API; 2017-12-09 20:09:27 -08:00
bjorn 928ee06655 Floating point texture formats; 2017-12-09 20:09:27 -08:00
bjorn fa8af65073 Refactor texture formats; 2017-12-09 20:09:27 -08:00
bjorn c6a395fa21 Switch to table variant of newCanvas API; 2017-12-09 20:09:27 -08:00
bjorn 2243fe10ae Flip canvas perspective projection; 2017-12-09 20:09:27 -08:00
bjorn 0eebea28a9 Canvas:getMSAA; 2017-12-09 20:09:27 -08:00
bjorn 6577133635 Canvases can be used anywhere Textures are; 2017-12-09 20:09:27 -08:00
bjorn d261e4b00d Start Canvas objects; 2017-12-09 20:09:27 -08:00
bjorn 8eec247adb lovr.graphics.getStats; 2017-12-09 20:07:42 -08:00
bjorn 650f100b15 Fix bug where Shader:send uses incorrect number of values; 2017-12-08 13:04:43 -08:00
bjorn c6b7d9729d rm lovrGraphicsGetWindow; 2017-12-03 15:23:38 -08:00
bjorn b9b1238968 v0.9.0; 2017-12-01 20:11:34 -08:00
bjorn da0afb487c Small fixes for WebVR; 2017-12-01 19:59:55 -08:00
bjorn 8e686bba92 Only enable mouselook on press;
For better WebVR experience.
2017-12-01 19:36:05 -08:00
bjorn a698edc475 Bugfixes; 2017-11-30 21:17:54 -08:00
bjorn b48ceb7526 Fix bug with model IO; 2017-11-29 19:06:04 -08:00
bjorn 2869bac3cd Fix animation alpha; 2017-11-29 00:00:13 -08:00
bjorn 3756c06ec7 More flexible shorthands for texture and material args; 2017-11-28 20:42:36 -08:00
bjorn 17565ab201 Fix seeking animations to negative values; 2017-11-28 16:52:01 -08:00
bjorn c51731f869 Fix animations with negative speeds; 2017-11-28 16:50:43 -08:00
bjorn 251132d106 Fix bug with Animator:reset; 2017-11-28 14:38:47 -08:00
bjorn 2a43269222 Add OVR_multiview extension; 2017-11-27 20:53:46 -08:00
bjorn 097a88302e Add lines and linestrip MeshDrawModes; 2017-11-25 19:49:22 -08:00
bjorn ddd905627b Mesh:drawInstanced; Model:drawInstanced;
No attribute divisors yet.
2017-11-25 19:45:44 -08:00
bjorn cb2265e547 Remove material from graphics state;
It is now local state to models and meshes and can be passed as
an optional first argument to most primitives.
2017-11-25 19:02:28 -08:00
bjorn 093ef37bf3 Gamma correct colors correctly; 2017-11-25 17:57:59 -08:00
bjorn 7c64bac1c6 Fix windows path normalizing for referenced textures; 2017-11-25 13:42:55 -08:00
bjorn a9c53372ad Ensure animator is NULL on model creation; 2017-11-25 13:30:02 -08:00
bjorn c6d29f5de3 Add the ability to select headset drivers at runtime;
Messy.
2017-11-25 13:02:09 -08:00
bjorn bb90c8d378 Reduce max bones per mesh to 48; 2017-11-25 12:29:40 -08:00
bjorn f63c3c9261 Formatting; 2017-11-25 12:14:00 -08:00
bjorn 1695cc6be1 Subdivide meshes with high bone counts; 2017-11-25 12:03:59 -08:00