Commit graph

42 commits

Author SHA1 Message Date
8d1be9aebc Add pcg::chunked_map 2021-03-07 21:18:27 +03:00
4ec44bf7a3 Remove pcg::lazy_perlin::operator()(Args...) 2021-03-07 21:18:17 +03:00
8ee99e7dad Add lazy perlin noise generator 2021-03-07 21:07:09 +03:00
36bfcb135e Perlin noise fixes 2021-03-07 21:07:00 +03:00
f0611657ac Generate empty source file for libraries with no sources 2021-01-18 18:10:35 +03:00
57e8aa39af Support more than one argument in fractal octaves construction 2020-12-13 22:40:41 +03:00
b7fdc4959e Support sampling 3D texture generators 2020-12-13 22:40:17 +03:00
2a3337a912 Implement bump-mapping in pcg 2020-12-13 16:10:40 +03:00
e1b1030160 Fix pcg::blur 2020-12-13 16:10:28 +03:00
1e8df117cf Move random generation to a separate library 2020-12-09 23:53:36 +03:00
90165b9b59 Support calling pcg generators with sequence of coordinates (as opposed to geom::vector) 2020-10-03 13:06:17 +03:00
8348feac9e Rename box_point_distribution -> uniform_box_point_distribution 2020-10-02 19:11:47 +03:00
18d8ddfb34 Initialize pcg::generator state with zeros by default 2020-10-01 23:09:42 +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
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
d3b306f29e Fix white noise 2020-09-26 15:39:08 +03:00
6a64c36e01 Fix uniform int distribution 2020-09-25 17:20:14 +03:00
040497887c Implement fractal perlin noise 2020-09-24 19:06:33 +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
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
d2d88ba7c5 Add 'psemek-' prefix to all psemek targets 2020-09-21 09:04:40 +03:00
66a72b89bd Implement in-place sampling (without allocations) in pcg 2020-09-13 16:40:16 +03:00
9191ab68cc Support access to perlin noise internal data 2020-09-13 16:39:49 +03:00
c7dba5eef2 Add pedantic warnings to CMake & fix all warnings 2020-09-13 13:03:31 +03:00
807daf3237 Add pixmap bluring 2020-09-13 11:09:12 +03:00
519adcae3a Add voronoi map generator 2020-09-13 11:07:59 +03:00
39765c9d26 Add white noise pixmap generator 2020-09-13 11:07:20 +03:00
da7b71b504 Add generator & pixmap mapping functions 2020-09-13 11:05:57 +03:00
395df40793 Add 2d generator sampling to pixmap 2020-09-13 11:04:25 +03:00
150d96e74e Add point in box generation 2020-09-13 11:03:06 +03:00
b1963460c0 Add vector on sphere generation 2020-09-13 11:02:53 +03:00
3705dac55e Add seamless perlin noise 2020-09-13 10:38:16 +03:00
1cfdde033b Scale pcg::perlin output to [0,1] 2020-09-13 10:36:44 +03:00
2d6b947809 Move pixmap from util to gfx 2020-08-30 08:44:53 +03:00
6225f89f88 Uniformize code style & do a few code rearrangements 2020-08-27 16:49:46 +03:00
549f2ada41 Add util, geom, cg, pcg & gfx libs 2020-08-27 13:36:16 +03:00