4f7a3d790f
n/f/fbm: accumulate frequency directly on point
...
avoids (minimal) extra multiplications.
2015-06-02 16:17:44 +10:00
6278902e3e
n/fractal: use a common base class
...
some working variables need to be precomputed. it makes sense to do this
in a base class.
2015-06-02 16:13:12 +10:00
bc1c576297
n/fractal: use hurst parameters consistently
2015-06-02 00:15:02 +10:00
1ec4b7b9a1
noise: add constexpr to eval functions
2015-06-01 18:45:47 +10:00
59909ed860
n/basis: move basis code into inline headers
2015-06-01 18:42:10 +10:00
f6e2e6a409
n/fractal: use inline headers for fractals
2015-06-01 17:30:18 +10:00
2d002c9dce
n/fractal: extract each type into seperate units
2015-06-01 16:21:26 +10:00
19def9d4fe
n/b/worley: performance improvements
2015-06-01 15:34:33 +10:00
9b548e56d9
point: convert distance member functions to functions
2015-06-01 15:29:24 +10:00
b4ddd287bf
n/basis: fix integer position extract when -ve
2015-05-29 15:54:46 +10:00
3a8179dfff
n/lerp: use DEBUG_LIMIT, comments, style
2015-05-29 15:51:42 +10:00
882fd9c87a
n/basis: add constant basis for testing
2015-05-29 15:50:45 +10:00
78f61af84c
noise/basis: extract basis into seperate units
2015-05-28 10:56:06 +10:00
c9812f7c78
noise: use points instead of scalars in eval
2015-05-28 10:18:32 +10:00
980f5d5671
n/fractal: add musgrave's heterogenous terrain
2015-05-27 01:17:24 +10:00
46a87c0b11
n/fractal: add musgrave's hybrid multi fractal
2015-05-27 01:16:58 +10:00
1c9c38e9a7
n/basis: style, whitespace
2015-05-26 16:54:53 +10:00
0f18702ff9
n/fractal: style/cleanup
2015-05-26 16:53:50 +10:00
6c27fa420a
n/fractal: extract constants into named variables
2015-05-26 16:53:24 +10:00
fedbef630b
n/fractal: fix musgrave (aka rigid multifractal)
2015-05-26 16:31:30 +10:00
62000f50a2
n/basis: expand interpolation expr for debugging
2015-05-26 16:28:34 +10:00
264b20f3fe
n/basis: instantiate truncating filters
2015-05-26 16:28:16 +10:00
22c1f72a05
n/basis: add final specifier to concrete basis
2015-05-26 16:27:27 +10:00
749e279073
n/basis: use murmur mixing for random generator
2015-05-26 16:27:01 +10:00
b082fd6a44
noise: convert eval method to function operator
2015-05-18 22:06:33 +10:00
9b0abd8f7a
noise: parameterise fractal summation types
2015-05-18 22:02:10 +10:00
07513b078c
noise/basis: parameterise basis functions
2015-05-18 17:16:04 +10:00
cacaee4c5d
noise/basis: parameterise lerp function
2015-05-18 15:01:06 +10:00
ebbc90c88d
noise: templatise lerp functions
2015-05-18 14:56:15 +10:00
912228f87b
noise: move lerp into noise namespace
2015-05-18 14:56:15 +10:00
e525c34134
style: comments and namespacing
2015-05-18 14:34:48 +10:00
c0859e3160
noise: add image generator
2015-05-18 14:10:34 +10:00
7ae57730f0
whitespace
2015-04-13 18:06:08 +10:00
2658b41ea1
relicence under Apache-2.0
2015-04-13 18:05:28 +10:00
439bb19679
coord: move operators out of subclasses
2015-03-06 01:09:58 +11:00
52f53caee5
debug: drop support for CHECK_HARD
...
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
5956d0421e
parameterise point, vector, region, matrix on type
2014-12-15 20:10:56 +11:00
304ddbfedd
whitespace
2014-05-20 13:44:27 +10:00
4fa7789786
Instantiate templates in their enclosing namespace
2012-06-13 16:01:42 +10:00
53456c9762
Use a fixed size type for noise basis
...
This assists somewhat in de/serialising of noise parameters across
architectures.
2012-06-08 16:49:38 +10:00
f9cc4926f2
Categorise functionality from types.hpp
2012-05-25 15:19:07 +10:00
3d61e01f62
Default initialise all values in base fractal
2012-05-24 21:25:18 +10:00
55ca32362c
Style consistency for fractal headers.
2012-05-24 17:09:06 +10:00
9616c045d9
Improve cellular output bounds checking
2012-05-24 17:08:47 +10:00
59d2862508
Correct int/frac coordinates for negative position
2012-05-24 17:08:11 +10:00
c354cf6ed6
Normalise basis values and give expected bounds
2012-05-24 15:04:06 +10:00
124878fc98
Add cellular noise implementation
2012-05-23 20:42:05 +10:00
bcab28826c
Move noise functions into their own directory
2012-05-23 17:01:30 +10:00