Commit graph

24 commits

Author SHA1 Message Date
261a768ae5 Remove RandomGenerator 2018-11-21 08:57:59 -07:00
2b2539d7df Implement progress tracking 2018-11-18 21:15:20 -07:00
58f59baaf5 Reduce the texture size to 129 square 2018-11-14 08:09:41 -08:00
8e9f88faad Add some os_signposts to track terrain generation 2018-11-14 07:57:54 -08:00
ebfe3b5d57 Instead of using map(), try just modifying the Points directly for diamond corners 2018-11-11 22:13:52 -05:00
f0d6177567 Move the render queue to the Diamond-Square object 2018-11-11 22:13:10 -05:00
cb16b84ab9 Dispatch the Diamond-Square render pass onto a worker queue to keep the main thread free 2018-11-10 20:57:23 -05:00
6a43c10b9f Add a roughness control 2018-11-10 17:52:37 -05:00
7658210da4 Fix an off by one bug... the tests didn't catch this one :\ 2018-11-10 17:43:10 -05:00
63cad2404c Expand the map calls to help with debugging 2018-11-10 17:42:42 -05:00
47df42c8e5 Add a basic Queue data structure
Implemented as a linked list.
2018-11-10 17:42:23 -05:00
5233a94fec Oops fix my algorithm and update the tests 2018-11-10 17:05:54 -05:00
359c7ef987 Rename DiamondSquareAlgorithm -> DiamondSquareGenerator 2018-11-10 16:05:30 -05:00
dce01100cc Complete migrating the algorithm implementation to the Algorithm object 2018-11-10 16:03:53 -05:00
045842c20a Tests for diamondCorners and a lot of debugging 2018-11-10 15:33:12 -05:00
6b6e317a9c Make Point and Size honest to goodness structs 2018-11-10 13:50:28 -05:00
a58241cd13 Rename Algorithm -> TerrainGenerator 2018-11-10 13:16:22 -05:00
48425d5cb8 Tests for breadth first search 2018-11-10 12:47:04 -05:00
25abb91476 Move BFS stuff to use the new helper method 2018-11-10 10:40:29 -05:00
cd48797fa9 Fix the build; test box subdivisions 2018-11-10 10:30:07 -05:00
cce59a45dc Get down an initial diamond-squares implementation 2018-11-10 09:53:37 -05:00
11b9cba8ac Add a Uniform object for RandomAlgorithm
This object contains several random numbers for the GPU kernel to use when generating random points. This isn't right yet (there are still patterns in the generated data) but it's time to move on...
2018-11-07 16:47:07 -05:00
8ffb0a1cfe Generate terrain on a keypress 2018-11-04 14:19:02 -05:00
55a134882d Proof of concept for Algorithm objects
Next up compute kernel dispatch!
2018-11-04 13:44:47 -05:00