Commit graph

1473 commits

Author SHA1 Message Date
0c2c950a8c Fix default scale when parsing glTF 2023-03-26 00:12:09 +03:00
d930ef6d93 Parse skins & animations in gltf parser 2023-03-25 19:50:32 +03:00
3bb0b53daf Support doubleSided property of gltf materials 2023-03-25 11:34:29 +03:00
0b0be3539f Include mipmaps in texture memory usage 2023-03-20 13:57:31 +03:00
d824159c2f Fix random::uniform() for integral types 2023-03-20 13:04:53 +03:00
d68242d59d Support material texture in gltf parser 2023-03-18 17:36:52 +03:00
98300b2f64 Clang compilation fix 2023-03-17 15:15:11 +03:00
0633aacc63 Add group value iterators operator- 2023-03-16 20:09:32 +03:00
ef6ef081d8 Support KHR_lights_punctual in gltf parser 2023-03-15 15:57:12 +03:00
b52039d47c React library wip 2023-03-14 12:48:25 +03:00
cac70befe5 Make geom::swizzle work for boxes 2023-03-09 11:37:54 +03:00
23f818078f Fix gfx::memory_usage(texture) 2023-03-08 22:24:49 +03:00
c639e533fe Add some util::range helper methods 2023-03-08 22:24:38 +03:00
d27d4cca17 Add util::make_span(initializer_list) 2023-03-06 08:58:33 +03:00
20574e23e3 Add gfx::draw_buffer 2023-03-04 10:58:26 +03:00
73711b8ffa Fix geom::inverse(affine_transform) 2023-03-03 15:34:38 +03:00
cc7135a0f4 Warn about unknown pixel format instead of throwing 2023-02-28 01:36:17 +03:00
ac436cb155 Add geom::simplex hash 2023-02-28 01:35:25 +03:00
8b456ce9e9 Bind gfx::buffer when attaching it to buffer texture (otherwise it doesn't work if the buffer wasn't bound at least once yet) 2023-02-27 12:42:41 +03:00
32da717a55 Add float -> normalized (un)signed 8/16-bit converters to gfx 2023-02-26 23:46:06 +03:00
696ed71090 Add gfx memory usage utilities 2023-02-26 20:44:29 +03:00
6d5a01921c Remember memory size in gfx::buffer 2023-02-26 20:08:59 +03:00
11af452b16 Make util enum values_range constexpr 2023-02-25 12:42:36 +03:00
84b804adf7 Add geom::gradient default constructor 2023-02-25 12:42:15 +03:00
d90317576c Add exponential random distribution 2023-02-24 22:57:03 +03:00
9b304ead00 Add reactive expressions library 2023-02-24 15:01:53 +03:00
15b08aeb47 Add a simple signal implementation to util 2023-02-24 15:01:42 +03:00
aa61c63609 Turn util::to_string into a callable object 2023-02-24 15:01:27 +03:00
10ddf4933b Fix bug in geom::cubic_hermite 2023-02-14 23:48:17 +03:00
43e95e89f3 Add cubic hermite spline to geom 2023-02-14 13:50:43 +03:00
4cb86d9314 Return finished animations from util::animation_manager 2023-02-14 13:50:32 +03:00
ab13864021 Add node & material index to gltf_asset 2023-02-13 21:46:59 +03:00
5f63fb76f5 Add stride information to gltf parser 2023-02-13 18:04:08 +03:00
b7252f8746 Add a simple animation manager to util 2023-02-13 18:03:56 +03:00
0979b55f72 Throw std::system_error if a file could not be opened in io::file_stream 2023-02-12 11:41:02 +03:00
1a06f5071d Remove obsolete gfx::mesh::count method 2023-02-12 11:40:38 +03:00
5e6cd060d7 Make io::read_full return util::blob 2023-02-10 21:15:19 +03:00
40c62d621a Add util::dfs 2023-02-09 15:23:05 +03:00
e304b09f9f Fix random::uniform_from to work with rvalue containers and return types 2023-02-08 23:56:23 +03:00
1f1612f7e6 Add cg::bbox(container) 2023-02-08 23:56:04 +03:00
519c487c4d Add ui::font::baseline method 2023-02-07 17:01:25 +03:00
417c6f0080 Support more PNG color types 2023-02-05 00:33:53 +03:00
ed1764ffea Don't rely on [] operator in random::uniform_from 2023-02-05 00:33:44 +03:00
7c20a91546 Make kerned_font shape glyphs along the Y=0 baseline 2023-02-04 18:59:45 +03:00
a2922708e8 Support floating-point glyph coordinates 2023-02-04 18:21:43 +03:00
1582b341d3 Support child nodes & node transforms in gltf parser 2023-02-01 20:35:32 +03:00
0e84751ac9 Make gfx::gltf_mesh return empty primitive span if mesh wasn't found 2023-01-25 13:01:03 +03:00
ce1809e50d Support material names & emission in gltf parser 2023-01-24 12:01:51 +03:00
5ce8647b3d Fix cg::separation for 2D bodies 2023-01-23 19:07:33 +03:00
fdcf0d5b88 MacOS fixes 2023-01-16 23:53:34 +03:00