Sam Hocevar
|
5065a2653c
|
simplex: replace the N-dimensional gradient array with a simple seed.
|
10 years ago |
Sam Hocevar
|
4c95301d31
|
simplex: use scaling values that match Stefan Gustavson’s paper.
|
10 years ago |
Sam Hocevar
|
7ff3456239
|
simplex: optimisation; reduce the number of matrix multiplications.
|
10 years ago |
Sam Hocevar
|
ce75538bcb
|
simplex: some refactoring and comments, but no changes to the algorithm.
|
10 years ago |
Sam Hocevar
|
a4cbf3fcb2
|
test: fix vertex positions to match our simplex implementation.
|
10 years ago |
Sam Hocevar
|
88603c1ecf
|
test: add simplex noise test program.
|
10 years ago |
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 years ago |
Guillaume Bittoun
|
a815a788e6
|
simplex_interpolator: bug fix on negative values.
|
10 years ago |
Guillaume Bittoun
|
959f68142d
|
simplex_interpolator: first working version of simplex_interpolator. Tested (with std::cout) for 2D, should work for higher dimensions.
|
10 years ago |
Guillaume Bittoun
|
49e9971183
|
simplex_interpolator: adding std::cout test… for realz this time
|
10 years ago |
Guillaume Bittoun
|
b65af37e7c
|
simplex_interpolator: compilation fixes + testing Interp function
|
10 years ago |
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 years ago |
Guillaume Bittoun
|
5dbff4b35c
|
simplex_interpolator: first (non-working) draft for complete interpolator process
|
10 years ago |
Sam Hocevar
|
bb438b6252
|
math: fix a coding error in the polynomial division.
|
10 years ago |
Guillaume Bittoun
|
6bd7142428
|
simplex_interpolator: sorting coordinates in regular basis + tests.
|
10 years ago |
Sam Hocevar
|
e5faf45929
|
build: some PS4 compilation fixes.
|
10 years ago |
Sam Hocevar
|
369ce3f511
|
math: polynomial division.
|
10 years ago |
Sam Hocevar
|
ce9daf6899
|
math: allow to divide polynomials by scalars.
|
10 years ago |
Sam Hocevar
|
364014c6e7
|
lolremez: minor cosmetic changes and comments.
|
10 years ago |
Sam Hocevar
|
0522730f12
|
lolremez: use array2d for the linear system solver.
|
10 years ago |
Sam Hocevar
|
1eb5f9f361
|
math: add a roots() method to find polynomial roots for degrees 1 and 2.
|
10 years ago |
Sam Hocevar
|
da26809df9
|
lolremez: use the polynomial composition provided by the engine.
|
10 years ago |
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 years ago |
Guillaume Bittoun
|
a6e8434c66
|
simplex_interpolator: adding tests for simplex base matrix check.
|
10 years ago |
Sam Hocevar
|
d34f0e2991
|
lolremez: simplify the Remez solver by using our new polynomial class.
|
10 years ago |
Sam Hocevar
|
ae6f66e883
|
base: fix an old bug affecting range-based for loops on arrays.
|
10 years ago |
Sam Hocevar
|
efe8e1d051
|
math: allow to build real numbers from 64-bit integers.
|
10 years ago |
Sam Hocevar
|
0668d0d5a6
|
math: add a factory for Chebyshev polynomials.
|
10 years ago |
Sam Hocevar
|
baebd131fc
|
math: add a simple polynomial template class.
|
10 years ago |
Guillaume Bittoun
|
408b8277ae
|
simplex_interpolator: bug fixing on matrix computing
|
10 years ago |
Sam Hocevar
|
fdd6e31eda
|
simplex_interpolator: compilation fix.
|
10 years ago |
Sam Hocevar
|
a808cd8f8d
|
test: add a compile-time test for interpolation of compound types.
|
10 years ago |
Guillaume Bittoun
|
97de8946e9
|
simplex_interpolator: fixing bug on simplex matrix generation
|
10 years ago |
Guillaume Bittoun
|
06dfb3b0c0
|
simplex_interpolator: removing tests and correcting skew matrix
|
10 years ago |
Sam Hocevar
|
24e7663c5c
|
simplex: fix confusion between interpolated types and coordinate types.
|
10 years ago |
Sam Hocevar
|
0511d9836a
|
simplex: fix a bug in the modulo operator. lol. and add unit tests.
|
10 years ago |
Sam Hocevar
|
a01778d768
|
simplex_interpolator: use a matrices when n-D arrays are not necessary.
|
10 years ago |
Sam Hocevar
|
3a4682a976
|
simplex_interpolator: more unit tests, including some failing ones.
|
10 years ago |
Sam Hocevar
|
3d0df62ba6
|
simplex_interpolator: fix behaviour with negative grid indices.
|
10 years ago |
Guillaume Bittoun
|
5ebce1c0c8
|
simplex_interpolator: refactoring a bit
|
10 years ago |
Guillaume Bittoun
|
1f715ae139
|
simplex_interpolator: const commit
|
10 years ago |
Guillaume Bittoun
|
4118789a53
|
simplex_interpolator: initializing interpolator with the samples so that it can be fully usable at creation.
|
10 years ago |
Guillaume Bittoun
|
6f5c15b165
|
simplex_interpolator: adding first test on 2D samples
|
10 years ago |
Guillaume Bittoun
|
a0e31dd6ce
|
simplex_interpolator: bug fix (enough for tonight)
|
10 years ago |
Guillaume Bittoun
|
1cd86f9f24
|
simplex_interpolator: bug fix
|
10 years ago |
Guillaume Bittoun
|
fee0a6f8e7
|
simplex_interpolator: bug fix
|
10 years ago |
Guillaume Bittoun
|
765358b5ac
|
simplex_interpolator: nit + bug fixes
|
10 years ago |
Guillaume Bittoun
|
7e01c3afd7
|
simplex_interpolator: starting first test. Too tired, go to bed :)
|
10 years ago |
Guillaume Bittoun
|
d513d8ac8c
|
simplex_interpolator: adding test skeleton + build fixes
|
10 years ago |
Guillaume Bittoun
|
b2671811b9
|
simplex_interpolator: still refactoring
|
10 years ago |