Sam Hocevar
|
7faf5d912a
|
math: tweak simplex noise and add plenty of comments and debug code.
|
10 年前 |
Sam Hocevar
|
0af8c1fd6f
|
math: shitloads of tweaks, optimisations, fixes and comments to the
simplex noise code.
|
10 年前 |
Sam Hocevar
|
91451eaf70
|
math: add explicit casts between matrices of same size but different types.
|
10 年前 |
Sam Hocevar
|
45da3662d4
|
test: add 7-dimensional simplex noise test.
|
10 年前 |
Sam Hocevar
|
d812101ae5
|
math: add vec5, vec6, etc. types up to 12 for convenience.
|
10 年前 |
Sam Hocevar
|
5065a2653c
|
simplex: replace the N-dimensional gradient array with a simple seed.
|
10 年前 |
Sam Hocevar
|
4c95301d31
|
simplex: use scaling values that match Stefan Gustavson’s paper.
|
10 年前 |
Sam Hocevar
|
7ff3456239
|
simplex: optimisation; reduce the number of matrix multiplications.
|
10 年前 |
Sam Hocevar
|
ce75538bcb
|
simplex: some refactoring and comments, but no changes to the algorithm.
|
10 年前 |
Sam Hocevar
|
a4cbf3fcb2
|
test: fix vertex positions to match our simplex implementation.
|
10 年前 |
Sam Hocevar
|
88603c1ecf
|
test: add simplex noise test program.
|
10 年前 |
Guillaume Bittoun
|
aa50d1c8e9
|
simplex_interpolator: scaling noise with an approximative factor 100 that seems to work well. No hint, so far on how to find an exact value for this scaling factor.
|
10 年前 |
Guillaume Bittoun
|
a815a788e6
|
simplex_interpolator: bug fix on negative values.
|
10 年前 |
Guillaume Bittoun
|
959f68142d
|
simplex_interpolator: first working version of simplex_interpolator. Tested (with std::cout) for 2D, should work for higher dimensions.
|
10 年前 |
Guillaume Bittoun
|
49e9971183
|
simplex_interpolator: adding std::cout test… for realz this time
|
10 年前 |
Guillaume Bittoun
|
b65af37e7c
|
simplex_interpolator: compilation fixes + testing Interp function
|
10 年前 |
Lolbot
|
7506a8aa62
|
fixed 7 files out of 4184:
- removed 0 CR characters
- removed 1 trailing whitespaces
- replaced 5 tabs with spaces
- fixed 7 svn:eol-style properties
|
10 年前 |
Guillaume Bittoun
|
5dbff4b35c
|
simplex_interpolator: first (non-working) draft for complete interpolator process
|
10 年前 |
Sam Hocevar
|
bb438b6252
|
math: fix a coding error in the polynomial division.
|
10 年前 |
Guillaume Bittoun
|
6bd7142428
|
simplex_interpolator: sorting coordinates in regular basis + tests.
|
10 年前 |
Sam Hocevar
|
e5faf45929
|
build: some PS4 compilation fixes.
|
10 年前 |
Sam Hocevar
|
369ce3f511
|
math: polynomial division.
|
10 年前 |
Sam Hocevar
|
ce9daf6899
|
math: allow to divide polynomials by scalars.
|
10 年前 |
Sam Hocevar
|
364014c6e7
|
lolremez: minor cosmetic changes and comments.
|
10 年前 |
Sam Hocevar
|
0522730f12
|
lolremez: use array2d for the linear system solver.
|
10 年前 |
Sam Hocevar
|
1eb5f9f361
|
math: add a roots() method to find polynomial roots for degrees 1 and 2.
|
10 年前 |
Sam Hocevar
|
da26809df9
|
lolremez: use the polynomial composition provided by the engine.
|
10 年前 |
Sam Hocevar
|
3916a44c58
|
math: add derive() method to polynomial and allow to call eval() with
polynomials as arguments so as to compose them together.
|
10 年前 |
Guillaume Bittoun
|
a6e8434c66
|
simplex_interpolator: adding tests for simplex base matrix check.
|
10 年前 |
Sam Hocevar
|
d34f0e2991
|
lolremez: simplify the Remez solver by using our new polynomial class.
|
10 年前 |
Sam Hocevar
|
ae6f66e883
|
base: fix an old bug affecting range-based for loops on arrays.
|
10 年前 |
Sam Hocevar
|
efe8e1d051
|
math: allow to build real numbers from 64-bit integers.
|
10 年前 |
Sam Hocevar
|
0668d0d5a6
|
math: add a factory for Chebyshev polynomials.
|
10 年前 |
Sam Hocevar
|
baebd131fc
|
math: add a simple polynomial template class.
|
10 年前 |
Guillaume Bittoun
|
408b8277ae
|
simplex_interpolator: bug fixing on matrix computing
|
10 年前 |
Sam Hocevar
|
fdd6e31eda
|
simplex_interpolator: compilation fix.
|
10 年前 |
Sam Hocevar
|
a808cd8f8d
|
test: add a compile-time test for interpolation of compound types.
|
10 年前 |
Guillaume Bittoun
|
97de8946e9
|
simplex_interpolator: fixing bug on simplex matrix generation
|
10 年前 |
Guillaume Bittoun
|
06dfb3b0c0
|
simplex_interpolator: removing tests and correcting skew matrix
|
10 年前 |
Sam Hocevar
|
24e7663c5c
|
simplex: fix confusion between interpolated types and coordinate types.
|
10 年前 |
Sam Hocevar
|
0511d9836a
|
simplex: fix a bug in the modulo operator. lol. and add unit tests.
|
10 年前 |
Sam Hocevar
|
a01778d768
|
simplex_interpolator: use a matrices when n-D arrays are not necessary.
|
10 年前 |
Sam Hocevar
|
3a4682a976
|
simplex_interpolator: more unit tests, including some failing ones.
|
10 年前 |
Sam Hocevar
|
3d0df62ba6
|
simplex_interpolator: fix behaviour with negative grid indices.
|
10 年前 |
Guillaume Bittoun
|
5ebce1c0c8
|
simplex_interpolator: refactoring a bit
|
10 年前 |
Guillaume Bittoun
|
1f715ae139
|
simplex_interpolator: const commit
|
10 年前 |
Guillaume Bittoun
|
4118789a53
|
simplex_interpolator: initializing interpolator with the samples so that it can be fully usable at creation.
|
10 年前 |
Guillaume Bittoun
|
6f5c15b165
|
simplex_interpolator: adding first test on 2D samples
|
10 年前 |
Guillaume Bittoun
|
a0e31dd6ce
|
simplex_interpolator: bug fix (enough for tonight)
|
10 年前 |
Guillaume Bittoun
|
1cd86f9f24
|
simplex_interpolator: bug fix
|
10 年前 |