Commit graph

56 commits

Author SHA1 Message Date
005008b720 Find Boost in config mode 2026-04-06 23:04:01 +03:00
b99a4da18f Rename util::array -> util::ndarray 2025-10-25 14:51:30 +03:00
c59b28e13f Rename 'geom' library to 'math' 2024-12-10 20:22:59 +03:00
22a57f91db Huge refactor: use util::hash_table instead of std::unordered everywhere 2024-06-03 14:36:39 +03:00
b26849e689 Minor pcg::lazy_perlin fix 2024-03-20 20:57:17 +03:00
4e5ed4edad Switch lazy perlin arguments from vectors to points 2022-11-19 22:57:22 +03:00
06313a0234 Support generating pcg::lazy_perlin subview 2022-06-30 23:09:28 +03:00
079157f201 Fix pcg::lazy_perlin normalization 2022-06-30 23:08:44 +03:00
889fce973b Make pcg not depend on boost random 2022-01-19 15:46:58 +03:00
45eaab6a9d Add a faster bounded version of pcg::lazy_perlin 2021-07-19 08:40:40 +03:00
6de32b1047 Support calling pcg::fractal with geom::point 2021-07-03 22:26:15 +03:00
9be7fb87df Add missing typedefsin lazy_perlin 2021-07-03 22:25:35 +03:00
1d71954394 Fix perlin noise normalization 2021-06-04 13:58:03 +03:00
7b84cb0b1f Support non-modifying chunked_map::at 2021-03-10 14:12:29 +03:00
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