Commit graph

146 commits

Author SHA1 Message Date
eb5577909a Add pcg::random::uniform_distribution<T> that selects between int and real 2020-09-27 16:43:23 +03:00
e7e419a931 Add arbitrary-matrix camera 2020-09-27 11:59:57 +03:00
6c4ed1b61d Fix gram_schmidt recursive base ODR 2020-09-27 11:59:33 +03:00
81cafa6f05 Add ray-simplex intersection 2020-09-26 23:23:40 +03:00
d3b306f29e Fix white noise 2020-09-26 15:39:08 +03:00
4a583d092c Add Wavefront OBJ file parser 2020-09-25 23:16:20 +03:00
6a64c36e01 Fix uniform int distribution 2020-09-25 17:20:14 +03:00
44f293c023 Fix instanced normalized mesh attributes 2020-09-25 17:19:36 +03:00
f7c2d5d554 Bugfix: call on_scene_enter only once 2020-09-25 13:43:34 +03:00
64751170cb Implement instanced meshes & matrix attributes 2020-09-25 11:36:18 +03:00
aedd41ae7f Fix mesh move constructor & assignment bugs 2020-09-25 11:36:00 +03:00
616b7cfce5 Add OpenGL error reporting 2020-09-25 11:34:27 +03:00
040497887c Implement fractal perlin noise 2020-09-24 19:06:33 +03:00
aba0afa15e Update todo 2020-09-24 13:10:04 +03:00
8877f6dedd Redesign gfx::mesh: stores primitive type, supports loading from pointers & simplices (deduces primitive type in the latter case) 2020-09-24 12:45:25 +03:00
5d44efa2ea Add geom::point::zero() 2020-09-24 12:44:36 +03:00
1571e9032b Add ray-box intersection 2020-09-23 22:25:39 +03:00
fb0d926a73 Fix geom::intersection template argument deduction issues 2020-09-23 22:25:28 +03:00
cf99917272 Add geom::interval::full 2020-09-23 22:24:43 +03:00
4410597e44 Add geom::ray primitive 2020-09-23 22:23:37 +03:00
e53d5fba13 Add texture_2d wrap options 2020-09-23 21:56:40 +03:00
2dd9ebae76 Add camera::direction() 2020-09-23 21:56:25 +03:00
86785a5923 Improve color blur implementation 2020-09-23 20:46:03 +03:00
80e8c59a1e Templated blur implementation + specializations for color_rgb(a) 2020-09-23 20:19:37 +03:00
f193ddf41d Add util::map(array) for transforming arrays elementwise 2020-09-23 20:19:02 +03:00
8ece2e1884 Fix log behavior for templated output operators 2020-09-23 13:15:18 +03:00
5830977e45 Add a simple statistics calculator utility 2020-09-23 13:14:34 +03:00
0e5759f1c6 Log about SDL2 initialization 2020-09-23 12:32:41 +03:00
061489a1ce Remove unused packaging function 2020-09-23 11:50:18 +03:00
e836385f33 Update todo 2020-09-23 11:12:30 +03:00
1d8f611eb8 Huge pcg/random rewrite: get rid of <random>, use self-written distributions instead 2020-09-23 11:12:23 +03:00
83aba92c42 Add PCG32 generator to pcg 2020-09-23 11:00:19 +03:00
06916083bb Add boost::random_device to pcg 2020-09-23 10:59:42 +03:00
342519003c Add audio::sample typedef to int16_t 2020-09-22 20:24:37 +03:00
ac8684faa3 Audio: query actual frequency & channels, initialize effects based on that 2020-09-22 20:20:48 +03:00
3432b9b476 Show OpenGL vendor & renderer in log 2020-09-22 19:51:12 +03:00
e01cef3129 Remove certain annoying warnings 2020-09-22 19:18:03 +03:00
5f422f1452 Use non-normalized texture coordinates for text & add more space between font glyphs 2020-09-21 21:53:56 +03:00
6bd3d63bdd Add engine::load(string_view) 2020-09-21 20:47:15 +03:00
58a793af9d Rename audio::sample -> audio::track 2020-09-21 20:26:55 +03:00
1ab980f0d2 Threadpool requires having a name 2020-09-21 20:22:22 +03:00
fb4922c6e9 Explicitly request mp3 support in audio 2020-09-21 20:21:50 +03:00
ea170fdd70 Fix missing header 2020-09-21 20:21:36 +03:00
7eadc77557 Do not create resources for non-built targets in package mode 2020-09-21 20:21:06 +03:00
afc0512dbe Fix find scripts for windows 2020-09-21 20:20:34 +03:00
97518a0a4a Add simple echo effect 2020-09-21 12:25:24 +03:00
87681a036a Minor fixes 2020-09-21 12:25:09 +03:00
ec4db5c6cb Support auto-starting streams 2020-09-21 12:10:22 +03:00
313f8bbf80 Add sound::engine::frequency and sound::engine::channels 2020-09-21 12:10:02 +03:00
8ff441c6ff Support audio effects 2020-09-21 11:41:13 +03:00