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