Commit graph

2080 commits

Author SHA1 Message Date
78230f0f50 Cleanup cloud example 2020-10-01 09:37:13 +03:00
7ed3508a17 Fix gravity example 2020-09-30 19:06:54 +03:00
662a17c7e7 Add a 3D volumetric cloud example with baked lighting based on spherical harmonics 2020-09-30 19:01:03 +03:00
d72e01e34e Add a gradient helper class 2020-09-30 18:59:47 +03:00
b7950a0520 Simple renderer supports textures 2020-09-30 16:22:08 +03:00
3a3d93c7db Add signed & two-component pixel traits 2020-09-30 16:21:16 +03:00
7b9e042842 Fix threadpool::wait - wait for finished tasks as well, not just empty task queue 2020-09-30 16:20:48 +03:00
5079bcd127 Remove render_to_texture since it's almost useless 2020-09-30 16:17:33 +03:00
d4c2b5c408 Fix array indices iteration 2020-09-30 16:16:24 +03:00
58a30fe347 Fix thread registration 2020-09-30 16:16:08 +03:00
0073b8bfc9 Add generic fractal noise 2020-09-30 07:29:29 +03:00
15de7a88d5 Make pcg::perlin template & any-dimensional 2020-09-30 07:29:16 +03:00
f01219c4e7 Add 3D and 1D textures 2020-09-30 07:28:44 +03:00
e520b464e4 Add util::array iterators over range of indices 2020-09-30 07:23:05 +03:00
4bb287eb70 Add n-dim versions of orientation(points) and add orientation(vectors) 2020-09-30 07:22:27 +03:00
767eb786d5 Add a helper for triangulating convex polygons 2020-09-30 07:21:40 +03:00
517f964ce7 Add a helper scene_base & inherit app from it 2020-09-29 19:20:38 +03:00
e42c5dc054 Add a simple colored renderer 2020-09-29 19:20:17 +03:00
4e37e7a54f Add common generic colors 2020-09-29 19:20:02 +03:00
aaf6ce7652 Fix indexed mesh loading from simplices 2020-09-29 19:19:22 +03:00
8eb134908b Introduce gfx::drawable interface 2020-09-29 19:19:20 +03:00
fb9134993c Add a file for general geometric mesh utilities 2020-09-29 19:18:39 +03:00
ebcd2906a8 Move deg, rad to math.hpp 2020-09-29 19:18:39 +03:00
2b57e3e696 Add generic affine transform class & unify transform interfaces 2020-09-29 19:18:35 +03:00
325f90d7c8 Fix audio::track::size 2020-09-29 12:32:04 +03:00
d40ec7c0ca Fix netpbm parsing 2020-09-28 18:51:49 +03:00
631a720e56 Fix 3d line drawing 2020-09-28 14:10:51 +03:00
98ff134d3a Add point-box distance 2020-09-28 11:03:30 +03:00
9a47bddb73 Add math utilities header & sqr function 2020-09-28 11:03:19 +03:00
9cf5a88afd Support relative mouse mode 2020-09-27 20:43:17 +03:00
e73da04a31 Add 3D line painting 2020-09-27 19:40:22 +03:00
dbc429eaa7 Support 3D text in painter 2020-09-27 19:14:50 +03:00
90ece36fd5 Add uniform distribution inside a ball 2020-09-27 16:44:13 +03:00
9949c0c232 Support retrieving distribution parameters 2020-09-27 16:44:02 +03:00
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