Commit graph

532 commits

Author SHA1 Message Date
db2fb3095d Add segment-box intersection 2021-02-17 23:11:42 +03:00
dbeb613740 Make util::empty stream output operator inline 2021-02-17 23:11:25 +03:00
f8d127d700 Support blending textures with a color in painter 2021-02-17 14:55:17 +03:00
74ba55257f Textures bugfix: copy & reset size on move 2021-02-17 14:43:07 +03:00
c714d6b73a Store width & height in scene_base 2021-02-17 12:43:44 +03:00
1b9e769b3f Support quaternion uniforms 2021-02-15 22:38:30 +03:00
b6aa09bffe Rename random::random_device -> random::device 2021-02-15 12:24:43 +03:00
e2bcab4f89 Fix shader source line numbering 2021-01-30 19:19:35 +03:00
e8c0d9492b Show source lines when reporting shader compilation errors 2021-01-29 10:34:40 +03:00
fe873209c6 Support buffer loading from std::array and C array 2021-01-28 20:17:57 +03:00
67918449bc Add ray stream output operator 2021-01-27 16:17:16 +03:00
7155aa49e8 Add interval equality comparison operators 2021-01-27 16:17:05 +03:00
2a04f0d421 Add generic swizzling function 2021-01-25 22:16:24 +03:00
b2012aaa77 Add quaternion slerp 2021-01-25 22:14:54 +03:00
df85b5eac5 Make quaternion constructor accept a vector instead of coordinates 2021-01-25 22:12:05 +03:00
e871517909 Add quaternions & quaternion-based rotations 2021-01-25 00:59:13 +03:00
2d7d38bc6d Add affine_transform::identity 2021-01-25 00:51:06 +03:00
2722dd291b Fix matrix::scalar 2021-01-25 00:50:47 +03:00
891c3a0fbd Add 3D quickhull implementation (ported from older geom) 2021-01-23 21:34:21 +03:00
18fa286896 Add simplex comparison operators 2021-01-23 21:33:59 +03:00
7ac4e3eb9b Fix normal_distribution bug 2021-01-23 21:33:45 +03:00
5e7aa7601d Pimpl declaration macros now define a make_pimpl(...) static helper function 2021-01-23 10:42:14 +03:00
a8aef622a1 Fix bug in deferred renderer 2021-01-18 20:09:19 +03:00
b73ceb35d2 Build examples by default 2021-01-18 20:04:57 +03:00
c37fc1f614 Fix shader version in deferred renderer 2021-01-18 20:03:51 +03:00
b6cb3576a5 Show full shader source on compilation failure 2021-01-18 20:03:24 +03:00
07924aa0d5 Various clang compilation issues 2021-01-18 20:02:35 +03:00
e9dbc71f87 Remove Eigen dependence 2021-01-18 20:01:46 +03:00
fce03995d8 Fix Clang detection: the correct compiler id for clang on macos is AppleClang, not Clang 2021-01-18 20:01:10 +03:00
b2996f426b Add khtplatform.h and use it in case no system-provided one was found 2021-01-18 19:18:06 +03:00
2adb8db3a6 Add missing header 2021-01-18 18:19:31 +03:00
b53dc0a14a Fix compiler-specific diagnostic in painter.cpp 2021-01-18 18:18:52 +03:00
2205b5e2a7 util/io_fwd was a bad idea 2021-01-18 18:17:57 +03:00
d7469920de Clang compilation fixes: use non-template stream output operators 2021-01-18 18:11:01 +03:00
f0611657ac Generate empty source file for libraries with no sources 2021-01-18 18:10:35 +03:00
e7cac4a618 Clang compilation fixes 2021-01-18 18:01:03 +03:00
2c1d486068 Separate GNU & Clang disabled warnings 2021-01-18 17:56:12 +03:00
49a8d7f24c Update todo 2021-01-17 22:04:34 +03:00
613bb3e83f Disable -Wmaybe-uninitialized in GCC since it gives a ton of false-positives 2021-01-17 17:19:42 +03:00
9995f38ab0 Primitives of dynamic dimension, part 1: make vector, point & matrix dimensions retrievable via non-static functions 2021-01-16 23:26:57 +03:00
5133695c6f Add matrix tests 2021-01-16 22:46:52 +03:00
bbd15c5942 Slightly better overall tests result reporting 2021-01-16 22:46:29 +03:00
0944797a3e Add lerp & slerp tests 2021-01-16 22:46:07 +03:00
14c5fda1a7 Implement matrix trace 2021-01-16 22:43:45 +03:00
71bafff64d Implement matrix Frobenius (L2) norm 2021-01-16 22:43:22 +03:00
7698e54b18 Support indexing zero-dimensional matrices 2021-01-16 22:42:55 +03:00
6d22ae95c7 Add geom vector & point tests 2021-01-16 19:06:27 +03:00
5d968accdb Support zero-dimensional points, matrices, and boxes 2021-01-16 19:05:59 +03:00
a4c1eb17e9 Update todo 2021-01-16 17:31:01 +03:00
0a1d192327 Neural animation: covariance matrix adaptation (wip) 2021-01-16 17:18:32 +03:00