0
Commit Graph

2099 Commits

Author SHA1 Message Date
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
Andrew Chin
a6baf5b6e8 Added missing import 2011-03-25 20:45:25 -04:00
Andrew Chin
2be2a48d7c Merge remote-tracking branch 'origin/dtt-c-render' into dtt-c-render 2011-03-25 20:43:04 -04:00
Andrew Chin
82e0bf53b9 Added a new 'listify' parameter to the config file parser
Specifying listify on an option will cause it to be parsed as a list.
Use listdelim to specify the delimiter (defaults to ',')

Examples, assuming you had the following option:
add_option("--test","test", type="int", listify=True)

Command line:
  --test 1          results in [1]
  --test 1,2,3      results in [1,2,3]

Config file:
  test=1            results in [1]
  test="1,2,3"      results in [1,2,3]
  test=[1,4,9]      results in [1,4,9]
2011-03-25 20:42:05 -04:00
Aaron Griffith
84988aa2f6 0-byte region files no longer crash the whole program 2011-03-25 19:48:55 -04:00
Aaron Griffith
8fcc0a993e Merge commit 'fenixin/dtt-c-render-fences-fix' into dtt-c-render 2011-03-25 19:29:00 -04: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