|
5b0882fd34
|
c/xxtea: reduce scope of variable
|
2015-06-04 22:19:11 +10:00 |
|
|
fd319d579b
|
build: make single argument constructors explicit
|
2015-06-04 22:18:43 +10:00 |
|
|
72797793e9
|
h/murmur: remove unused source file
|
2015-06-04 22:18:00 +10:00 |
|
|
244a632647
|
n/lerp: avoid unused variables in release
|
2015-06-04 20:20:04 +10:00 |
|
|
6926c95d4d
|
noise-tool: add simple hydraulic erosion
|
2015-06-04 20:20:03 +10:00 |
|
|
42a97816be
|
image: remove unnecessary fill method
|
2015-06-04 20:04:37 +10:00 |
|
|
86d51f182f
|
noise-tool: add simple thermal erosion
|
2015-06-04 17:16:46 +10:00 |
|
|
851f7b9351
|
noise-tool: offset heights to ensure landmass
|
2015-06-04 15:13:58 +10:00 |
|
|
53917404b4
|
noise-tool: extract map writing function
|
2015-06-04 14:40:47 +10:00 |
|
|
eda46a9e7c
|
maths: ensure float types for to_{radians,degrees}
|
2015-06-04 14:38:12 +10:00 |
|
|
8da9151df2
|
image: sectioning
|
2015-06-04 14:38:12 +10:00 |
|
|
a88bebe037
|
image: instantiate float-to-float clone
|
2015-06-04 14:38:12 +10:00 |
|
|
7e00b7d096
|
image: add area and is_packed methods
|
2015-06-04 14:38:12 +10:00 |
|
|
3a39b282a5
|
whitespace
|
2015-06-03 23:28:45 +10:00 |
|
|
c82f3aad2e
|
netpbm: extract ppm/pgm into distinct unit
|
2015-06-03 23:24:26 +10:00 |
|
|
fc279753eb
|
image: add indexing operator for ints and points
|
2015-06-03 23:17:37 +10:00 |
|
|
c826822a43
|
noise-tool: lower output resolution for debug
debugging can be slow with all runtime checks enabled
|
2015-06-03 17:37:42 +10:00 |
|
|
cbe6f68c4b
|
noise-tool: decrease default frequency
gives a more representative game map
|
2015-06-03 17:36:33 +10:00 |
|
|
effecbf117
|
noise-tool: interpolate the gradient colour
|
2015-06-03 17:35:58 +10:00 |
|
|
34406dc244
|
noise-tool: add simple gradient heightmap colours
|
2015-06-02 23:00:12 +10:00 |
|
|
ecbf774d4a
|
image: write all all components of a ppm
|
2015-06-02 22:59:53 +10:00 |
|
|
221e658ad4
|
comments
|
2015-06-02 22:59:48 +10:00 |
|
|
b43a2284fc
|
colour: add colour4u and colour3u convenience types
|
2015-06-02 22:59:21 +10:00 |
|
|
ff23146a68
|
hash: extract fnv1a hashes to new unit
|
2015-06-02 21:36:30 +10:00 |
|
|
588b38fd17
|
hash: move wang mixing funcs into seperate unit
|
2015-06-02 21:11:57 +10:00 |
|
|
7dcba618c0
|
noise: add turbulence (displacement) combiner
|
2015-06-02 20:33:00 +10:00 |
|
|
bc5888bfcf
|
hash: disable conflicting function names
clashes with the util::hash namespace. they should be moved into this
namespace.
|
2015-06-02 20:33:00 +10:00 |
|
|
7311acaef6
|
n/f/base: add frequency accessor implementation
|
2015-06-02 20:33:00 +10:00 |
|
|
be2317b605
|
n/basis: add seed accessor method
|
2015-06-02 17:07:42 +10:00 |
|
|
83f23fe836
|
n/f/hetero: use unsigned type for octaves
|
2015-06-02 17:06:46 +10:00 |
|
|
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 |
|
|
e98709bfc6
|
noise-tool: instantiate noise gens for testing
explicitly instantiate various combinations of noise generators for
link-time testing.
|
2015-06-01 18:57:00 +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 |
|
|
00195c54d0
|
noise-tool: set higher octaves for perf testing
|
2015-06-01 16:22:11 +10:00 |
|
|
2d002c9dce
|
n/fractal: extract each type into seperate units
|
2015-06-01 16:21:26 +10:00 |
|
|
79300cc8c4
|
build: style, increase post-indent
|
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 |
|
|
2e9698f53b
|
noise-tool: add offset to positions for testing
allows us to peek at the negative quandrants for rounding and other
issues.
|
2015-05-29 15:55:55 +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 |
|
|
043523a794
|
debug: add CHECK_LIMIT
|
2015-05-29 15:51:25 +10:00 |
|
|
8e0e65e2b8
|
coord: add elementwise abs function
|
2015-05-29 15:51:08 +10:00 |
|
|
882fd9c87a
|
n/basis: add constant basis for testing
|
2015-05-29 15:50:45 +10:00 |
|
|
3a4fed804a
|
fasthash: add initial implementation
|
2015-05-28 12:17:25 +10:00 |
|
|
78f61af84c
|
noise/basis: extract basis into seperate units
|
2015-05-28 10:56:06 +10:00 |
|