1211ee0876
noise-tool: stub midpoint/diamond noise functions
2015-06-30 22:23:57 +10:00
72e7c60c4e
n/turbulence: whitespace
2015-06-30 22:23:32 +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
7b9a01c790
n/fractal: increment fractal pos between octave
...
given summation occurs with only scaling of positions between octaves,
points around the origin are likely to remain self-similar between
octaves. but nudging the point out range of the origin's unit surrounds
we can avoid degenerate highlights.
2015-06-17 03:06:05 +10:00
d9f4f5116c
n/basis: remove superfluous abs
2015-06-17 03:05:31 +10:00
d9d7cd6f5b
noise-tool: allow single octave output
2015-06-15 17:48:49 +10:00
c885e753d2
image: add stride and size queries
2015-06-15 17:48:19 +10:00
ca59c95c26
image: add bounds check for index operators
2015-06-15 17:47:49 +10:00
79a936b583
cmdopt: add count constructor
2015-06-15 17:47:18 +10:00
544d4d9624
noise-tool: add command arguments
2015-06-11 19:35:45 +10:00
6e5bd1885d
n/fractal: add runtime switchable fractal
2015-06-11 19:33:51 +10:00
5648ba63b3
n/basis: add runtime switchable basis function
2015-06-11 19:33:25 +10:00
9cb9ef3811
n/turbulence: add seed accessors
2015-06-11 19:32:57 +10:00
5fbfa94dac
n/f/base: add basis accessor
2015-06-11 19:32:35 +10:00
c3e3b79b2c
n/f/base: add accessor implementations
2015-06-11 19:32:29 +10:00
c87d7d70b3
cmdopt: silence unused description param for now
2015-06-11 19:31:01 +10:00
eabe3e3a3f
netpbm: add write methods with ostreams
2015-06-11 19:30:02 +10:00
8b2b86b945
image: add cast convience method
...
a simple wrapper for naming consistency amongst other templated classes
2015-06-11 19:28:18 +10:00
653ada4bfd
io: change slurp return type to vector
2015-06-11 19:28:03 +10:00
33b3b48c74
io: rename fd_ref to fd
2015-06-11 19:27:42 +10:00
4f366b6b88
cmdopt: silence overload hiding warnings
2015-06-10 21:55:06 +10:00
7df897cd5f
cmdopt: move value implementation to header
2015-06-10 21:54:42 +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
1d65a7ed77
options: whitespace
2015-06-09 15:41:08 +10:00
9db4dd5b08
image: remove unneeded area query
2015-06-09 15:37:35 +10:00
da496d8162
image: add extent query
2015-06-09 15:34:17 +10:00
e8d3cf8eb1
maths: remove deprecated maths objects
2015-06-05 16:07:03 +10:00
62f97f0ec6
build: remove reference to long dead test Makefile
2015-06-04 22:29:23 +10:00
62a2fb12f0
build: add forgotten headers
2015-06-04 22:24:21 +10:00
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