Commit Graph

12 Commits

Author SHA1 Message Date
Sascha L. Teichmann
223d11df0b Render blocks through a ring buffer which is a binary heap ordered by descending y coords. This establisches a stream of partial y ordered blocks to reduce the the over all overdraw. Speeds up rendering about 25%. 2014-09-12 12:37:27 +02:00
Sascha L. Teichmann
f6f5aa0dd1 Little code cleanups. 2014-09-12 10:45:36 +02:00
Sascha L. Teichmann
6306a9acb7 Fixed tilerenderer. 2014-09-11 22:38:01 +02:00
Sascha L. Teichmann
09b321de02 Cache the min y value of an 16x16 area in tilemapper instead of calculating it over and over again. 2014-09-11 22:20:04 +02:00
Sascha L. Teichmann
9fdf06d671 Added shaded renderer. 2014-09-11 17:35:03 +02:00
Sascha L. Teichmann
458fc5d1da Do some early stopping when scanning for min y of a 16x16 region. 2014-09-11 11:03:35 +02:00
Sascha L. Teichmann
9890b8b8c7 Added color for mummy spawner. 2014-09-11 02:37:48 +02:00
Sascha L. Teichmann
d08fcbbe9e Removed obsolete out commended code. 2014-09-11 02:29:34 +02:00
Sascha L. Teichmann
072eba3e5a Better early stopping when the tile is filled. 2014-09-11 02:28:09 +02:00
Sascha L. Teichmann
ab767a97bb Made tilerender finally work. Needs performance tweaks. 2014-09-10 23:49:27 +02:00
Sascha L. Teichmann
4fd0722ade Write image tile to PNG file. 2014-09-10 18:58:12 +02:00
Sascha L. Teichmann
e145779ca0 Added incomplete renderer. 2014-09-10 01:21:55 +02:00