0
Commit Graph

705 Commits

Author SHA1 Message Date
Alejandro Aguilera
81fd7d12ed Add compatibility for wildgrass mod 2011-04-01 20:40:23 +02:00
Alejandro Aguilera
84c3ab397b Clean textures.py, remove old comments, add new ones. The generate_special_texture function is in ascending blockid order. 2011-04-01 20:26:11 +02: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
Andrew Chin
dcdd2a9590 Merge branch 'import_help' into dtt-c-render
Conflicts:
	src/main.c
2011-03-30 21:48:36 -04:00
Andrew Chin
744a65f1e2 Provide some better errors messages to the user.
If the c_overviewer module is present but will not import, provide a
different error than if the modules doesn't exist at all.

Also, added a new mechanism to force users to re-build their extension
if needed (see the top of overviewer.h)
2011-03-30 21:47:06 -04:00
Andrew Chin
3f62beb1b0 Converted some print statements to logging statments 2011-03-30 20:49:27 -04:00
Andrew Chin
5e4383cd66 Print out the tilesets being rendered 2011-03-30 20:38:02 -04:00
Alejandro Aguilera
f240da29f4 Re-fix the bug "what I was thinking?!"
Improve the looking of all torches, and add orientation for them.
2011-03-29 21:11:22 +02:00
Alejandro Aguilera
d9436d2c66 Fix a bug of the type "What I was thinking!?" in _build_full_block 2011-03-29 20:45:10 +02:00
Aaron Griffith
7955092e66 Merge branch 'dtt-c-render' into overlays
Conflicts:
	overviewer.py
	setup.py
2011-03-29 05:57:56 -04:00
Aaron Griffith
9c25c6259c added center to config.js, lets you set map center in world coords
By default, it is set to spawn. Also I changed defaultZoom to 2, which
looks better (the world used to show up as *tiny* by default).
2011-03-29 05:48:40 -04:00
Aaron Griffith
9b36d21c37 moved non-config, global variables out of config.js 2011-03-29 05:29:37 -04:00
Aaron Griffith
88d4ebe5ae added --list-rendermodes option 2011-03-29 05:24:25 -04:00
Aaron Griffith
5f0766839e added metadata to rendermodes, and python bindings for them 2011-03-29 05:13:25 -04:00
Aaron Griffith
862ee62cb9 fixed warning during compile about endian.c 2011-03-29 04:46:40 -04:00
Aaron Griffith
d7af3d437b changing the C header files now correctly rebuilds whole extension 2011-03-29 04:33:41 -04:00
Aaron Griffith
0a64c00859 Merge remote branch 'xon/dtt-c-render' into dtt-c-render
Conflicts:
	rendernode.py
2011-03-29 04:20:17 -04: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
Andrew Chin
1ff6783e35 Use a different Queue object
the multiprocessing module is a mystery to me
2011-03-28 19:26:48 -04: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
Andrew Chin
d2252acfe6 Signs should be working again 2011-03-28 15:07:49 -04:00
Aaron Griffith
b24ae6c00a signposts controls no longer toggle overlays 2011-03-28 05:18:41 -04:00
Aaron Griffith
f23d3ddac9 converted spawn into a overlay-based rendermode 2011-03-28 03:40:02 -04:00
Aaron Griffith
83db528d81 added callback for derived rendermodes to easily provide overlay color 2011-03-28 03:20:16 -04:00
Aaron Griffith
d4bd1d713c overlay mode now only considers blocks where overlays make sense 2011-03-28 03:09:00 -04:00
Aaron Griffith
9f69f099ad initial support for map overlays 2011-03-28 02:50:36 -04:00
Aaron Griffith
4977ae8767 added exceptions for .DS_Store and Thumbs.db in mirror_dir 2011-03-27 21:24:25 -04:00
Aaron Griffith
c738777839 Merge commit 'fenixin/dtt-c-render-newblocks' into dtt-c-render 2011-03-27 18:49:18 -04:00
Andrew Chin
38ce8681fd suppport win64 builds 2011-03-27 13:59:13 -04:00
Alejandro Aguilera
69179097c5 Paste the top texture the last in _build_full_blocks 2011-03-27 14:46:15 +02:00
Alejandro Aguilera
805450e5f4 Add cake to textures.py (cake!) 2011-03-27 14:42:21 +02:00
Alejandro Aguilera
e33f55977b Add redstone torches to textures.py (without orientation). 2011-03-27 13:58:42 +02:00
Alejandro Aguilera
8fa8a09492 Add crafting table to the special blocks set. 2011-03-27 13:41:41 +02:00
Aaron Griffith
e0e571971a added endianness helper functions, and reading biome data directly 2011-03-27 06:07:43 -04:00
Aaron Griffith
fc176206ff initial C biome code 2011-03-27 05:49:57 -04:00
Aaron Griffith
310cb8a1f6 Merge commit 'fenixin/dtt-c-render-water-redstone' into dtt-c-render
Changed 0b0000 constants into 0x00 equivalents.
2011-03-26 23:34:42 -04:00
Aaron Griffith
1f27ccb9be added overall_alpha parameter to alpha_over, speeding up lighting 2011-03-26 21:52:16 -04:00
Alejandro Aguilera
afb05098f9 Add support for redstone and improve the looking of waterfalls.
Changes in textures.py and iterate.c
2011-03-27 03:51:45 +02:00
Andrew Chin
0fe9c7c050 Fix status line typo 2011-03-26 19:28:32 -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
Andrew Chin
71a2a024cc Print tracebacks on error 2011-03-26 00:06:24 -04:00
Aaron Griffith
16a4abe843 added my render timing script to contrib/ 2011-03-25 22:50:54 -04: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