Ryan Rector
5afdff09cc
Really make lower-left the default everywhere
2011-07-23 11:23:14 -06:00
Ryan Rector
077552b53b
Cache rotated chunk data
...
This results in a small performance gain for rotations, but still
noticeably slower than with no rotation.
2011-07-17 08:47:57 -06:00
Ryan Rector
e732eb6450
A smarter (?) attempt at rotating everything.
2011-07-10 21:05:45 -06:00
Ryan Rector
f2882512e7
Make quadtree flip axis on some north directions
...
This should not be handled here, but maybe in nbt?
This was quick to find and modify, that's all.
2011-07-10 07:01:17 -06:00
Andrew Chin
6cf0cc5147
Fixed regionlist regression
2011-06-18 11:51:13 -04:00
Aaron Griffith
ac91268c66
added --forcerender option
2011-06-04 20:05:09 -04:00
Andrew Chin
d3551324b7
--regionlist should be working now
2011-05-26 21:57:59 -04:00
Aaron Griffith
4a82e749ca
added imgquality config file option for setting JPG quality
...
Original code by alexjurkiewicz, ported to new DTT code.
This closes #83 .
2011-05-02 18:02:46 -04:00
Aaron Griffith
9a537e76e2
some config file clarifications
2011-04-30 23:11:54 -04:00
aheadley
1c92776e41
fixed minor bugs, added comments, made python aware of new files, removed old js files
2011-04-23 21:46:41 -04:00
Aaron Griffith
a6e8de484d
Merge branch 'overlays' into dtt-c-render
...
Conflicts:
quadtree.py
web_assets/functions.js
2011-04-18 18:29:51 -04:00
Andrew Chin
ed5f3eaad4
Stronger support for setting a background color
...
Works by setting "bg_color='#rrggbb'" in settings.py. Works for both
png and jpg imgformats
2011-04-17 14:10:27 -04:00
Aaron Griffith
5c3b3be418
basic rendermode inheritance introspection (no more hacky overlay list)
2011-04-16 20:08:38 -04:00
Aaron Griffith
05c4083b7e
support for mixed png/jpg tilesets, and overlays with imgformat=jpg
2011-04-16 19:25:40 -04:00
Aaron Griffith
f30a5db2a1
destination directory will now be created recursively, if needed
2011-04-16 11:20:35 -04:00
Aaron Griffith
22fc77308e
fixed minor inlining error in commit d547727
...
fixes regression in issue #320
<https://github.com/brownan/Minecraft-Overviewer/issues/320 >
2011-04-10 03:44:06 -04:00
Xon
6f1bb4ef8d
Tweaked get_chunks_in_range to only look up the region object if it has changed in the inner-loop
2011-04-01 16:20:20 +08:00
Xon
d547727556
Inline render_to_image since it was just creating a ChunkRender object can calling it.
...
Moved biome init code out of chunk.py and into rendernode.py for per-worker initialization
2011-03-29 07:15:21 +08:00
Andrew Chin
d2252acfe6
Signs should be working again
2011-03-28 15:07:49 -04:00
Xon
729141d426
Initial chunk cache commit mk2
2011-03-26 13:27:33 +08:00
Xon
c7920ce61e
Fixed multi-world support in multi-layer renderer
2011-03-26 02:37:11 +08:00
Xon
ca36c98641
Initial commit for multi-layer rendering.
...
Hardwired to use all 4 render modes at once. Todo: add config file/commandline argument support.
2011-03-26 02:37:11 +08:00
Xon
8cfa50087a
Removed filting chunks from render_worldtile since _get_chunks_in_range can do it trivially before constructing the list
2011-03-25 20:51:57 +08:00
Xon
c1b7b12592
Add reporting of scanning/indexing regions. Shortened paths being sent to the worker processes, and removed os.path.join from _apply_render_worldtiles's inner loop.
2011-03-25 17:50:37 +08:00
Xon
059492b3a1
Drain the processing queue every second by ~1000 to give more consistant feedback and reduce stalls when draining the queue from 10000->500
2011-03-25 17:50:37 +08:00
Aaron Griffith
ff464bde3c
removed lighting/night/spawn bools, now we just reference rendermode directly
2011-03-23 00:13:17 -04:00
Aaron Griffith
0e87368a06
moved google map related code int googlemap.py (from quadtree.py)
...
basic support in googlemap.py for handling multiple QuadtreeGens
2011-03-20 21:43:18 -04:00
Andrew Chin
29dc98ce2a
Fix a -p 1 regression
2011-03-19 23:49:56 -04:00
Aaron Griffith
346ee004e8
fixed some things left over from configfile merge
2011-03-19 21:25:04 -04:00
Aaron Griffith
ebc043b95c
Merge branch 'master' into dtt-master-merge
...
Conflicts:
gmap.py
quadtree.py
2011-03-19 21:15:05 -04:00
Aaron Griffith
c286f840bb
Merge remote branch 'upstream/configfile' into dtt-config-merge
...
Conflicts:
chunk.py
gmap.py
world.py
2011-03-19 21:10:40 -04:00
Aaron Griffith
8ad7a29f6a
Merge remote branch 'xon/dtt-c-render-region-cache' into dtt-c-render
2011-03-19 20:49:17 -04:00
Aaron Griffith
38deb98d5a
added command line option for web_assets postprocessing hook
2011-03-19 20:45:40 -04:00
Xon
ac0055a6d7
Fix Windows compat with stashing the quadtree object into each worker process
2011-03-20 08:41:38 +08:00
Xon
cd7b9456a9
Fixed worker processes being passed the full quadtree object. Caused massive performance regressions when caching stuff in quadtree.world
...
Offloaded self._get_chunks_in_range into worker process.
2011-03-20 08:40:43 +08:00
Xon
1d666c7be7
Fixed render_innertile_batch
2011-03-20 08:40:30 +08:00
Xon
0046da5594
render_inntertile & render_inntertile now called in batches in the worker process,
...
speeds up update scan with a lot of tiles to skip.
2011-03-20 08:40:21 +08:00
Xon
ec255bf29b
Added region cache invalidation & reloading. Cached region mtimes.
2011-03-20 08:24:43 +08:00
Xon
79d021279f
Tweaked _get_chunks_in_range & related call tree.
...
~12% improvement by inlining self.world.get_region_path ina pure update scan.
2011-03-19 13:59:40 +08:00
Xon
1afb2b3d53
Addded intial region caching.
...
Loads all the offsets & timestamps @ start to share to worker proceses.
From
14609247 function calls (14608852 primitive calls) in 118.278 CPU seconds
to
12232301 function calls (12231906 primitive calls) in 75.825 CPU seconds
2011-03-19 13:36:40 +08:00
Aaron Griffith
b92dcd96ee
increased max result queue size back to brownan/master normal
2011-03-18 16:22:48 -04:00
Xon
383e8197af
Performance improvements on update scan
2011-03-19 02:50:44 +08:00
Aaron Griffith
5a05105b62
Merge branch 'master' into dtt-merge
...
Conflicts:
chunk.py
2011-03-06 18:05:28 -05:00
Aaron Griffith
5cb599fabb
added a more informative error if the map is too big for Overviewer to handle
...
From Issue #290 :
https://github.com/brownan/Minecraft-Overviewer/issues/290
2011-03-06 15:35:40 -05:00
Aaron Griffith
be26dc702b
added option to QuadtreeGen to specify tile output directory
2011-03-02 08:29:33 -05:00
Aaron Griffith
300d4ac53e
added back lighting, night, and spawn support
2011-03-02 08:21:41 -05:00
Aaron Griffith
94c1fbfaa6
fixed typo in quadtree.py
2011-03-01 20:42:58 -05:00
Aaron Griffith
d813053329
removed lingering traces of the hash system
2011-03-01 20:28:31 -05:00
Aaron Griffith
4293851fcc
fixed chunk double-render bug and artifacts at the top of each tile
2011-03-01 20:22:22 -05:00
Aaron Griffith
16bab9be3b
less time between console messages for -p1
2011-03-01 18:40:06 -05:00