Commit Graph

53 Commits

Author SHA1 Message Date
91a01c2742 noise-tool: give a random offset per-image
prevents gridpoint artefacts being so obvious
2015-09-25 15:16:15 +10:00
ee401e4409 noise-tool: don't check tty until after options
options may include a help request which we'll want to respond to
before checking the output stream.
2015-09-11 19:55:52 +10:00
e829e95791 noise-tool: use windows accessible isnan 2015-09-09 19:44:51 +10:00
13ef16e183 noise-tool: expose more parameters via commandline 2015-08-28 21:09:21 +10:00
3d35874f58 noise-tool: remove dead code 2015-08-28 21:04:55 +10:00
48d6a007a2 n/b/patch: add blur width parameter 2015-07-28 18:14:10 +10:00
33dece611a n/basis: add patch basis function 2015-07-24 01:37:36 +10:00
b6ce75aca6 build: windows fixes 2015-07-23 13:53:48 +10:00
6b712e2f57 n/midpoint: extract midpoint displacement funcs 2015-07-01 01:03:34 +10:00
ddf9f0a22a n/midpoint: add jitter to edge midpoints 2015-07-01 00:15:49 +10:00
1211ee0876 noise-tool: stub midpoint/diamond noise functions 2015-06-30 22:23:57 +10:00
de710c2082 noise-tool: remove unnecessary debug output 2015-06-17 03:10:08 +10:00
eeeb8977ec noise-tool: correct single octave difference 2015-06-17 03:09:22 +10:00
d9d7cd6f5b noise-tool: allow single octave output 2015-06-15 17:48:49 +10:00
544d4d9624 noise-tool: add command arguments 2015-06-11 19:35:45 +10:00
b752e78036 noise-tool: remove noisy debug messages 2015-06-10 21:30:43 +10:00
250b8d21ec cmdopt: add simple reimplementation of libcmdopt 2015-06-10 21:30:43 +10:00
9db4dd5b08 image: remove unneeded area query 2015-06-09 15:37:35 +10:00
6926c95d4d noise-tool: add simple hydraulic erosion 2015-06-04 20:20:03 +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
c82f3aad2e netpbm: extract ppm/pgm into distinct unit 2015-06-03 23:24:26 +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
7dcba618c0 noise: add turbulence (displacement) combiner 2015-06-02 20:33:00 +10:00
be2317b605 n/basis: add seed accessor method 2015-06-02 17:07:42 +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
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
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
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
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
9701290c4b noise-tool: cleanup and add normalisation 2015-05-26 16:37:41 +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
912228f87b noise: move lerp into noise namespace 2015-05-18 14:56:15 +10:00
5295f1a205 noise: add image noise test tool 2015-05-18 14:11:08 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
90552732d7 json/schema: validate now throws on error 2015-03-23 18:44:16 +11:00
5674f2a2e9 json: add basic json-schema draft 4 support 2015-03-19 00:25:50 +11:00
60787655b3 json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
0e1eaa91d3 json: support sax- and dom-like interfaces 2015-02-02 23:00:38 +11:00
cfc0f8ecd0 json: move tree parsing code to json::tree 2015-02-02 21:26:56 +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
c142715b66 tools: don't print input data for hash 2014-09-11 15:44:16 +10:00