Xon
c5ba5edbcc
Permit overviewer to keep running even if the chunk the spawn is in is corrupt.
2011-07-15 21:50:18 +08: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
346c42d64b
Fixed chunk caching to correctly count empty chunk responses.
...
Tweaked upper bound on number of chunks to cache.
2011-03-29 09:56:00 +08:00
Xon
2a234e0659
Fix typo in pool warmup in non-verbose mode
2011-03-29 09:15:34 +08:00
Xon
a1f5c9ddaf
Fixed POI code in chunk.py after cleanup
2011-03-29 09:13:30 +08:00
Xon
0caa033292
Made rendernode.py POI queue world independant
2011-03-29 07:38:49 +08:00
Xon
db7c61a090
Fix missing import
2011-03-29 07:15:22 +08:00
Xon
ff7e9d0794
Pool warmup (to report worker IDs) set to aynsc when not in verbose mode
2011-03-29 07:15:22 +08:00
Xon
bb07e07f26
Cleaned up leftovers in chunk.py from before c_overviewer did rendering
2011-03-29 07:15:21 +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
Xon
729141d426
Initial chunk cache commit mk2
2011-03-26 13:27:33 +08:00
Xon
af3278e3cc
Merge fix ups
2011-03-26 02:37:12 +08:00
Xon
21d04cd3fb
Better error messages, removed import which triggered a failure
2011-03-26 02:37:11 +08:00
Xon
01790913b3
Check PyImport_ImportModule return result
2011-03-26 02:37:11 +08:00
Xon
e55b7045ea
Updated findSigns.py & rerenderBlocks.py to work against region format
2011-03-26 02:37:11 +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
c700afb012
Fixed get_chunks, simplified get_chunk_info
2011-03-26 02:37:10 +08:00
Xon
6c9bbc25da
Better error messages, removed import which triggered a failure
2011-03-25 21:42:18 +08:00
Xon
1d5b338d56
Check PyImport_ImportModule return result
2011-03-25 21:34:06 +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
dbdd5d0fc8
Switched from struct.unpack (module) -> Struct.unpack (class), it compiles the format string and reduces parsing costs. Coalesced a
...
few unpack calls into a compound unpack call.
Moved the functionality to get a list of valid chunks into get_chunks out from get_chunk_info.
2011-03-25 20:51:56 +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
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
76f85d0d2c
Added ctrl-c handling, output is a single line (verbose reports what error occured), added optparsing, supports multipule files or a dir
2011-03-20 01:57:47 +08:00
Xon
cfabf16148
Clarify if opening the region file failed or if the headers are wonky
2011-03-20 01:22:34 +08:00
Xon
6f340dceee
New conrtib script to validate a region file
2011-03-20 01:19:23 +08:00
Xon
b9433173c9
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-19 23:36:26 +08:00
Xon
e113a24ae0
Fixed render_innertile_batch
2011-03-19 16:23:11 +08:00
Xon
2be64f2aa7
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-19 16:01:33 +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
6a52e5f796
Fix typo in file header
2011-03-19 13:39:59 +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
Xon
383e8197af
Performance improvements on update scan
2011-03-19 02:50:44 +08:00
Xon
08597ab1c0
Fix performance regression caused by the lack of region/chunk cache at the world level
2011-03-19 02:48:57 +08:00
Xon and Aaron Griffith
6519d71eaa
changed setup.py to include numpy include paths
...
from <https://github.com/agrif/Minecraft-Overviewer/issues/2 >
2011-03-09 19:10:35 -05:00