Aaron Griffith
0465787e6a
fixed accidental revert of fenixin's fix
2011-03-26 02:03:13 -04:00
Xon
729141d426
Initial chunk cache commit mk2
2011-03-26 13:27:33 +08:00
Aaron Griffith
3c51253eba
Merge commit 'xon/dtt-c-render' into dtt-c-render
...
Conflicts:
nbt.py
overviewer.py
2011-03-25 22:44:50 -04:00
Xon
af3278e3cc
Merge fix ups
2011-03-26 02:37:12 +08:00
Xon
e55b7045ea
Updated findSigns.py & rerenderBlocks.py to work against region format
2011-03-26 02:37:11 +08:00
Alejandro Aguilera
593c475e98
Fix problem loading adjacent chunks in some maps.
2011-03-25 17:46:52 +01:00
Alejandro Aguilera
3fdf70b61d
Fix problem with get_lvldata in chunk.py: filename = None doesn't mean chunk corrupt.
2011-03-24 23:47:17 +01: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
f5264e9306
rewrote get_lighting_coefficient in C
2011-03-23 00:03:26 -04:00
Aaron Griffith
2881324084
merged lighting and non-lighting render code
2011-03-21 06:02:47 -04:00
Aaron Griffith
fd0924a93b
moved lighting check from world object to quadtree object, where it should be now
2011-03-21 05:35:11 -04:00
Andrew Chin
61819a7f30
Merged in dtt-c-render
...
Conflicts:
src/overviewer.h
2011-03-20 21:29:05 -04:00
Andrew Chin
e096eb45ff
Initial version of C lighting code
...
Needs *lots* of performance work
2011-03-19 22:55:59 -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
d534e7137d
Merge branch 'master' into dtt-c-render
...
Conflicts:
chunk.py
2011-03-19 19:28:10 -04:00
Aaron Griffith
edf34f6d59
changed level data loader to retry up to twice before declaring a chunk corrupt
2011-03-19 18:23:23 -04: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
Aaron Griffith
07dd219d20
refactored c extensions into one
2011-03-08 17:43:50 -05:00
Aaron Griffith
4e63e6e9fa
Merge commit 'eminence/direct-to-tiles' into dtt-c-render
...
Conflicts:
chunk.py
2011-03-08 16:34:26 -05:00
Aaron Griffith
5a05105b62
Merge branch 'master' into dtt-merge
...
Conflicts:
chunk.py
2011-03-06 18:05:28 -05:00
Andrew Chin
9c7d6a184d
Print error messages after print_help
2011-03-06 17:54:18 -05:00
Aaron Griffith
a5612a1fa5
moved corrupt chunk handling to get_lvldata so it applies to all chunk loading
...
brought up in Issue #286 :
https://github.com/brownan/Minecraft-Overviewer/issues/286
2011-03-06 15:48:48 -05:00
Aaron Griffith
6a1ee964bf
inlined 'iterate_chunkblocks' (backported from Xon's code)
...
From the discussion in the massive Issue #271 discussion:
https://github.com/brownan/Minecraft-Overviewer/issues/#issue/271
2011-03-06 01:57:05 -05:00
Andrew Chin
66a9306a29
Experimental code to provide a C implementation of chunk_render
...
Please see the TODO comments in iterate.c
None of the lighting, spawning, night, or cave modes work with this
version.
2011-03-06 00:30:40 -05:00
Aaron Griffith
48642e0e5b
changed biome fix to be more consistent with the other region code
2011-03-03 20:48:32 -05:00
Aaron Griffith
a6805c2e0c
updated biome rendering to use latest Biome Extractor format
2011-03-03 12:27:47 -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
33b10f7065
initial (and incorrect) drawing code
2011-03-01 16:45:04 -05:00
Andrew Chin
f4cd71a09b
Fix region calc typo
2011-03-01 08:11:38 -05:00
Andrew Chin
5f2f098d40
Better cache checking, now uses chunk timestamps
...
and possibly fixed a bug in check_cache?
2011-02-28 22:10:36 -05:00
Andrew Chin
caa1ef1f45
Catch proper exception in chunk.py
...
Also removed unnecessary check in world.py
2011-02-28 18:56:22 -05:00
Andrew Chin
1f8fb017a3
Check to ensure level.dat has been updated
...
Error out if level.dat has not been updated. Also, cleaned up some
debugging print statements
2011-02-26 21:59:49 -05:00
Andrew Chin
a690ebbce5
some caching work
...
hashchecking needs to be checked to see if it's still OK
timestamp checking should involved the timestamps from inside the region
file, not of the region file itself.
2011-02-24 23:29:58 -05:00
Alejandro Aguilera
5e360600c4
Update functions _load_up_left and _load_up_right with the new region format in chunk.py.
2011-02-24 13:22:25 +01:00
Andrew Chin
05ea562060
Working rendering with the new McRegion format.
...
Notes:
* Currently only works with -p 1
* Caching is mostly compatible with existing caches, but not completly.
This needs more testing and more code reviews
* There are probably many code paths that will throw exceptions.
* Not ready for general use yet, but is OK for testing
2011-02-23 22:13:35 -05:00
Andrew Chin
12bc45f8c6
Merge branch 'master' of ../Minecraft-Overviewer into configfile
2011-02-17 22:34:26 -05:00
Alejandro Aguilera
d90a3666dd
Fix .any() not working as expected.
2011-02-03 00:36:02 +01:00
Alejandro Aguilera
15e0e9210f
Finish and comment.
2011-02-02 23:01:25 +01:00
Alejandro Aguilera
448733dd44
Improvements for generate_pseudo_andcildata in chunk.py, and necessary changes to fences case in textures.py
...
This changes will help to properly render redstonewire.
2011-02-02 23:01:25 +01:00
Alejandro Aguilera
5bf705dfe9
Improving the function generate pseudo_ancildata. (first part)
2011-02-02 23:01:25 +01:00
Andrew Chin
5acd6a490c
Merge remote branch 'upstream/master'
2011-01-22 14:29:38 -05:00
Alejandro Aguilera
664d14dee3
Add some Minecraft beta 1.2 blocks to the render support:
...
-The 2 new woods
-The dispensers
-Chaged to the new top for the furnace (and I think fixed them)
-Lapis lazuli block
-Lapis lazuli ore
-Note block
-Sandstone
2011-01-15 01:49:46 +01:00
Alejandro Aguilera
effaa204e0
Add blockid = 55 to the list of transparent blocks.
2011-01-11 10:10:31 +01:00
Andrew Chin
feeb3283e0
New benchmarking script
...
Useful for examining how a code change affects performance
2011-01-08 01:21:41 -05:00
Andrew Chin
3d84e76d0e
Merge branch 'grasscolor-fix' of https://github.com/agrif/Minecraft-Overviewer into agrif-grasscolor-fix
2011-01-01 20:57:24 -05:00
Aaron Griffith
0ab56ce1d9
made sure biome color arrays are loaded in each thread
2011-01-01 15:45:36 -08:00
Andrew Chin
97aa81311c
Fixed empty sign handling, updated findSigns.py
2010-12-31 23:35:18 -05:00
Alex Cline
ee1e7c3aa9
Changed blank sign logic to use aheadley's suggestion.
2010-12-31 20:45:02 -05:00