0
Commit Graph

152 Commits

Author SHA1 Message Date
Alejandro Aguilera
3bad62f0af Add the new rail blocks to the transparent blocks list. 2011-04-21 00:53:56 +02: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
5f69b78c75 Merge branch 'dtt-c-render' into overlays
Conflicts:
	setup.py
2011-04-16 11:25:04 -04:00
Aaron Griffith
9cc01ddc21 removed some blocks from solid_blocks, fixed overlays on snow, half-steps 2011-04-15 21:36:31 -04:00
Alejandro Aguilera
8165ce979d Add depth tinting to cave rendermode. 2011-04-14 00:33:41 +02:00
Alejandro Aguilera
b89ea8db8c Working cave rendermode without tinting. 2011-04-14 00:33:41 +02:00
Aaron Griffith
e950cebb04 Merge branch 'dtt-c-render' into overlays 2011-04-13 02:47:03 -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
Aaron Griffith
7955092e66 Merge branch 'dtt-c-render' into overlays
Conflicts:
	overviewer.py
	setup.py
2011-03-29 05:57:56 -04:00
Xon
a1f5c9ddaf Fixed POI code in chunk.py after cleanup 2011-03-29 09:13:30 +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
Aaron Griffith
f23d3ddac9 converted spawn into a overlay-based rendermode 2011-03-28 03:40:02 -04:00
Aaron Griffith
9f69f099ad initial support for map overlays 2011-03-28 02:50:36 -04:00
Alejandro Aguilera
805450e5f4 Add cake to textures.py (cake!) 2011-03-27 14:42:21 +02:00
Aaron Griffith
fc176206ff initial C biome code 2011-03-27 05:49:57 -04:00
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