Commit Graph

1020 Commits

Author SHA1 Message Date
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
bjorn 5e2c2e0092 Use readBytes and writeBytes intead of read and write; 2017-11-25 12:03:59 -08:00
bjorn b2a05612db Fix assimp file IO type signatures; 2017-11-25 02:26:45 -08:00
bjorn eecc675043 Make textures immutable and fix font atlas resizing; 2017-11-24 14:13:07 -08:00
bjorn ef0ba9124d lovr.math.gammaToLinear; lovr.math.linearToGamma; 2017-11-24 00:53:08 -08:00
bjorn fd9c714d0f Ask glfw for an srgb capable window; 2017-11-24 00:17:52 -08:00
bjorn f34d3536cf Gamma correction for OpenVR; 2017-11-23 23:40:20 -08:00
bjorn 76f690e813 Guard against empty textures; 2017-11-23 23:29:45 -08:00
bjorn 066046b408 Use proper sized texture formats; 2017-11-23 15:21:59 -08:00
bjorn 2b88d51ff8 Add texture/color variants to lovr.graphics.newMaterial; 2017-11-23 14:41:22 -08:00
bjorn 4fb72d8cb9 rm printf; 2017-11-23 14:24:50 -08:00
bjorn 1662e79f0e Use srgb formats for textures; 2017-11-23 14:19:20 -08:00
bjorn f7d7098098 Add GL_EXT_texture_sRGB extension; 2017-11-23 13:09:40 -08:00
bjorn 81fe72a420 Fix WebVR build; 2017-11-23 13:09:04 -08:00
bjorn 40e904cd9c Upgrade assimp; 2017-11-23 13:08:57 -08:00
bjorn 7b5eb71ade Regen boot.lua; 2017-11-22 20:28:06 -08:00
bjorn 3c6437fb20 lovr.graphics.isGammaCorrect; conf.lua t.gammacorrect; 2017-11-22 20:26:01 -08:00
bjorn 8bda7a9ed8 Minor cleanup of previous change; 2017-11-22 20:13:36 -08:00
bjorn ad779820a7 Refactor lovr.conf to be exposed to C;
This simplifies boot.lua and means we don't need private functions
all over the place for the stuff configured by conf.lua.
2017-11-22 20:11:51 -08:00
Bjorn Swenson ce2fa896e3
Add version badge; 2017-11-22 14:33:58 -08:00
bjorn 5c45282d9b lovr.graphics.arc; 2017-11-22 11:32:30 -08:00
bjorn b540fdbfdb Forgot line draw mode for circle; 2017-11-21 20:56:47 -08:00
bjorn 81c29176ab lovr.graphics.circle; 2017-11-21 20:53:45 -08:00
bjorn 4881d2ebbe Ignore openvr bin directory; 2017-11-20 22:36:18 -08:00
bjorn 2d588638e7 Tranquilize OpenAL; 2017-11-20 22:03:57 -08:00
bjorn 602e0ced7d Floating point colors;
This is a breaking change.
2017-11-20 21:47:36 -08:00
bjorn 65418da1ec Use nodeMap to avoid node index lookup; 2017-11-20 21:19:46 -08:00
bjorn 652c31f8d4 Optional pose; 2017-11-20 21:16:16 -08:00
bjorn 659a2899e6 Allow partial uniform updates; 2017-11-20 21:13:06 -08:00
bjorn 27b24e4de3 Use correct origin type for fake headset; 2017-11-20 19:33:51 -08:00
bjorn c1b95c2bd6 More multidimensional arrays; 2017-11-20 18:50:06 -08:00
bjorn 5edd616da8 Cleanup; 2017-11-20 18:42:29 -08:00
bjorn 803cdaa8a5 Early return for renderNode; 2017-11-20 18:19:39 -08:00
bjorn 17ffebd6ae Use computed global transforms instead of local; 2017-11-20 18:17:06 -08:00
bjorn 2f0aab03be Model:getAnimationCount; 2017-11-20 18:15:10 -08:00
bjorn 4a07d56091 rm inverseRootTransform; 2017-11-20 18:13:34 -08:00
bjorn 9d83684c9c rm unused variable; 2017-11-20 18:12:32 -08:00
bjorn 1a73fcb3cc Use pose instead of boneTransform; 2017-11-20 18:12:08 -08:00
bjorn 54259f816c Animation track priority; 2017-11-20 17:57:21 -08:00
bjorn b9b9a42a05 Everything works but is gross; 2017-11-19 16:45:00 -08:00
bjorn 49ab151b53 WIP; 2017-11-13 17:47:56 -08:00
bjorn 69b5569f9e Model computes bone transforms from Animator; 2017-11-06 20:25:08 -08:00
bjorn 33ff7f2b9c Add lovrAnimatorEvaluate; 2017-11-06 20:22:30 -08:00
bjorn 855ffb9e34 Add vec3_lerp; 2017-11-06 17:11:40 -08:00
bjorn f5275934b6 Add quat_slerp; 2017-11-05 13:57:52 -08:00